/* ===== ETHOS NOTE BRAND VARIABLES ===== */
:root {
    --primary: #A3274F;
    --primary-dark: #8A1F42;
    --primary-light: #C94D73;
    --primary-glow: rgba(163, 39, 79, 0.15);
    --accent: #D4A574;
    --bg: #0D0B0E;
    --bg-elevated: #161418;
    --bg-card: #1C1A1F;
    --surface: #231F26;
    --text: #F5F0F2;
    --text-secondary: #B8A9B0;
    --text-muted: #7A6D73;
    --border: rgba(163, 39, 79, 0.15);
    --border-subtle: rgba(255,255,255,0.06);
    --gradient-start: #A3274F;
    --gradient-end: #D4577A;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.2);
    --shadow-lg: 0 4px 24px rgba(163,39,79,0.2), 0 12px 48px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px rgba(163,39,79,0.15);
    --max-width: 1120px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
    z-index: 200;
    will-change: width;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* GPU-accelerated transitions for smooth animations */
.phone-frame, .feature-card, .persona-card, .highlight-item,
.showcase-phone, .carousel-phone, .faq-item, .detail-step,
.btn, .store-btn, .nav-cta, .back-to-top, .carousel-btn {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-light); text-decoration: none; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto 56px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13,11,14,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(163,39,79,0.1); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
}
.nav-logo img { height: 36px; width: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary-light); }
.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius-xs);
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-switch {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-subtle);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: all var(--transition);
}
.lang-switch:hover {
    border-color: rgba(163,39,79,0.3);
    color: var(--primary-light);
}

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0D0B0E;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    gap: 28px;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--primary-light); }

/* ===== HERO ===== */
.hero {
    padding: 160px 0 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
/* Typewriter cursor */
.tw-cursor {
    font-weight: 300;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(163,39,79,0.12) 0%, rgba(163,39,79,0.03) 40%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-glow);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(163,39,79,0.2);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 16px rgba(163,39,79,0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(163,39,79,0.5);
    color: #fff;
}
.btn-primary { transition: all var(--bounce); }
.btn-secondary { transition: all var(--bounce); }
.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border-subtle);
}
.btn-secondary:hover {
    border-color: rgba(163,39,79,0.3);
    background: var(--bg-card);
    transform: translateY(-2px);
}
.btn svg { width: 20px; height: 20px; }

/* Hero phone mockup */
.hero-mockup {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    perspective: 1000px;
    position: relative;
    z-index: 1;
}
.phone-frame {
    width: 230px;
    height: calc(230px * 16 / 9 + 20px);
    background: linear-gradient(145deg, #2a2230, #1a1520);
    border-radius: 32px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    position: relative;
    flex-shrink: 0;
}
.hero-phone-center {
    width: 260px;
    height: calc(260px * 16 / 9 + 20px);
    z-index: 2;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.hero-phone-side {
    opacity: 0.75;
    transform: scale(0.9);
}
.hero-phone-center {
    animation: float-center 6s ease-in-out infinite;
}
.hero-phone-side:first-child {
    animation: float-side 6s ease-in-out infinite;
}
.hero-phone-side:last-child {
    animation: float-side 6s ease-in-out infinite reverse;
}
@keyframes float-center {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes float-side {
    0%, 100% { transform: scale(0.9) translateY(0); }
    50% { transform: scale(0.9) translateY(-8px); }
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 22px;
    overflow: hidden;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(163,39,79,0.2);
}
.feature-card { transition: transform var(--bounce), box-shadow var(--transition-slow), border-color var(--transition); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}
.feature-icon.notes { background: rgba(163,39,79,0.15); }
.feature-icon.calendar { background: rgba(59,130,246,0.12); }
.feature-icon.flash { background: rgba(212,165,116,0.15); }
.feature-icon.themes { background: rgba(168,85,247,0.12); }
.feature-icon.privacy { background: rgba(34,197,94,0.12); }
.feature-icon.sync { background: rgba(99,102,241,0.12); }
.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== FEATURE DETAIL ===== */
.feature-detail {
    border-top: 1px solid var(--border-subtle);
}
.detail-row {
    display: flex;
    align-items: center;
    gap: 64px;
}
.detail-row-reverse {
    flex-direction: row-reverse;
}
.detail-phone {
    flex-shrink: 0;
}
.detail-phone .showcase-phone {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.detail-content {
    flex: 1;
}
.detail-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--primary-glow);
    border-radius: 6px;
    border: 1px solid rgba(163,39,79,0.2);
}
.detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.detail-desc {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 32px;
}
.detail-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--primary-glow);
    border: 1px solid rgba(163,39,79,0.25);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SHOWCASE / CAROUSEL ===== */
.showcase {
    background: linear-gradient(180deg, rgba(163,39,79,0.05) 0%, var(--bg) 100%);
}
.carousel-wrapper {
    position: relative;
    max-width: 100%;
}
.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 32px;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-phone {
    flex-shrink: 0;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.carousel-screen {
    width: 200px;
    height: calc(200px * 16 / 9);
    background: linear-gradient(145deg, #2a2230, #1a1520);
    border-radius: 28px;
    padding: 9px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.carousel-phone:hover .carousel-screen {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.carousel-screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 19px;
}
.carousel-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 5;
    box-shadow: var(--shadow);
}
.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

/* Reusable showcase-phone for detail sections */
.showcase-phone {
    width: 200px;
    height: calc(200px * 16 / 9 + 18px);
    background: linear-gradient(145deg, #2a2230, #1a1520);
    border-radius: 28px;
    padding: 9px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.showcase-screen {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    overflow: hidden;
    background: #111;
}
.showcase-screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* ===== GLOW ON HOVER (cards) ===== */
.feature-card, .persona-card {
    position: relative;
    overflow: hidden;
}
.feature-card::after, .persona-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163,39,79,0.12), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
}
.feature-card:hover::after, .persona-card:hover::after { opacity: 1; }

/* ===== HIGHLIGHTS ===== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.highlight-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(163,39,79,0.2);
}
.highlight-item { transition: transform var(--bounce), box-shadow var(--transition-slow), border-color var(--transition); }
.highlight-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.highlight-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== PERSONAS ===== */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.persona-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
}
.persona-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(163,39,79,0.2);
}
.persona-card { transition: transform var(--bounce), box-shadow var(--transition-slow), border-color var(--transition); }
.persona-featured {
    border-color: rgba(163,39,79,0.25);
    background: linear-gradient(135deg, var(--bg-card), rgba(163,39,79,0.06));
}
.persona-featured::after {
    content: attr(data-popular);
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.persona-icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
}
.persona-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.persona-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.persona-uses {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.persona-uses li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-left: 20px;
    position: relative;
}
.persona-uses li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
}

