/* ============================================
   CineFlow AI — Premium Landing Page Stylesheet
   VeloSphere-Inspired Dark Purple Theme
   ============================================ */

/* --- 1. ROOT VARIABLES & RESET --- */
:root {
    --bg-primary: #101018;
    --bg-secondary: #16161e;
    --bg-card: rgba(15, 15, 35, 0.6);
    --bg-card-solid: #151520;
    --purple-main: #76abae;
    --purple-light: #9fd1d4;
    --purple-glow: #548f92;
    --purple-deep: #2c5153;
    --purple-faint: rgba(118, 171, 174, 0.08);
    --accent-cyan: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(118, 171, 174, 0.4);
    --gradient-purple: linear-gradient(90deg, #9fd1d4, #76abae);
    --gradient-text: linear-gradient(135deg, #ffffff, #e4e4e7, #a1a1aa);
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: rgba(139, 92, 246, 0.35);
    color: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

/* --- 2. CUSTOM SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.5); }

/* --- 3. SCROLL PROGRESS BAR --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-purple);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* --- 4. NOISE OVERLAY --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    mix-blend-mode: overlay;
}

/* --- 5. PARTICLE CANVAS --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- 6. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.7;
}

/* --- 7. LAYOUT --- */
.section {
    padding: 110px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 8. BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    position: relative;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(118, 171, 174, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.55);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    border-color: var(--purple-main);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-download {
    background: var(--gradient-purple);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}

/* Glow button animated border */
.btn-glow {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--angle, 0deg),
        #8b5cf6, #6366f1, #a78bfa, #c084fc, #818cf8, #8b5cf6
    );
    z-index: -1;
    opacity: 0.7;
    filter: blur(6px);
    transition: opacity 0.3s;
}

.btn-glow:hover::before {
    opacity: 1;
    filter: blur(8px);
}

/* Ripple animation (injected by JS) */
@keyframes btn-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- 9. NAVBAR --- */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    transition: var(--transition);
    padding: 0 24px;
}

.navbar.scrolled {
    background: rgba(25, 25, 35, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

.logo img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn-download)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-download):hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 8, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-color);
    padding: 100px 32px 32px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.mobile-menu a:hover {
    color: var(--text-primary);
    background: var(--purple-faint);
}

.mobile-menu .btn-download {
    margin-top: 16px;
    text-align: center;
    display: block;
}

/* --- 10. HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    padding-bottom: 40px;
    position: relative;
    overflow: visible;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--purple-light);
    font-weight: 500;
    margin-bottom: 28px;
    animation: fade-in-up 0.8s ease forwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 20%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fade-in-up 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 36px auto;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: fade-in-up 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease 0.3s both;
}

.hero-actions .btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hero Mockup */
.hero-mockup-wrapper {
    perspective: 1200px;
    max-width: 960px;
    width: 100%;
    margin-top: 64px;
    position: relative;
    animation: fade-in-up 1s ease 0.5s both;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.25) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.hero-mockup {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: rotateX(4deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: rotateX(0deg);
}

.hero-mockup img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

.hero-mockup-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 90%);
    z-index: 2;
    pointer-events: none;
}

.hero-download-overlay {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* --- 11. FEATURES SECTION --- */
.features-section {
    position: relative;
    overflow: visible;
}

.features-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 6s ease-in-out infinite alternate;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.12);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.15);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--purple-light);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.badge-pro {
    background: rgba(139, 92, 246, 0.12);
    color: var(--purple-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-spark {
    background: rgba(250, 204, 21, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- 12. DETAIL SECTION --- */
.detail-section {
    overflow: visible;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 72px;
    margin-bottom: 100px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1;
}

.detail-visual {
    flex: 1;
    position: relative;
}

.detail-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple-light);
    margin-bottom: 12px;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.detail-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

.detail-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.detail-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-light);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.detail-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.detail-visual-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-main), transparent);
    opacity: 0.5;
}

