/* 
   PROMPTUNE — PREMIUM DESIGN SYSTEM
   Modern, Creative, Trendy with Studio-Quality Execution
   Branding: Dark Navy (#111827) & Electric Blue (#1d4ed8)
*/

:root {
    --bg:           #0a0e17;
    --bg-alt:       #0f1419;
    --bg-elevated:  #1a2332;
    --bg-card:      rgba(26, 35, 50, 0.95);
    --text:         #f0f4f9;
    --text-dim:     #b8c5d6;
    --text-faint:   #7a8699;
    --brand-blue:   #3b82f6;
    --brand-royal:  #1d4ed8;
    --accent-violet: #a855f7;
    --accent-cyan:   #06b6d4;
    --accent-amber:  #f59e0b;
    --success:       #10b981;
    --error:         #ef4444;
    --border:       rgba(248, 250, 252, 0.08);
    --border-light: rgba(248, 250, 252, 0.12);
    --radius:       16px;
    --max-w:        1280px;
}


/* ═════════════════════════════════════════════════════════════════ */
/* GLOBAL RESET & FOUNDATIONS */
/* ═════════════════════════════════════════════════════════════════ */

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

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

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

a { color: inherit; text-decoration: none; cursor: pointer; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ═════════════════════════════════════════════════════════════════ */
/* TYPOGRAPHY */
/* ═════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

.gradient-text { 
    background: linear-gradient(130deg, var(--brand-blue), #60a5fa, var(--brand-royal));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 950;
}

section { padding: 40px 24px; max-width: var(--max-w); margin: 0 auto;  }
.section-header { text-align: center; margin-bottom: 30px; }
.section-tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-blue); margin-bottom: 16px; }
.section-header h2 { margin-top: 12px; }

/* ═════════════════════════════════════════════════════════════════ */
/* AMBIENT EFFECTS */
/* ═════════════════════════════════════════════════════════════════ */

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    filter: blur(120px);
}

.glow-1 { width: 500px; height: 500px; background: var(--brand-blue); top: 5%; left: -150px; }
.glow-2 { width: 450px; height: 450px; background: var(--brand-royal); top: 40%; right: -120px; }
.glow-3 { width: 380px; height: 380px; background: var(--accent-violet); bottom: 5%; left: 50%; }

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(248, 250, 252, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 250, 252, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}


/* ═════════════════════════════════════════════════════════════════ */
/* NAVBAR */
/* ═════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1000px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 12px 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.7s ease-out;
}

@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-120px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}


.nav-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.8; }

.logo-mark {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    overflow: hidden;
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.15));
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: smooth;
    -webkit-font-smoothing: antialiased;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--brand-royal), var(--brand-blue));
    border-radius: 50px;
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
    transition: all 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29, 78, 216, 0.4);
}

.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(248, 250, 252, 0.1);
    border: 1px solid var(--border);
    transition: all 0.3s;
    font-size: 1.1rem;
}

.mobile-toggle:hover {
    background: rgba(248, 250, 252, 0.15);
    border-color: var(--border-light);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 20px;
}

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

/* ═════════════════════════════════════════════════════════════════ */
/* BUTTONS */
/* ═════════════════════════════════════════════════════════════════ */

.btn-primary, .btn-ghost, .btn-lg {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-royal), var(--brand-blue));
    color: #fff;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29, 78, 216, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-ghost {
    color: var(--brand-blue);
    border: 2px solid var(--border-light);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.05);
}

/* ═════════════════════════════════════════════════════════════════ */
/* HERO SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 140px 24px 40px;
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-stats-full {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(26, 35, 50, 0.7);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    width: fit-content;
    margin: 6px auto 0;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.stat-divider {
    width: 1.5px;
    height: 40px;
    background: var(--border-light);
    margin: 0 8px;
    align-self: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 950;
    color: var(--brand-blue);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
}

.hero-visual {
    position: relative;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

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

/* ═════════════════════════════════════════════════════════════════ */
/* BROWSER MOCKUP */
/* ═════════════════════════════════════════════════════════════════ */