/* ===== DOWNLOAD ===== */
.download {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    margin: 0 24px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}
.download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    pointer-events: none;
}
.download .section-title { color: #fff; }
.download .section-subtitle { color: rgba(255,255,255,0.8); }
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition);
}
.store-btn:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
    color: #fff;
}
.store-btn.disabled {
    opacity: 0.5;
    cursor: default;
}
.store-btn.disabled:hover { transform: none; background: rgba(255,255,255,0.12); }
.store-btn svg { width: 24px; height: 24px; fill: currentColor; }
.store-label { text-align: left; line-height: 1.2; }
.store-label small { font-size: 0.75rem; font-weight: 400; opacity: 0.8; display: block; }

/* ===== PRIVACY SECTION ===== */
.privacy-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.privacy-icon-big {
    width: 80px;
    height: 80px;
    background: rgba(34,197,94,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}
.privacy-text h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.privacy-text p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 16px; }
.privacy-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
}
.privacy-link:hover { gap: 10px; }

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item[open] {
    border-color: rgba(163,39,79,0.25);
}
.faq-question {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-light);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-question:hover { color: var(--primary-light); }
.faq-answer {
    padding: 0 24px 20px;
    animation: faqOpen 0.3s ease;
}
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-box {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 64px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}
.contact-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.contact-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.6;
}
.contact-btn {
    font-size: 0.9375rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(163,39,79,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 90;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ===== FOOTER ===== */
.footer {
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    margin-top: 96px;
}
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 16px;
}
.footer-logo img { height: 32px; width: 32px; border-radius: 8px; }
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-copy {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .personas-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.625rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 36px; }

    /* Nav */
    .nav-links { display: none !important; }
    .nav-toggle { display: block; }
    .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0D0B0E; }

    /* Hero */
    .hero { padding: 110px 0 48px; }
    .hero h1 { font-size: 2rem; padding: 0 8px; }
    .hero p { font-size: 1rem; margin-bottom: 28px; }
    .hero-badge { font-size: 0.8125rem; padding: 6px 14px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .btn { padding: 12px 24px; font-size: 0.9375rem; width: 100%; max-width: 280px; justify-content: center; }
    .hero-mockup {
        gap: 0;
        margin-top: 48px;
        overflow: visible;
        padding: 20px 0;
        position: relative;
        height: calc(55vw * 16 / 9 + 40px);
        justify-content: center;
        touch-action: pan-x;
    }
    .phone-frame {
        position: absolute;
        width: 55vw;
        height: calc(55vw * 16 / 9 + 14px);
        border-radius: 28px;
        padding: 8px;
        flex-shrink: 0;
        transition: transform 0.5s ease, opacity 0.5s ease, z-index 0s;
        left: 50%;
        top: 50%;
    }
    .hero-phone-center, .hero-phone-side {
        animation: none !important;
    }
    .phone-frame.coverflow-center {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        z-index: 3;
    }
    .phone-frame.coverflow-left {
        transform: translate(-115%, -50%) scale(0.75);
        opacity: 0.5;
        z-index: 1;
    }
    .phone-frame.coverflow-right {
        transform: translate(15%, -50%) scale(0.75);
        opacity: 0.5;
        z-index: 1;
    }
    .phone-screen { border-radius: 20px; }

    /* Highlights */
    .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .highlight-item { padding: 20px 12px; }
    .highlight-number { font-size: 1.75rem; }
    .highlight-label { font-size: 0.8125rem; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 24px 20px; }

    /* Feature detail */
    .detail-row, .detail-row-reverse { flex-direction: column; gap: 32px; }
    .detail-phone { display: flex; justify-content: center; }
    .detail-phone .showcase-phone { width: 180px; height: calc(180px * 16 / 9 + 16px); }
    .detail-content h2 { font-size: 1.5rem; }
    .detail-desc { font-size: 1rem; margin-bottom: 24px; }
    .detail-steps { gap: 16px; }
    .step-number { width: 32px; height: 32px; min-width: 32px; font-size: 0.8125rem; border-radius: 8px; }
    .step-content h4 { font-size: 0.9375rem; }
    .step-content p { font-size: 0.8125rem; }
    .feature-detail { border-top: none; }

    /* Carousel */
    .carousel-screen { width: 160px; height: calc(160px * 16 / 9); border-radius: 22px; padding: 7px; }
    .carousel-screen img { border-radius: 15px; }
    .carousel-btn { display: none; }
    .carousel { padding: 16px 8px 24px; gap: 14px; }

    /* Showcase (detail sections) */
    .showcase-phone { width: 160px; height: calc(160px * 16 / 9 + 14px); border-radius: 22px; padding: 7px; }
    .showcase-screen { border-radius: 15px; }

    /* Personas */
    .personas-grid { grid-template-columns: 1fr; gap: 12px; }
    .persona-card { padding: 24px 20px; }
    .persona-icon { font-size: 28px; margin-bottom: 12px; }
    .persona-card h3 { font-size: 1.0625rem; }
    .persona-card > p { font-size: 0.875rem; margin-bottom: 16px; }
    .persona-uses li { font-size: 0.8125rem; }
    .persona-featured::after { top: 16px; right: 16px; font-size: 0.6875rem; padding: 3px 10px; }

    /* Privacy */
    .privacy-banner { flex-direction: column; text-align: center; padding: 28px 20px; gap: 24px; }
    .privacy-icon-big { width: 64px; height: 64px; font-size: 32px; border-radius: 16px; }
    .privacy-text h3 { font-size: 1.25rem; }
    .privacy-text p { font-size: 0.9375rem; }

    /* Download */
    .download { margin: 0 8px; padding: 48px 20px; border-radius: 12px; }
    .download .section-title { font-size: 1.5rem; }
    .download-buttons { flex-direction: column; align-items: center; }
    .store-btn { width: 100%; max-width: 280px; justify-content: center; padding: 12px 24px; }

    /* FAQ */
    .faq-question { padding: 16px 20px; font-size: 0.9375rem; }
    .faq-answer { padding: 0 20px 16px; }
    .faq-answer p { font-size: 0.875rem; }

    /* Contact */
    .contact-box { padding: 40px 20px; }
    .contact-icon { font-size: 36px; }
    .contact-box h2 { font-size: 1.375rem; }
    .contact-box p { font-size: 0.9375rem; }

    /* Back to top */
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }

    /* Footer */
    .footer { margin-top: 56px; padding: 36px 0; }
    .footer-links { gap: 16px; }
}

/* Small phones */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-mockup { gap: 6px; }
    .phone-frame { width: 65vw; height: calc(65vw * 16 / 9 + 12px); }
    .hero-phone-center { width: 65vw; height: calc(65vw * 16 / 9 + 12px); }
    .carousel-screen { width: 140px; height: calc(140px * 16 / 9); }
    .highlights-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .highlight-item { padding: 16px 8px; }
    .highlight-number { font-size: 1.5rem; }
}

@keyframes float-side-m {
    0%, 100% { transform: scale(0.88) translateY(0); }
    50% { transform: scale(0.88) translateY(-6px); }
}
