/* ==========================================
   KreateFlo Website v2.0 — Premium Design System
   Matches Plugin: emerald/purple/indigo tokens,
   glass morphism, scroll animations, animated bg
   ========================================== */

:root {
    /* Backgrounds — layered depth (matches plugin) */
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #181824;
    --surface: #1a1a26;
    --bg-glass: rgba(18, 18, 26, 0.75);

    /* Borders */
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);

    /* Text */
    --text: #f0f0f5;
    --text-dim: #9ca3af;
    --text-muted: #4b5563;

    /* Brand Accent — Emerald (matches plugin) */
    --accent: #34d399;
    --accent-dark: #2cc485;
    --accent-glow: rgba(52, 211, 153, 0.15);
    --accent-soft: rgba(52, 211, 153, 0.08);

    /* Purple — AI/Premium */
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.15);
    --purple-soft: rgba(139, 92, 246, 0.08);

    /* Blue — Info/Utility */
    --blue: #6366f1;
    --blue-glow: rgba(99, 102, 241, 0.15);

    /* Semantic */
    --danger: #f43f5e;
    --warning: #f59e0b;

    /* Radii */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-children .reveal { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ---- Animated Background Orbs ---- */
.animated-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.animated-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 18s ease-in-out infinite;
    will-change: transform;
}
.animated-bg .orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
    top: -10%; left: -5%;
    animation-duration: 20s;
}
.animated-bg .orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    top: 30%; right: -10%;
    animation-delay: -6s;
    animation-duration: 24s;
}
.animated-bg .orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
    bottom: 10%; left: 20%;
    animation-delay: -12s;
    animation-duration: 22s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 40px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.03); }
}

/* Subtle grain overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 2px 16px var(--accent-glow);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 4px 28px rgba(52, 211, 153, 0.25);
    transform: translateY(-1px);
}
.btn-primary:hover::after { opacity: 1; }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-purple {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 2px 16px var(--purple-glow);
}
.btn-purple:hover {
    background: #7c3aed;
    box-shadow: 0 4px 28px rgba(139, 92, 246, 0.25);
    transform: translateY(-1px);
}
.btn-lg { padding: 14px 36px; font-size: 15px; border-radius: 14px; }

/* ---- Typography ---- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.italic { font-style: italic; }
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--accent-soft);
    border: 1px solid rgba(52, 211, 153, 0.12);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-badge svg { width: 12px; height: 12px; stroke-width: 2; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.nav-logo svg { filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.3)); }
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 12px; }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    text-align: center;
    padding: 160px 0 80px;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(52, 211, 153, 0.08) 0%, rgba(139, 92, 246, 0.06) 30%, rgba(99, 102, 241, 0.03) 60%, transparent 80%);
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite;
}
@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.85; transform: translateX(-50%) scale(1.05); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 24px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.15);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 6.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    max-width: 820px;
    margin: 0 auto 24px;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-stats {
    display: flex;
    gap: 56px;
    justify-content: center;
}
.stat { text-align: center; }
.stat-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--accent);
    margin: 0 auto 8px;
    opacity: 0.6;
    stroke-width: 1.8;
}
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-dim); }

/* ==========================================
   PREVIEW SECTION
   ========================================== */
.preview-section {
    padding: 0 0 120px;
}
.preview-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.preview-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 100px rgba(0,0,0,0.6), 0 0 60px var(--accent-glow);
}
.preview-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.preview-dots span:first-child { background: var(--danger); }
.preview-dots span:nth-child(2) { background: var(--warning); }
.preview-dots span:last-child { background: var(--accent); }
.preview-title { font-size: 12px; color: var(--text-dim); }
.preview-body {
    display: flex;
    min-height: 320px;
}
.preview-sidebar {
    width: 180px;
    padding: 12px 0;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}
.ps-item {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-dim);
    cursor: default;
}
.ps-item.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-left: 2px solid var(--accent);
}
.ps-item.dim { opacity: 0.3; }
.preview-content {
    flex: 1;
    padding: 24px;
}
.pc-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.pc-desc { font-size: 12px; color: var(--text-dim); margin-bottom: 24px; }
.pc-boxes {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.pc-box {
    flex: 1;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.04), rgba(139, 92, 246, 0.06));
    border: 1px solid var(--border);
}
.pc-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent);
    color: #000;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================
   TOOLS GRID
   ========================================== */
