/* ── Hero ────────────────────────────────────────────────── */ .hero { position: relative; padding: 7rem 0 6rem; overflow: hidden; } .hero .glow-orb.orb-1 { width: 480px; height: 480px; background: var(--accent-violet); top: -180px; left: -220px; } .hero .glow-orb.orb-2 { width: 420px; height: 420px; background: var(--accent-cyan); top: -100px; right: -220px; animation-delay: -6s; } .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; } .hero-copy { max-width: 520px; } .hero-title { font-size: clamp(2.6rem, 4.2vw, 3.75rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; margin: 1.4rem 0 1.4rem; } .hero-title .gradient-text { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero-subtitle { font-size: 1.08rem; color: var(--text-secondary); margin: 0 0 2.25rem; line-height: 1.65; } .hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; } /* ── Hero visual (scan mockup) ───────────────────────────── */ .hero-visual { position: relative; z-index: 1; padding: 1.75rem; transform: rotate(1.2deg); } .scan-frame { position: relative; border-radius: var(--radius-md); background: linear-gradient(160deg, #12141f, #0a0b12); border: 1px solid var(--border); height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; } .scan-frame svg { width: 140px; height: 140px; color: var(--text-muted); opacity: 0.5; } .scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent); box-shadow: 0 0 16px var(--accent-cyan); animation: scan 2.6s ease-in-out infinite; } @keyframes scan { 0% { top: 6%; opacity: 0; } 10% { opacity: 1; } 50% { top: 92%; opacity: 1; } 60% { opacity: 0; } 100% { top: 6%; opacity: 0; } } .scan-box { position: absolute; border: 1.5px solid var(--accent-cyan); border-radius: 4px; background: rgba(6, 182, 212, 0.08); } .scan-box .scan-box-label { position: absolute; top: -22px; left: -1px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; color: #06131a; background: var(--accent-cyan); padding: 2px 6px; border-radius: 4px; white-space: nowrap; } .scan-box.box-1 { top: 18%; left: 10%; width: 34%; height: 28%; } .scan-box.box-1 .scan-box-label { background: #f59e0b; } .scan-box.box-2 { top: 55%; left: 52%; width: 30%; height: 24%; } .hero-stat-float { position: absolute; bottom: -18px; right: 40px; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: var(--radius-md); background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); font-family: var(--font-mono); font-size: 0.78rem; transform: rotate(-1.2deg); } .hero-stat-float .stat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--severity-minor); box-shadow: 0 0 8px var(--severity-minor); } /* ── Stats strip ─────────────────────────────────────────── */ .stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem 0; } .stat-card { padding: 1.5rem 1.25rem; text-align: center; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); } .stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card), 0 0 24px rgba(124, 58, 237, 0.2); } .stat-card .stat-value { font-size: 1.85rem; font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; } .stat-card .stat-label { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.35rem; } /* ── Section shell ───────────────────────────────────────── */ .section { padding: 5.5rem 0; } .section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; } .section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; margin: 0.85rem 0 0.85rem; } .section-header p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin: 0; } /* ── How it works ────────────────────────────────────────── */ .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .step-card { padding: 2rem 1.75rem; position: relative; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); } .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), 0 0 28px rgba(124, 58, 237, 0.18); } .step-card:nth-child(2) { transform: translateY(-14px); } .step-card:nth-child(2):hover { transform: translateY(-18px); } .step-card .step-index { font-size: 0.76rem; font-weight: 600; color: var(--accent-cyan); letter-spacing: 0.08em; } .step-card .step-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; color: #fff; margin: 1rem 0 1.1rem; } .step-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; } .step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin: 0; } /* ── Damage classes grid ─────────────────────────────────── */ .classes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; } .class-card { padding: 1.4rem 1.25rem; transition: border-color 0.2s, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); } .class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), 0 0 24px rgba(6, 182, 212, 0.16); } .class-card:nth-child(even) { transform: translateY(10px); } .class-card:nth-child(even):hover { transform: translateY(6px); } .class-card .swatch { width: 18px; height: 18px; border-radius: 5px; margin-bottom: 0.9rem; } .class-card h4 { margin: 0 0 0.35rem; font-size: 0.95rem; text-transform: capitalize; font-family: var(--font-display); } .class-card p { margin: 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; } /* ── CTA banner ──────────────────────────────────────────── */ .cta-banner { position: relative; text-align: center; padding: 4rem 2rem; overflow: hidden; } .cta-banner .glow-orb { width: 400px; height: 400px; background: var(--accent-violet); top: -160px; left: 50%; transform: translateX(-50%); } .cta-banner h2 { position: relative; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin: 0 0 0.75rem; letter-spacing: -0.02em; } .cta-banner p { position: relative; color: var(--text-secondary); margin: 0 0 1.75rem; } .cta-banner .btn-primary { position: relative; } /* ── Responsive ──────────────────────────────────────────── */ @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { max-width: none; text-align: center; margin: 0 auto; } .hero-ctas { justify-content: center; } .hero-visual { transform: none; margin-top: 1rem; } .stats-strip { grid-template-columns: repeat(2, 1fr); } .steps-grid { grid-template-columns: 1fr; } .step-card:nth-child(2), .step-card:nth-child(2):hover { transform: none; } .classes-grid { grid-template-columns: repeat(2, 1fr); } .class-card:nth-child(even), .class-card:nth-child(even):hover { transform: none; } } @media (max-width: 560px) { .hero { padding: 4.5rem 0 3rem; } .hero-visual { padding: 1.25rem; } .stats-strip { grid-template-columns: 1fr 1fr; } .classes-grid { grid-template-columns: 1fr; } }