/* ============================================
   GOOGLE ADS AGENCY - MAIN STYLESHEET
   ============================================
   Design System: Clean/Minimal with Tech edge
   Font: Inter (Professional, analytical feel)
   Color: Blue accent for trust & action
============================================ */

/* -----------------------------------------
   1. CSS RESET & BASE
----------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* -----------------------------------------
   2. CSS VARIABLES (Design Tokens)
----------------------------------------- */
:root {
    /* Colors - Dark Mode / Tech Palette */
    --bg-primary: #0F172A;
    /* Slate 900 */
    --bg-secondary: #1E293B;
    /* Slate 800 */
    --bg-dark: #020617;
    /* Slate 950 */

    --text-primary: #F8FAFC;
    /* Slate 50 */
    --text-secondary: #94A3B8;
    /* Slate 400 */
    --text-light: #64748B;
    /* Slate 500 */
    --text-inverse: #F8FAFC;
    /* White */

    /* Accent - Brighter Blue */
    --accent: #3B82F6;
    /* Blue 500 */
    --accent-hover: #60A5FA;
    /* Blue 400 */
    --accent-light: rgba(59, 130, 246, 0.15);

    /* Borders & Dividers */
    --border: #334155;
    /* Slate 700 */
    --border-dark: #475569;
    /* Slate 600 */

    /* Shadows - Adjusted for Dark Mode */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);

    /* Spacing System (REM based) */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 2rem;
    /* 32px */
    --spacing-lg: 4rem;
    /* 64px */
    --spacing-xl: 6rem;
    /* 96px */

    /* Typography Scale */
    --font-xs: 0.75rem;
    /* 12px */
    --font-sm: 0.875rem;
    /* 14px */
    --font-base: 1rem;
    /* 16px */
    --font-lg: 1.125rem;
    /* 18px */
    --font-xl: 1.25rem;
    /* 20px */
    --font-2xl: 1.5rem;
    /* 24px */
    --font-3xl: 2rem;
    /* 32px */
    --font-4xl: 2.5rem;
    /* 40px */
    --font-5xl: 3rem;
    /* 48px */
    --font-6xl: 3.75rem;
    /* 60px */

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* -----------------------------------------
   3. ANIMATIONS & VISUALS
----------------------------------------- */
@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-animate {
    background: linear-gradient(-45deg, var(--bg-dark), #0f172a, #1e293b, #0f172a);
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
}

/* Logo Image Styling */
/* Logo Image Styling */
.logo-img {
    height: 85px;
    /* Tighter crop allows smaller height with LARGER visual impact */
    width: auto;
    display: block;
}

.footer .logo-img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

/* -----------------------------------------
   4. LAYOUT UTILITIES
----------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

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

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

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex--center {
    align-items: center;
    justify-content: center;
}

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

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

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* -----------------------------------------
   4. TYPOGRAPHY
----------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--font-5xl);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: var(--font-4xl);
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: var(--font-2xl);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: var(--font-xl);
    line-height: 1.6;
    color: var(--text-secondary);
}

.eyebrow {
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--spacing-xs);
}

/* -----------------------------------------
   5. BUTTONS
----------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    font-size: var(--font-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    min-height: 48px;
}

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

.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: var(--font-lg);
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: var(--font-sm);
    min-height: 40px;
}

/* -----------------------------------------
   6. HEADER & NAVIGATION
----------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    /* Allow growth */
    min-height: 72px;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    /* Removed text styles since we use an image now */
}

