/* 
  Enact Website - Unified CSS
  OptiCash theme + OptiSwift layout components re-themed
*/

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

/* ============================================
   DESIGN TOKENS (OptiCash palette)
   ============================================ */
:root {
    /* Colors - Light Theme (OptiCash) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-accent: #00C853;

    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-inverse: #FFFFFF;

    --accent-color: #00A043;
    --accent-hover: #009938;
    --accent-light: #6EFFC4;
    --accent-glow: rgba(0, 200, 83, 0.28);

    --blue: #3D6FFF;
    --blue-dark: #2455E0;
    --purple: #9B6DFF;
    --purple-dark: #7C4DFF;

    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;

    /* Dark surface tokens (for dark sections on Business/Company pages) */
    --void: #04060F;
    --deep: #070B1C;
    --surface: #0C1128;
    --surface-2: #121830;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-hover: rgba(255, 255, 255, 0.07);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --max-w: 1280px;
    --transition: all 0.2s ease-in-out;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 12px 24px -4px rgba(17, 24, 39, 0.08);

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-pill: 9999px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io: cubic-bezier(0.4, 0, 0.2, 1);

    /* Glows */
    --glow-green: 0 0 50px rgba(0, 200, 83, 0.35);
    --glow-blue: 0 0 50px rgba(61, 111, 255, 0.35);

    /* Light surface aliases for OptiSwift components */
    --light-bg: #F9FAFB;
    --light-bg-2: #FFFFFF;
    --light-border: rgba(0, 0, 0, 0.07);

    /* Text aliases for OptiSwift components */
    --text-white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.82);
    --text-dark: #111827;
    --text-body: #4B5563;
    --text-sub: #6B7280;

    --green: #00C853;
    --green-dark: #00A043;
    --green-light: #6EFFC4;
}

/* ============================================
   BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 0;
    }
}

.section-sm {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

.bg-light-gray {
    background-color: var(--bg-secondary);
}

.bg-accent {
    background-color: var(--bg-accent);
}

.text-dark {
    color: #111827 !important;
}

.text-muted {
    color: var(--text-muted);
}

.text-accent-dark {
    color: var(--accent-color);
    font-weight: 600;
}

.text-accent {
    color: var(--accent-color);
}

.border-top {
    border-top: 1px solid var(--border-light);
}

.border-radius-lg {
    border-radius: 24px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-80 {
    opacity: 0.8;
}

/* ============================================
   GRADIENT TEXT (from OptiSwift, using OptiCash colours)
   ============================================ */
.grad-green {
    background: linear-gradient(135deg, var(--bg-accent), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-purple {
    background: linear-gradient(135deg, var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS - OptiCash style
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-dark,
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--bg-accent);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-dark {
    background-color: #111827;
    color: var(--text-inverse);
    padding: 0.75rem 1.5rem;
}

.btn-dark:hover {
    background-color: #374151;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-secondary);
}

.btn-text {
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--accent-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    background-color: var(--bg-accent);
    color: white;
    transition: background-color 0.2s;
}

.btn-block:hover {
    background-color: var(--accent-hover);
    color: white;
}

/* OptiSwift-style buttons (used on Business/Company pages) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.875rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s var(--ease-out);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-primary {
    background: var(--bg-accent);
    color: #FFFFFF;
    border-radius: var(--radius-pill);
}

.btn.btn-primary:hover {
    background: var(--accent-light);
    color: #111827;
    box-shadow: var(--glow-green);
}

.btn-outline {
    background: transparent;
    color: var(--text-inverse);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn-outline-dark:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-arrow::after {
    content: '→';
    transition: transform 0.2s var(--ease-out);
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================
   NAVBAR - OptiCash style (white, fixed top)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: white;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ============================================
   OPTICASH HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 9rem 0 6rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 95%;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Transfer Calculator */
.transfer-calculator {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    max-width: 420px;
    margin-top: 2rem;
}

.calc-box {
    background: #F8FAFC;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.calc-box:focus-within {
    border-color: var(--accent-color);
    background: white;
}

.calc-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.calc-input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-input {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    width: 60%;
    outline: none;
}

.calc-input.highlight {
    color: #000;
}

.calc-currency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.calc-currency.selector {
    cursor: pointer;
}

.calc-currency.selector:hover {
    background: var(--bg-secondary);
}

.calc-details {
    padding: 1.25rem 0 1.25rem 1rem;
    position: relative;
}

.calc-details::before {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-light);
    z-index: 0;
}

.calc-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.calc-row:last-child {
    margin-bottom: 0;
}

.calc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--text-secondary);
}