/* Chat mockup inside detail-visual-card */
.chat-mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.chat-mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chat-mockup-dot.red { background: #ef4444; }
.chat-mockup-dot.yellow { background: #eab308; }
.chat-mockup-dot.green { background: #22c55e; }

.chat-mockup-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 85%;
}

.chat-bubble.user {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--purple-light);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

/* Tool grid inside detail-visual-card */
.tools-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tool-mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.tool-mini-item:hover {
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.06);
}

.tool-mini-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple-light);
    fill: none;
    stroke-width: 2;
}

.tool-mini-item span {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-align: center;
    line-height: 1.2;
}

/* Media generation mockup */
.gen-mockup-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.gen-tab {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    background: transparent;
    border: 1px solid transparent;
    cursor: default;
    transition: var(--transition-fast);
}

.gen-tab.active {
    color: var(--purple-light);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.gen-preview-area {
    height: 160px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px dashed rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.gen-preview-area svg {
    width: 40px;
    height: 40px;
    stroke: rgba(139, 92, 246, 0.3);
    fill: none;
    stroke-width: 1.5;
}

/* --- 13. COMMUNITY SECTION --- */
.community-section {
    text-align: center;
    overflow: visible;
}

.community-orb {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 60px auto;
}

.community-orb::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        rgba(167, 139, 250, 0.35) 0%,
        rgba(139, 92, 246, 0.2) 30%,
        rgba(99, 102, 241, 0.1) 60%,
        transparent 80%
    );
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.community-orb::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.15);
    animation: rotate-orb 20s linear infinite;
    background: conic-gradient(from 0deg, transparent 0%, rgba(139, 92, 246, 0.2) 25%, transparent 50%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- 14. SOCIAL SECTION --- */
.social-section {
    text-align: center;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.08);
    border-color: var(--border-hover);
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.08);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--text-primary);
}

/* --- 15. TESTIMONIALS SECTION --- */
.testimonials-section {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 24px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 340px;
    max-width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #fbbf24;
}