/* Old text logo styles can be removed or kept as fallback */
.logo span {
    color: var(--accent);
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-descriptor {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    line-height: 1;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-list a {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: var(--spacing-xs) 0;
}

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

.nav-list a.active {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

.header__cta {
    margin-left: var(--spacing-sm);
}

/* -----------------------------------------
   7. HERO SECTION
----------------------------------------- */
.hero {
    position: relative;
    padding: calc(72px + var(--spacing-xl)) 0 var(--spacing-xl);
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(-45deg, #020617, #0f172a, #1e293b, #0f172a);
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 30%, var(--accent-light) 0%, transparent 40%),
        radial-gradient(circle at 60% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, var(--font-6xl));
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero__subheadline {
    font-size: var(--font-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero__trust {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
}

.hero__trust-items {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.hero__trust-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* -----------------------------------------
   8. CARDS & CONTENT BLOCKS
----------------------------------------- */
.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-dark);
    transform: translateY(-4px);
}

.card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
}

.card__title {
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-xs);
}

.card__text {
    color: var(--text-secondary);
    font-size: var(--font-base);
}

/* Feature list card */
.feature-card {
    background: var(--bg-secondary);
    border: none;
}

.feature-card__list {
    margin-top: var(--spacing-sm);
}

.feature-card__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.feature-card__list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-card__list li.excluded {
    color: var(--text-light);
}

.feature-card__list li.excluded svg {
    color: var(--text-light);
}

/* -----------------------------------------
   9. SECTION HEADERS
----------------------------------------- */
.section-header {
    max-width: 680px;
    margin-bottom: var(--spacing-lg);
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: var(--font-lg);
    color: var(--text-secondary);
}

/* -----------------------------------------
   10. PROCESS/TIMELINE
----------------------------------------- */
.process {
    display: grid;
    gap: var(--spacing-md);
}

.process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    position: relative;
}

.process__number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: var(--font-lg);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.process__content h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-xs);
}

.process__content p {
    color: var(--text-secondary);
    margin: 0;
}

/* -----------------------------------------
   11. PRICING TABLES
----------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, var(--bg-primary) 40%);
}

.pricing-card__badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
    width: fit-content;
}

.pricing-card__name {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.pricing-card__price {
    font-size: var(--font-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.pricing-card__price span {
    font-size: var(--font-base);
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card__desc {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.pricing-card__features {
    flex: 1;
    margin-bottom: var(--spacing-md);
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.pricing-card__features li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
}

/* -----------------------------------------
   12. FORMS
----------------------------------------- */
.form {
    display: grid;
    gap: var(--spacing-sm);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form__label {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: var(--font-base);
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form__textarea {
    min-height: 140px;
    resize: vertical;
}

.form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

/* -----------------------------------------
   13. ABOUT / PROFILE
----------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-secondary);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: var(--font-4xl);
    margin-bottom: var(--spacing-sm);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.about-value {
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.about-value h4 {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.about-value p {
    font-size: var(--font-sm);
    margin: 0;
}

/* -----------------------------------------
   14. FOOTER
----------------------------------------- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__brand p {
    color: var(--text-light);
    margin-top: var(--spacing-sm);
    max-width: 300px;
}

.footer__title {
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    color: var(--text-inverse);
}

.footer__links li {
    margin-bottom: var(--spacing-xs);
}

.footer__links a {
    color: var(--text-light);
    font-size: var(--font-sm);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--text-inverse);
}

.footer__bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-size: var(--font-sm);
    color: var(--text-light);
}

/* -----------------------------------------
   15. UTILITY CLASSES
----------------------------------------- */
.bg-secondary {
    background-color: var(--bg-secondary);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Notice/disclaimer blocks */
.notice {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.notice p {
    margin: 0;
    font-size: var(--font-sm);
}

/* -----------------------------------------
   16. MOBILE RESPONSIVE
----------------------------------------- */
@media (max-width: 900px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-5xl: 2.5rem;
        --font-4xl: 2rem;
        --font-3xl: 1.75rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

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

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-list.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        font-size: var(--font-xl);
    }

    .header__cta {
        display: none;
    }

    /* Mobile nav toggle animation */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding-top: calc(72px + var(--spacing-lg));
        padding-bottom: var(--spacing-lg);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__trust-items {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Grid mobile */
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

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

    /* Process */
    .process__step {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .process__number {
        width: 40px;
        height: 40px;
        font-size: var(--font-base);
    }

    /* Footer mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    /* About */
    .about-values {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------
   17. ANIMATIONS
----------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Stagger animations */
.animate-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-in:nth-child(4) {
    animation-delay: 0.4s;
}