.calc-icon svg {
    width: 14px;
    height: 14px;
}

.bg-light-green {
    background-color: #ECFCCB;
}

.calc-detail-label {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.calc-detail-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.calc-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Hero Visual / Phone */
.hero-visual {
    position: relative;
    height: 100%;
    min-height: 900px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.phone-mockup {
    width: 100%;
    height: 100%;
    min-height: 900px;
    background-image: url('assets/home-screen-128.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ============================================
   OPTICASH SECTION HEADERS
   ============================================ */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    color: var(--text-secondary);
}

/* ============================================
   OPTICASH FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -4px rgba(17, 24, 39, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-accent);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ============================================
   OPTICASH SPLIT SECTIONS
   ============================================ */
.split-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.split-container.reverse {
    direction: rtl;
}

.split-container.reverse>* {
    direction: ltr;
}

.ui-image {
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.split-visual {
    height: 500px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#globe-container {
    background-image: url('assets/opticash_light_globe_transfer_1772820584128.png');
}

#card-container {
    background-image: url('assets/opticash_light_credit_card_1772820570164.png');
}

.benefit-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-list p {
    font-size: 0.95rem;
}

/* ============================================
   OPTICASH CTA SECTION
   ============================================ */
.cta {
    padding: 6rem 0;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   OPTICASH FOOTER (white/light)
   ============================================ */
.footer {
    background-color: white;
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 26px;
    width: auto;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-consumer {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-consumer a {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-consumer a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.hover-dark:hover {
    color: var(--text-primary);
}

/* ============================================
   OPTISWIFT LAYOUT COMPONENTS (re-themed)
   Used on Business + Company pages
   ============================================ */

/* Badges (OptiSwift style, re-themed) */
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(0, 200, 83, 0.10);
    color: var(--accent-color);
    border: 1px solid rgba(0, 200, 83, 0.22);
}

.page-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg-accent);
    flex-shrink: 0;
}

.page-badge-dark {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.14);
}

.page-badge-dark::before {
    background: var(--bg-accent);
}

.page-badge-blue {
    background: rgba(61, 111, 255, 0.10);
    color: var(--blue-dark);
    border-color: rgba(61, 111, 255, 0.20);
}

.page-badge-blue::before {
    background: var(--blue);
}

.page-badge-purple {
    background: rgba(155, 109, 255, 0.10);
    color: var(--purple-dark);
    border-color: rgba(155, 109, 255, 0.20);
}

.page-badge-purple::before {
    background: var(--purple);
}

/* Section variants for inner pages */
.section-dark {
    background: var(--deep);
}

.section-void {
    background: var(--void);
}

.section-light {
    background: var(--bg-secondary);
}

.section-white {
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    margin-bottom: 1.25rem;
}

.section-title-light {
    color: var(--text-inverse);
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-body);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.78;
}

.section-desc-light {
    color: var(--text-light);
}

/* Stats Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #FFF 0%, rgba(255, 255, 255, 0.62) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.625rem;
}

.stat-num.accent {
    background: linear-gradient(135deg, var(--bg-accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.44);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.125rem;
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

/* Cards */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 200, 83, 0.22);
}

.card-dark {
    background: var(--surface-2);
    border-color: var(--glass-border);
    color: var(--text-inverse);
}

.card-dark:hover {
    border-color: rgba(0, 200, 83, 0.28);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.card-green {
    background: linear-gradient(135deg, #00C853 0%, #00A043 100%);
    border-color: transparent;
    color: var(--void);
}

.card-green:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-4px);
}

.card-blue {
    background: linear-gradient(135deg, #3D6FFF 0%, #7C4DFF 100%);
    border-color: transparent;
    color: var(--text-inverse);
}

.card-void {
    background: var(--void);
    border-color: rgba(255, 255, 255, 0.07);
    color: var(--text-inverse);
}

.card-void:hover {
    border-color: rgba(0, 200, 83, 0.25);
}

.card-glass {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    color: var(--text-inverse);
}

.card-glass:hover {
    background: var(--glass-hover);
    border-color: rgba(0, 200, 83, 0.25);
}

.card-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bg-accent), transparent);
}

