/* ============================================
   StyleMirror - Claymorphism Fashion Editorial
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Core palette */
    --blush-1: #C27E8A;
    --blush-2: #D4A0A8;
    --gold: #B8926A;
    --gold-light: #D4B896;

    /* Light theme */
    --page-bg: #F7F3F0;
    --surface: #FFFCFA;
    --on-surface: #2A2226;
    --on-surface-sub: #6B5C62;
    --on-surface-muted: #9A8B90;

    /* Shadows (light) */
    --clay-dark: rgba(58, 45, 45, 0.10);
    --clay-light: rgba(255, 255, 255, 0.95);
    --clay-dark-offset: 6px;
    --clay-light-offset: -4px;

    /* Typography */
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-hero: clamp(2.8rem, 6vw, 5rem);
    --fs-h2: clamp(1.8rem, 3.5vw, 2.75rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-body: clamp(0.95rem, 1.2vw, 1.05rem);
    --fs-small: 0.875rem;

    /* Spacing */
    --section-py: clamp(80px, 10vw, 140px);
    --container-px: clamp(20px, 5vw, 80px);
    --container-max: 1200px;

    /* Radius */
    --r-card: 24px;
    --r-btn: 16px;
    --r-pill: 100px;
    --r-header: 32px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.35s;
}

/* Dark theme */
[data-theme="dark"] {
    --page-bg: #181415;
    --surface: #221D1F;
    --on-surface: #F0E8EB;
    --on-surface-sub: #A89298;
    --on-surface-muted: #6B5C62;

    --clay-dark: rgba(0, 0, 0, 0.34);
    --clay-light: rgba(255, 255, 255, 0.04);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--on-surface);
    background-color: var(--page-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

ul, ol {
    list-style: none;
}

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

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Clay Shadow System --- */
.clay {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
}

.clay-sm {
    box-shadow:
        3px 3px 10px -1px var(--clay-dark),
        -2px -2px 7px -1px var(--clay-light);
}

.clay-hover {
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.clay-hover:hover {
    transform: translateY(-6px);
    box-shadow:
        8px 12px 28px -2px var(--clay-dark),
        -6px -6px 16px -2px var(--clay-light);
}

/* --- Gradient Helpers --- */
.gradient-text {
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   SECTION 1: HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 60px;
}

/* Animated background shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    opacity: 0.07;
    animation: floatShape 20s ease-in-out infinite;
}

[data-theme="dark"] .hero-shape {
    opacity: 0.04;
}

.hero-shape:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 22s;
}

.hero-shape:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: -4s;
    animation-duration: 18s;
}

.hero-shape:nth-child(3) {
    top: 20%;
    right: 10%;
    animation-delay: -8s;
    animation-duration: 25s;
}

.hero-shape:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: -12s;
    animation-duration: 20s;
}

.hero-shape:nth-child(5) {
    top: 45%;
    left: 50%;
    animation-delay: -6s;
    animation-duration: 24s;
}

.hero-shape:nth-child(6) {
    bottom: 30%;
    left: 35%;
    animation-delay: -10s;
    animation-duration: 19s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(5deg); }
    50% { transform: translate(-15px, 25px) rotate(-3deg); }
    75% { transform: translate(20px, 10px) rotate(4deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-tagline {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blush-1);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(194, 126, 138, 0.12), rgba(212, 160, 168, 0.08));
    border-radius: var(--r-pill);
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    color: var(--on-surface-sub);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--surface);
    border-radius: var(--r-btn);
    font-weight: 600;
    font-size: var(--fs-small);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        8px 10px 24px -2px var(--clay-dark),
        -5px -5px 14px -2px var(--clay-light);
}

.store-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-btn-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--on-surface-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-btn-name {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Phone mockup */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    z-index: 2;
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(194, 126, 138, 0.2));
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 126, 138, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

[data-theme="dark"] .hero-glow {
    background: radial-gradient(circle, rgba(194, 126, 138, 0.08) 0%, transparent 70%);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}


/* ================================================
   SECTION 2: STICKY NAV
   ================================================ */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transform: translateY(0);
    transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.sticky-nav.hidden {
    transform: translateY(-100%);
}

.sticky-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: rgba(255, 252, 250, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    box-shadow:
        0 4px 30px rgba(58, 45, 45, 0.08),
        0 1px 3px rgba(58, 45, 45, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .sticky-nav-inner {
    background: rgba(34, 29, 31, 0.78);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-logo-icon {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(194, 126, 138, 0.25);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--on-surface-sub);
    transition: color var(--duration) var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blush-1), var(--blush-2));
    border-radius: 1px;
    transition: width var(--duration) var(--ease);
}

.nav-links a:hover {
    color: var(--blush-1);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
    color: #fff !important;
    font-weight: 600;
    font-size: var(--fs-small);
    border-radius: var(--r-pill);
    box-shadow: 0 4px 16px rgba(194, 126, 138, 0.35);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 126, 138, 0.45);
    color: #fff;
}

