/* ==========================================================================
   1. GLOBAL SYSTEM RESETS & CUSTOM VARIABLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --indigo: #6366f1;
    --indigo-dark: #4f46e5;
    --indigo-light: #818cf8;
    --violet: #8b5cf6;
    --ink: #0d0b1a;
    --ink-mid: #1a1730;
    --ink-soft: #2e2a4a;
    --lavender: #f4f3ff;
    --slate: #64748b;
    --muted: #94a3b8;
    --white: #ffffff;
    --border: #e8e5f5;
    --green: #10b981;
    --amber: #f59e0b;
    --coral: #f43f5e;
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --nav-h: 72px;
    --drawer-w: 300px;
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: padding-right 0.3s ease;
}

body.drawer-open {
    overflow: hidden;
    padding-right: var(--drawer-w);
}

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

/* ==========================================================================
   2. REUSABLE INFRASTRUCTURE LABELS & CHIPS
   ========================================================================== */
.label-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(99, 102, 241, .12);
    color: var(--indigo);
    border: 1px solid rgba(99, 102, 241, .22);
    margin-bottom: 20px;
}

.label-chip span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--indigo);
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.7); }
}

/* ==========================================================================
   3. SYSTEM GLOBAL HEADERS & INTERACTION MOBILE MENU
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(13, 11, 26, .82);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
    transition: background .3s, box-shadow .3s;
}

nav.scrolled {
    background: rgba(13, 11, 26, .95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 4px 20px rgba(0, 0, 0, .25);
}

.nav-inner {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 9px;
    z-index: 1001;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(99, 102, 241, .25);
    background: linear-gradient(135deg, var(--indigo), var(--violet));
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s;
}

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

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-ghost {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: all .2s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    color: white;
}

.btn-primary-sm {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: white;
    background: var(--indigo);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
    transition: all .2s;
    white-space: nowrap;
}

.btn-primary-sm:hover {
    background: var(--indigo-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    cursor: pointer;
    z-index: 1001;
    transition: all .25s;
    padding: 0;
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: all .3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 950;
    pointer-events: none;
    transition: background .35s ease;
}

.drawer-overlay.active {
    background: rgba(0, 0, 0, .55);
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--drawer-w);
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--ink-mid);
    z-index: 960;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
    overflow-y: auto;
}

.drawer.active { 
    transform: translateX(0); 
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    flex-shrink: 0;
}

.drawer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .2s;
    flex-shrink: 0;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .25);
}

.drawer-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: all .2s;
}

.drawer-nav-link:hover, 
.drawer-nav-link:active {
    background: rgba(99, 102, 241, .15);
    color: white;
}

.drawer-nav-link i {
    width: 20px;
    text-align: center;
    font-size: .85rem;
    color: rgba(255, 255, 255, .35);
    transition: color .2s;
}

.drawer-nav-link:hover i { 
    color: #a5b4fc; 
}

.drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .06);
    margin: 12px 0;
}

.drawer-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    font-family: var(--font-body);
    text-align: center;
}

.drawer-btn-primary {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, .3);
}

.drawer-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, .45);
}

.drawer-btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .12);
}

.drawer-btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    color: white;
}

/* ==========================================================================
   4. PRESENTATION HERO SCENOGRAPHY & AMBIENT INTERFACES
   ========================================================================== */
.hero {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--white));
    z-index: 3;
    pointer-events: none;
}

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

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, .22) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, .18) 0%, transparent 70%);
    bottom: 0;
    right: 10%;
    animation: float-orb 11s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 24px 160px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Column Content */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .25);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 28px;
    animation: fade-up .6s ease both;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: pulse-dot 2s infinite;
}

.hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.06;
    color: #fff;
    margin-bottom: 20px;
    animation: fade-up .5s .1s ease both;
}

.hero-h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .48);
    max-width: 460px;
    margin-bottom: 28px;
    animation: fade-up .5s .18s ease both;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: fade-up .5s .22s ease both;
}

.htr-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
}

.htr-item i {
    color: var(--green);
    font-size: .75rem;
}