.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.875rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-green {
    background: rgba(0, 200, 83, 0.12);
    color: var(--accent-color);
}

.icon-blue {
    background: rgba(61, 111, 255, 0.12);
    color: var(--blue-dark);
}

.icon-purple {
    background: rgba(155, 109, 255, 0.12);
    color: var(--purple-dark);
}

.icon-light {
    background: rgba(255, 255, 255, 0.10);
    color: var(--text-inverse);
}

.icon-on-green {
    background: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.65);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.card-title-sm {
    font-size: 1.0625rem;
}

.card-desc {
    font-size: 0.9375rem;
    line-height: 1.72;
    color: var(--text-body);
}

.card-desc-light {
    color: var(--text-light);
}

.card-desc-on-green {
    color: rgba(0, 0, 0, 0.60);
}

/* Feature list (OptiSwift cards) */
.feat-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
}

.feat-item.light {
    color: var(--text-light);
}

.feat-item.on-green {
    color: rgba(0, 0, 0, 0.68);
}

.check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-green {
    background: rgba(0, 200, 83, 0.14);
    color: var(--accent-color);
}

.check-light {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-inverse);
}

.check-on-green {
    background: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.65);
}

.check svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-accent), var(--blue));
    opacity: 0.25;
}

.process-step {
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    border: 3px solid var(--bg-secondary);
}

.step-num.active {
    background: linear-gradient(135deg, var(--bg-accent), var(--blue));
    color: var(--void);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* Coverage Grid */
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.world-map-wrap {
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.20);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-placeholder svg {
    opacity: 0.30;
}

.map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--bg-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.8);
    animation: dotPulse 2.5s ease-in-out infinite;
}

.map-dot::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(0, 200, 83, 0.3);
    animation: dotRipple 2.5s ease-in-out infinite;
}

.map-dot:nth-child(2) { animation-delay: 0.5s; }
.map-dot:nth-child(3) { animation-delay: 1.0s; }
.map-dot:nth-child(4) { animation-delay: 1.5s; background: var(--blue); box-shadow: 0 0 10px rgba(61, 111, 255, 0.8); }
.map-dot:nth-child(4)::before { border-color: rgba(61, 111, 255, 0.3); }
.map-dot:nth-child(5) { animation-delay: 2.0s; }

.region-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.region-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.region-row:hover {
    background: var(--glass-hover);
    border-color: rgba(0, 200, 83, 0.22);
}

.region-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.region-flag {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 200, 83, 0.08);
    border-radius: var(--radius-xs);
    color: var(--bg-accent);
}

.region-flag svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.region-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-inverse);
}

.region-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.44);
    margin-top: 0.1rem;
}

.region-count {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--bg-accent);
}

/* Case Study Card */
.case-card {
    background: var(--text-primary);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--bg-accent), transparent 70%);
    opacity: 0.07;
    pointer-events: none;
}

.case-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.875rem;
    background: rgba(0, 200, 83, 0.12);
    color: var(--bg-accent);
    border: 1px solid rgba(0, 200, 83, 0.20);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.case-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: var(--text-inverse);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.case-points {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.case-point {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.case-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg-accent);
    flex-shrink: 0;
}

.case-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 152px;
}

.case-metric {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
}

.case-metric-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--bg-accent);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.case-metric-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.44);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Who We Serve */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.serve-card {
    padding: 1.875rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.28s var(--ease-out);
}

.serve-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 200, 83, 0.22);
}

.serve-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 1rem;
    color: var(--bg-accent);
    flex-shrink: 0;
}

.serve-title {
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.serve-desc {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* Product Banner */
.product-banner {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl);
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.product-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.44);
    margin-bottom: 0.75rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-inverse);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    max-width: 380px;
    line-height: 1.65;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-accent);
    transition: gap 0.2s;
}

.product-link:hover {
    gap: 0.875rem;
}

.product-visual {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.14);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-accent);
}

.product-visual svg {
    width: 64px;
    height: 64px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* CTA Section (OptiSwift style, re-themed) */
.cta-section {
    background: var(--void);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 200, 83, 0.075) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--text-inverse);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 1.5rem auto;
    max-width: 680px;
}

.cta-sub {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.72;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Page Hero (Business/Company inner pages) */
.page-hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.75;
}

/* Compliance badges */
.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.comp-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 200, 83, 0.06);
    border: 1px solid rgba(0, 200, 83, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-color);
}

