/* =============================================
   OryxGM — Landing Page
   Brand palette: Teal #22B8C7
   ============================================= */

:root {
    /* Brand Colors */
    --brand: #22B8C7;
    --brand-dark: #1A9EA6;
    --brand-darker: #167E85;
    --brand-light: #E4F6F8;
    --brand-glow: rgba(34, 184, 199, 0.15);
    --brand-glow-strong: rgba(34, 184, 199, 0.25);

    /* Neutrals */
    --dark: #0B1A2B;
    --dark-soft: #122336;
    --dark-card: #162B42;
    --gray-900: #1e293b;
    --gray-700: #475569;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;

    /* System */
    --radius-lg: 16px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--font);
    color: var(--gray-900);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--dark);
}
p { line-height: 1.7; }
img { max-width: 100%; }

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

/* ===== Buttons ===== */
.btn-brand {
    background: var(--brand);
    color: var(--white);
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.92rem;
}
.btn-brand:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43,188,196,0.3);
}
.btn-outline-brand {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    font-weight: 700;
    padding: 0.65rem 1.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.92rem;
}
.btn-outline-brand:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43,188,196,0.3);
}
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.2);
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.92rem;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}

/* ===== Navbar ===== */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.nav-scrolled {
    background: rgba(11,26,43,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(43,188,196,0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav-logo {
    height: 38px;
    transition: var(--transition);
}
.nav-scrolled .nav-logo { height: 32px; }

.navbar .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.navbar .nav-link:hover { color: var(--brand) !important; }
.nav-link-login { color: var(--brand) !important; }

/* Custom toggler */
.navbar-toggler {
    border: none; padding: 0.4rem;
    display: flex; flex-direction: column; gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    background: var(--dark);
    color: var(--white);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(43,188,196,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,188,196,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    background: rgba(43,188,196,0.08);
    top: -200px; right: -100px;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: rgba(43,188,196,0.05);
    bottom: -100px; left: -100px;
}
.hero-row { min-height: 100vh; padding: 8rem 0 5rem; }
.hero-text { position: relative; z-index: 2; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    background: rgba(43,188,196,0.1);
    border: 1px solid rgba(43,188,196,0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 1.8rem;
    letter-spacing: 0.02em;
}
.hero-tag-dot {
    width: 8px; height: 8px;
    background: var(--brand);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.1;
    max-width: 560px;
}
.hero-sub {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.hero-proof-item {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    display: flex; align-items: center; gap: 0.4rem;
}
.hero-proof-item i { color: var(--brand); font-size: 0.85rem; }

/* === Mock Dashboard === */
.hero-dashboard {
    background: var(--dark-soft);
    border: 1px solid rgba(43,188,196,0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(43,188,196,0.06);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.hero-dashboard:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}
.mock-topbar {
    background: var(--dark-card);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #ffbd2e; }
.mock-dots span:nth-child(3) { background: #28c840; }
.mock-title { color: rgba(255,255,255,0.35); font-size: 0.72rem; font-weight: 600; }
.mock-body { padding: 1.2rem; }
.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.mock-kpi {
    background: rgba(43,188,196,0.06);
    border: 1px solid rgba(43,188,196,0.1);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    text-align: center;
}
.mock-kpi-val { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.mock-kpi-label { font-size: 0.68rem; color: rgba(255,255,255,0.4); font-weight: 500; margin-top: 0.15rem; }

.mock-list { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-list-item {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
}
.mock-avatar {
    width: 32px; height: 32px;
    background: rgba(43,188,196,0.12);
    border-radius: var(--radius-xs);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 0.8rem;
}
.mock-list-text { flex: 1; }
.mock-list-text strong { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.8); font-weight: 600; }
.mock-list-text small { font-size: 0.68rem; color: rgba(255,255,255,0.35); }
.mock-status {
    width: 8px; height: 8px; border-radius: 50%;
}
.mock-status-prod { background: #f59e0b; }
.mock-status-inst { background: var(--brand); }
.mock-status-ok { background: #22c55e; }

/* === Mobile Mini Dashboard === */
.hero-mobile-dash {
    background: rgba(43,188,196,0.06);
    border: 1px solid rgba(43,188,196,0.12);
    border-radius: var(--radius);
    padding: 1rem;
    max-width: 360px;
    margin: 0 auto;
}
.mobile-dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.mobile-dash-kpi {
    text-align: center;
    padding: 0.6rem 0.4rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(43,188,196,0.08);
    border-radius: var(--radius-sm);
}
.mobile-dash-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}
.mobile-dash-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== Segments Bar ===== */
.section-segments {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 2.5rem 0;
}
.segments-label {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.segments-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}
.segment {
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
}
.segment:hover { color: var(--brand); }
.segment i { font-size: 1.1rem; color: var(--brand); opacity: 0.7; }

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--dark); }

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.8rem;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1.02rem;
    margin: 0;
}
.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,0.5); }

.section-tag {
    display: inline-block;
    color: var(--brand);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}
.section-tag-light { color: var(--brand); }

/* ===== Card Feature (Gestão) ===== */
.card-feature {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    height: 100%;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}
.card-feature:hover {
    border-color: var(--brand);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-feature-highlight {
    border-color: var(--brand);
    border-width: 2px;
    background: linear-gradient(to bottom, var(--brand-light), var(--white));
}
.card-feature-highlight .card-feature-number {
    color: var(--brand);
    opacity: 0.2;
}
.card-feature-number {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    letter-spacing: -0.05em;
}
.card-feature-icon {
    width: 52px; height: 52px;
    background: var(--brand-glow);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.card-feature-icon i { font-size: 1.3rem; color: var(--brand); }
.card-feature h4 { font-size: 1.15rem; margin-bottom: 0.6rem; font-weight: 700; }
.card-feature p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1rem; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    padding: 0.3rem 0;
    font-size: 0.86rem;
    color: var(--gray-700);
    padding-left: 1.4rem;
    position: relative;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.6rem;
    width: 6px; height: 6px;
    background: var(--brand);
    border-radius: 50%;
}

/* ===== Flow ===== */
.flow-wrapper {
    margin-top: 3rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
}
.flow-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}
.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.flow-node {
    text-align: center;
    flex-shrink: 0;
    position: relative;
}
.flow-dot {
    width: 40px; height: 40px;
    background: var(--white);
    border: 2px solid var(--brand);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    position: relative;
}
.flow-dot::after {
    content: '';
    position: absolute;
    inset: 6px;
    background: var(--brand-glow-strong);
    border-radius: 50%;
}
.flow-node-done .flow-dot {
    background: var(--brand);
    border-color: var(--brand);
}
.flow-node-done .flow-dot::after {
    background: var(--white);
    inset: 10px;
}
.flow-node span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.flow-line {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--gray-300));
    flex-shrink: 0;
    margin: 0 0.3rem;
    margin-bottom: 1.8rem;
}

@media (max-width: 768px) {
    .flow { gap: 0; }
    .flow-dot { width: 32px; height: 32px; }
    .flow-line { width: 30px; }
    .flow-node span { font-size: 0.62rem; }
    .flow-wrapper { padding: 1.5rem 1rem; }
}

/* ===== Card Glass (dark section) ===== */
.card-glass {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43,188,196,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card-glass:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(43,188,196,0.2);
    transform: translateY(-4px);
}
.card-glass:hover::before { opacity: 1; }
.card-glass-icon {
    width: 48px; height: 48px;
    background: var(--brand-glow);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.card-glass-icon i { font-size: 1.2rem; color: var(--brand); }
.card-glass h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.card-glass p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.card-glass-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: rgba(43,188,196,0.1);
    border: 1px solid rgba(43,188,196,0.15);
    color: var(--brand);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ===== Stats ===== */
.section-stats {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.04em;
    line-height: 1;
}
.stat-label {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}
@media (max-width: 576px) {
    .stat-divider { display: none; }
    .stats-grid { gap: 1.5rem; }
    .stat-val { font-size: 2.4rem; }
}

/* ===== Steps ===== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
@media (max-width: 768px) {
    .steps-row { grid-template-columns: 1fr; }
}
.step-item {
    text-align: center;
    position: relative;
}
.step-num {
    width: 52px; height: 52px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 2;
}
.step-connector {
    position: absolute;
    top: 26px; left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: var(--gray-200);
}
.step-item:last-child .step-connector { display: none; }
@media (max-width: 768px) {
    .step-connector { display: none; }
}
.step-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-item p { color: var(--gray-500); font-size: 0.9rem; margin: 0; }

/* ===== Pricing ===== */
.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.pricing-popular {
    border-color: var(--brand);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.pricing-popular:hover {
    box-shadow: 0 16px 48px rgba(43,188,196,0.18);
}
.pricing-ribbon {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: var(--white);
    padding: 0.3rem 1.1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.pricing-ribbon-green { background: #22c55e; }

.pricing-header { text-align: center; margin-bottom: 1.5rem; }
.pricing-header h5 {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.pricing-price { margin-bottom: 0.6rem; }
.pricing-currency {
    font-size: 1rem;
    color: var(--gray-500);
    vertical-align: top;
    line-height: 2.2;
    font-weight: 600;
}
.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.04em;
}
.pricing-free { font-size: 2rem; color: var(--brand); }
.pricing-period {
    font-size: 0.88rem;
    color: var(--gray-500);
    font-weight: 500;
}
.pricing-desc {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
    border-top: 1px solid var(--gray-100);
    padding-top: 1.5rem;
}
.pricing-list li {
    padding: 0.4rem 0;
    font-size: 0.86rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-list li i {
    width: 16px;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.pricing-list li i.fa-check { color: var(--brand); }
.pricing-list li i.fa-minus { color: var(--gray-300); }
.pricing-disabled { color: var(--gray-300) !important; }

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item[open] {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}
.faq-item summary {
    padding: 1.1rem 1.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--brand);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item[open] summary::after {
    content: '\2212';
}
.faq-item p {
    padding: 0 1.4rem 1.2rem;
    margin: 0;
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== CTA ===== */
.section-cta {
    background: var(--dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: rgba(43,188,196,0.06);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
}
.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.8rem;
}
.cta-content p {
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3.5rem 0 2rem;
    color: rgba(255,255,255,0.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.6rem;
    max-width: 320px;
    line-height: 1.6;
}
.footer-logo {
    height: 36px;
    opacity: 0.85;
}
.footer-links h6 {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

/* ===== Responsive ===== */

/* --- Toggler animation (bars → X) --- */
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Tablets & below (≤991px) --- */
@media (max-width: 991.98px) {
    /* Mobile nav dropdown */
    .navbar-collapse {
        background: rgba(11,26,43,0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 0.6rem 0.5rem 1rem;
        margin-top: 0.6rem;
        border-radius: 0 0 var(--radius) var(--radius);
        border: 1px solid rgba(43,188,196,0.1);
        border-top: none;
        box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    }
    .navbar-collapse .navbar-nav {
        gap: 0.15rem;
        width: 100%;
    }
    .navbar-collapse .nav-item { width: 100%; }
    .navbar-collapse .nav-link {
        font-size: 0.95rem !important;
        padding: 0.75rem 1rem !important;
        border-radius: var(--radius-sm);
        text-align: center;
        transition: background 0.2s;
    }
    .navbar-collapse .nav-link:hover {
        background: rgba(43,188,196,0.08);
    }
    .navbar-collapse .nav-item .btn-brand {
        display: block;
        width: 100%;
        margin-top: 0.4rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
    }
    .navbar-toggler { z-index: 10; position: relative; }

    /* Hero centered layout */
    .hero-row { min-height: auto; padding: 7rem 0 3.5rem; }
    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero h1 { max-width: 100%; text-align: center; }
    .hero-sub { max-width: 100%; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-proof { justify-content: center; }

    /* Dashboard remove 3D on tablet */
    .hero-dashboard {
        transform: none;
        margin-top: 2.5rem;
    }
    .hero-dashboard:hover { transform: none; }

    /* Sections */
    .section { padding: 4.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
}

/* --- Small tablets / large phones (≤768px) --- */
@media (max-width: 768px) {
    /* Flow → vertical layout */
    .flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-left: 0.5rem;
    }
    .flow-node {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        text-align: left;
    }
    .flow-dot { margin: 0; flex-shrink: 0; width: 36px; height: 36px; }
    .flow-dot::after { inset: 7px; }
    .flow-node-done .flow-dot::after { inset: 10px; }
    .flow-line {
        width: 2px;
        height: 22px;
        margin: 0 0 0 17px;
        background: linear-gradient(180deg, var(--brand), var(--gray-300));
    }
    .flow-wrapper { padding: 1.5rem; }
    .flow-node span { font-size: 0.78rem; }

    /* Steps → vertical timeline */
    .steps-row { grid-template-columns: 1fr; gap: 0; }
    .step-connector { display: none; }
    .step-item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 1.2rem;
        row-gap: 0.15rem;
        text-align: left;
        padding-bottom: 2rem;
        position: relative;
    }
    .step-item::after {
        content: '';
        position: absolute;
        left: 25px; top: 56px; bottom: 0;
        width: 2px;
        background: var(--gray-200);
    }
    .step-item:last-child::after { display: none; }
    .step-item:last-child { padding-bottom: 0; }
    .step-num {
        grid-row: 1 / 3;
        margin: 0;
        width: 48px; height: 48px;
        font-size: 1.1rem;
    }
    .step-item h4 { margin-bottom: 0; align-self: end; font-size: 1.05rem; }
    .step-item p { align-self: start; margin: 0; }

    /* Stats → 2x2 grid */
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .stat-divider { display: none; }

    /* Footer stacked */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { text-align: center; }
    .footer-brand p { margin: 0.6rem auto 0; }
    .footer-links { text-align: center; }
    .footer-bottom { text-align: center; }
}

/* --- Phones (≤576px) --- */
@media (max-width: 576px) {
    /* Hero compact */
    .hero-row { padding: 5.5rem 0 2rem; }
    .hero h1 { font-size: 1.7rem; line-height: 1.15; }
    .hero-sub { font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.65; }
    .hero-tag { font-size: 0.72rem; margin-bottom: 1.3rem; padding: 0.35rem 0.85rem 0.35rem 0.55rem; }
    .hero-tag-dot { width: 6px; height: 6px; }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    .hero-proof { flex-direction: column; gap: 0.4rem; }
    .hero-proof-item { font-size: 0.78rem; }

    /* Segments → 3x2 card grid */
    .section-segments { padding: 1.6rem 0; }
    .segments-label { font-size: 0.7rem; margin-bottom: 1rem; }
    .segments-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        text-align: center;
    }
    .segment {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.7rem;
        padding: 0.55rem 0.2rem;
        background: var(--white);
        border-radius: var(--radius-sm);
        border: 1px solid var(--gray-200);
        justify-content: center;
    }
    .segment i { font-size: 1.1rem; opacity: 1; }

    /* Sections */
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 1.8rem; }
    .section-header h2 { font-size: 1.35rem; }
    .section-header p { font-size: 0.86rem; }
    .section-tag { font-size: 0.72rem; margin-bottom: 0.6rem; }

    /* Feature cards compact */
    .card-feature { padding: 1.4rem; }
    .card-feature-number { font-size: 2rem; top: 0.8rem; right: 1rem; }
    .card-feature-icon { width: 42px; height: 42px; margin-bottom: 0.8rem; }
    .card-feature-icon i { font-size: 1rem; }
    .card-feature h4 { font-size: 1rem; margin-bottom: 0.4rem; }
    .card-feature p { font-size: 0.84rem; margin-bottom: 0.6rem; }
    .check-list li { font-size: 0.8rem; padding: 0.25rem 0; }

    /* Flow compact */
    .flow-wrapper { padding: 1rem 1.2rem; margin-top: 2rem; }
    .flow-label { font-size: 0.68rem; margin-bottom: 1rem; }
    .flow-dot { width: 30px; height: 30px; }
    .flow-dot::after { inset: 6px; }
    .flow-node-done .flow-dot::after { inset: 8px; }
    .flow-line { margin-left: 14px; height: 18px; }
    .flow-node span { font-size: 0.72rem; }

    /* Glass cards compact */
    .card-glass { padding: 1.3rem; }
    .card-glass-icon { width: 40px; height: 40px; margin-bottom: 0.8rem; }
    .card-glass-icon i { font-size: 1rem; }
    .card-glass h4 { font-size: 0.98rem; }
    .card-glass p { font-size: 0.82rem; line-height: 1.6; }
    .card-glass-tag { font-size: 0.65rem; }

    /* Stats compact */
    .section-stats { padding: 2.5rem 0; }
    .stats-grid { gap: 1.5rem; }
    .stat-val { font-size: 2rem; }
    .stat-label { font-size: 0.75rem; }

    /* Steps compact */
    .step-num { width: 40px; height: 40px; font-size: 0.95rem; }
    .step-item h4 { font-size: 0.98rem; }
    .step-item p { font-size: 0.84rem; }
    .step-item::after { left: 19px; top: 44px; }
    .step-item { padding-bottom: 1.5rem; }

    /* Pricing compact */
    .pricing-card { padding: 1.4rem; }
    .pricing-amount { font-size: 2.2rem; }
    .pricing-header h5 { font-size: 0.95rem; }
    .pricing-header { margin-bottom: 1.2rem; }
    .pricing-list { padding-top: 1.2rem; margin-bottom: 1.2rem; }
    .pricing-list li { font-size: 0.82rem; padding: 0.3rem 0; }
    .pricing-desc { font-size: 0.8rem; }
    .pricing-ribbon { font-size: 0.68rem; top: -12px; padding: 0.25rem 0.9rem; }
    .pricing-popular { margin-top: 0.5rem; }

    /* FAQ larger touch targets */
    .faq-item summary {
        padding: 0.9rem 1rem;
        font-size: 0.88rem;
        min-height: 48px;
        gap: 0.8rem;
    }
    .faq-item summary::after { font-size: 1.2rem; margin-left: 0.6rem; }
    .faq-item p { padding: 0 1rem 1rem; font-size: 0.84rem; }

    /* CTA compact */
    .section-cta { padding: 3rem 0; }
    .cta-content h2 { font-size: 1.4rem; }
    .cta-content p { font-size: 0.88rem; margin-bottom: 1.5rem; }
    .cta-content .btn { width: 100%; max-width: 300px; }
    .cta-note { font-size: 0.75rem; }

    /* Footer compact */
    .footer { padding: 2rem 0 1.5rem; }
    .footer-grid { gap: 1.5rem; margin-bottom: 1.5rem; }
    .footer-brand p { font-size: 0.82rem; }
    .footer-links h6 { font-size: 0.75rem; margin-bottom: 0.5rem; }
    .footer-links a { font-size: 0.82rem; padding: 0.2rem 0; }
    .footer-bottom { padding-top: 1rem; }
    .footer-bottom p { font-size: 0.75rem; }
}

/* --- Small phones (≤400px) --- */
@media (max-width: 400px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-sub { font-size: 0.85rem; }
    .hero-tag { font-size: 0.65rem; }

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

    .card-feature { padding: 1.2rem; }
    .card-feature-number { font-size: 1.8rem; }

    .stats-grid { gap: 1rem; }
    .stat-val { font-size: 1.8rem; }

    .pricing-amount { font-size: 2rem; }

    .mock-kpis { grid-template-columns: repeat(2, 1fr); }
    .mock-kpi:last-child { grid-column: span 2; }
}

/* --- Touch device optimizations --- */
@media (hover: none) and (pointer: coarse) {
    .btn, .btn-brand, .btn-outline-brand, .btn-ghost {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .faq-item summary { min-height: 52px; }
    .navbar .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Disable hover transforms on touch */
    .card-feature:hover,
    .card-glass:hover,
    .pricing-card:hover {
        transform: none;
    }
}
