/* ========== SmartCredit AI — Ultra-Premium Landing Page ========== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:linear-gradient(135deg, #f0fdf4 0%, #ecfeff 30%, #eff6ff 60%, #faf5ff 100%);
color:#0f172a;
overflow-x:hidden;
position: relative;
}

/* ========== KEYFRAME ANIMATIONS ========== */

@keyframes fadeInUp{
from{opacity:0;transform:translateY(40px)}
to{opacity:1;transform:translateY(0)}
}

@keyframes fadeInLeft{
from{opacity:0;transform:translateX(-40px)}
to{opacity:1;transform:translateX(0)}
}

@keyframes fadeInRight{
from{opacity:0;transform:translateX(40px)}
to{opacity:1;transform:translateX(0)}
}

@keyframes scaleIn{
from{opacity:0;transform:scale(0.85)}
to{opacity:1;transform:scale(1)}
}

@keyframes float{
0%{transform:translateY(0)}
50%{transform:translateY(-14px)}
100%{transform:translateY(0)}
}

@keyframes shimmer{
0%{background-position:-200% center}
100%{background-position:200% center}
}

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

@keyframes gradientShift{
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}

@keyframes barGrow{
from{transform:scaleY(0)}
to{transform:scaleY(1)}
}

@keyframes glowPulse{
0%,100%{box-shadow:0 0 10px rgba(34,197,94,0.2)}
50%{box-shadow:0 0 30px rgba(59,130,246,0.4)}
}

@keyframes orbFloat1 {
0%, 100% { transform: translate(0, 0) scale(1); }
25% { transform: translate(30px, -20px) scale(1.05); }
50% { transform: translate(-10px, -40px) scale(0.95); }
75% { transform: translate(-30px, -10px) scale(1.02); }
}

@keyframes orbFloat2 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(-25px, 25px) scale(1.08); }
66% { transform: translate(20px, -15px) scale(0.96); }
}

@keyframes rotateGradientBorder {
to { --gradient-angle: 360deg; }
}

@keyframes holographicShine {
0% { background-position: -200% -200%; }
100% { background-position: 200% 200%; }
}

/* ========== ANIMATION UTILITY CLASSES ========== */

