/* ==========================================================================
   Beauty Planner & Cosmo Planner — Compact High-Density Stylesheet
   Optimized for mobile viewports (iPhone 13 mini 375px) & desktop
   No bloated margins, tight information density, clean typography
   ========================================================================== */

:root {
    --primary: #6C5CE7;
    --primary-dark: #5843E5;
    --primary-light: #8E7CFF;
    --primary-soft: #F0EDFF;
    --primary-rgb: 108, 92, 231;

    --accent-gold: #F59E0B;
    --accent-teal: #10B981;
    --accent-pink: #EC4899;

    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-alt: #F1F5F9;

    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;

    --border-light: #E2E8F0;
    --border-focus: #CBD5E1;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 10px -2px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 10px 24px -4px rgba(108, 92, 231, 0.1), 0 2px 8px -1px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 36px -8px rgba(108, 92, 231, 0.16);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Compact Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #A29BFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Announcement Banner */
.top-announcement {
    background: linear-gradient(90deg, #5843E5 0%, #6C5CE7 100%);
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 6px 0;
    font-weight: 500;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.35;
}

.badge-pulse {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-block;
}

.top-announcement-link {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition-fast);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.15;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 1;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 5px 16px rgba(108, 92, 231, 0.45);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--border-focus);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-xl {
    padding: 15px 30px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.rustore-icon {
    width: 22px;
    height: 22px;
}

.btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.btn-subtext {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-maintext {
    font-size: 0.98rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 36px 0 44px;
    background: radial-gradient(circle at 85% 15%, rgba(108, 92, 231, 0.07) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(162, 155, 254, 0.05) 0%, transparent 60%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.star-rating {
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.chip-divider {
    color: var(--border-focus);
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    line-height: 1.18;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 540px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E6FBF5;
    color: var(--accent-teal);
    font-weight: 800;
    font-size: 0.75rem;
}

/* Smartphone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup-wrapper {
    position: relative;
    width: 290px;
}

.phone-device {
    width: 290px;
    height: 580px;
    background: #1E293B;
    border-radius: 38px;
    padding: 10px;
    box-shadow: var(--shadow-xl), 0 0 0 3px #475569;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.phone-speaker {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    z-index: 10;
}

.phone-camera {
    position: absolute;
    top: 16px;
    left: calc(50% + 36px);
    width: 7px;
    height: 7px;
    background: #0F172A;
    border-radius: 50%;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #E9EEF7;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 15;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.float-top-left {
    top: 30px;
    left: -30px;
}

.float-bottom-right {
    bottom: 45px;
    right: -30px;
    animation-delay: -2s;
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.float-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.cal-icon { background: var(--primary-soft); }
.stock-icon { background: #FEF3C7; }

.float-content {
    display: flex;
    flex-direction: column;
}

.float-content strong {
    font-size: 0.82rem;
    color: var(--text-primary);
}

.float-content span {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* Stats Section (Compact) */
.stats-section {
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 0;
}

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

.stat-card {
    text-align: center;
    padding: 6px 12px;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-light);
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
    white-space: nowrap;
}

.stat-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.stat-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Common Section Rules (Tighter Spacing) */
.section {
    padding: 52px 0;
    scroll-margin-top: 90px;
}

.section-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 34px;
}

/* Audience Grid (Compact Cards) */
.audience-section {
    background: var(--bg-main);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.audience-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.audience-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 92, 231, 0.3);
}

.audience-card.highlighted {
    border-color: var(--primary);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FF 100%);
    box-shadow: var(--shadow-sm);
}

.best-choice-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.audience-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.audience-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    flex-grow: 1;
    line-height: 1.45;
}

.audience-list {
    list-style: none;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.audience-list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.audience-list li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1;
}

/* Feature Modules Section (Compact) */
.modules-section {
    background: #FFFFFF;
}

.module-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.module-tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.module-tab-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.module-tab-btn.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.25);
}