.nav-cta::after {
    display: none !important;
}

/* Language selector - top right */
.lang-selector {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1001;
}

.sticky-nav:not(.hidden) ~ .lang-selector {
    top: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 252, 250, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--r-pill);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--on-surface);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 12px rgba(58, 45, 45, 0.06);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

[data-theme="dark"] .lang-toggle {
    background: rgba(34, 29, 31, 0.78);
    border-color: rgba(255, 255, 255, 0.05);
}

.lang-toggle:hover {
    box-shadow: 0 4px 16px rgba(58, 45, 45, 0.1);
}

.lang-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform var(--duration) var(--ease);
}

.lang-dropdown.open .lang-toggle svg {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--surface);
    border-radius: var(--r-btn);
    padding: 8px;
    box-shadow:
        0 12px 40px rgba(58, 45, 45, 0.12),
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--duration) var(--ease);
}

.lang-dropdown.open .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lang-option:hover {
    background: rgba(194, 126, 138, 0.08);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(194, 126, 138, 0.12), rgba(212, 160, 168, 0.08));
    color: var(--blush-1);
    font-weight: 600;
}

.lang-option.active::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blush-1);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--on-surface);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(255, 252, 250, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

[data-theme="dark"] .mobile-nav {
    background: rgba(24, 20, 21, 0.96);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    transition: color var(--duration) var(--ease);
}

.mobile-nav a:hover {
    color: var(--blush-1);
}

/* Theme toggle */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        3px 3px 10px -1px var(--clay-dark),
        -2px -2px 7px -1px var(--clay-light);
    transition: all var(--duration) var(--ease);
}

.theme-toggle:hover {
    transform: scale(1.08);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--on-surface);
    transition: transform 0.4s var(--ease);
}

.theme-toggle:hover svg {
    transform: rotate(20deg);
}

.theme-icon-dark,
.theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

:root:not([data-theme="dark"]) .theme-icon-light,
body:not([data-theme="dark"]) .theme-icon-light {
    display: block;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

/* ================================================
   SECTION 3: FEATURES (Bento Grid)
   ================================================ */
.features {
    padding: var(--section-py) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blush-1);
    margin-bottom: 12px;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--on-surface-sub);
    line-height: 1.7;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-card {
    padding: 36px 32px;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow:
        8px 12px 28px -2px var(--clay-dark),
        -6px -6px 16px -2px var(--clay-light);
}

/* Asymmetric layout */
.bento-card:nth-child(1) {
    grid-column: 1 / 3;
}

.bento-card:nth-child(2) {
    grid-column: 3 / 4;
}

.bento-card:nth-child(3) {
    grid-column: 1 / 2;
}

.bento-card:nth-child(4) {
    grid-column: 2 / 4;
}

.bento-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(194, 126, 138, 0.1), rgba(212, 160, 168, 0.06));
    margin-bottom: 20px;
}

.bento-icon svg {
    width: 26px;
    height: 26px;
    color: var(--blush-1);
}

.bento-title {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 10px;
}

.bento-text {
    color: var(--on-surface-sub);
    font-size: var(--fs-small);
    line-height: 1.7;
}


/* ================================================
   SECTION 4: HOW IT WORKS
   ================================================ */
.how-it-works {
    padding: var(--section-py) 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 20px;
}

/* Connecting line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--blush-1), var(--blush-2), var(--gold));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
    box-shadow:
        0 6px 20px rgba(194, 126, 138, 0.35),
        3px 3px 10px -1px var(--clay-dark),
        -2px -2px 7px -1px var(--clay-light);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--surface);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
}

.step-icon svg {
    width: 36px;
    height: 36px;
    color: var(--blush-1);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-text {
    font-size: var(--fs-small);
    color: var(--on-surface-sub);
    line-height: 1.7;
}


/* ================================================
   SECTION 5: VIDEO
   ================================================ */