.tools-section {
    padding: 120px 0;
    text-align: center;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    text-align: left;
}
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s var(--ease);
    position: relative;
}
.tool-card:hover {
    border-color: rgba(52, 211, 153, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(52, 211, 153, 0.06);
}
.tool-card:nth-child(4n+2):hover { border-color: rgba(139,92,246,0.25); box-shadow: 0 12px 40px rgba(139,92,246,0.06); }
.tool-card:nth-child(4n+3):hover { border-color: rgba(245,158,11,0.25); box-shadow: 0 12px 40px rgba(245,158,11,0.06); }
.tool-card:nth-child(4n+4):hover { border-color: rgba(99,102,241,0.25); box-shadow: 0 12px 40px rgba(99,102,241,0.06); }
.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    border: 1px solid rgba(52, 211, 153, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.2s;
}
.tool-card:hover .tool-icon { transform: scale(1.05); }
.tool-icon i, .tool-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    stroke-width: 1.8;
}
.tool-card:nth-child(4n+2) .tool-icon { background: var(--purple-soft); border-color: rgba(139,92,246,0.12); }
.tool-card:nth-child(4n+2) .tool-icon i, .tool-card:nth-child(4n+2) .tool-icon svg { color: var(--purple); }
.tool-card:nth-child(4n+3) .tool-icon { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.12); }
.tool-card:nth-child(4n+3) .tool-icon i, .tool-card:nth-child(4n+3) .tool-icon svg { color: var(--warning); }
.tool-card:nth-child(4n+4) .tool-icon { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.12); }
.tool-card:nth-child(4n+4) .tool-icon i, .tool-card:nth-child(4n+4) .tool-icon svg { color: var(--blue); }
.tool-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.tool-card p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.tool-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.tool-tag.premium { background: var(--purple-soft); color: var(--purple); border: 1px solid rgba(139,92,246,0.15); }
.tool-tag.free { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(52,211,153,0.15); }

/* ==========================================
   SHOWCASE
   ========================================== */
.showcase-section { padding: 120px 0; }
.showcase-section .section-title { text-align: center; margin-bottom: 80px; }
.showcase-row {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-text { flex: 1; }
.showcase-text h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    margin-bottom: 16px;
}
.showcase-text p { color: var(--text-dim); font-size: 15px; margin-bottom: 20px; }
.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.showcase-features li {
    font-size: 13px;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}
.showcase-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.showcase-visual { flex: 1; display: flex; justify-content: center; }
.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 400px;
}
.sc-header {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}
.sc-bars { display: flex; flex-direction: column; gap: 10px; }
.sc-bar {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    opacity: 0.5;
}
.caption-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: linear-gradient(135deg, #0a0a18, rgba(139, 92, 246, 0.06));
}
.sc-caption-preview {
    display: flex;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
}
.sc-caption-word { color: #666; transition: all 0.3s; }
.sc-caption-word.active { color: var(--accent); transform: scale(1.1); }
.sc-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 60px;
    padding: 0 12px;
}
.sc-wave-segment {
    width: 60px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 4px;
    opacity: 0.5;
}
.sc-wave-segment.wide { width: 100px; }
.sc-wave-gap {
    width: 30px;
    height: 4px;
    background: var(--danger);
    border-radius: 2px;
    opacity: 0.3;
}
.sc-label {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 16px;
}

/* ==========================================
   EDITORS SECTION
   ========================================== */
.editors-section {
    padding: 120px 0;
    text-align: center;
}
.editors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 48px;
    text-align: left;
}
.editor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.ec-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(62, 207, 92, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ec-icon i, .ec-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    stroke-width: 1.8;
}
.editor-card:nth-child(2) .ec-icon { background: var(--purple-soft); border-color: rgba(139,92,246,0.12); }
.editor-card:nth-child(2) .ec-icon i, .editor-card:nth-child(2) .ec-icon svg { color: var(--purple); }
.editor-card:nth-child(3) .ec-icon { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.12); }
.editor-card:nth-child(3) .ec-icon i, .editor-card:nth-child(3) .ec-icon svg { color: var(--blue); }
.editor-card:nth-child(4) .ec-icon { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.12); }
.editor-card:nth-child(4) .ec-icon i, .editor-card:nth-child(4) .ec-icon svg { color: var(--warning); }
.editor-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.editor-card p { font-size: 13px; color: var(--text-dim); }

/* ==========================================
   PRICING PREVIEW
   ========================================== */
.pricing-preview {
    padding: 120px 0;
    text-align: center;
}
.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    text-align: left;
    position: relative;
}
.price-card.featured {
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: 0 0 60px var(--accent-glow), 0 0 0 1px rgba(52, 211, 153, 0.08) inset;
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}
.price-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.price-card .price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
}
.price-card .price span { font-size: 16px; font-weight: 400; color: var(--text-dim); }
.price-card.featured h3 { color: var(--accent); }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card ul li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-dim);
    padding-left: 24px;
    position: relative;
}
.price-card ul li.yes::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.price-card ul li.no::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: var(--text-muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center/contain no-repeat; }
.price-card ul li.no { color: var(--text-muted); text-decoration: line-through; }
.price-card .btn { width: 100%; }