.browser-mockup {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.browser-url {
    font-size: 0.85rem;
    color: var(--text-faint);
    margin-left: auto;
    font-weight: 600;
}

.browser-body {
    padding: 24px;
    background: var(--bg-alt);
    min-height: 300px;
}

.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-msg {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.msg-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: 6px;
}

.user-msg {
    background: rgba(59, 130, 246, 0.15);
    color: var(--text);
    border-left: 3px solid var(--brand-blue);
}

.ai-msg {
    background: rgba(168, 85, 247, 0.12);
    color: var(--text);
    border-left: 3px solid var(--accent-violet);
}

.mock-promptune-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--brand-blue);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    margin: 8px 0;
    font-size: 0.9rem;
}

.mock-pl-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1rem;
}

.mock-arrow {
    margin-left: auto;
}

/* ═════════════════════════════════════════════════════════════════ */
/* LOGOS BAR */
/* ═════════════════════════════════════════════════════════════════ */

.logos-bar {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(26, 35, 50, 0.3);
}

.logos-bar > p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 32px;
    font-weight: 600;
}

.logos-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-chip {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: all 0.3s;
}

.logo-chip:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.08);
}

.logo-chip.accent {
    background: linear-gradient(135deg, var(--brand-royal), var(--brand-blue));
    color: #fff;
    border-color: transparent;
    font-weight: 800;
}

.logo-chip.accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

/* ═════════════════════════════════════════════════════════════════ */
/* FEATURES SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.features-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 24px;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
}

.feat-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(29, 78, 216, 0.15);
}

.feat-large {
    grid-column: span 2;
}

.feat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feat-card h3 {
    margin-bottom: 16px;
    color: var(--text);
}

.feat-card p {
    color: var(--text-dim);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feat-visual {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.feat-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feat-pill {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.3s;
}

.feat-pill.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.feat-pill:hover:not(.active) {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.feat-lang-demo, .feat-context-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.lang-input, .ctx-text {
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    color: var(--text-dim);
    font-style: italic;
    font-size: 0.9rem;
}

.lang-arrow {
    text-align: center;
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 1.2rem;
}

.lang-output, .ctx-result {
    padding: 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

.ctx-menu {
    display: flex;
    gap: 8px;
}

.ctx-menu span {
    flex: 1;
    padding: 8px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

/* ═════════════════════════════════════════════════════════════════ */
/* WORKFLOW SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.workflow-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 24px;
}

.workflow-steps {
    display: flex;
    gap: 0;
    justify-content: space-between;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.wf-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.wf-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 60px;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.wf-num {
    width: 70px;
    height: 70px;
    border: 2.5px solid var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-weight: 950;
    color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.1);
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.wf-content h3 {
    margin-bottom: 12px;
    color: var(--text);
}

.wf-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.wf-connector {
    display: none;
}

/* ═════════════════════════════════════════════════════════════════ */
/* COMPARE SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.compare-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 24px;
}

.compare-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.compare-card {
    flex: 1;
    min-width: 300px;
    padding: 32px;
    border-radius: 20px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-card);
    transition: all 0.3s;
}

.compare-card.bad {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.15);
}

.compare-card.bad:hover {
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-4px);
}

.compare-card.good {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.15);
}

.compare-card.good:hover {
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-4px);
}

.compare-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.compare-label svg {
    flex-shrink: 0;
}

.compare-input {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.compare-arrow {
    font-size: 1.2rem;
    margin: 12px 0;
    color: var(--text-dim);
}

.compare-output {
    padding: 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    line-height: 1.6;
}

.compare-verdict {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dim);
    font-style: italic;
}

.compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 950;
    font-size: 1.2rem;
}

/* ═════════════════════════════════════════════════════════════════ */
/* DEMO SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.demo-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 24px;
}

.demo-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    backdrop-filter: blur(16px);
}

.demo-input-wrap {
    margin-bottom: 32px;
}

.demo-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#demo-input {
    width: 100%;
    padding: 16px;
    background: var(--bg-alt);
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    resize: none;
    transition: all 0.3s;
    min-height: 80px;
}

#demo-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.demo-tones {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-tone-btn {
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
}

.demo-tone-btn:hover {
    border-color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.2);
}

.demo-tone-btn.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.demo-output-wrap {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

.demo-output-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.demo-output-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 60px;
}

/* ═════════════════════════════════════════════════════════════════ */
/* TESTIMONIALS */
/* ═════════════════════════════════════════════════════════════════ */

