* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background:
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(255,79,31,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 70% 55% at 80% 30%, rgba(0,229,255,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255,79,31,0.08) 0%, transparent 60%),
    #080B14;
  color: #fff; font-family: 'Inter', sans-serif; overflow-x: hidden; scroll-behavior: smooth;
}
#hex-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.18; pointer-events: none; }
#hero { position: relative; width: 100%; height: 100svh; min-height: 600px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; overflow: hidden; z-index: 1; }
@supports not (height: 100svh) { #hero { height: 100vh; } }
#three-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; margin-top: 0; pointer-events: none; }
.badge { display: inline-block; border: 1px solid rgba(0,229,255,0.4); color: #00E5FF; font-size: 11px; letter-spacing: 0.2em; padding: 6px 18px; border-radius: 20px; margin-bottom: 24px; }
h1 { font-size: clamp(36px, 6vw, 80px); font-weight: 800; line-height: 1.05; margin-bottom: 16px; background: linear-gradient(135deg, #ffffff 0%, #FF4F1F 55%, #00E5FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; opacity: 0; transform: translateY(30px); animation: fadeUp 1s ease 0.3s forwards; }
.tagline { font-size: clamp(14px, 2vw, 20px); color: rgba(255,255,255,0.5); margin-bottom: 36px; opacity: 0; animation: fadeUp 1s ease 0.5s forwards; }
.badge { opacity: 0; animation: fadeUp 1s ease 0.1s forwards; }
.cta-btn { pointer-events: all; display: inline-flex; align-items: center; gap: 10px; background: #FF4F1F; color: #fff; border: none; padding: 15px 34px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; box-shadow: 0 0 40px rgba(255,79,31,0.4); transition: transform 0.2s, box-shadow 0.2s; opacity: 0; animation: fadeUp 1s ease 0.7s forwards; }
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 0 60px rgba(255,79,31,0.6); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0.35; }
.scroll-hint span { font-size: 9px; letter-spacing: 0.2em; }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, #fff); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
#features { position: relative; z-index: 1; padding: 100px 20px 80px; text-align: center; }
#features h2 { font-size: clamp(24px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.sub { font-size: 16px; color: rgba(255,255,255,0.45); max-width: 600px; margin: 0 auto 56px; line-height: 1.7; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto 52px; }
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 28px 20px; text-align: left; transition: border-color 0.3s, transform 0.2s; }
.card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); }
.card-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.cta-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #00E5FF; border: 1.5px solid #00E5FF; padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.cta-outline:hover { background: rgba(0,229,255,0.08); }
footer { text-align: center; padding: 30px 20px; font-size: 12px; color: rgba(255,255,255,0.2); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: #00E5FF; }
@media (max-width: 600px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ─── Loading Screen ─────────────────────────────────────────────── */
#loading {
  position: fixed; inset: 0; z-index: 100;
  background: #080B14;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease;
  pointer-events: all;
}
#loading.loaded { opacity: 0; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-hex {
  width: 54px; height: 54px;
  border: 2px solid transparent;
  border-top-color: #00E5FF;
  border-right-color: rgba(0,229,255,0.3);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 18px rgba(0,229,255,0.4);
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-label {
  font-size: 11px; letter-spacing: 0.25em; color: rgba(255,255,255,0.35);
  animation: pulse 1.6s ease-in-out infinite;
}

@media (max-width: 600px) {
  #hero { min-height: 100svh; }
  .hero-content { padding: 0 16px; }
  h1 { font-size: clamp(28px, 10vw, 48px); }
  .tagline { font-size: 14px; }
  .cta-btn { padding: 14px 24px; font-size: 14px; }
  .badge { font-size: 9px; padding: 5px 14px; }
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 20px 14px; }
  #features { padding: 70px 16px 60px; }
  .scroll-hint { display: none; }
}
