/* ============================================
   AutoPromix Product Page – UI 2.0
   Free-flowing, Animated, No Cards/Grids
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --accent: #2ee89e;
    --accent-glow: rgba(46, 232, 158, 0.35);
    --accent2: #667eea;
    --accent3: #f093fb;
    --dark: #0a0e1a;
    --dark-surface: #111827;
    --dark-card: rgba(255, 255, 255, 0.04);
    --text-main: #e8ecf4;
    --text-dim: rgba(255, 255, 255, 0.55);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-hero: linear-gradient(160deg, #0a0e1a 0%, #111827 40%, #0d1f2d 70%, #0a0e1a 100%);
    --gradient-accent: linear-gradient(135deg, #2ee89e, #667eea);
    --gradient-warm: linear-gradient(135deg, #f093fb, #f5576c);
    --phone-w: 280px;
    --phone-h: 580px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── Utility ─── */

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

/* ─── NAVBAR ─── */

#navSentinel {
    position: absolute;
    top: 0;
    width: 1px;
    height: 1px;
}

.autopromix-nav {
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.autopromix-nav.scrolled {
    background: rgba(10, 14, 26, 0.92);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
    transition: all 0.3s ease;
}

.nav-logo-img:hover {
    filter: brightness(1.15) drop-shadow(0 0 8px var(--accent-glow));
}

.navbar-nav .nav-link {
    color: var(--text-dim) !important;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.btn-gradient {
    background: var(--gradient-accent);
    border: none;
    color: #0a0e1a !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 22px;
    box-shadow: 0 4px 24px var(--accent-glow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.btn-gradient:hover {
    color: #0a0e1a !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-main) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.35s ease;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

/* Offcanvas (Mobile Nav) */
.offcanvas {
    background: var(--dark) !important;
    border-left: 1px solid var(--glass-border) !important;
}

.offcanvas-header {
    border-bottom: 1px solid var(--glass-border);
}

.offcanvas-title {
    color: var(--text-main) !important;
}

.offcanvas .nav-link {
    color: var(--text-dim) !important;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.65rem 0;
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    color: var(--accent) !important;
    padding-left: 12px;
}

.btn-close {
    filter: invert(1) brightness(0.8);
}

.navbar-toggler i {
    color: var(--text-main);
}

/* ─── HERO ─── */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 80px;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 232, 158, 0.15), transparent 70%);
    top: -10%;
    right: -8%;
    animation: morphFloat 18s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.18), transparent 70%);
    bottom: -15%;
    left: -5%;
    animation: morphFloat 22s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.12), transparent 70%);
    top: 40%;
    left: 30%;
    animation: morphFloat 16s ease-in-out infinite 2s;
}

@keyframes morphFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .row {
    min-height: calc(100vh - 80px);
}

.section-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.hero-title br + span,
.hero-title br ~ * {
    display: inline;
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 560px;
    line-height: 1.7;
    font-weight: 400;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    border-radius: 50px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    font-weight: 600;
}

.btn-ghost:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(46, 232, 158, 0.08);
    transform: translateY(-2px);
}

/* Trust stats — horizontal flow */
.trust-row {
    display: flex !important;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.trust-row > * {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
}

.trust-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 14px 22px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-width: 110px;
}

.trust-card:hover {
    transform: translateY(-6px);
    background: rgba(46, 232, 158, 0.06);
    border-color: rgba(46, 232, 158, 0.2);
    box-shadow: 0 12px 40px rgba(46, 232, 158, 0.1);
}

.trust-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.trust-card h6 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.trust-card p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Hero phone + floating notes */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.phone-mockup {
    width: var(--phone-w);
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px var(--accent-glow);
    position: relative;
    z-index: 2;
    animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-notch {
    width: 38%;
    height: 22px;
    border-radius: 0 0 16px 16px;
    background: #000;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a2e;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-screen {
    background: var(--dark-surface);
    border-radius: 30px;
    min-height: var(--phone-h);
    overflow: hidden;
}

.phone-screen.image-mode {
    padding: 0;
    background: #0b1224;
}

.hero-phone-image {
    width: 100%;
    min-height: var(--phone-h);
    display: block;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
}

.floating-note {
    position: absolute;
    padding: 10px 18px;
    border-radius: 14px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    animation: noteFloat 5s ease-in-out infinite;
    white-space: nowrap;
}

.note-sms {
    background: rgba(46, 232, 158, 0.2);
    border-color: rgba(46, 232, 158, 0.3);
    color: var(--accent);
    top: 10%;
    left: -14%;
}

.note-wa {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
    right: -12%;
    top: 45%;
    animation-delay: 1.2s;
}

.note-call {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    left: 2%;
    bottom: 8%;
    animation-delay: 2.4s;
}

@keyframes noteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(1deg); }
    66% { transform: translateY(6px) rotate(-1deg); }
}