.video-section {
    padding: var(--section-py) 0;
}

.video-wrapper {
    position: relative;
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--surface);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ================================================
   SECTION 6: SCREENSHOTS CAROUSEL
   ================================================ */
.screenshots {
    padding: var(--section-py) 0;
    overflow: hidden;
}

.carousel-viewport {
    overflow: hidden;
    margin: 0 -20px;
    padding: 20px;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s var(--ease);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 240px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.carousel-slide.active {
    transform: scale(1.06);
    box-shadow:
        8px 12px 28px -2px var(--clay-dark),
        -6px -6px 16px -2px var(--clay-light);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        3px 3px 10px -1px var(--clay-dark),
        -2px -2px 7px -1px var(--clay-light);
    transition: transform var(--duration) var(--ease);
    cursor: pointer;
}

.carousel-btn:hover {
    transform: scale(1.08);
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
    color: var(--on-surface);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--on-surface-muted);
    opacity: 0.3;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--blush-1), var(--blush-2));
    opacity: 1;
}


/* ================================================
   SECTION 7: STATS / SOCIAL PROOF
   ================================================ */
.stats {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 36px 20px;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--on-surface-sub);
    font-weight: 500;
}


/* ================================================
   SECTION 8: PRICING
   ================================================ */
.pricing {
    padding: var(--section-py) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 36px;
    position: relative;
}

.pricing-card.pro {
    border: 2px solid transparent;
    background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--blush-1), var(--blush-2), var(--gold));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(194, 126, 138, 0.3);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--on-surface-muted);
}

.pricing-desc {
    font-size: var(--fs-small);
    color: var(--on-surface-sub);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(194, 126, 138, 0.12);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-small);
    color: var(--on-surface-sub);
}

.pricing-feature svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--blush-1);
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: var(--r-btn);
    font-weight: 700;
    font-size: var(--fs-small);
    transition: all var(--duration) var(--ease);
}

.pricing-btn.outline {
    background: var(--page-bg);
    color: var(--on-surface);
    box-shadow:
        3px 3px 10px -1px var(--clay-dark),
        -2px -2px 7px -1px var(--clay-light);
}

.pricing-btn.outline:hover {
    transform: translateY(-2px);
}

.pricing-btn.gradient {
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
    color: #fff;
    box-shadow: 0 6px 20px rgba(194, 126, 138, 0.35);
}

.pricing-btn.gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(194, 126, 138, 0.45);
}


/* ================================================
   SECTION 9: FAQ
   ================================================ */
.faq {
    padding: var(--section-py) 0;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--duration) var(--ease);
    gap: 16px;
    width: 100%;
    text-align: left;
    color: var(--on-surface);
    background: none;
}

.faq-question:hover {
    color: var(--blush-1);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(194, 126, 138, 0.1), rgba(212, 160, 168, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
}

.faq-toggle svg {
    width: 14px;
    height: 14px;
    color: var(--blush-1);
}

.faq-item.open .faq-toggle svg {
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 28px 22px;
    color: var(--on-surface-sub);
    font-size: var(--fs-small);
    line-height: 1.8;
}


/* ================================================
   SECTION 10: CTA
   ================================================ */
.cta-section {
    padding: var(--section-py) 0;
}

.cta-inner {
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2), #D4A0A8);
    border-radius: 32px;
    padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 60px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(194, 126, 138, 0.3);
}

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

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.15;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--r-btn);
    color: #fff;
    font-weight: 600;
    font-size: var(--fs-small);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--duration) var(--ease);
}

.cta-store-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.cta-store-btn svg {
    width: 22px;
    height: 22px;
}

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

.cta-phone {
    max-width: 220px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* CTA background decoration */
.cta-inner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -80px;
    right: -40px;
}

.cta-inner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -60px;
    left: -30px;
}


/* ================================================
   SECTION 11: CONTACT
   ================================================ */
