/*
Theme Name: UseAIs Theme
Theme URI: https://useais.org
Author: Antigravity
Description: Custom theme for UseAIs.org
Version: 1.0
*/

/* Global Variables */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-primary: #007bff;
    /* Standard blue */
    --color-primary-hover: #0056b3;
    --color-secondary: #6c757d;
    --color-accent: #007bff;
    /* Reusing primary for accent in this clean theme */

    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

/* Utilities */
.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: white;
}

.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
}

.main-nav a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
}

/* Page Header (New) */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 140px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero .eyebrow {
    color: #4dabf7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.phone-number {
    font-weight: 600;
    color: white;
}

/* Testimonial Snippet */
.testimonial-snippet {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-alt);
    text-align: center;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-snippet blockquote {
    font-size: 1.25rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text);
}

.testimonial-snippet cite {
    display: block;
    font-size: 1rem;
    font-style: normal;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-weight: 600;
}

.rating {
    margin-top: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.rating span {
    color: #fbbf24;
}

/* Services */
.services {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-info p {
    flex: 1;
}

.service-number {
    font-size: 2rem;
    font-weight: 700;
    color: #e9ecef;
    display: block;
    margin-bottom: 0.5rem;
}

.center-action {
    text-align: center;
    margin-top: 3rem;
}

/* About */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.founder-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.role {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Contact Page (New) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* FAQ (New) */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.cta-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-banner .eyebrow {
    color: #4dabf7;
}

/* Value Props */
.value-props {
    padding: var(--spacing-xl) 0;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.prop-card {
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.prop-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Testimonials Full */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-alt);
}

.rating-badge {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-badge .score {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Final CTA */
.final-cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.final-cta .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand p {
    color: #999;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #999;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    color: #999;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    background: #000;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }
}