.testimonials-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px 24px;
}

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

.testimonial-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-6px);
}

.t-stars {
    font-size: 1.1rem;
    color: #eab308;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.t-author > div {
    display: flex;
    flex-direction: column;
}

.t-author strong {
    font-size: 0.95rem;
    color: var(--text);
}

.t-author span {
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* ═════════════════════════════════════════════════════════════════ */
/* FINAL CTA */
/* ═════════════════════════════════════════════════════════════════ */

.final-cta {
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, 
        rgba(29, 78, 216, 0.08), 
        rgba(59, 130, 246, 0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

/* ═════════════════════════════════════════════════════════════════ */
/* FOOTER */
/* ═════════════════════════════════════════════════════════════════ */

.site-footer {
    padding: 60px 24px 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-faint);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-blue);
}

/* ═════════════════════════════════════════════════════════════════ */
/* ANIMATIONS */
/* ═════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.kw {
    position: absolute !important;
    color: var(--text) !important;
    pointer-events: none !important;
    filter: blur(0.5px) !important;
    transition: opacity 0.3s, color 0.3s !important;
    display: block !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    opacity: 0.18 !important;
    font-weight: 600 !important;
}



.keyword-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ═════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN */
/* ═════════════════════════════════════════════════════════════════ */

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

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

    .feat-large {
        grid-column: span 1;
    }

    .feat-card {
        padding: 36px;
    }

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

    .workflow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .wf-step:not(:last-child)::after {
        width: 2px;
        height: 40px;
        right: auto;
        bottom: -50px;
        top: auto;
    }

    section {
        padding: 35px 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 10px 16px;
        top: 12px;
    }

    .nav-inner {
        gap: 16px;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 24px 60px;
    }

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

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


    .hero-stats-full {
        flex-direction: row;
        gap: 12px;
        padding: 12px 20px;
        margin-top: 20px;
        width: fit-content;
    }

    .stat-divider {
        display: none;
    }

    .logo-chip {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

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

    .compare-vs {
        order: 2;
    }

    .compare-card {
        order: 1;
    }

    .compare-card.good {
        order: 3;
    }

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

    .demo-card {
        padding: 28px;
    }

    .demo-tones {
        gap: 8px;
    }

    .demo-tone-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .feat-pill-row {
        gap: 8px;
    }

    .feat-pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

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

    .footer-links {
        justify-content: center;
        flex-direction: row;
        gap: 24px;
    }

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

    section {
        padding: 35px 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .hero-actions {
        gap: 10px;
        flex-direction: column;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }


    .hero-stats-full {
        padding: 20px;
        gap: 0;
        margin-top: 24px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

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

    .stat-divider {
        display: none;
    }

    .feat-card {
        padding: 24px;
    }

    .feat-icon {
        font-size: 2.5rem;
    }

    .feat-card h3 {
        font-size: 1.1rem;
    }

    .wf-num {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

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

    .t-avatar {
        width: 40px;
        height: 40px;
    }

    .t-author strong {
        font-size: 0.85rem;
    }

    .final-cta {
        padding: 60px 16px;
    }

    .cta-inner h2 {
        font-size: 1.4rem;
    }

    .cta-inner p {
        font-size: 0.95rem;
    }
}