.module-tab-content {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.module-tab-content.active {
    display: block;
    opacity: 1;
}

.module-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.module-pill {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.module-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.module-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-bullet {
    display: flex;
    gap: 12px;
}

.bullet-check {
    width: 24px;
    height: 24px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-bullet strong {
    font-size: 0.95rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.feature-bullet p {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.module-visual-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.module-visual-single {
    display: flex;
    justify-content: center;
}

.mockup-frame {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 8px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base);
}

.mockup-frame:hover {
    transform: translateY(-2px);
}

.mockup-frame.large {
    max-width: 340px;
    width: 100%;
}

.mockup-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    z-index: 5;
}

.mockup-img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.feature-card-glass {
    background: linear-gradient(135deg, #FAF8FF 0%, #FFFFFF 100%);
    border: 1px solid var(--primary-soft);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    max-width: 400px;
}

.feature-icon-lg {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.feature-card-glass h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card-glass p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #E6FBF5;
    color: #059669;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Video Section */
.video-section {
    background: var(--bg-main);
}

.video-wrapper {
    max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid #FFFFFF;
    background: #000000;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Comparison Section */
.comparison-section {
    background: #FFFFFF;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: #FFFFFF;
}

.comparison-table th, 
.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.comparison-table thead th {
    background: var(--bg-alt);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bp-th-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.highlight-th {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
}

.highlight-td {
    background: rgba(108, 92, 231, 0.04);
}

.badge-free {
    background: #E6FBF5;
    color: var(--accent-teal);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.check {
    color: var(--accent-teal);
    font-weight: 800;
    margin-right: 4px;
}

.cross {
    color: #EF4444;
    font-weight: 800;
    margin-right: 4px;
}

/* Calculator Section (Optimized, No Dead Space) */
.calculator-section {
    background: var(--bg-main);
}

.calculator-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF8FF 100%);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.calc-header {
    margin-bottom: 20px;
}

.calc-body {
    margin-top: 16px;
}

.calc-input-group {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.calc-value-badge {
    background: var(--primary);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
}

.calc-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #E2E8F0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.4);
    transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.calc-res-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.res-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 3px;
    line-height: 1.15;
}

.res-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.res-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* FAQ Section */
.faq-section {
    background: #FFFFFF;
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-main);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item.active {
    border-color: var(--primary);
    background: #FFFFFF;
}

.faq-question {
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform var(--transition-fast);
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    padding: 0 18px;
}

.faq-item.active .faq-answer {
    padding: 0 18px 14px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Final CTA Section */
.cta-section {
    background: var(--bg-main);
}

.cta-banner {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(162, 155, 254, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 800;
    margin: 10px 0;
}

.cta-desc {
    color: #E2E8F0;
    font-size: 0.98rem;
    margin-bottom: 22px;
    max-width: 480px;
}

.cta-actions {
    margin-bottom: 16px;
}

.cta-trust {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #CBD5E1;
    flex-wrap: wrap;
}

.cta-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
}

.qr-wrapper {
    background: #FFFFFF;
    padding: 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 8px;
}

.qr-img {
    width: 130px;
    height: 130px;
    display: block;
}

.qr-label {
    font-size: 0.78rem;
    color: #E2E8F0;
    font-weight: 500;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-xl);
    animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.modal-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-qr-frame {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    display: inline-block;
    margin-bottom: 18px;
}

.modal-qr-img {
    width: 160px;
    height: 160px;
    display: block;
}

/* Footer (Compact) */
.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 44px 0 20px;
    font-size: 0.86rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo img {
    border-radius: 6px;
}

.footer-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
}

.footer-brand-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 300px;
}

.developer-info {
    font-size: 0.8rem;
    color: #CBD5E1;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-copy-sub {
    font-size: 0.72rem;
    margin-top: 8px;
    color: #64748B;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 18px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: #64748B;
}

/* ==========================================================================
   Mobile & Responsive Overrides (Tight & Dense)
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 18px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .module-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        text-align: center;
    }

    .cta-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Extreme optimization for small phones */
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 24px 0;
        scroll-margin-top: 90px;
    }

    .section-header {
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 1.55rem;
        margin-bottom: 6px;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    .hero-section {
        padding: 18px 0 24px;
    }

    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn-header {
        display: none;
    }

    .phone-device {
        width: 250px;
        height: 500px;
        border-radius: 32px;
        padding: 8px;
    }

    .floating-card {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .float-top-left {
        left: -12px;
        top: 15px;
    }

    .float-bottom-right {
        right: -12px;
        bottom: 30px;
    }

    /* Stats Grid */
    .stats-section {
        padding: 14px 0;
    }

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

    .stat-card {
        padding: 4px;
    }

    .stat-card:nth-child(2)::after {
        display: none;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-sub {
        font-size: 0.7rem;
    }

    /* Audience Cards */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .audience-card {
        padding: 14px 12px;
    }

    .audience-icon {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    /* Calculator: Compact, No Dead Space */
    .calculator-card {
        padding: 14px 10px;
        border-radius: 12px;
    }

    .calc-input-group {
        padding: 12px 10px;
        margin-bottom: 10px;
    }

    .calc-label {
        font-size: 0.88rem;
        margin-bottom: 8px;
    }

    .calc-value-badge {
        font-size: 0.78rem;
        padding: 2px 8px;
    }

    .calc-results-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .calc-res-item {
        padding: 10px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .res-value {
        font-size: 1.25rem;
        margin-bottom: 0;
        min-width: 100px;
        text-align: right;
        order: 2;
        flex-shrink: 0;
    }

    .calc-res-content {
        order: 1;
        flex-grow: 1;
        padding-right: 8px;
    }

    .res-label {
        font-size: 0.84rem;
        margin-bottom: 0;
    }

    .res-sub {
        font-size: 0.72rem;
        display: block;
        margin-top: 1px;
    }

    /* Comparison Table Compact */
    .comparison-table th, 
    .comparison-table td {
        padding: 8px 8px;
        font-size: 0.78rem;
    }

    /* FAQ */
    .faq-accordion {
        gap: 6px;
    }

    .faq-question {
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 12px 10px;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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