/* ==========================================================================
   CSS Variables - "Vibrant Tech-Pop" Theme
   ========================================================================== */
:root {
    /* Core Colors */
    --bg-page: #FAFAFC;
    /* Soft off-white */
    --bg-surface: #FFFFFF;
    /* Pure white for cards */
    --bg-dark: #090C15;
    /* Deep Navy for Header/Footer */

    --text-main: #111827;
    /* Almost black */
    --text-muted: #6B7280;
    /* Medium Gray */
    --text-light: #F9FAFB;
    /* Off-white for dark sections */

    /* Gradients & Accents */
    --accent-magenta: #FF0076;
    --accent-blue: #590FB7;
    --accent-cyan: #00F0FF;

    --grad-primary: linear-gradient(135deg, #FF0076 0%, #590FB7 100%);
    --grad-hover: linear-gradient(135deg, #E6006A 0%, #4A0C98 100%);
    --grad-mesh: radial-gradient(circle at 0% 0%, rgba(255, 0, 118, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(89, 15, 183, 0.15) 0%, transparent 40%);

    /* Borders & Shadows */
    --border-light: #E5E7EB;
    --border-glass: rgba(255, 255, 255, 0.2);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -5px rgba(89, 15, 183, 0.1);
    --shadow-glow: 0 10px 30px rgba(255, 0, 118, 0.3);

    /* Typography */
    --font-sans: 'Inter', 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --trans-fast: 0.25s var(--smooth);
    --trans-spring: 0.5s var(--bounce);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.title-xl {
    font-size: clamp(3rem, 6vw, 5rem);
}

.title-lg {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.title-md {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pill-badge {
    display: inline-block;
    background: rgba(89, 15, 183, 0.08);
    color: var(--accent-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--trans-spring);
    border: 2px solid transparent;
}

.btn-grad {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-grad:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 0, 118, 0.4);
}

.btn-outline {
    background: var(--bg-surface);
    color: var(--text-main);
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--accent-magenta);
    color: var(--accent-magenta);
    transform: translateY(-4px);
}

/* ==========================================================================
   Header (Strict Consistency - Deep Dark for White Logo Contrast)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: all var(--trans-fast);
}

.site-header.scrolled {
    padding: 1rem 0;
    background: rgba(9, 12, 21, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color var(--trans-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--trans-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--grad-primary);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: var(--trans-fast);
}

/* ==========================================================================
   Hero Section (Gradient Meshes & Floating Cards)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    background: var(--bg-dark);
    /* Blend behind header initially */
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 40%, rgba(255, 0, 118, 0.25), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(89, 15, 183, 0.25), transparent 50%);
    filter: blur(40px);
    z-index: 1;
    animation: breathe 10s ease-in-out infinite alternate;
}

/* White curve to transition into the page */
.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-page);
    clip-path: ellipse(150% 100% at 50% 100%);
    z-index: 2;
}

.hero-wrap {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideUp 1s var(--trans-spring) forwards;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: #D1D5DB;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Interactive 3D Card Stack */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.float-group {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    /* For mousemove */
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 10%;
    right: 5%;
    width: 280px;
    transform: translateZ(50px) rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: 15%;
    left: 0;
    width: 260px;
    transform: translateZ(80px) rotate(3deg);
    animation: float 8s ease-in-out infinite reverse;
    background: rgba(89, 15, 183, 0.2);
}

.card-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-metric {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.card-sub {
    color: #9CA3AF;
    font-size: 0.85rem;
}

/* ==========================================================================
   Brand Marquee
   ========================================================================== */
.brands {
    padding: 2rem 0;
    background: var(--bg-page);
    overflow: hidden;
}

.brand-track {
    display: flex;
    white-space: nowrap;
    animation: scrollLeft 30s linear infinite;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: #D1D5DB;
    margin: 0 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--trans-fast);
}

.brand-item:hover {
    color: var(--accent-magenta);
}

/* ==========================================================================
   Stats / Metrics
   ========================================================================== */
.stats {
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform var(--trans-spring), box-shadow var(--trans-fast);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 0, 118, 0.3);
}

.s-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.s-lbl {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Core Services (Pill-shaped Hover Cards)
   ========================================================================== */
.services {
    padding: 8rem 0;
    background: var(--bg-surface);
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.srv-card {
    padding: 3rem 2.5rem;
    background: var(--bg-page);
    border-radius: 30px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all var(--trans-spring);
}

.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity var(--trans-fast);
    z-index: 0;
}

.srv-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.srv-card:hover::before {
    opacity: 1;
}

.srv-content {
    position: relative;
    z-index: 1;
    transition: color var(--trans-fast);
}

.srv-card:hover .srv-content {
    color: #fff;
}

.srv-card:hover .srv-content p {
    color: rgba(255, 255, 255, 0.8);
}

.srv-icon {
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-spring);
}