/* ==========================================
   FAQ
   ========================================== */
.faq-section {
    padding: 120px 0;
    text-align: center;
}
.faq-list {
    max-width: 700px;
    margin: 48px auto 0;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-dim);
    transition: all 0.3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent-soft); border-color: rgba(52,211,153,0.15); color: var(--accent); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter-section {
    padding: 80px 0;
    text-align: center;
}
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 32px auto 0;
}
.nl-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
}
.nl-input:focus { outline: none; border-color: var(--accent); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.footer-brand p { font-size: 13px; color: var(--text-dim); max-width: 250px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}
.footer-socials {
    display: flex;
    gap: 16px;
}
.footer-socials a {
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}
.footer-socials a:hover { color: var(--accent); }
.footer-socials i, .footer-socials svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 120px 0 60px; }
    .hero-stats { gap: 24px; }
    .preview-sidebar { display: none; }
    .showcase-row, .showcase-row.reverse { flex-direction: column; gap: 32px; }
    .pricing-cards { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .newsletter-form { flex-direction: column; }
    .tools-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   INSTALLATION PAGE
   ========================================== */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}
.steps-section { padding: 60px 0; }
.step-block {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid rgba(62,207,92,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}
.step-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-content p { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; line-height: 1.7; }
.step-content .btn { margin-top: 8px; }
.step-note {
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.12);
    font-size: 13px;
    color: var(--warning);
    margin-top: 12px;
}

/* ==========================================
   PRICING PAGE (FULL)
   ========================================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.pricing-toggle span { font-size: 14px; color: var(--text-dim); }
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 13px;
    background: var(--border);
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch.active { background: var(--accent); }
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s;
}
.toggle-switch.active::after { transform: translateX(22px); }
.save-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    background: var(--accent);
    color: #000;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Caption animation */
@keyframes captionHighlight {
    0%, 100% { color: var(--text-muted); transform: scale(1); }
    25% { color: var(--accent); transform: scale(1.08); }
}
.sc-caption-word:nth-child(1) { animation: captionHighlight 3s ease-in-out 0s infinite; }
.sc-caption-word:nth-child(2) { animation: captionHighlight 3s ease-in-out 0.5s infinite; }
.sc-caption-word:nth-child(3) { animation: captionHighlight 3s ease-in-out 1s infinite; }
.sc-caption-word:nth-child(4) { animation: captionHighlight 3s ease-in-out 1.5s infinite; }

/* ==========================================
   AUTH PAGES (Login / Sign Up)
   ========================================== */
.auth-body {
    min-height: 100vh;
    overflow-x: hidden;
}
.auth-back {
    position: fixed;
    top: 20px;
    left: 24px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}
.auth-back:hover { color: #fff; border-color: rgba(255,255,255,0.2); text-decoration: none; }
.auth-layout {
    display: flex;
    min-height: 100vh;
}
.auth-brand {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a14 0%, #0d0d1a 100%);
}
.auth-brand-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62,207,92,0.08) 0%, rgba(124,77,255,0.05) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.auth-brand-content {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
}
.auth-brand-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}
.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--bg-card);
}
.auth-form-wrapper {
    width: 100%;
    max-width: 400px;
}
.auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
}
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}
.auth-field {
    margin-bottom: 18px;
}
.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.auth-field label .req { color: var(--accent); }
.auth-field input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    transition: border-color 0.2s;
}
.auth-field input:focus {
    outline: none;
    border-color: var(--accent);
}
.auth-field input::placeholder { color: var(--text-muted); }
.auth-password-wrap {
    position: relative;
}
.auth-password-wrap input {
    padding-right: 48px;
}
.pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
}
.auth-link {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }
.auth-submit {
    width: 100%;
    margin-top: 4px;
}
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    background: var(--accent);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 4px;
}
.btn-google:hover { filter: brightness(1.1); text-decoration: none; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-divider span {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}
.auth-status {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}
.auth-status.error {
    background: rgba(244,63,94,0.08);
    border: 1px solid rgba(244,63,94,0.15);
    color: var(--danger);
}
.auth-status.success {
    background: var(--accent-soft);
    border: 1px solid rgba(52,211,153,0.15);
    color: var(--accent);
}

/* Auth Navbar Buttons */
.nav-auth-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}
.btn-login {
    padding: 8px 20px;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-login:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-signup {
    padding: 8px 20px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-signup:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }

@media (max-width: 768px) {
    .auth-layout { flex-direction: column; }
    .auth-brand { min-height: 200px; }
    .auth-form-side { padding: 24px; }
    .nav-auth-btns { display: none; }
}