.comp-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    overflow: visible;
    stroke: var(--bg-accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Trust Ticker */
.trust-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.125rem 0;
    overflow: hidden;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-icon {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.trust-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-sep {
    width: 1px;
    height: 20px;
    background: var(--border-light);
    flex-shrink: 0;
}

/* Dashboard mockup (OptiSwift hero visual) */
.dashboard-mockup {
    max-width: 920px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 80px rgba(0, 0, 0, 0.65), 0 0 120px rgba(0, 200, 83, 0.07);
}

.mockup-bar {
    height: 46px;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    gap: 0.5rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

.mockup-url-bar {
    flex: 1;
    height: 22px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    margin: 0 auto;
}

.mockup-body {
    display: grid;
    grid-template-columns: 196px 1fr;
    min-height: 320px;
}

.mockup-sidebar {
    background: rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-nav-item {
    height: 34px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
}

.mockup-nav-item.active {
    background: rgba(0, 200, 83, 0.13);
    border: 1px solid rgba(0, 200, 83, 0.20);
}

.mockup-main {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.mockup-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.mockup-stat-lbl {
    height: 7px;
    width: 55%;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.mockup-stat-val {
    height: 13px;
    width: 75%;
    border-radius: 4px;
}

.mockup-stat:nth-child(1) .mockup-stat-val { background: rgba(0, 200, 83, 0.55); }
.mockup-stat:nth-child(2) .mockup-stat-val { background: rgba(61, 111, 255, 0.55); }
.mockup-stat:nth-child(3) .mockup-stat-val { background: rgba(155, 109, 255, 0.55); }

.mockup-chart {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    height: 110px;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    overflow: hidden;
}

.mockup-bar-item {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, var(--bg-accent), transparent);
    opacity: 0.65;
    animation: barGrow 1s var(--ease-out) both;
}

.mockup-bar-item:nth-child(1) { height: 38%; animation-delay: 0.10s; }
.mockup-bar-item:nth-child(2) { height: 62%; animation-delay: 0.15s; }
.mockup-bar-item:nth-child(3) { height: 44%; animation-delay: 0.20s; }
.mockup-bar-item:nth-child(4) { height: 78%; animation-delay: 0.25s; background: linear-gradient(to top, var(--blue), transparent); }
.mockup-bar-item:nth-child(5) { height: 55%; animation-delay: 0.30s; }
.mockup-bar-item:nth-child(6) { height: 88%; animation-delay: 0.35s; }
.mockup-bar-item:nth-child(7) { height: 68%; animation-delay: 0.40s; background: linear-gradient(to top, var(--purple), transparent); }
.mockup-bar-item:nth-child(8) { height: 82%; animation-delay: 0.45s; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-28px) scale(1.04); }
    70% { transform: translateY(12px) scale(0.97); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

@keyframes dotRipple {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(3); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .split-container {
        gap: 3rem;
    }

    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .col-4 { grid-column: span 3; }
    .col-5 { grid-column: span 3; }
    .col-6 { grid-column: span 6; }
    .col-7 { grid-column: span 6; }
    .col-8 { grid-column: span 6; }
    .col-12 { grid-column: span 6; }
    .row-2 { grid-row: auto; }

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

    .process-grid::before {
        display: none;
    }

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

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

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-metrics {
        flex-direction: row;
        justify-content: center;
    }

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

    .product-banner {
        flex-direction: column;
        text-align: center;
    }

    .product-desc {
        max-width: 100%;
    }
}

@media (max-width: 992px) {

    .hero-container,
    .split-container {
        grid-template-columns: 1fr;
    }

    .split-container.reverse {
        direction: ltr;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        height: 450px;
        min-height: 450px;
        padding-top: 0;
    }

    .phone-mockup {
        width: 100%;
        max-width: 350px;
        max-height: 450px;
        min-height: auto;
    }

    .split-content {
        order: 1;
    }

    .split-visual {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
        height: 350px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .section {
        padding: 4rem 0;
    }

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

    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-12 {
        grid-column: span 1;
    }

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

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

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .stat-item+.stat-item::before {
        display: none;
    }

    .hero {
        padding: 6.5rem 0 4rem;
    }

    .mockup-body {
        grid-template-columns: 1fr;
    }

    .mockup-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .serve-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        padding: 2rem;
    }

    .case-metrics {
        flex-direction: column;
    }
}
