/* =========================================
   VARIABLES & DESIGN TOKENS (Light/Dark Agency)
   ========================================= */
:root {
    /* Themes */
    --bg-light: #ffffff;
    --bg-light-alt: #f8fafc;
    --bg-dark: #0a0b10;
    --bg-dark-alt: #11131a;
    --bg-glass: rgba(17, 19, 26, 0.75);
    
    /* Primary Red */
    --primary: #fc3a27;
    --primary-glow: rgba(252, 58, 39, 0.4);
    --accent-1: #e62b1a;
    --accent-2: #be123c;
    
    /* Text */
    --text-light-mode: #0f172a;
    --text-muted-light: #64748b;
    --text-dark-mode: #ffffff;
    --text-muted-dark: #94a3b8;
    
    /* Borders */
    --border-light: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; max-width: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-main);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Theme Classes */
.bg-light { background-color: var(--bg-light); color: var(--text-muted-light); }
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 { color: var(--text-light-mode); }
.bg-light .text-muted { color: var(--text-muted-light); }
.bg-light .glass { background: rgba(255,255,255,0.8); border: 1px solid var(--border-light); }
.bg-light .btn-outline { border-color: var(--border-light); color: var(--text-light-mode); }
.bg-light .btn-outline:hover { background: rgba(0,0,0,0.05); }

.bg-dark { background-color: var(--bg-dark); color: var(--text-muted-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 { color: var(--text-dark-mode); }
.bg-dark .brand-name { color: #ffffff; }
.bg-dark .text-muted { color: var(--text-muted-dark); }
.bg-dark .glass { background: rgba(20,20,25,0.6); border: 1px solid var(--border-dark); }
.bg-dark .btn-outline { border-color: var(--border-dark); color: var(--text-dark-mode); }
.bg-dark .btn-outline:hover { background: rgba(255,255,255,0.05); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.section { padding: 120px 0; position: relative; z-index: 10; }

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.text-sm { font-size: 0.875rem; } .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; }
.font-bold { font-weight: 700; } .w-full { width: 100%; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 16px; }
.section-desc { font-size: 1.125rem; max-width: 600px; }
.section-desc.centered { margin: 0 auto; }

/* Glow Orbs (Only visible in dark sections) */
.bg-dark .glow-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); z-index: 0; pointer-events: none; opacity: 0.25;
}
.bg-dark .orb-primary { top: -10%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, var(--primary), transparent 60%); }
.bg-dark .orb-secondary { top: 20%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-2), transparent 60%); }