.htr-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .15);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fade-up .5s .28s ease both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .22s;
    font-family: var(--font-body);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(99, 102, 241, .4), 0 0 0 1px rgba(99, 102, 241, .3) inset;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, .55);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .14);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .1);
    color: white;
    transform: translateY(-2px);
}

/* Right Column Display Frame Mechanics */
.hero-right { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    animation: fade-up .6s .35s ease both; 
    width: 100%; 
}

.hero-img-wrap { 
    position: relative; 
    width: 100%; 
    max-width: 850px; /* 🚀 Pushed the limit from 680px to 850px to unlock maximum width */
    animation: float-img 6s ease-in-out infinite; 
}

.hero-img-wrap img { 
    width: 100%; 
    height: auto; 
    display: block; 
    border-radius: 24px; 
    transform: scale(1.42); /* 🚀 Extra pop: forces the asset to scale up even larger over its bounding column */
    transform-origin: center center;
    filter: drop-shadow(0 40px 80px rgba(99, 102, 241, .5)); /* Clean, rich ambient glow depth backdrop */
}

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

.hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    filter: drop-shadow(0 30px 60px rgba(99, 102, 241, .35));
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5. SOCIAL MORALE PROOF / TRUST BAR
   ========================================================================== */
.trust-bar {
    background: var(--white);
    padding: 40px 24px;
    border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.trust-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.trust-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.trust-stat .ts-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.03em;
}

.trust-stat .ts-lbl {
    font-size: .78rem;
    color: var(--slate);
}

/* ==========================================================================
   6. ONBOARDING RETROSPECTIVE PIPELINES (HOW IT WORKS)
   ========================================================================== */
.how {
    padding: 100px 0;
    background: var(--white);
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 64px;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate);
    max-width: 560px;
}

.how .section-head h2 {
    color: var(--ink);
    background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.how .section-head h2 em {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

.features-s .section-head h2 em {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

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

.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}

.step-card:hover {
    box-shadow: 0 20px 50px rgba(99, 102, 241, .1);
    transform: translateY(-4px);
}

.step-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(99, 102, 241, .08);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    letter-spacing: -.05em;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}

.step-icon.i1 { background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.step-icon.i2 { background: linear-gradient(135deg, var(--violet), #c084fc); }
.step-icon.i3 { background: linear-gradient(135deg, var(--green), #34d399); }

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.step-card p {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--slate);
}

/* ==========================================================================
   7. VALUE MATRIX BENTO BLOCK GRIDS (WHY SUGGESTION+)
   ========================================================================== */
.features-s {
    background: var(--ink);
    padding: 100px 0;
}

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

.f-card {
    background: var(--ink-mid);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    backdrop-filter: blur(2px);
}

.f-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.f-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.f-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.f-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    letter-spacing: 0.02em;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-top: 20px;
}

.simple-stat {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0aec0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
}

.simple-stat i {
    color: var(--green);
    font-size: 0.7rem;
}

/* ==========================================================================
   8. TARGET CONTEXT HOOK TIERS (USE CASES)
   ========================================================================== */
.use-cases {
    padding: 100px 0;
    background: var(--white);
}

.use-cases .section-head h2 {
    color: var(--ink);
    position: relative;
    display: inline-block;
}

.use-cases .section-head h2 em {
    color: var(--indigo);
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

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

.uc-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all .3s;
    cursor: default;
}

.uc-card:hover {
    border-color: var(--indigo);
    box-shadow: 0 16px 40px rgba(99, 102, 241, .1);
    transform: translateY(-4px);
}

.uc-emoji {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.uc-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.uc-card p {
    font-size: .87rem;
    line-height: 1.7;
    color: var(--slate);
}

.uc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.uc-tag {
    font-size: .68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--lavender);
    color: var(--indigo-dark);
}

/* ==========================================================================
   9. SUBSCRIPTION PACKAGES MODEL (PRICING)
   ========================================================================== */
.pricing-s {
    padding: 100px 0;
    background: var(--lavender);
}

.pricing-s .section-head h2 {
    color: var(--ink);
}

.pricing-s .section-head h2 em {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.p-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15);
}

.p-card.featured {
    background: var(--ink);
    border-color: transparent;
    position: relative;
    box-shadow: 0 20px 60px rgba(13, 11, 26, .25);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: white;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 99px;
    white-space: nowrap;
}

.p-plan {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 12px;
}

.p-card.featured .p-plan {
    color: #a5b4fc;
}

.p-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.04em;
    margin-bottom: 4px;
}

.p-card.featured .p-price {
    color: var(--white);
}

.p-period {
    font-size: .85rem;
    color: var(--slate);
    margin-bottom: 28px;
}

.p-card.featured .p-period {
    color: rgba(255, 255, 255, .45);
}

.p-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
}

.p-card.featured .p-divider {
    background: rgba(255, 255, 255, .1);
}

.p-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.p-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .88rem;
    color: var(--slate);
}

