:root {
  --bg-dark: #121212;
  --primary-orange: #FF9653;
  --primary-blue: #5FCAFF;
  --text-main: #FFFFFF;
  --text-light: #A0A0A0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Nunito', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-dark); }
body { font-family: var(--font-main); color: var(--text-main); background-color: var(--bg-dark); line-height: 1.6; overflow-x: hidden; position: relative; }
::selection { background: rgba(95, 202, 255, 0.3); color: #fff; }

h1, h2, h3, h4 { letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }
.text-light { color: var(--text-light); font-weight: 300; letter-spacing: 0.01em; }
.highlight-orange { color: var(--primary-orange); }
.highlight-blue { color: var(--primary-blue); }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; } .mt-4 { margin-top: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.block { display: block; } .hidden { display: none !important; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-center-left { display: flex; align-items: center; justify-content: flex-start; }
.relative { position: relative; }
.mx-2 { margin: 0 0.5rem; }

.orb { position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.4; animation: drift 20s infinite alternate ease-in-out; }
.orb-orange { width: 400px; height: 400px; background: rgba(255, 150, 83, 0.15); top: -100px; right: -100px; }
.orb-blue { width: 500px; height: 500px; background: rgba(95, 202, 255, 0.15); bottom: -100px; left: -200px; animation-delay: -10s; }
@keyframes drift { 100% { transform: translate(100px, 50px); } }

.glass { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); }

.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo-wrap { background: #FFFFFF; border-radius: 8px; padding: 0 12px; height: 48px; display: inline-flex; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.1); flex-shrink: 0; }
.brand-logo { height: 32px; width: auto; object-fit: contain; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-main); font-weight: 700; padding: 0.8rem 1.8rem; height: 48px; border-radius: 8px; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; text-decoration: none; flex-shrink: 0; }
.btn-primary { background: var(--primary-orange); color: #000; border: 1px solid rgba(255, 150, 83, 0.5); }
.btn-primary.glow-orange:hover { box-shadow: 0 0 25px rgba(255, 150, 83, 0.6); transform: translateY(-2px); background: #ffaa75; }
.btn-outline { background: transparent; color: var(--primary-orange); border: 1px solid var(--primary-orange); }
.btn-outline:hover { box-shadow: 0 0 15px rgba(255, 150, 83, 0.3); background: rgba(255, 150, 83, 0.05); }
.btn-block { width: 100%; padding: 1.2rem; font-size: 1.1rem; }

.hero { min-height: 100vh; padding-top: 6rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-title { font-size: clamp(3.5rem, 6vw, 5rem); margin: 1.5rem 0; }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 90%; }
.badge { display: inline-block; padding: 0.4rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; color: var(--primary-blue); border-color: rgba(95, 202, 255, 0.2); text-transform: uppercase; letter-spacing: 0.05em; }

.perspective { perspective: 1000px; }
.float-animation { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
  50% { transform: translateY(-20px) rotateX(10deg) rotateY(0deg); }
}

.glass-frame { width: 100%; max-width: 450px; height: 350px; background: rgba(18, 18, 18, 0.4); backdrop-filter: blur(30px); border: 1px solid rgba(95, 202, 255, 0.2); border-radius: 16px; padding: 2rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(95, 202, 255, 0.05); overflow: hidden; }
.mock-dash { height: 100%; opacity: 1; animation: fadeDash 8s infinite; }
.mock-header { margin-bottom: 1.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mock-line { height: 12px; background: rgba(255, 255, 255, 0.1); border-radius: 6px; margin-bottom: 0.8rem; }
.w-full { width: 100%; } .w-3-4 { width: 75%; } .w-1-2 { width: 50%; }

.scanner-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--primary-blue); box-shadow: 0 0 20px 4px rgba(95, 202, 255, 0.5); animation: scan 8s infinite cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes scan { 0% { top: -10%; opacity: 0; } 10% { opacity: 1; } 40% { top: 110%; opacity: 1; } 45%, 100% { opacity: 0; top: 110%; } }
@keyframes fadeDash { 0%, 45% { opacity: 1; filter: blur(0); } 50%, 80% { opacity: 0; filter: blur(10px); } 100% { opacity: 1; filter: blur(0); } }

.morph-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; animation: showEmail 8s infinite; background: rgba(18,18,18,0.7); }
@keyframes showEmail { 0%, 45% { opacity: 0; transform: scale(0.9); } 50%, 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.9); } }
.email-icon { width: 80px; height: 80px; color: var(--primary-blue); }
.pulse-blue { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { filter: drop-shadow(0 0 10px rgba(95, 202, 255, 0.4)); stroke: var(--primary-blue); } 50% { filter: drop-shadow(0 0 30px rgba(95, 202, 255, 0.9)); stroke: #fff; } }

.process-section { padding: 8rem 0; }
.section-title { font-size: 3rem; }
.timeline-container { max-width: 800px; margin: 0 auto; padding-left: 3rem; position: relative; }
.timeline-line-track { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.05); }
.timeline-line-glow { position: absolute; left: -1px; top: 0; width: 4px; height: 0%; background: linear-gradient(to bottom, var(--primary-blue), var(--primary-orange)); box-shadow: 0 0 15px rgba(95, 202, 255, 0.8); transition: height 0.6s; border-radius: 4px; }
.timeline-steps { display: flex; flex-direction: column; gap: 3rem; }
.step-card { padding: 2.5rem; border-radius: 16px; position: relative; opacity: 0.4; transform: translateX(20px); transition: var(--transition); }
.step-card.active { opacity: 1; transform: translateX(0); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: rgba(95, 202, 255, 0.3); }
.step-indicator { position: absolute; left: -4.5rem; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; background: var(--bg-dark); border: 2px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: var(--text-light); transition: var(--transition); }
.step-card.active .step-indicator { border-color: var(--primary-blue); color: var(--primary-blue); box-shadow: 0 0 20px rgba(95, 202, 255, 0.4); }
.step-card:nth-child(4).active .step-indicator { border-color: var(--primary-orange); color: var(--primary-orange); box-shadow: 0 0 20px rgba(255, 150, 83, 0.4); }
.step-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 1.15rem; }

.advantage-section { padding: 6rem 0; }
.glass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.glass-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 20px; padding: 3rem 2rem; transition: var(--transition); }
.glass-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.icon-wrap { width: 60px; height: 60px; border-radius: 12px; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; transition: var(--transition); }
.orange-glow { border: 1px solid rgba(255,150,83,0.3); } .blue-glow { border: 1px solid rgba(95,202,255,0.3); } .dual-glow { border: 1px solid rgba(255,255,255,0.2); }
.glass-card:hover .orange-glow { box-shadow: 0 0 25px rgba(255,150,83,0.3); }
.glass-card:hover .blue-glow { box-shadow: 0 0 25px rgba(95,202,255,0.3); }
.glass-card:hover .dual-glow { border-color: var(--primary-blue); box-shadow: 0 0 25px rgba(95,202,255,0.3); }
.glass-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.portal-section { padding: 8rem 0; }
.portal-box { max-width: 600px; margin: 0 auto; padding: 4rem; border-radius: 24px; box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 30px rgba(255,150,83,0.05); }
.portal-form { display: flex; flex-direction: column; gap: 1.5rem; }
.glass-input { width: 100%; padding: 1.2rem; background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); border-radius: 8px; color: #fff; font-family: var(--font-main); font-size: 1.1rem; outline: none; transition: var(--transition); }
.glass-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 2px rgba(95, 202, 255, 0.2), inset 0 0 10px rgba(95, 202, 255, 0.1); background: rgba(0,0,0,0.4); }
.glass-input::placeholder { color: rgba(255,255,255,0.4); }
.fade-in { animation: fade-in 0.5s ease forwards; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--glass-border); margin-top: 4rem; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-title { font-size: 3.5rem; }
  .hero-visual { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .hero { padding-top: 10rem; }
  .nav-container { gap: 0.5rem; justify-content: space-around; width: 100%; }
  .btn-outline { font-size: 0.75rem; padding: 0.5rem 1rem; height: 48px; }
  .timeline-container { padding-left: 0; }
  .timeline-line-track, .timeline-line-glow { display: none; }
  .step-indicator { position: relative; left: auto; top: auto; transform: none; margin-bottom: 1rem; display: inline-flex; }
  .step-card { transform: translateY(20px); }
  .step-card.active { transform: translateY(0); }
  .portal-box { padding: 2rem; }
  .footer-flex { flex-direction: column; text-align: center; }
}
