/* ════════════════════════════════════════
   VELORA THEME — Main Stylesheet
   ════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --velora-blue:   #3b9bff;
  --velora-violet: #7c4fea;
  --velora-cyan:   #22d3ee;
  --velora-navy:   #040d1c;
  --velora-grad:   linear-gradient(135deg, #2d78f5 0%, #7c4fea 100%);
}

body {
  background: #040d1c;
  color: #d0dff5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── NAV ── */
#velora-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(4,13,28,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background .2s, border-color .2s;
}
#velora-nav.scrolled {
  background: rgba(4,13,28,0.96);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img, .nav-logo .custom-logo {
  height: 34px; width: auto; display: block;
}
.velora-logo-text {
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: 0.05em;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: #a0bedd; text-decoration: none; font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links .nav-btn {
  background: linear-gradient(135deg,#2d78f5,#7c4fea);
  color: #fff; padding: 8px 20px; border-radius: 100px;
  font-weight: 500; font-size: 13px;
  box-shadow: 0 4px 18px rgba(45,120,255,0.3);
}
.nav-links .nav-btn:hover { color: #fff; opacity: 0.92; }

.hamburger {
  display: none; background: none; border: none;
  width: 28px; height: 22px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.mobile-nav {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(4,13,28,0.98); backdrop-filter: blur(14px);
  padding: 20px; display: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 0; color: #a0bedd;
  text-decoration: none; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav .btn-primary {
  margin-top: 14px; text-align: center; border-bottom: none;
  background: linear-gradient(135deg,#2d78f5,#7c4fea);
  color: #fff; border-radius: 10px; padding: 14px;
  font-weight: 600;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 60px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(45,120,255,0.12) 0%, transparent 60%);
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; text-align: center;
}
.hero-h1 {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: #8aaecc; line-height: 1.7;
  margin-bottom: 36px; font-weight: 300;
}
.hero-sub strong { color: #fff; font-weight: 500; }
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

.btn-primary, .btn-outline {
  padding: 16px 36px;
  font-size: 15px; font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity .2s, transform .2s, box-shadow .2s, background .2s, border-color .2s;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg,#2d78f5,#7c4fea);
  color: #fff;
  box-shadow: 0 6px 28px rgba(45,120,255,0.35);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(59,155,255,0.4);
  color: #a0bedd;
}
.btn-outline:hover {
  border-color: #3b9bff; color: #fff;
  background: rgba(59,155,255,0.06);
}

/* ── VALUE PROP ── */
#value-prop {
  padding: 80px 24px 60px;
  text-align: center;
}
.vp-line1, .vp-line2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.02em; line-height: 1.3;
  margin: 0;
}
.vp-line1 .plain { color: #6b82a0; }
.vp-line2 .grad {
  background: linear-gradient(135deg,#3b9bff,#8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ABOUT ── */
#about {
  padding: 80px 24px;
  max-width: 820px; margin: 0 auto; text-align: center;
}
.about-h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 28px;
}
.about-p {
  font-size: 16px; color: #8aaecc; line-height: 1.8;
  margin-bottom: 20px;
}
.about-p strong { color: #fff; font-weight: 500; }

/* ── FEATURES ── */
#features {
  padding: 60px 24px 100px;
  max-width: 1100px; margin: 0 auto;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.feat-item {
  text-align: center; padding: 24px 16px;
}
.feat-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: rgba(59,155,255,0.08);
  border: 1px solid rgba(59,155,255,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg {
  width: 28px; height: 28px;
  stroke: #5aacff; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.feat-label {
  color: #fff; font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; line-height: 1.4;
}

.section-divider {
  display: flex; align-items: center; gap: 12px;
  margin-top: 60px;
}
.divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,155,255,0.3), transparent);
}
.divider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3b9bff;
}

/* ── SIGNUP / INTEREST LIST ── */
#signup {
  padding: 80px 24px 100px;
  max-width: 800px; margin: 0 auto;
}
.signup-form-wrap { text-align: center; }
.signup-h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.signup-sub {
  font-size: 16px; color: #8aaecc; line-height: 1.7;
  margin-bottom: 36px;
}

#signupForm {
  background: rgba(7,20,40,0.6);
  border: 1px solid rgba(59,155,255,0.12);
  border-radius: 16px;
  padding: 28px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px; margin-bottom: 16px;
}
.field-wrap { display: flex; flex-direction: column; gap: 6px; }
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: #e8f0fe;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 300;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-input::placeholder { color: #374d6a; }
.form-input:focus {
  border-color: rgba(59,155,255,0.5);
  background: rgba(59,155,255,0.05);
  box-shadow: 0 0 0 3px rgba(59,155,255,0.08);
}
.form-input.error { border-color: #f87171; }
.field-error {
  font-size: 11px; color: #f87171;
  display: none; text-align: left; padding-left: 4px;
}
.field-error.show { display: block; }

.btn-join {
  width: 100%; max-width: 360px;
  padding: 16px;
  background: linear-gradient(135deg,#2d78f5,#7c4fea);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  border: none; border-radius: 12px;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 28px rgba(45,120,255,0.35);
}
.btn-join:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-join:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-tcpa {
  font-size: 11px; color: #3d5572;
  line-height: 1.65; text-align: center;
  margin-top: 18px; padding: 14px 16px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.form-tcpa strong { color: #4a6a90; }
.form-tcpa a {
  color: #4a72a0; text-decoration: underline;
  text-decoration-color: rgba(74,114,160,0.4);
}
.form-tcpa a:hover { color: #3b9bff; }

.form-success {
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.success-check {
  width: 64px; height: 64px;
  background: rgba(74,222,128,0.15);
  border: 1.5px solid rgba(74,222,128,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px; color: #4ade80;
}
.form-success h3 {
  color: #fff; font-size: 22px; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.form-success p { color: #8aaecc; font-size: 14px; }

.form-error-msg {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fca5a5; font-size: 13px;
  text-align: center; margin-top: 14px;
}

/* ── FOOTER ── */
#velora-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px; text-align: center;
  background: #03091a;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo a { display: inline-block; text-decoration: none; }
.footer-logo img, .footer-logo .custom-logo {
  height: 36px; width: auto; display: inline-block;
}
.footer-logo-text {
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: 0.05em;
}
.footer-links {
  display: flex; justify-content: center; gap: 28px;
  list-style: none; margin: 0 0 14px; padding: 0;
}
.footer-links a {
  color: #3b9bff; font-size: 12px; text-decoration: none;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: #6b82a0; opacity: 0.6; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  #velora-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero { padding: 100px 20px 60px; }
  .form-row { grid-template-columns: 1fr; }
  #velora-footer { padding: 32px 20px 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ── AGENT LOGIN LINK (nav top-right) ── */
.nav-agent-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: #a0bedd !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.nav-agent-link:hover {
  background: rgba(59,155,255,0.1);
  border-color: rgba(59,155,255,0.35);
  color: #fff !important;
}