.p-card.featured .p-features li {
    color: rgba(255, 255, 255, .65);
}

.p-features li .chk {
    color: var(--green);
    font-size: .85rem;
    margin-top: 2px;
}

.p-features li .xmark {
    color: var(--coral);
    font-size: .85rem;
    margin-top: 2px;
}

.btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    font-family: var(--font-body);
}

.btn-plan-outline {
    border: 1.5px solid var(--border);
    color: var(--ink);
}

.btn-plan-outline:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(99, 102, 241, .04);
}

.btn-plan-fill {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, .35);
}

.btn-plan-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, .5);
}

/* ==========================================================================
   10. ACQUISITION CLOSURES & ARCHITECTURE SYSTEM FOOTER
   ========================================================================== */
.cta-s {
    padding: 100px 24px;
    background: var(--ink);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, .2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-s h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.cta-s p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

footer {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 60px 24px 36px;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.footer-desc {
    font-size: .85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .4);
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: .8rem;
    color: rgba(255, 255, 255, .3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: all .3s;
    font-size: .9rem;
}

.social-link:hover {
    background: var(--indigo);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, .3);
}

/* ==========================================================================
   11. VISIBILITY STATE ENGINE & VIEWPORT OVERRIDES
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-content {
    position: relative; 
    z-index: 2; 
    width: 100%; 
    max-width: 1240px; /* Widened the main wrapper layout container slightly */
    margin: 0 auto;
    padding: 80px 24px 160px; 
    display: grid; 
    grid-template-columns: 45fr 55fr; /* 🚀 Gives the image column 55% of the screen space instead of a 50/50 split */
    gap: 40px; 
    align-items: center;
}
    .hero-left { align-items: center; }
    .hero-trust-row { justify-content: center; }
    .hero-actions { justify-content: center; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .step-card:last-child { grid-column: span 2; max-width: 400px; justify-self: center; }
    .features-bento { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .uc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; gap: 24px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .how, .features-s, .use-cases, .pricing-s { padding: 70px 0; }
    .cta-s { padding: 70px 20px; }
    .trust-stats { gap: 28px; }
    .hero-img-wrap { max-width: 400px; }
}

@media (max-width: 640px) {
    .hero-content { padding: 60px 16px 140px; gap: 48px; }
    .hero-h1 { font-size: 2rem; }
    .hero-sub { font-size: .88rem; }
    .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
    .btn-hero { width: 100%; max-width: 300px; justify-content: center; padding: 13px 22px; }
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .step-card:last-child { grid-column: span 1; max-width: none; justify-self: auto; }
    .features-bento { grid-template-columns: 1fr; gap: 12px; }
    .uc-grid { grid-template-columns: 1fr; gap: 14px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .how, .features-s, .use-cases, .pricing-s { padding: 50px 0; }
    .cta-s { padding: 50px 16px; }
    .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
    .cta-actions .btn-hero { width: 100%; max-width: 300px; justify-content: center; }
    .hero-img-wrap { max-width: 320px; }
}

@media (max-width: 380px) {
    .hero-h1 { font-size: 1.7rem; }
    .hero-img-wrap { max-width: 260px; }
    .f-card { padding: 16px 14px; }
    .p-card { padding: 20px 16px; }
}

@media (min-width: 768px) and (max-width: 900px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .step-card:last-child { grid-column: span 1; max-width: none; justify-self: auto; }
    .features-bento { grid-template-columns: repeat(3, 1fr); }
    .uc-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 680px; gap: 16px; }
}