/* ─── PROBLEM / SOLUTION STRIP ─── */

.problem-solution-strip {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-surface) 50%, var(--dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.problem-solution-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.problem-solution-strip .row {
    position: relative;
}

.problem-solution-strip h5 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.problem-solution-strip p {
    color: var(--text-dim);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── SECTIONS (General) ─── */

.section-block {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.bg-soft {
    background: transparent;
}

.section-head {
    margin-bottom: 60px;
}

.section-head h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── FEATURES — STACKED CINEMATIC FLOW ─── */

#features {
    background: var(--dark);
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
}

.feature-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 28px 0 !important;
    border-bottom: 1px solid var(--glass-border) !important;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover {
    transform: none !important;
    box-shadow: none !important;
    padding-left: 16px !important;
    border-bottom-color: var(--accent) !important;
}

.icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: var(--gradient-accent);
    margin-bottom: 14px;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.icon-wrap.wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.feature-card h5 {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-dim);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.65;
}

.learn-link {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-link:hover {
    color: #fff;
    gap: 4px;
}

/* Feature pills — horizontal scroll */
.feature-pill-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feature-pill-scroll::-webkit-scrollbar {
    display: none;
}

.feature-pill-scroll span {
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.84rem;
    color: var(--text-dim);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.feature-pill-scroll span:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(46, 232, 158, 0.06);
}

/* ─── HOW IT WORKS — VERTICAL TIMELINE ─── */

#how-it-works {
    background: var(--dark);
}

.setup-flow {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.setup-flow::before {
    content: '' !important;
    position: absolute !important;
    left: 24px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    height: auto !important;
    background: linear-gradient(180deg, var(--accent), var(--accent2), var(--accent3)) !important;
    opacity: 0.3;
}

.flow-step {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 28px 0 !important;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--glass-border) !important;
}

.flow-step::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 34px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    border: 3px solid var(--dark);
}

.flow-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.flow-step h6 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.flow-step p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Flow Diagram */
.flow-diagram {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 40px auto 0;
}

.diagram-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.diagram-node {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--text-main);
}

.diagram-arrow {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent);
}

.diagram-split {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.branch {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.branch .diagram-node {
    text-align: center;
}

.diagram-bottom {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.86rem;
    text-align: center;
    color: var(--accent);
}

/* ─── APP SCREENS — PHONE SHOWCASE ─── */

#app-screens {
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f2d 50%, var(--dark) 100%);
    position: relative;
}

#app-screens::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.2;
}

/* ─── DASHBOARD ─── */

#dashboard {
    background: var(--dark);
}

/* ─── USE CASES ─── */

#use-cases {
    background: var(--dark);
}

.use-case-card {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--glass-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 24px 0 !important;
    transition: all 0.4s ease;
}

.use-case-card:hover {
    transform: none !important;
    box-shadow: none !important;
    padding-left: 16px !important;
    border-bottom-color: var(--accent) !important;
}

.use-case-card h5 {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.use-case-card p {
    color: var(--text-dim);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ─── COMPARISON ─── */

#comparison {
    background: var(--dark);
}

/* ─── PRICING ─── */

#pricing {
    background: var(--dark);
    position: relative;
}

#pricing::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 232, 158, 0.06), transparent 60%);
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.pricing-card {
    background: var(--glass) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    padding: 32px 28px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(46, 232, 158, 0.2) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3) !important;
}

.pricing-card h5 {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.15rem;
}

.price {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price span {
    font-size: 0.9rem;
    -webkit-text-fill-color: var(--text-dim);
}

.pricing-card ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    color: var(--text-dim);
}