.srv-card:hover .srv-icon {
    transform: rotate(-10deg) scale(1.1);
    color: var(--accent-magenta);
}

.srv-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.srv-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.srv-link {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.calculator {
    padding: 8rem 0;
    background: var(--bg-page);
}

.calc-wrap {
    background: var(--bg-surface);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.calc-inputs {
    padding: 4rem;
}

.calc-results {
    background: var(--grad-primary);
    padding: 4rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.calc-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
}

.range-box {
    margin-bottom: 3rem;
}

.range-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 700;
}

.range-val {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent-magenta);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 118, 0.5);
    transition: transform var(--trans-spring);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.res-item {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.res-item:last-child {
    margin-bottom: 0;
}

.res-lbl {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.res-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================================
   Case Studies / Interactive Reports
   ========================================================================== */
.reports {
    padding: 8rem 0;
    background: var(--bg-surface);
}

.report-box {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 4rem;
}

.rep-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.chart-stage {
    height: 350px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding-top: 2rem;
}

.bar-col {
    flex: 1;
    background: var(--border-light);
    border-radius: 12px 12px 0 0;
    position: relative;
    transition: height 1.5s var(--bounce);
    height: 0;
    /* filled by js */
}

.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    border-radius: 12px 12px 0 0;
    opacity: 0.8;
    transition: opacity var(--trans-fast);
}

.bar-col:hover .bar-fill {
    opacity: 1;
    box-shadow: var(--shadow-glow);
}

.bar-col::after {
    content: attr(data-lbl);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.bar-tip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.2s, top 0.2s;
    pointer-events: none;
}

.bar-col:hover .bar-tip {
    opacity: 1;
    top: -50px;
}

/* ==========================================================================
   Process / Steps
   ========================================================================== */
.process {
    padding: 8rem 0;
    background: var(--bg-page);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.step-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    width: calc(100% - 100px);
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--bg-surface);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-surface);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.test-box {
    padding: 3rem;
    background: var(--bg-page);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    position: relative;
}

.quote-mark {
    font-size: 5rem;
    color: var(--border-light);
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
    font-family: serif;
}

.test-txt {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-av {
    width: 55px;
    height: 55px;
    background: var(--grad-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.test-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.test-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-sec {
    padding: 10rem 0;
    background: var(--grad-primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-sec h2 {
    margin-bottom: 1.5rem;
}

.cta-sec p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Chat Widget
   ========================================================================== */
.chat-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    width: 65px;
    height: 65px;
    background: var(--grad-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform var(--trans-spring);
}

.chat-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.chat-panel {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 360px;
    height: 480px;
    background: var(--bg-surface);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--trans-spring);
}

.chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-head {
    background: var(--grad-primary);
    color: #fff;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.msg {
    max-width: 80%;
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    font-size: 0.95rem;
}

.msg-bot {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg-usr {
    background: var(--accent-blue);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-foot {
    padding: 1rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
}

.chat-foot input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-main);
    font-family: inherit;
}

.chat-foot button {
    background: none;
    border: none;
    color: var(--accent-magenta);
    font-weight: 800;
    cursor: pointer;
}

/* ==========================================================================
   Footer (Strictly Consistent - Deep Navy)
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: #9CA3AF;
    padding: 6rem 0 2rem;
}

.ft-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.ft-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.ft-desc {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.socials {
    display: flex;
    gap: 1rem;
}

.soc-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all var(--trans-spring);
}

.soc-icon:hover {
    background: var(--accent-magenta);
    transform: translateY(-3px) scale(1.1);
}

.ft-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.ft-links li {
    margin-bottom: 0.8rem;
}

.ft-links a {
    transition: color var(--trans-fast);
}

.ft-links a:hover {
    color: var(--accent-cyan);
}

.ft-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.ft-contact span {
    color: var(--accent-magenta);
}

.ft-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ==========================================================================
   Legal Pages Specifics
   ========================================================================== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.page-content {
    padding: 6rem 0;
    background: var(--bg-page);
}

.doc-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.doc-card h2 {
    color: var(--accent-blue);
    margin: 3rem 0 1.2rem;
    font-size: 1.6rem;
}

.doc-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.doc-card ul {
    list-style: disc;
    margin-left: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes breathe {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateZ(50px) translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateZ(50px) translateY(-20px) rotate(-3deg);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-wrap {
        grid-template-columns: 1fr;
    }

    .step-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .step-grid::before {
        display: none;
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem 0;
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-list.open {
        clip-path: circle(150% at top right);
    }

    .ft-grid {
        grid-template-columns: 1fr;
    }

    .doc-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .calc-inputs,
    .calc-results {
        padding: 2rem;
    }

    .chat-panel {
        width: calc(100vw - 40px);
        right: -10px;
    }

    .title-xl {
        font-size: 2.5rem;
    }
}