/* aesthetic: brutally minimal / refined */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Space+Grotesk:wght@300;500&display=swap');

:root {
    /* Brand colors (from user request) */
    --color-primary-deep-purple: #312e81;
    /* sophistication & primary branding */
    --color-accent-green: #10b981;
    /* energy, growth, CTAs */
    --color-navy-blue: #1e293b;
    /* professional secondary tones */
    --color-soft-gray: #94a3b8;
    /* subtle backgrounds & borders */
    --color-off-white: #f8fafc;
    /* light background base */

    --bg-color: #ffffff;
    --bg-card: #ffffff;
    --text-color: var(--color-navy-blue);
    --accent-color: var(--color-accent-green);
    --accent-color-secondary: var(--color-primary-deep-purple);
    --muted-text-color: #64748b;
    --section-bg-alt: #f1f5f9;
    --border-color: #e2e8f0;

    --spacing-unit: 1.5rem;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --bg-card: #1e293b;
    --text-color: #f8fafc;
    --color-primary-deep-purple: #818cf8;
    /* Lighter indigo for dark mode */
    --muted-text-color: #94a3b8;
    --section-bg-alt: #1e293b;
    --border-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.1;
    color: var(--color-primary-deep-purple);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section {
    padding: calc(var(--spacing-unit) * 4) 0;
}

/* Header */
.site-header {
    padding: var(--spacing-unit) 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Buttons */
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    /* Larger padding */
    border-radius: 999px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
    /* Bolder */
    font-size: 1.05rem;
    /* Larger text */
    text-decoration: none;
    transition: all 0.2s ease-out;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.button-primary:hover {
    background-color: var(--accent-color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(49, 46, 129, 0.2);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: grid;
    align-items: center;
    padding-top: calc(var(--spacing-unit) * 4);
    /* Space for header */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: var(--spacing-unit);
    color: var(--color-primary-deep-purple);
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--muted-text-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
    max-width: 65ch;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--color-soft-gray);
    margin-top: 0.5rem;
}

.button-link {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.2s;
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.button-link:hover {
    color: var(--color-primary-deep-purple);
    text-decoration: underline;
}

.hero-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Social Proof */
.social-proof {
    background-color: var(--bg-color);
    padding: 2rem 0;
    /* Reduced as requested (max 2rem) */
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.social-proof h3 {
    font-family: var(--font-body);
    /* Use body font for less dominance/more neutrality */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--muted-text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-proof p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Eliminate gap between social proof and next section */
.social-proof+.section {
    padding-top: 1rem;
}

.social-proof+.section .feature-grid {
    margin-top: 0;
}

/* Features / Problem / Solution */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 6);
    margin-top: calc(var(--spacing-unit) * 4);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--muted-text-color);
    max-width: 65ch;
}

.feature-image img {
    width: 100%;
    border-radius: 1rem;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px var(--shadow-color, rgba(0, 0, 0, 0.1));
}

/* Why Wikkan */
.why-section {
    background-color: var(--color-navy-blue);
    color: white;
    padding: calc(var(--spacing-unit) * 6) var(--spacing-unit);
    border-radius: 2rem;
    margin: var(--spacing-unit);
}

.why-section h2 {
    color: white;
}

.why-section p {
    color: var(--muted-text-color);
}

/* Final CTA */
/* Final CTA */
.final-cta {
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) 0;
    background-color: var(--section-bg-alt);
    /* Distinct zone */
}

.final-cta h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-unit);
}

.final-cta-sub {
    font-size: 1.25rem;
    color: var(--muted-text-color);
    max-width: 65ch;
    margin: 0 auto calc(var(--spacing-unit) * 2);
}

.cta-bullets {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    list-style: none;
    margin-bottom: calc(var(--spacing-unit) * 3);
    gap: 1rem;
    background: var(--bg-card);
    padding: 2rem 3rem;
    border-radius: 1rem;
}

.cta-bullets li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.cta-bullets li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-accent-green);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Responsive Design Implementation */

/* Tablet & Smaller Laptops */
@media (max-width: 1100px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 1.5);
    }
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        text-align: left;
        gap: calc(var(--spacing-unit) * 4);
    }

    .feature-row {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }

    .feature-row.reverse {
        direction: rtl;
    }

    .feature-row.reverse .feature-content {
        direction: ltr;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-unit);
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin: 0 auto var(--spacing-unit);
    }

    .hero-sub {
        margin: 0 auto calc(var(--spacing-unit) * 2);
    }

    .cta-group {
        align-items: center;
    }

    .feature-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-unit);
        display: flex;
        flex-direction: column-reverse;
        /* Put content/headline above image on mobile */
    }

    .feature-row.reverse {
        flex-direction: column-reverse;
        /* Same for reversed rows */
    }

    .feature-content p {
        margin: 0 auto;
    }

    .why-section {
        margin: var(--spacing-unit) 0;
        border-radius: 0;
    }

    .final-cta h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Devices */
@media (max-width: 600px) {
    :root {
        --spacing-unit: 1rem;
    }

    .site-header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-header .button-primary {
        display: none;
        /* Hide header CTA on mobile to focus on Hero */
    }

    .button-link {
        display: inline-flex;
    }

    .header-inner {
        justify-content: center;
    }

    .hero {
        padding-top: calc(var(--spacing-unit) * 6);
        min-height: auto;
    }

    .headline {
        font-size: 2.25rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .cta-bullets {
        padding: 1.5rem;
        width: 100%;
    }

    .cta-bullets li {
        font-size: 0.95rem;
    }

    .feature-content h2 {
        font-size: 1.85rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .button-primary {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .footer-logo {
        height: 45px;
    }
}

/* Footer (Existing Styles Refined) */
.site-footer {
    background-color: var(--color-primary-deep-purple);
    color: #ffffff;
    text-align: center;
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
    margin-top: calc(var(--spacing-unit) * 4);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-unit);
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-contact {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-contact a:hover {
    opacity: 0.8;
}