.animate-fade-up{
opacity:0;
animation:fadeInUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.animate-fade-left{
opacity:0;
animation:fadeInLeft 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.animate-fade-right{
opacity:0;
animation:fadeInRight 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.animate-scale-in{
opacity:0;
animation:scaleIn 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.animate-delay-1{animation-delay:0.1s}
.animate-delay-2{animation-delay:0.25s}
.animate-delay-3{animation-delay:0.4s}
.animate-delay-4{animation-delay:0.55s}
.animate-delay-5{animation-delay:0.7s}

/* Scroll reveal */
.reveal{
opacity:0;
transform:translateY(35px);
transition:opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

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

.menu-toggle{
display:none;
cursor:pointer;
}

/* ========== DECORATIVE BACKGROUND ORBS ========== */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.bg-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(34,197,94,0.15), transparent 70%);
    top: -100px; left: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.bg-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
    bottom: -80px; right: -80px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.bg-orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(139,92,246,0.1), transparent 70%);
    top: 40%; left: 50%;
    animation: orbFloat1 30s ease-in-out infinite reverse;
}

body.dark-theme .bg-orb-1 {
    background: radial-gradient(circle, rgba(52,211,153,0.08), transparent 70%);
}
body.dark-theme .bg-orb-2 {
    background: radial-gradient(circle, rgba(96,165,250,0.06), transparent 70%);
}
body.dark-theme .bg-orb-3 {
    background: radial-gradient(circle, rgba(167,139,250,0.05), transparent 70%);
}

/* ========== HERO ========== */

.hero{
display:flex;
align-items:center;
justify-content:space-between;
padding:40px 8% 100px;
position:relative;
z-index: 1;
}

.hero-left{
max-width:560px;
position:relative;
z-index:1;
}

.hero-right {
position:relative;
z-index:1;
}

.badge{
background:linear-gradient(90deg, #dcfce7 0%, #dbeafe 50%, #dcfce7 100%);
background-size:200% auto;
color:#1e40af;
padding:8px 20px;
border-radius:24px;
display:inline-flex;
align-items: center;
gap: 6px;
margin-bottom:22px;
font-size:14px;
font-weight:600;
animation:shimmer 4s linear infinite;
border:1px solid rgba(59,130,246,0.15);
box-shadow: 0 4px 12px rgba(59,130,246,0.08);
letter-spacing: 0.02em;
}

.badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1{
font-size:60px;
line-height:1.1;
margin-bottom:26px;
letter-spacing:-0.04em;
background: linear-gradient(135deg, #001f3f 0%, #0f172a 40%, #16a34a 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip:text;
font-weight: 800;
}

body.dark-theme .hero h1 {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 40%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero p{
color:#475569;
margin-bottom:36px;
line-height:1.8;
font-size:18px;
max-width: 500px;
}

.hero-buttons{
display:flex;
gap:16px;
}

/* ========== PRIMARY BUTTON ========== */
.primary-btn{
background:linear-gradient(135deg, #22c55e, #10b981, #3b82f6);
background-size: 200% 200%;
animation: gradientShift 6s ease infinite;
border:none;
padding:16px 32px;
color:white;
border-radius:14px;
font-weight:700;
font-size: 16px;
cursor:pointer;
transition:transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
position:relative;
overflow:hidden;
box-shadow:0 8px 24px rgba(34,197,94,0.3);
letter-spacing: 0.01em;
}

.primary-btn::before{
content:'';
position:absolute;
top:50%;left:50%;
width:0;height:0;
background:rgba(255,255,255,0.15);
border-radius:50%;
transform:translate(-50%,-50%);
transition:width 0.6s ease, height 0.6s ease;
}

.primary-btn:hover{
transform:translateY(-5px) scale(1.02);
box-shadow:0 14px 36px rgba(34,197,94,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.primary-btn:hover::before{
width:500px;height:500px;
}

.primary-btn:active{
transform:scale(0.97) translateY(0);
}

/* ========== SECONDARY BUTTON ========== */
.secondary-btn{
background:rgba(255,255,255,0.85);
backdrop-filter: blur(12px);
border:2px solid rgba(203,213,225,0.6);
padding:16px 32px;
border-radius:14px;
cursor:pointer;
font-weight:600;
font-size: 16px;
color:#334155;
transition:all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.secondary-btn:hover{
border-color:#3b82f6;
color:#3b82f6;
background: rgba(255,255,255,0.95);
box-shadow:0 8px 24px rgba(59,130,246,0.15), 0 0 0 1px rgba(59,130,246,0.1);
transform:translateY(-5px);
}

.secondary-btn:active{
transform:scale(0.97);
}

body.dark-theme .secondary-btn {
    background: rgba(30,41,59,0.6);
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
}

body.dark-theme .secondary-btn:hover {
    border-color: #34d399;
    color: #34d399;
    background: rgba(30,41,59,0.8);
}

/* ========== RISK CARD (HERO) ========== */

.risk-card{
background:rgba(255,255,255,0.85);
backdrop-filter: blur(24px) saturate(150%);
padding:32px;
width:420px;
border-radius:24px;
box-shadow:0 24px 60px rgba(15,23,42,0.08), 0 0 0 1px rgba(255,255,255,0.6) inset;
animation:float 6s ease-in-out infinite;
border:1px solid rgba(226,232,240,0.5);
transition:box-shadow 0.5s ease, transform 0.5s ease;
position: relative;
overflow: hidden;
}

/* Animated gradient top border */
.risk-card::before{
content:'';
position:absolute;
top:0;left:0;right:0;
height:4px;
background:linear-gradient(90deg, #22c55e, #3b82f6, #8b5cf6, #ec4899, #22c55e);
background-size: 300% 100%;
animation: gradientShift 3s linear infinite;
}

/* Holographic shine overlay */
.risk-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        transparent 30%,
        rgba(255,255,255,0.08) 40%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.08) 60%,
        transparent 70%
    );
    background-size: 300% 300%;
    animation: holographicShine 6s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}

.risk-card:hover{
box-shadow:0 32px 70px rgba(15,23,42,0.12), 0 0 40px rgba(34,197,94,0.06);
}

body.dark-theme .risk-card {
    background: rgba(30,41,59,0.7);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.card-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:24px;
font-weight:700;
font-size: 18px;
color: #1e293b;
}

.live{
color:#10b981;
font-size:14px;
display:flex;
align-items:center;
gap:6px;
background: rgba(16,185,129,0.08);
padding: 5px 12px;
border-radius: 12px;
font-weight: 600;
}

.live::before{
content:'';
display:inline-block;
width:8px;
height:8px;
background:#10b981;
border-radius:50%;
animation:pulse 2s ease-in-out infinite;
box-shadow: 0 0 8px rgba(16,185,129,0.5);
}

.metrics{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
}

.metric{
background:rgba(248,250,252,0.8);
padding:16px;
border-radius:16px;
transition:transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
border:1px solid rgba(226,232,240,0.6);
position: relative;
z-index: 1;
}

.metric:hover{
transform:translateY(-5px) scale(1.02);
box-shadow:0 10px 24px rgba(0,0,0,0.06);
background:white;
border-color:rgba(59,130,246,0.25);
}

.metric p{
font-size:13px;
color:#64748b;
font-weight: 500;
letter-spacing: 0.02em;
}

.metric h3{
margin-top:8px;
font-size:24px;
color:#0f172a;
}

.approved{
background:linear-gradient(135deg, #22c55e, #10b981);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
background-clip:text;
}

/* ========== BARS ========== */

.bars{
display:flex;
gap:6px;
margin-top:24px;
align-items:flex-end;
}

.bar{
flex:1;
background:linear-gradient(180deg, #3b82f6, #60a5fa);
border-radius:6px;
transform-origin:bottom;
transform:scaleY(0);
animation:barGrow 1s cubic-bezier(0.22,1,0.36,1) forwards;
position: relative;
overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
    border-radius: inherit;
}

.bar:nth-child(even) {
background:linear-gradient(180deg, #22c55e, #4ade80);
}

.bar:nth-child(1){height:24px;animation-delay:0.1s}
.bar:nth-child(2){height:40px;animation-delay:0.2s}
.bar:nth-child(3){height:30px;animation-delay:0.3s}
.bar:nth-child(4){height:48px;animation-delay:0.4s}
.bar:nth-child(5){height:34px;animation-delay:0.5s}
.bar:nth-child(6){height:42px;animation-delay:0.6s}
.bar:nth-child(7){height:28px;animation-delay:0.7s}

/* ========== INSIGHT ========== */

.insight{
background:linear-gradient(135deg, rgba(240,253,244,0.8), rgba(239,246,255,0.8));
backdrop-filter: blur(8px);
padding:16px 20px;
border-radius:16px;
margin-top:24px;
font-size:14px;
border-left:4px solid #3b82f6;
transition:all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
position: relative;
z-index: 1;
}

.insight strong{
color: #3b82f6;
display: block;
margin-bottom: 4px;
font-size: 0.85rem;
letter-spacing: 0.02em;
}

.insight:hover{
box-shadow: 0 6px 20px rgba(59,130,246,0.1);
transform: translateX(6px);
border-left-color: #22c55e;
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.2), rgba(59,130,246,0.2), rgba(139,92,246,0.2), transparent);
    margin: 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(34,197,94,0.4);
}

/* ========== FEATURES ========== */

.features{
padding:100px 8%;
text-align:center;
position:relative;
z-index: 1;
}

.features h2{
font-size:44px;
margin-bottom:16px;
letter-spacing:-0.03em;
color: #0f172a;
font-weight: 800;
}

.subtitle{
color:#475569;
margin-bottom:60px;
font-size:18px;
line-height:1.8;
max-width: 650px;
margin-inline: auto;
}

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

.feature-card{
background:rgba(255,255,255,0.8);
backdrop-filter: blur(16px);
padding:40px 32px;
border-radius:24px;
box-shadow:0 8px 30px rgba(0,0,0,0.04);
transition:transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, border-color 0.5s ease;
border:1px solid rgba(226,232,240,0.6);
text-align:left;
position:relative;
overflow:hidden;
z-index: 1;
}

/* Animated gradient top line */
.feature-card::before{
content:'';
position:absolute;
top:0;left:0;right:0;
height:3px;
background:linear-gradient(90deg, #22c55e, #3b82f6, #8b5cf6);
transform:scaleX(0);
transform-origin:left;
transition:transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.feature-card:hover{
transform:translateY(-12px) scale(1.01);
box-shadow:0 24px 50px rgba(0,0,0,0.08), 0 0 0 1px rgba(34,197,94,0.08);
border-color:transparent;
}

.feature-card:hover::before{
transform:scaleX(1);
}

.icon{
background:linear-gradient(135deg, rgba(220,252,231,0.8), rgba(219,234,254,0.8));
display:inline-flex;
padding:18px;
border-radius:18px;
margin-bottom:24px;
transition:transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.icon i {
color: #3b82f6;
font-size: 28px;
}

.feature-card:hover .icon{
transform:scale(1.15) rotate(-8deg);
background:linear-gradient(135deg, #dbeafe, #fce7f3);
box-shadow: 0 8px 20px rgba(59,130,246,0.15);
}

.feature-card:nth-child(1) .icon i { color: #22c55e; }
.feature-card:nth-child(2) .icon i { color: #3b82f6; }
.feature-card:nth-child(3) .icon i { color: #8b5cf6; }

.feature-card h3{
margin-bottom:14px;
font-size:22px;
color: #1e293b;
font-weight: 700;
}

.feature-card p{
color:#64748b;
line-height:1.75;
font-size:15.5px;
}

/* ========== STEPS ========== */

.steps{
padding:100px 8%;
text-align:center;
background:linear-gradient(180deg, rgba(248,250,252,0.5), rgba(255,255,255,0.3));
position: relative;
z-index: 1;
}

.steps h2{
font-size:44px;
letter-spacing:-0.03em;
margin-bottom: 16px;
font-weight: 800;
}

.step-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:36px;
margin-top:60px;
position: relative;
}

/* Animated connector line between steps */
.step-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #3b82f6, #8b5cf6);
    opacity: 0.15;
    z-index: 0;
}

.step{
padding:40px 30px;
border-radius:24px;
transition:transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, background 0.5s ease, border-color 0.5s ease;
background:rgba(255,255,255,0.85);
backdrop-filter: blur(12px);
position:relative;
border:1px solid rgba(226,232,240,0.6);
box-shadow:0 8px 24px rgba(0,0,0,0.03);
z-index: 1;
}

.step:hover{
transform:translateY(-10px) scale(1.02);
box-shadow:0 24px 48px rgba(34,197,94,0.1);
border-color:transparent;
}

.step::after{
content:'';
position:absolute;
left:0;top:-10px;bottom:-10px;
width:4px;
background:linear-gradient(to bottom, #22c55e, #eab308);
border-radius:4px;
transform:scaleY(0);
transition:transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.step:nth-child(2):after{ background:linear-gradient(to bottom, #3b82f6, #ec4899); }
.step:nth-child(3):after{ background:linear-gradient(to bottom, #8b5cf6, #06b6d4); }

.step:hover::after{
transform:scaleY(1);
}

.step-icon{
position:relative;
display:inline-flex;
background:rgba(241,245,249,0.8);
padding:22px;
border-radius:20px;
margin-bottom:24px;
transition:transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.4s ease;
}

.step-icon i {
font-size: 28px;
color: #475569;
}

.step:hover .step-icon{
transform:scale(1.12);
box-shadow: 0 12px 24px rgba(0,0,0,0.06);
background: white;
}

.step-icon span{
position:absolute;
top:-12px;
right:-12px;
background:linear-gradient(135deg, #22c55e, #3b82f6);
color:white;
width:32px;
height:32px;
font-size:13px;
font-weight:800;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 4px 14px rgba(34,197,94,0.35);
border: 3px solid white;
}

.step h3{
margin-bottom:12px;
font-size:22px;
color: #1e293b;
font-weight: 700;
}

.step p{
color:#64748b;
line-height:1.75;
font-size:15.5px;
}

/* ========== CTA ========== */

.cta{
margin:80px 8%;
padding:80px 60px;
background:linear-gradient(135deg, #dcfce7, #dbeafe, #f3e8ff, #dcfce7);
background-size:300% 300%;
animation:gradientShift 10s ease infinite;
border-radius:32px;
text-align:center;
position:relative;
overflow:hidden;
box-shadow: 0 24px 60px rgba(59,130,246,0.1), 0 0 0 1px rgba(255,255,255,0.3) inset;
z-index: 1;
}

.cta::before{
content:'';
position:absolute;
width:400px;height:400px;
background:radial-gradient(circle,rgba(255,255,255,0.5),transparent);
top:-120px;right:-120px;
border-radius:50%;
animation: orbFloat1 15s ease-in-out infinite;
}

.cta::after{
content:'';
position:absolute;
width:350px;height:350px;
background:radial-gradient(circle,rgba(255,255,255,0.35),transparent);
bottom:-120px;left:-120px;
border-radius:50%;
animation: orbFloat2 18s ease-in-out infinite;
}

body.dark-theme .cta {
    background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(59,130,246,0.08), rgba(139,92,246,0.08), rgba(34,197,94,0.08));
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.cta h2{
font-size:44px;
margin-bottom:16px;
letter-spacing:-0.03em;
position:relative;
z-index:1;
color: #0f172a;
font-weight: 800;
}

.cta p{
margin-bottom:36px;
color:#334155;
font-size:18px;
position:relative;
z-index:1;
font-weight: 500;
max-width: 600px;
margin-inline: auto;
margin-bottom: 36px;
line-height: 1.7;
}

.cta .primary-btn{
position:relative;
z-index:1;
font-size: 18px;
padding: 18px 40px;
border-radius: 16px;
box-shadow: 0 12px 30px rgba(34,197,94,0.35);
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding: 2.5rem 0;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.3), rgba(59,130,246,0.3), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: #94a3b8;
    font-size: 0.88rem;
}

/* ========== RESPONSIVE ========== */

@media(max-width:900px){

.hero{
flex-direction:column;
gap:60px;
padding:100px 6% 60px;
text-align:center;
}

.hero-left{ max-width:100%; }
.hero h1{ font-size:42px; }
.hero-buttons{ justify-content:center; }

.risk-card{
width:100%;
max-width:400px;
margin: 0 auto;
}

.feature-grid{ grid-template-columns:1fr; }
.step-grid{ grid-template-columns:1fr; }
.step-grid::before { display: none; }

.menu-toggle{
display:block;
font-size: 24px;
color: #334155;
}

.cta{
margin:60px 4%;
padding:60px 24px;
border-radius: 24px;
}

.cta h2{ font-size:32px; }

.footer-container {
flex-direction:column;
gap:16px;
text-align:center;
}

}

/* ================================================================ */
/* ========== COMPREHENSIVE DARK MODE — LANDING PAGE ========== */
/* ================================================================ */

/* --- Hero Section --- */
body.dark-theme .hero p {
    color: #94a3b8;
}

body.dark-theme .badge {
    background: linear-gradient(90deg, rgba(34,197,94,0.12), rgba(59,130,246,0.12), rgba(34,197,94,0.12));
    background-size: 200% auto;
    color: #60a5fa;
    border-color: rgba(96,165,250,0.15);
    animation: shimmer 4s linear infinite;
}

body.dark-theme .primary-btn {
    box-shadow: 0 8px 24px rgba(34,197,94,0.2);
}

body.dark-theme .primary-btn:hover {
    box-shadow: 0 14px 36px rgba(34,197,94,0.35), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

/* --- Risk Card (Hero) Dark Mode --- */
body.dark-theme .card-header {
    color: #f1f5f9;
}

body.dark-theme .metric {
    background: rgba(15,23,42,0.6);
    border-color: rgba(255,255,255,0.06);
}

body.dark-theme .metric:hover {
    background: rgba(30,41,59,0.8);
    border-color: rgba(96,165,250,0.2);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

body.dark-theme .metric p {
    color: #94a3b8;
}

body.dark-theme .metric h3 {
    color: #f1f5f9;
}

body.dark-theme .insight {
    background: rgba(30,41,59,0.6);
    border-left-color: #60a5fa;
    color: #cbd5e1;
}

body.dark-theme .insight strong {
    color: #60a5fa;
}

body.dark-theme .insight:hover {
    box-shadow: 0 6px 20px rgba(96,165,250,0.1);
    border-left-color: #34d399;
}

/* --- Section Dividers Dark Mode --- */
body.dark-theme .section-divider {
    background: linear-gradient(90deg, transparent, rgba(52,211,153,0.15), rgba(96,165,250,0.15), rgba(167,139,250,0.15), transparent);
}

body.dark-theme .section-divider::before {
    background: linear-gradient(135deg, #34d399, #60a5fa);
    box-shadow: 0 0 12px rgba(52,211,153,0.5);
}

/* --- Features Section Dark Mode --- */
body.dark-theme .features h2 {
    color: #f1f5f9;
}

body.dark-theme .subtitle {
    color: #94a3b8;
}

body.dark-theme .feature-card {
    background: rgba(30,41,59,0.65);
    backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.03);
}

body.dark-theme .feature-card:hover {
    box-shadow: 0 24px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(52,211,153,0.1);
    border-color: rgba(52,211,153,0.15);
}

body.dark-theme .feature-card h3 {
    color: #f1f5f9;
}

body.dark-theme .feature-card p {
    color: #94a3b8;
}

body.dark-theme .icon {
    background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(59,130,246,0.1));
}

body.dark-theme .feature-card:hover .icon {
    background: linear-gradient(135deg, rgba(52,211,153,0.15), rgba(96,165,250,0.15));
    box-shadow: 0 8px 20px rgba(52,211,153,0.1);
}

body.dark-theme .feature-card:nth-child(1) .icon i { color: #34d399; }
body.dark-theme .feature-card:nth-child(2) .icon i { color: #60a5fa; }
body.dark-theme .feature-card:nth-child(3) .icon i { color: #a78bfa; }

/* --- Steps / How It Works Section Dark Mode --- */
body.dark-theme .steps {
    background: linear-gradient(180deg, rgba(15,23,42,0.3), rgba(15,23,42,0.1));
}

body.dark-theme .steps h2 {
    color: #f1f5f9;
}

body.dark-theme .steps .subtitle {
    color: #94a3b8;
}

body.dark-theme .step-grid::before {
    background: linear-gradient(90deg, #34d399, #60a5fa, #a78bfa);
    opacity: 0.12;
}

body.dark-theme .step {
    background: rgba(30,41,59,0.65);
    backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.03);
}

body.dark-theme .step:hover {
    box-shadow: 0 24px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(52,211,153,0.1);
    border-color: rgba(52,211,153,0.15);
}

body.dark-theme .step-icon {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(255,255,255,0.06);
}

body.dark-theme .step-icon i {
    color: #94a3b8;
}

body.dark-theme .step:hover .step-icon {
    background: rgba(30,41,59,0.8);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

body.dark-theme .step-icon span {
    border-color: rgba(30,41,59,1);
    box-shadow: 0 4px 14px rgba(34,197,94,0.25), 0 0 0 2px rgba(52,211,153,0.15);
}

body.dark-theme .step h3 {
    color: #f1f5f9;
}

body.dark-theme .step p {
    color: #94a3b8;
}

/* --- CTA Section Dark Mode --- */
body.dark-theme .cta h2 {
    color: #f1f5f9;
}

body.dark-theme .cta p {
    color: #94a3b8;
}

/* --- Footer Dark Mode --- */
body.dark-theme .footer {
    background: rgba(12,18,34,0.8) !important;
    border-color: rgba(255,255,255,0.04) !important;
    backdrop-filter: blur(16px);
}

body.dark-theme .footer::before {
    background: linear-gradient(90deg, transparent, rgba(52,211,153,0.15), rgba(96,165,250,0.15), transparent);
}

body.dark-theme .footer-logo .logo-text-dark {
    color: #f1f5f9;
}

body.dark-theme .footer-links a {
    color: #64748b;
}

body.dark-theme .footer-links a:hover {
    color: #34d399;
}

body.dark-theme .copyright {
    color: #475569;
}

/* --- Secondary Button Dark Mode --- */
body.dark-theme .secondary-btn {
    background: rgba(30,41,59,0.6);
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
}

body.dark-theme .secondary-btn:hover {
    border-color: #34d399;
    color: #34d399;
    background: rgba(30,41,59,0.8);
    box-shadow: 0 8px 24px rgba(52,211,153,0.12);
}

/* ElevenLabs Floating Widget */
elevenlabs-agent {
  --accent-color: #38bdf8;
  --background: rgba(20, 20, 30, 0.9);
  --border-radius: 18px;
}