.glass { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 24px; position: relative; overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); border: none; }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
    color: #fff;
    box-shadow: 0 4px 30px var(--primary-glow);
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--primary-glow);
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
}
.btn-outline { background: transparent; border-style: solid; border-width: 1px; }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 24px 0; transition: var(--transition); background: var(--bg-light); border-bottom: 1px solid var(--border-light); }
.navbar.scrolled { padding: 16px 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 32px; width: auto; filter: invert(36%) sepia(85%) saturate(2975%) hue-rotate(346deg) brightness(101%) contrast(106%); }
.brand-name { font-weight: 800; font-size: 1.25rem; color: var(--text-light-mode); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted-light); }
.nav-links a:hover { color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1000; position: relative; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--text-light-mode); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-light);
    z-index: 99; padding: 100px 24px 40px; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.3s ease-in-out; overflow-y: auto;
}
.mobile-menu-overlay.active { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.mobile-nav-links a { font-size: 1.5rem; font-weight: 700; color: var(--text-light-mode); }
.mobile-nav-links a:hover { color: var(--primary); }
img, svg, video { max-width: 100%; height: auto; }

/* =========================================
   HERO SECTION (Light)
   ========================================= */
.hero { padding: 160px 0 60px; min-height: auto; display: flex; align-items: center; }
.hero-container-new { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.hero-content-left { display: flex; flex-direction: column; align-items: flex-start; }

.badge-pill-green {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px;
    background: rgba(252, 58, 39, 0.1); border: 1px solid rgba(252, 58, 39, 0.2);
    color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 24px;
}
.pulse-dot-green { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); }

.headline-new { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 24px; line-height: 1.15; color: var(--text-light-mode); }
.text-red-glow { position: relative; color: var(--primary); display: inline-block; z-index: 1; }

/* Rolling Text Animation */
.rolling-text-wrapper {
    display: inline-flex;
    height: 1.3em;
    overflow: hidden;
    vertical-align: bottom;
    margin-bottom: -0.15em;
    max-width: 100%;
}
.rolling-text-inner {
    display: flex;
    flex-direction: column;
    animation: rollUpText 12.5s infinite cubic-bezier(0.7, 0, 0.3, 1);
    max-width: 100%;
}
.rolling-text-inner span {
    height: 1.3em;
    line-height: 1.3em;
    white-space: nowrap;
    max-width: 100%;
}

@keyframes rollUpText {
    0%, 16% { transform: translateY(0); }
    20%, 36% { transform: translateY(-100%); }
    40%, 56% { transform: translateY(-200%); }
    60%, 76% { transform: translateY(-300%); }
    80%, 96% { transform: translateY(-400%); }
    100% { transform: translateY(-500%); }
}

.sub-headline-new { font-size: 1.125rem; color: var(--text-muted-light); margin-bottom: 40px; line-height: 1.7; max-width: 500px; }
.sub-headline-new strong { color: var(--text-light-mode); }
.hero-actions-new { display: flex; gap: 16px; margin-bottom: 40px; }

.btn-white { background: var(--text-light-mode); color: var(--bg-light); }
.btn-white:hover { background: var(--primary); color: #fff; }

.divider-line { width: 100%; height: 1px; background: var(--border-light); margin-bottom: 32px; }

.stats-row-new { display: flex; gap: 40px; }
.stat-item-new h3 { font-size: 1.75rem; color: var(--text-light-mode); margin-bottom: 4px; }
.stat-item-new p { font-size: 0.65rem; color: var(--text-muted-light); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* Hero Visual (Dark Dashboard on Light BG) */
.hero-visual-right { position: relative; width: 100%; }
.floating-badge {
    position: absolute; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 16px;
    display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 10;
}
.floating-badge.top-left { top: -20px; left: -20px; }
.floating-badge.bottom-right { bottom: -20px; right: 20px; }
.floating-badge .small-title { display: block; font-size: 0.65rem; color: var(--text-muted-light); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 2px; }
.floating-badge .bold-text { display: block; font-size: 0.875rem; color: var(--text-light-mode); font-weight: 600; }
.icon-red-small { width: 36px; height: 36px; border-radius: 8px; background: rgba(252, 58, 39, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; }

.dashboard-panel { background: var(--bg-dark); border-radius: 16px; border: 1px solid var(--border-dark); box-shadow: 0 20px 50px rgba(0,0,0,0.2); overflow: hidden; }
.dash-url-bar { background: var(--bg-dark-alt); padding: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 1px solid var(--border-dark); }
.dash-url-bar span { font-size: 0.75rem; color: var(--text-muted-dark); font-family: monospace; }
.dash-body { padding: 24px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.small-text { font-size: 0.65rem; color: var(--text-muted-dark); font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.large-text { font-size: 1.25rem; color: #fff; font-weight: 600; }
.badge-operational { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(252, 58, 39, 0.1); color: var(--primary); border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.dot-green { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 5px var(--primary); }

.deployment-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.deploy-item { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.02); padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.03); }
.icon-red { width: 32px; height: 32px; border-radius: 6px; background: rgba(252, 58, 39, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.deploy-details { flex: 1; }
.deploy-details .title { font-size: 0.875rem; color: #e2e8f0; font-weight: 600; margin-bottom: 2px; }
.deploy-details .meta { font-size: 0.75rem; color: var(--text-muted-dark); font-family: monospace; }
.status-live { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--primary); font-weight: 700; }

.dash-footer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; text-align: center; }
.footer-stat .label { font-size: 0.65rem; color: var(--text-muted-dark); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 4px; }
.footer-stat .val { font-size: 1.125rem; color: #fff; font-weight: 600; }

/* Trusted By Ticker */
.section-padding { padding: 40px 0; border-bottom: 1px solid var(--border-light); }
.logo-ticker { width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.ticker-track { display: flex; gap: 80px; width: max-content; animation: ticker 20s linear infinite; padding-right: 80px; }
.bg-light .company-logo { font-size: 1.5rem; font-weight: 800; color: rgba(0,0,0,0.3); text-transform: uppercase; letter-spacing: 2px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   BENTO GRID SYSTEM
   ========================================= */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 24px; }
.bento-item { padding: 32px; display: flex; flex-direction: column; transition: var(--transition); }
.bento-item:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.col-span-2 { grid-column: span 2; } .row-span-2 { grid-row: span 2; }
.bento-content { position: relative; z-index: 2; height: 100%; }

.icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.gradient-red { background: linear-gradient(135deg, var(--primary), var(--accent-2)); }

.capability-list { display: flex; flex-direction: column; gap: 12px; }
.cap-item { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.95rem; padding: 12px; border-radius: 8px; border: 1px solid transparent; }
.bg-light .cap-item { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.05); color: var(--text-light-mode); }
.bg-dark .cap-item { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); color: var(--text-dark-mode); }
.cap-item svg { width: 20px; height: 20px; color: var(--primary); }

.bento-graphic { position: absolute; bottom: -20px; right: -20px; width: 200px; height: 200px; z-index: 1; opacity: 0.1; }
.ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--primary); }
.r1 { width: 100%; height: 100%; } .r2 { width: 60%; height: 60%; }
/* New Loan Cards Grid */
.loan-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.loan-card { padding: 32px; border-radius: 16px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); }
.lc-icon { width: 40px; height: 40px; background: rgba(252, 58, 39, 0.1); color: #fc3a27; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.lc-icon svg { width: 20px; height: 20px; }
.lc-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.lc-subtitle { font-size: 0.8rem; color: #fc3a27; font-style: italic; margin-bottom: 20px; }
.lc-stats { font-size: 0.75rem; color: var(--text-muted-dark); letter-spacing: 1px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.lc-stats strong { font-size: 1.25rem; color: #fff; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-tags span { font-size: 0.7rem; padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted-dark); background: rgba(255, 255, 255, 0.02); }

/* Bottom Dashboard Bar */
.loan-dash-bar { margin-top: 24px; padding: 32px; border-radius: 16px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); }
.dash-bar-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.dash-stats { display: flex; gap: 40px; }
.ds-item strong { font-size: 1.5rem; color: #fff; line-height: 1; display: block; margin-bottom: 4px; }
.ds-item p { font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; color: #fc3a27; text-transform: uppercase; margin: 0; }
.dash-actions { display: flex; gap: 16px; }
.dash-bar-bottom { display: flex; justify-content: center; gap: 24px; padding-top: 24px; flex-wrap: wrap; }
.check-item { font-size: 0.7rem; color: var(--text-muted-dark); font-weight: 600; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; }
.check-icon { color: #10b981; font-weight: 800; }

@media (max-width: 1024px) {
    .loan-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-bar-top { flex-direction: column; gap: 32px; text-align: center; }
    .dash-stats { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
    .loan-cards-grid { grid-template-columns: 1fr; }
}


/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { padding: 32px 24px; border-radius: 16px; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.bg-light .service-card:hover { box-shadow: 0 10px 30px rgba(252,58,39,0.1); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.step-card { padding: 32px 24px; position: relative; border-top: 2px solid transparent; transition: var(--transition); }
.step-card:hover { border-top-color: var(--primary); transform: translateY(-5px); }

.bg-light .step-number { font-size: 3rem; font-weight: 800; color: rgba(0,0,0,0.05); position: absolute; top: 10px; right: 20px; line-height: 1; transition: var(--transition); }

/* Hover Fill Effect for Step Cards */
.bg-light .step-card:hover {
    border-top-color: var(--primary);
    box-shadow: 0 15px 35px rgba(252, 58, 39, 0.1);
}
.bg-light .step-card:hover .step-number {
    color: var(--primary);
}

/* Hybrid Grid */
.grid-hybrid { grid-template-columns: repeat(3, 1fr); }
.flex-row { display: flex; gap: 32px; align-items: center; }
.content-text { flex: 1; } .content-visual { flex: 1; display: flex; justify-content: center; }
.venture-card-stack { position: relative; width: 250px; height: 250px; }
.v-card { position: absolute; border-radius: 20px; width: 100%; height: 100%; }
.vc1 { background: linear-gradient(135deg, rgba(252, 58, 39, 0.2), rgba(190, 18, 60, 0.2)); border: 1px solid rgba(252, 58, 39, 0.5); transform: rotate(-5deg); z-index: 2; backdrop-filter: blur(10px); }
.vc2 { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transform: rotate(5deg) translate(20px, 10px); z-index: 1; }

/* Selected Work Showcase */
.work-showcase { display: flex; flex-direction: column; gap: 80px; }
.work-item { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.work-item.reverse { grid-template-columns: 0.9fr 1.1fr; }
.work-visual img { width: 100%; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.08); transition: transform 0.5s ease; }
.work-visual:hover img { transform: translateY(-5px); box-shadow: 0 40px 80px rgba(0,0,0,0.12); }
.work-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.work-tags span { font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 100px; background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.work-title { font-size: 2rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.work-subtitle { font-size: 0.9rem; font-weight: 700; color: #fc3a27; margin-bottom: 20px; }
.work-desc { font-size: 0.95rem; color: #475569; line-height: 1.7; margin-bottom: 24px; }
.work-outcomes-title { font-size: 0.75rem; font-weight: 800; color: #0f172a; margin-bottom: 12px; letter-spacing: 1px; }
.work-outcomes-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.work-outcomes-list li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #334155; font-weight: 600; margin: 0; }
.work-outcomes-list .check { color: #10b981; font-weight: 800; }

@media (max-width: 992px) {
    .work-item, .work-item.reverse { grid-template-columns: 1fr; gap: 40px; }
    .work-item.reverse .work-content { order: 2; }
    .work-item.reverse .work-visual { order: 1; }
}

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.testimonial-card { padding: 40px 32px; display: flex; flex-direction: column; }
.stars { color: var(--primary); }
.client-info { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.client-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; background: var(--primary); }

/* FAQ Accordion */
.faq-accordion-container { display: flex; flex-direction: column; }
.faq-accordion-item { background: #ffffff; border: 1px solid var(--border-light); border-radius: 20px; margin-bottom: 24px; overflow: hidden; transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.faq-accordion-item[open] { border-color: var(--primary); box-shadow: 0 10px 40px rgba(252, 58, 39, 0.08); }
.faq-accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; color: var(--text-light-mode); transition: var(--transition); }
.faq-accordion-header::-webkit-details-marker { display: none; }
.faq-accordion-header:hover { color: var(--primary); }
.faq-accordion-item[open] .faq-accordion-header { color: var(--primary); }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: var(--text-muted-light); transition: var(--transition); }
.faq-accordion-item[open] .faq-icon { background: var(--primary); color: #fff; transform: rotate(180deg); }
.faq-accordion-header:hover .faq-icon { color: var(--primary); background: rgba(252, 58, 39, 0.1); }
.faq-accordion-item[open] .faq-accordion-header:hover .faq-icon { color: #fff; background: var(--primary); }
.faq-icon svg { width: 16px; height: 16px; }
.faq-accordion-content { padding: 0 32px 32px; color: var(--text-muted-light); font-size: 1rem; line-height: 1.8; }
.faq-cta-box { display: flex; justify-content: space-between; align-items: center; }

/* Contact CTA / Project Form */
/* Contact CTA / Project Form */
.project-form-container {
    background: linear-gradient(rgba(17, 19, 26, 0.85), rgba(10, 11, 16, 0.95));
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(17, 19, 26, 0.85), rgba(10, 11, 16, 0.95)), 
                      linear-gradient(135deg, rgba(252, 58, 39, 0.4) 0%, rgba(190, 18, 60, 0.15) 50%, rgba(255, 255, 255, 0.05) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.form-title { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 24px; }
.custom-project-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: #cbd5e1; }
.custom-project-form input, .custom-project-form select, .custom-project-form textarea { background: rgba(10, 11, 16, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; font-family: inherit; outline: none; transition: var(--transition); }
.custom-project-form input::placeholder, .custom-project-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.custom-project-form input:hover, .custom-project-form select:hover, .custom-project-form textarea:hover { border-color: rgba(255, 255, 255, 0.15); }
.custom-project-form input:focus, .custom-project-form select:focus, .custom-project-form textarea:focus {
    outline: none;
    border-color: transparent;
    background-image: linear-gradient(rgba(10, 11, 16, 0.8), rgba(10, 11, 16, 0.8)), 
                      linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 15px rgba(252, 58, 39, 0.15);
}
.custom-project-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}
.custom-project-form select option { background: var(--bg-dark-alt); color: #f8fafc; }
.form-checkbox { display: flex; gap: 12px; margin-top: 8px; }
.form-checkbox input { margin-top: 3px; accent-color: #fc3a27; }
.form-checkbox label { font-size: 0.8rem; color: #94a3b8; }
.form-checkbox a { color: #cbd5e1; text-decoration: underline; }
.btn-red-full { width: 100%; background: #fc3a27; color: #fff; padding: 16px; border-radius: 8px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition); }
.btn-red-full:hover { background: #e62b1a; }

@media (max-width: 600px) {
    .project-form-container { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { border-top: 1px solid var(--border-dark); padding: 80px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { max-width: 300px; }
.footer-links h4 { margin-bottom: 24px; font-size: 1.125rem; }
.footer-links a { display: block; margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border-dark); font-size: 0.875rem; }
.legal-links { display: flex; gap: 24px; }
.bg-dark .legal-links a:hover { color: #fff; }

@media (max-width: 992px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-cta { display: none !important; }
    .hero-container-new { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .services-wrapper { flex-direction: column; }
    .services-content { width: 100%; border-right: none; border-bottom: 1px solid var(--border-light); }
    .services-list-container { width: 100%; }
    .process-steps, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-container { grid-template-columns: 1fr; }
    .faq-header { position: static; margin-bottom: 24px; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
    .bento-grid, .process-steps, .form-row { grid-template-columns: 1fr; }
    .col-span-2 { grid-column: span 1; }
    .row-span-2 { grid-row: span 1; }
    .nav-cta { padding: 8px 16px !important; font-size: 0.85rem !important; }
    .headline-massive { max-width: 100vw; overflow-wrap: break-word; }
}

/* Universal Button Hover Effect for Primary Website Color */
.btn:hover,
.btn-outline:hover,
.btn-white:hover,
.btn-gradient:hover,
.btn-red-full:hover,
.nav-cta:hover,
.nav-btn:hover,
a.btn:hover,
button.btn:hover {
    background-color: var(--primary) !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 8px 25px var(--primary-glow) !important;
    transform: translateY(-2px);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Universal Card Hover Effects */
.testimonial-card, .faq-accordion-item, .bento-item, .service-card, .v-card, .loan-card, .step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover, .bento-item:hover, .service-card:hover, .loan-card:hover, .step-card:hover, .faq-accordion-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.bg-dark .testimonial-card:hover, .bg-dark .loan-card:hover, .bg-dark .bento-item:hover {
    box-shadow: 0 20px 40px rgba(252,58,39,0.15);
}

/* Contact Benefits */
.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}
.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(252,58,39,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(252,58,39,0.05);
}
.benefit-icon svg {
    width: 28px;
    height: 28px;
}
.benefit-text h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.benefit-text p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Split Layout */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.contact-visual {
    padding-right: 20px;
}
.contact-image-wrapper {
    padding: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    backdrop-filter: blur(10px);
}
.contact-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(252,58,39,0.5), transparent);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

@media (max-width: 992px) {
    .contact-split-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-visual { padding-right: 0; text-align: center; }
    .contact-visual .section-title { font-size: 2.5rem !important; }
    .contact-visual p { margin-left: auto; margin-right: auto; }
}

/* Custom Contact Form (Dribbble Inspired) */
.project-form-container {
    background: linear-gradient(rgba(17, 19, 26, 0.85), rgba(10, 11, 16, 0.95));
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(17, 19, 26, 0.85), rgba(10, 11, 16, 0.95)), 
                      linear-gradient(135deg, rgba(252, 58, 39, 0.4) 0%, rgba(190, 18, 60, 0.15) 50%, rgba(255, 255, 255, 0.05) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.form-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 16px; }
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-group label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
    background: rgba(10, 11, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    color: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: transparent;
    background-image: linear-gradient(rgba(10, 11, 16, 0.8), rgba(10, 11, 16, 0.8)), 
                      linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 20px rgba(252, 58, 39, 0.15);
}
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 48px;
}
.form-group select option {
    background: var(--bg-dark-alt);
    color: #f8fafc;
}
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}
.form-checkbox input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-checkbox label {
    color: #94a3b8;
    font-size: 0.9rem;
}
.form-checkbox label a {
    color: #f8fafc;
    text-decoration: underline;
}
.project-form-container .btn-red-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    border-radius: 100px;
    margin-top: 8px;
}

/* Next-Gen Digital Agency Inspiration Overrides */
/* Applying sleek pill shapes and premium glass edges without altering colors, theme, or content */
.btn, .btn-outline, .btn-white, .btn-gradient, .btn-red-full, .nav-cta, .nav-btn {
    border-radius: 100px !important;
}

.bento-item, .service-card, .step-card, .testimonial-card, .loan-card, .faq-accordion-item, .v-card {
    border-radius: 12px !important;
    background: #ffffff !important;
    border-top: 4px solid var(--primary) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    color: #0f172a !important; /* Force dark text on white cards */
}
.bento-item h3, .service-card h3, .step-card h3, .testimonial-card h4, .loan-card h3, .faq-accordion-item .faq-title {
    color: #0f172a !important;
}
.bento-item p, .service-card p, .step-card p, .testimonial-card p, .loan-card p, .faq-accordion-content p {
    color: #475569 !important;
}

.bento-item:hover, .service-card:hover, .step-card:hover, .testimonial-card:hover, .loan-card:hover, .faq-accordion-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

/* --- SpeedySol Tech Agency Layout Overrides --- */

/* 1. Hero Asymmetric Layout */
.hero-container-new {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}
@media (min-width: 992px) {
    .hero-container-new {
        grid-template-columns: 1.2fr 0.8fr;
        text-align: left;
        gap: 64px;
        align-items: center;
    }
    .hero-content-left { max-width: 700px; }
    .stats-row-new { justify-content: flex-start; }
}

/* 2. AppsLend Bento Layout (Staggered Grid) */
.loan-bento-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
}
@media (min-width: 992px) {
    .loan-bento-layout {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .loan-bento-layout .loan-card:nth-child(1) {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .loan-bento-layout .loan-card:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;
    }
    .loan-bento-layout .loan-card:nth-child(3) {
        grid-column: span 2;
    }
}

/* 3. Delivery Lifecycle Vertical Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}
@media (min-width: 768px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 40px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), transparent);
        z-index: 0;
    }
    .process-timeline .step-card {
        position: relative;
        z-index: 1;
        margin-left: 100px;
        margin-bottom: 40px;
        width: calc(100% - 100px);
    }
    .process-timeline .step-number {
        position: absolute;
        left: -100px;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--primary);
        box-shadow: 0 0 0 8px rgba(252,58,39,0.1);
        margin: 0;
    }
}

/* 4. Services Split Layout (Sticky Sidebar) */
.services-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .services-split-layout {
        grid-template-columns: 350px 1fr;
        gap: 64px;
        align-items: start;
    }
    .services-sticky-sidebar {
        position: sticky;
        top: 120px;
    }
    .services-scroll-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* 5. Testimonial Offset / Overlapping UI */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 992px) {
    .testimonials-grid {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 60px;
    }
    .testimonials-grid .testimonial-card {
        width: 35%;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .testimonials-grid .testimonial-card:nth-child(1) {
        transform: translateX(30px) translateY(20px);
        z-index: 1;
        opacity: 0.9;
    }
    .testimonials-grid .testimonial-card:nth-child(2) {
        transform: scale(1.05);
        z-index: 3;
        box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
    }
    .testimonials-grid .testimonial-card:nth-child(3) {
        transform: translateX(-30px) translateY(20px);
        z-index: 2;
        opacity: 0.9;
    }
    .testimonials-grid:hover .testimonial-card {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- Unique Hero Enhancements --- */

/* Dynamic Mesh Background for Hero */
.hero.bg-light {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}
.hero.bg-light::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(252,58,39,0.03) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(252,58,39,0.05) 0%, transparent 30%);
    animation: rotateMesh 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes rotateMesh {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure hero content stays above the mesh */
.hero-container-new {
    position: relative;
    z-index: 1;
}

/* Hero 3D Tilt Effect */
.hero-visual-right {
    position: relative;
    perspective: 1200px;
    z-index: 10;
}
.hero-visual-right .dashboard-panel {
    transform: rotateY(-12deg) rotateX(6deg) translateZ(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 25px 35px 70px rgba(0,0,0,0.08), -10px -10px 40px rgba(252,58,39,0.05) !important;
}
.hero-visual-right:hover .dashboard-panel {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px) translateZ(50px);
}

/* Floating Animation for Badges */
@keyframes floatBob {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
/* --- ADBONDZ Hero Overrides --- */

.hero-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.hero-stats-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.stat-pill {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: #475569;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    backdrop-filter: blur(5px);
}
.stat-pill strong {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
}

.headline-massive {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}
@media (min-width: 768px) {
    .headline-massive {
        font-size: 5.5rem;
        letter-spacing: -2px;
    }
}

.sub-headline-centered {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .sub-headline-centered {
        font-size: 1.25rem;
        max-width: 800px;
    }
}

.hero-actions-centered {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-visual-bottom {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    perspective: 1200px;
    z-index: 10;
}

.dashboard-panel.panoramic {
    width: 100%;
    transform: rotateX(15deg) scale(0.9);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.1), 0 -10px 40px rgba(252,58,39,0.05) !important;
    transform-origin: bottom;
    border-radius: 20px 20px 0 0;
}
.hero-visual-bottom:hover .dashboard-panel.panoramic {
    transform: rotateX(0deg) scale(1) translateY(-20px);
}

/* --- Mobile Responsiveness for Redesigned Hero --- */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px !important;
    }
    .badge-pill-green {
        padding: 8px 16px !important;
        margin-bottom: 24px !important;
    }
    .badge-pill-green span:last-child {
        font-size: 0.7rem !important;
    }
    .headline-massive {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
    .rolling-text-inner span {
        white-space: nowrap !important;
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    .sub-headline-new {
        font-size: 1.1rem !important;
        margin-bottom: 40px !important;
        padding: 0 16px;
    }
    .hero-actions-new {
        flex-direction: column !important;
        width: 100%;
        padding: 0 20px;
        gap: 16px !important;
        margin-bottom: 60px !important;
    }
    .hero-actions-new .btn {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 1.1rem !important;
        padding: 16px 24px !important;
    }
    .hero-cards-row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 20px;
    }
    .hero-cards-row > div {
        padding: 32px 24px !important;
    }
    .hero-cards-row h3 {
        font-size: 2rem !important;
    }
    
    /* Navbar fixes for mobile */
    .nav-links {
        display: none !important;
    }
    .nav-cta {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    .nav-container {
        padding: 0 16px !important;
    }
    .logo img {
        height: 24px !important;
    }
    .brand-name {
        font-size: 1.1rem !important;
    }
}

/* --- Chargebee UI Redesign Classes --- */
.slanted-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    padding-bottom: 150px !important;
}
.slanted-top-bottom {
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    padding: 150px 0 !important;
}
.hero-chargebee-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 150px;
}
.chargebee-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 32px;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chargebee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.form-light {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
}
.form-light .form-title { color: #0f172a !important; }
.form-light label { color: #475569 !important; }
.form-light input, .form-light select, .form-light textarea {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}
.form-light input:focus, .form-light select:focus, .form-light textarea:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
}

@media (max-width: 768px) {
    .hero-chargebee-layout {
        grid-template-columns: 1fr;
        padding-top: 100px;
    }
    .slanted-bottom {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding-bottom: 100px !important;
    }
}