:root {
    --brown-900: #2c1810;
    --brown-800: #6B3410;
    --brown-700: #8B4513;
    --amber-600: #D97706;
    --amber-700: #B45309;
    --bg-cream: #fef8e8;
    --bg-cream-2: #ffebc4;
    --focus: 0 0 0 3px rgba(217,119,6,.45);
    --radius: 12px;
    --shadow-sm: 0 2px 10px rgba(0,0,0,.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.20);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: var(--brown-900);
    background: #fff;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: #fff;
    padding: .5rem .75rem;
    border-radius: .5rem;
    box-shadow: var(--focus);
    z-index: 1000;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: var(--bg-cream);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brown-700);
    text-decoration: none;
    letter-spacing: .2px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--brown-700);
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:focus-visible, .lang-btn:focus-visible, .cta-button:focus-visible, .cta-button-large:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

.lang-switch {
    display: flex;
    gap: .5rem;
}

.lang-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 2px solid var(--amber-700);
    background: transparent;
    color: var(--brown-700);
    font-weight: 800;
    cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
    background: var(--amber-600);
    color: #fff;
    border-color: transparent;
}

/* Sticky anchor offset */
section {
    scroll-margin-top: 84px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-2) 100%);
    padding: 4.5rem 5% 5.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,200,100,.2);
    border-radius: 50%;
    top: 10%;
    right: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,220,150,.3);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 3.8vw + .5rem, 3.5rem);
    color: var(--brown-800);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: var(--brown-700);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.cta-button {
    padding: .9rem 1.75rem;
    background: var(--amber-600);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 6px 18px rgba(217, 119, 6, .28);
}

.cta-button:hover {
    background: var(--amber-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 119, 6, .35);
}

/* Phone mock */
.phone-mockup {
    perspective: 1000px;
}

.phone {
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg);
    transition: transform .5s;
    max-width: 360px;
    margin-inline: auto;
}

.phone:hover {
    transform: rotateY(0deg);
}

.phone-screen {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 28px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1f2937;
    border-radius: 15px;
}

.app-title {
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.app-card {
    background: rgba(255,255,255,.95);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .9rem;
    color: var(--brown-700);
    display: flex;
    align-items: center;
    gap: .75rem;
    backdrop-filter: blur(10px);
}

/* Sections */
.problem-section {
    padding: 4.5rem 5%;
    background: #fff;
}

.problem-content {
    max-width: 1200px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.problem-text h2 {
    font-size: 2rem;
    color: var(--brown-800);
    margin: 0 0 1rem;
}

.problem-text p {
    font-size: 1.05rem;
    color: #555;
    margin: 0 0 1.25rem;
    line-height: 1.7;
}

.problem-text h3 {
    font-size: 1.5rem;
    color: var(--brown-700);
    margin: 1.5rem 0 .75rem;
}

.features-section {
    padding: 4.5rem 5%;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-2) 100%);
}

.section-title {
    font-size: 2rem;
    color: var(--brown-800);
    text-align: center;
    margin: 0 auto 2.5rem;
    max-width: 900px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin-inline: auto;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(217,119,6,.2);
    border-color: #F59E0B;
}

.audience-section {
    padding: 4.5rem 5%;
    background: #fff;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin-inline: auto;
}

.audience-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.audience-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.audience-icon {
    position: absolute;
    top: 210px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(217,119,6,.4);
}

.audience-card h3 {
    font-size: 1.25rem;
    color: var(--brown-800);
    margin: 3.5rem 2rem .75rem;
    text-align: center;
}

.audience-card p {
    color: #555;
    line-height: 1.7;
    padding: 0 2rem 1.5rem;
    text-align: center;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
    padding: 4.5rem 5%;
    text-align: center;
    color: #fff;
}

.cta-content {
    max-width: 800px;
    margin-inline: auto;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 2.6vw + .5rem, 2.5rem);
    margin: 0 0 1rem;
}

.cta-content p {
    font-size: 1.15rem;
    margin: 0 0 1.5rem;
    opacity: .95;
}

.newsletter-form {
    display: flex;
    gap: .75rem;
    max-width: 640px;
    margin: 0 auto 1rem;
    align-items: stretch;
}

.email-input {
    flex: 1;
    min-width: 260px;
    padding: 1rem 1.25rem;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
    background: rgba(255,255,255,.96);
    transition: box-shadow .2s, border-color .2s, background .2s;
}

.email-input:focus {
    border-color: #fff;
    background: #fff;
    box-shadow: var(--focus);
}

.cta-button-large {
    padding: 1rem 1.5rem;
    background: var(--brown-800);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
    white-space: nowrap;
}

.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
    background: #4a2308;
}

.form-note {
    font-size: .98rem;
    opacity: .92;
    margin-top: .5rem;
}

.success-message {
    display: none;
    background: rgba(107,52,16,.92);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,.3);
}

.success-message.show {
    display: inline-block;
}

/* Footer */
.footer {
    background: var(--brown-800);
    color: #fff;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin-inline: auto;
}

.footer-brand h3 {
    font-size: 1.4rem;
    margin: 0 0 .25rem;
}

.footer-brand p {
    opacity: .85;
    margin: 0 0 1.25rem;
}

.footer small {
    opacity: .75;
    display: block;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.2);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content, .problem-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .email-input {
        min-width: 100%;
    }

    .cta-button-large {
        width: 100%;
    }
}