.pricing-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 0.92rem;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-card.popular {
    border-color: rgba(46, 232, 158, 0.3) !important;
    background: rgba(46, 232, 158, 0.03) !important;
    animation: none;
    box-shadow: 0 0 40px rgba(46, 232, 158, 0.08) !important;
}

.popular-badge {
    position: absolute;
    top: -13px;
    right: 20px;
    border-radius: 50px;
    background: var(--gradient-accent);
    color: var(--dark) !important;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 16px;
    letter-spacing: 0.03em;
}

.pricing-note {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.pricing-card .btn-gradient {
    margin-top: auto;
}

.pricing-card .btn-outline-primary {
    margin-top: auto;
}

/* ─── TESTIMONIALS ─── */

#testimonials {
    background: var(--dark);
    position: relative;
}

.testimonial-card {
    background: var(--glass) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    padding: 28px !important;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.testimonial-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(46, 232, 158, 0.15) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important;
}

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

.testimonial-card p::before {
    content: '"';
    font-size: 2rem;
    color: var(--accent);
    font-weight: 800;
    line-height: 0;
    margin-right: 4px;
    vertical-align: -0.8rem;
}

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

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--gradient-accent);
    color: var(--dark);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.author-wrap h6 {
    margin: 0;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.author-wrap small {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ─── FAQ ─── */

#faq {
    background: var(--dark);
}

.custom-accordion .accordion-item {
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--glass) !important;
    backdrop-filter: blur(8px);
}

.custom-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main) !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 18px 20px;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(46, 232, 158, 0.04) !important;
    color: var(--accent) !important;
}

.custom-accordion .accordion-button::after {
    filter: invert(1) brightness(0.6);
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(0.6) sepia(1) saturate(3) hue-rotate(130deg);
}

.custom-accordion .accordion-collapse {
    background: transparent;
}

.custom-accordion .accordion-body {
    color: var(--text-dim);
    font-size: 0.92rem;
    padding: 4px 20px 18px;
    line-height: 1.7;
}

/* ─── FINAL CTA ─── */

.final-cta {
    background: linear-gradient(160deg, #0a0e1a 0%, #0d2818 40%, #0a0e1a 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 232, 158, 0.12), transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.final-cta h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.final-cta p {
    color: var(--text-dim);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.final-cta .btn-light {
    background: var(--accent) !important;
    color: var(--dark) !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 24px var(--accent-glow);
    transition: all 0.35s ease;
}

.final-cta .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.final-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-main) !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.35s ease;
}

.final-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent) !important;
}

.btn-link-light {
    color: var(--text-dim) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link-light:hover {
    color: var(--accent) !important;
}

.final-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    z-index: 1;
}

/* ─── FOOTER ─── */

.site-footer {
    background: #060810;
    color: var(--text-dim);
    padding: 20px 0;
    font-size: 0.88rem;
    border-top: 1px solid var(--glass-border);
}

.site-footer p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
}

.site-footer a {
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: var(--accent);
}

/* ─── SCROLL REVEAL ANIMATION ─── */

[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ─── CURSOR GLOW (subtle) ─── */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 232, 158, 0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1399.98px) {
    .setup-flow {
        padding-left: 60px;
    }
}