.testimonial-stars .star-empty {
    color: var(--text-tertiary);
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    color: var(--purple-light);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
    line-height: 0;
    margin-right: 4px;
    vertical-align: -0.15em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-avatar:nth-child(1) { background: linear-gradient(135deg, #8b5cf6, #6366f1); }

.testimonial-card:nth-child(1) .testimonial-avatar { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.testimonial-card:nth-child(2) .testimonial-avatar { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.testimonial-card:nth-child(3) .testimonial-avatar { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.testimonial-card:nth-child(4) .testimonial-avatar { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.testimonial-card:nth-child(5) .testimonial-avatar { background: linear-gradient(135deg, #10b981, #06b6d4); }

.testimonial-info { display: flex; flex-direction: column; }

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* --- 16. CTA / NEWSLETTER SECTION --- */
.cta-section {
    text-align: center;
    position: relative;
    overflow: visible;
}

.cta-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.cta-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 12px 0 0 12px;
    border: 1px solid var(--border-color);
    border-right: none;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-input::placeholder {
    color: var(--text-tertiary);
}

.cta-input:focus {
    border-color: var(--purple-main);
}

.cta-submit {
    padding: 16px 28px;
    border-radius: 0 12px 12px 0;
    background: var(--gradient-purple);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-submit:hover {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

/* --- 17. FOOTER --- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 5% 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo img {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--purple-main);
    background: rgba(139, 92, 246, 0.08);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: var(--text-secondary);
    transition: fill 0.2s;
}

.footer-social a:hover svg {
    fill: var(--text-primary);
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: 0;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.84rem;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    font-size: 0.84rem;
    color: var(--text-tertiary);
}

/* --- 18. ANIMATIONS --- */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse-glow {
    0% {
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes rotate-orb {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes typing-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- 19. SCROLL REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- 20. GLASSMORPHISM --- */
.glass {
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.glass-strong {
    background: rgba(15, 15, 35, 0.7);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* --- 21. ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    #particle-canvas {
        display: none;
    }
}

/* --- 22. RESPONSIVE --- */

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

    .detail-row,
    .detail-row.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .stats-grid {
        gap: 32px;
    }

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

    .tools-mini-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 80px 5%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-mockup-wrapper {
        margin-top: 40px;
    }

    .hero-mockup {
        transform: none;
    }

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

    .stats-grid {
        flex-direction: column;
        gap: 24px;
    }

    .stat-item {
        padding: 16px;
    }

    .social-grid {
        gap: 14px;
    }

    .social-icon {
        width: 52px;
        height: 52px;
    }

    .testimonial-card {
        min-width: 300px;
    }

    .cta-form {
        flex-direction: column;
        gap: 10px;
    }

    .cta-input {
        border-radius: 12px;
        border-right: 1px solid var(--border-color);
    }

    .cta-submit {
        border-radius: 12px;
    }

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

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

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

/* Small mobile */
@media (max-width: 480px) {
    .section {
        padding: 60px 4%;
    }

    .hero {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 24px;
    }

    .detail-visual-card {
        padding: 16px;
    }

    .testimonial-card {
        min-width: 260px;
        padding: 24px;
    }

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

/* ==============================================
   ADDITIONAL RULES — HTML Class Alignment
   ============================================== */

/* Nav logo (HTML uses nav-logo instead of logo) */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

.nav-logo-img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

/* Hero content wrapper */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 20%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Section header */
.section-header {
    margin-bottom: 3.5rem;
}

/* Mobile nav */
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    background: var(--purple-faint);
}

.mobile-download-btn {
    margin-top: 16px;
    text-align: center;
    display: block;
}

/* Feature card header layout fix — subagent didn't use .feature-card-header */
.feature-card .feature-badge {
    float: right;
    margin-top: -4px;
}

.feature-title { color: var(--text-primary); }
.feature-desc { color: var(--text-secondary); }

/* Detail row reverse (HTML uses detail-row-reverse) */
.detail-row-reverse {
    flex-direction: row-reverse;
}

/* Detail title and desc */
.detail-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text-primary);
}

.detail-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Detail list with SVG checkmarks */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--purple-light);
}

/* Chat mockup styles */
.detail-chat-mockup {
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.chat-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chat-header-dot:nth-child(1) { background: #ef4444; }
.chat-header-dot:nth-child(2) { background: #eab308; }
.chat-header-dot:nth-child(3) { background: #22c55e; }

.chat-header-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 8px;
    font-weight: 500;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    max-height: 260px;
    overflow-y: auto;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 88%;
}

.chat-bubble p { margin: 0; }

.chat-user {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--purple-light);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-ai {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.chat-input-placeholder {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.chat-send-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    color: #fff;
    cursor: pointer;
}

.chat-send-btn svg {
    stroke: #fff;
}

/* Tools grid mockup */
.detail-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mini-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    cursor: default;
}

.mini-tool:hover {
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.06);
    transform: translateY(-2px);
}

.mini-tool svg {
    stroke: var(--purple-light);
}

.mini-tool span {
    font-size: 0.68rem;
    color: var(--text-tertiary);
    text-align: center;
    font-weight: 500;
}

/* Media generation mockup */
.detail-media-mockup {
    overflow: hidden;
}

.media-gen-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.media-gen-tab {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    border: 1px solid transparent;
    cursor: default;
    transition: var(--transition-fast);
}

.media-gen-tab-active {
    color: var(--purple-light);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.media-gen-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media-gen-preview {
    border-radius: 12px;
    overflow: hidden;
}

.media-gen-placeholder {
    height: 160px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(99, 102, 241, 0.03) 100%);
    border: 1px dashed rgba(139, 92, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    padding: 16px;
    text-align: center;
}

.media-gen-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.media-gen-input {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.media-gen-options {
    display: flex;
    gap: 8px;
}

.media-gen-option {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.media-gen-option-active {
    color: var(--purple-light);
    border-color: rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.08);
}

/* Stats section */
.stat-card {
    text-align: center;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-suffix {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Social section labels */
.social-label {
    display: none;
}

.social-icon {
    flex-direction: column;
    gap: 6px;
}

/* Testimonial quote */
.testimonial-quote {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

/* Footer additional styles */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo-img {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

.footer-logo-text {
    font-weight: 700;
}

.footer-heading {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
}

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

.footer-link {
    display: block;
    color: var(--text-secondary);
    font-size: 0.84rem;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.footer-social-icon:hover {
    border-color: var(--purple-main);
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-primary);
}

.footer-copyright {
    color: var(--text-tertiary);
}

.footer-tagline {
    color: var(--text-tertiary);
}

/* Responsive for detail-row-reverse */
@media (max-width: 1024px) {
    .detail-row-reverse {
        flex-direction: column;
    }
    .detail-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .detail-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .mobile-menu.active {
        right: 0;
    }
}

/* ==============================================
   OPTIX DESIGN MATCH
   ============================================== */

/* Button overrides */
.btn-pill {
    border-radius: 50px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 500;
}

.btn-glow-purple {
    background: var(--gradient-purple);
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(118, 171, 174, 0.4);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.btn-glow-purple:hover {
    box-shadow: 0 8px 30px rgba(118, 171, 174, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-register {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Badge Override */
.hero-badge {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    padding: 6px 16px 6px 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    animation: none; /* override previous */
}

.hero-badge-tag {
    background: var(--gradient-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-badge-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Hero Title and Subtitle overrides */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin-bottom: 24px;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Hero Background Lights */
.hero-bg-lights {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.light-pillar {
    width: 140px;
    height: 150%;
    background: linear-gradient(180deg, rgba(118, 171, 174, 0.5) 0%, rgba(44, 81, 83, 0.1) 60%, transparent 100%);
    filter: blur(70px);
    opacity: 0.4;
    transform: translateY(-20%);
}

.lp-1 { margin-right: -20px; opacity: 0.6; background: linear-gradient(180deg, rgba(118, 171, 174, 0.7), transparent); }
.lp-2 { margin-right: 10px; opacity: 0.4; background: linear-gradient(180deg, rgba(159, 209, 212, 0.6), transparent); }
.lp-3 { margin-right: 30px; opacity: 0.8; background: linear-gradient(180deg, rgba(84, 143, 146, 0.8), transparent); }
.lp-4 { margin-right: 20px; opacity: 0.3; }
.lp-5 { margin-right: 50px; opacity: 0.2; }

/* Responsive adjustments for navbar pill */
@media (max-width: 1024px) {
    .navbar {
        width: 95%;
        padding: 0 20px;
    }
}
@media (max-width: 768px) {
    .navbar {
        top: 16px;
        border-radius: 20px;
    }
}

/* ==============================================
   PRICING & POLICY SECTIONS
   ============================================== */

/* --- PRICING SECTION --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card-highlight {
    background: var(--bg-secondary);
    border: 2px solid var(--purple-main);
    box-shadow: 0 0 15px rgba(118, 171, 174, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-main);
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(118, 171, 174, 0.3);
}

.pricing-plan-name {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-symbol {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features .check {
    color: var(--purple-main);
    font-weight: bold;
}

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

/* --- POLICY SECTION --- */
.policy-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(118, 171, 174, 0.03);
    border: 1px solid rgba(118, 171, 174, 0.1);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
}

.policy-icon {
    width: 80px;
    height: 80px;
    background: rgba(118, 171, 174, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.policy-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.policy-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.policy-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.policy-link {
    color: var(--purple-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.policy-link:hover {
    color: white;
    text-decoration: underline;
}

.policy-dot {
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