.contact {
    padding: var(--section-py) 0;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow:
        var(--clay-dark-offset) var(--clay-dark-offset) 18px -2px var(--clay-dark),
        var(--clay-light-offset) var(--clay-light-offset) 12px -2px var(--clay-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--page-bg);
    border: none;
    border-radius: var(--r-btn);
    color: var(--on-surface);
    font-size: var(--fs-body);
    box-shadow:
        inset 2px 2px 6px rgba(58, 45, 45, 0.06),
        inset -2px -2px 6px rgba(255, 255, 255, 0.7);
    transition: box-shadow var(--duration) var(--ease);
    outline: none;
}

[data-theme="dark"] .form-input {
    box-shadow:
        inset 2px 2px 6px rgba(0, 0, 0, 0.2),
        inset -2px -2px 6px rgba(255, 255, 255, 0.02);
}

.form-input:focus {
    box-shadow:
        inset 2px 2px 6px rgba(58, 45, 45, 0.06),
        inset -2px -2px 6px rgba(255, 255, 255, 0.7),
        0 0 0 2px rgba(194, 126, 138, 0.25);
}

[data-theme="dark"] .form-input:focus {
    box-shadow:
        inset 2px 2px 6px rgba(0, 0, 0, 0.2),
        inset -2px -2px 6px rgba(255, 255, 255, 0.02),
        0 0 0 2px rgba(194, 126, 138, 0.3);
}

.form-input::placeholder {
    color: var(--on-surface-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--r-btn);
    box-shadow: 0 6px 20px rgba(194, 126, 138, 0.35);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(194, 126, 138, 0.45);
}

#form-messages {
    margin-bottom: 16px;
    padding: 0;
    border-radius: 12px;
    font-size: var(--fs-small);
}

#form-messages.success {
    padding: 14px 18px;
    background: rgba(70, 170, 100, 0.1);
    color: #2d7a40;
    border: 1px solid rgba(70, 170, 100, 0.2);
}

#form-messages.error {
    padding: 14px 18px;
    background: rgba(220, 60, 60, 0.1);
    color: #b33;
    border: 1px solid rgba(220, 60, 60, 0.2);
}


/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(194, 126, 138, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand-desc {
    color: var(--on-surface-sub);
    font-size: var(--fs-small);
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        2px 2px 6px -1px var(--clay-dark),
        -1px -1px 4px -1px var(--clay-light);
    transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
    transform: translateY(-2px);
    box-shadow:
        3px 4px 10px -1px var(--clay-dark),
        -2px -2px 6px -1px var(--clay-light);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    color: var(--on-surface-sub);
}

.footer-heading {
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--on-surface);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: var(--fs-small);
    color: var(--on-surface-sub);
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--blush-1);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(194, 126, 138, 0.08);
    font-size: 0.8rem;
    color: var(--on-surface-muted);
}

.footer-bottom a {
    color: var(--blush-1);
    font-weight: 600;
}


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

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

    .mobile-nav {
        display: flex;
    }

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

    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4) {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        order: 2;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mockup {
        order: 1;
    }

    .hero-phone {
        max-width: 240px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-container::before {
        display: none;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-mockup {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .carousel-slide {
        flex: 0 0 200px;
    }

    .contact-form-wrapper {
        padding: 28px 24px;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .lang-selector {
        right: 16px;
        top: 16px;
    }

    .carousel-slide {
        flex: 0 0 180px;
    }
}

/* --- Focus styles for accessibility --- */
:focus-visible {
    outline: 2px solid var(--blush-1);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--blush-1);
    outline-offset: 3px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Hero Trust Metrics --- */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--on-surface-sub);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.trust-number {
    font-weight: 800;
    color: var(--blush-1);
    font-size: 1.05rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--on-surface-muted);
    opacity: 0.4;
}


/* --- AI Difference Section --- */
.ai-diff {
    padding: var(--section-py) 0;
    background: var(--page-bg);
}

.ai-diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ai-diff-card {
    padding: 32px 24px;
    border-radius: var(--r-card);
    text-align: center;
    transition: transform var(--duration) var(--ease);
}

.ai-diff-card:hover {
    transform: translateY(-6px);
}

.ai-diff-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
    color: white;
}

.ai-diff-icon svg {
    width: 28px;
    height: 28px;
}

.ai-diff-icon.accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.ai-diff-card h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--on-surface);
}

.ai-diff-card p {
    font-size: var(--fs-small);
    color: var(--on-surface-sub);
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .ai-diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ai-diff-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Print --- */
@media print {
    .sticky-nav, .lang-selector, .theme-toggle, .mobile-nav {
        display: none !important;
    }
}