@media (max-width: 991.98px) {
    .hero-visual {
        min-height: 500px;
    }

    .floating-note {
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    .note-sms { left: 0; }
    .note-wa { right: 0; }
    .note-call { left: 5%; }

    .diagram-split {
        flex-direction: column;
    }

    .arch-row {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .section-block {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .section-block {
        padding: 64px 0;
    }

    .hero-section {
        padding-top: 70px;
    }

    .hero-section .row {
        min-height: auto !important;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

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

    .hero-visual {
        min-height: auto;
    }

    .phone-mockup {
        width: 260px;
    }

    .phone-screen {
        min-height: 520px;
    }

    .hero-phone-image {
        min-height: 520px;
    }

    .trust-row {
        gap: 10px;
    }

    .trust-card {
        padding: 10px 16px;
        min-width: 90px;
    }

    .setup-flow {
        padding-left: 48px;
    }

    .setup-flow::before {
        left: 18px !important;
    }

    .flow-step::before {
        left: -36px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head h2 {
        font-size: 1.6rem;
    }

    .final-cta {
        padding: 80px 0;
    }

    .final-contacts {
        flex-direction: column;
        gap: 6px;
    }

    .site-footer .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .problem-solution-strip {
        padding: 48px 0;
    }

    .pricing-card {
        padding: 24px 20px !important;
    }

    .phone-showcase-track {
        gap: 24px;
        padding: 0 16px;
    }

    .phone-emulator {
        width: 240px;
    }

    .phone-emulator-screen {
        height: 480px;
    }

    .laptop-emulator {
        border-radius: 12px;
    }

    .laptop-topbar {
        padding: 8px 12px;
    }
}

/* ─── PHONE EMULATOR SHOWCASE ─── */

.phone-showcase-scroll {
    width: 100%;
    overflow: hidden;
}

.phone-showcase-track {
    display: flex;
    gap: 48px;
    padding: 20px 40px 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    flex-wrap: nowrap;
}

.phone-showcase-track::-webkit-scrollbar {
    display: none;
}

.phone-showcase-item {
    flex: 0 0 auto;
    text-align: center;
    scroll-snap-align: center;
}

.phone-showcase-item h6 {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.phone-emulator {
    width: 280px;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    position: relative;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.06),
        0 24px 64px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(46, 232, 158, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-showcase-item:hover .phone-emulator {
    box-shadow:
        0 0 0 2px rgba(46, 232, 158, 0.15),
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(46, 232, 158, 0.12);
    transform: translateY(-10px);
}

.phone-emulator-notch {
    width: 36%;
    height: 20px;
    border-radius: 0 0 14px 14px;
    background: #000;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-emulator-notch::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a1a2e;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-emulator-screen {
    border-radius: 30px;
    overflow: hidden;
    background: #0b1224;
    height: 560px;
}

.phone-emulator-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ─── LAPTOP EMULATOR ─── */

.laptop-showcase {
    margin-bottom: 0;
}

.laptop-label {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.laptop-emulator {
    background: #1a1f2e;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(102, 126, 234, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.laptop-emulator:hover {
    border-color: rgba(102, 126, 234, 0.18);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(102, 126, 234, 0.1);
    transform: translateY(-6px);
}

.laptop-topbar {
    background: #0f1320;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.laptop-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

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

.laptop-dots span:nth-child(1) {
    background: #ff5f57;
}

.laptop-dots span:nth-child(2) {
    background: #ffbd2e;
}

.laptop-dots span:nth-child(3) {
    background: #28c840;
}

.laptop-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.laptop-screen {
    background: var(--dark-surface);
}

.laptop-screen img {
    width: 100%;
    display: block;
    object-fit: contain;
}

/* ─── COMPARISON GRID ─── */

.comparison-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-grid {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
}

.comparison-header {
    background: rgba(46, 232, 158, 0.06);
    border-bottom: 1px solid var(--glass-border);
}

.comparison-header > div {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-main);
}

.comparison-header .comparison-ap {
    color: var(--accent);
}

.comparison-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s ease;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-row > div {
    padding: 14px 20px;
    font-size: 0.9rem;
}

.comparison-feature {
    color: var(--text-dim);
    font-weight: 500;
}

.comparison-ap {
    text-align: center;
    background: rgba(46, 232, 158, 0.03);
}

.comparison-other {
    text-align: center;
    color: var(--text-dim);
}

.check-yes {
    color: var(--accent);
    font-size: 1.15rem;
    filter: drop-shadow(0 0 4px var(--accent-glow));
}

.check-no {
    color: #ef4444;
    font-size: 1.15rem;
    opacity: 0.7;
}

.check-warn {
    color: #f59e0b;
    font-size: 1.15rem;
}

.warn-text {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

@media (max-width: 767.98px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .comparison-header > div,
    .comparison-row > div {
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    .check-yes, .check-no, .check-warn {
        font-size: 1rem;
    }

    .phone-showcase-track {
        justify-content: flex-start;
    }
}

/* ─── SCROLLBAR (Global) ─── */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─── Selection ─── */

::selection {
    background: var(--accent);
    color: var(--dark);
}

/* ─── Grain Texture Overlay ─── */

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    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)'/%3E%3C/svg%3E");
}

