/* =============================================
   COLOSSUS — Premium Landing Page
   ============================================= */

:root {
  --navy: #0a1628;
  --green: #05ad36;
  --green-bright: #3ddc84;
  --green-dark: #23ef52;
  --green-glow: rgba(5,173,54,0.4);
  --bg: #f7fafb;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.3);
  --gray-100: #f0f4f7;
  --gray-200: #dce3e8;
  --gray-300: #b8c4ce;
  --gray-500: #6b7c8f;
  --gray-700: #374151;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 4px 24px rgba(10,22,40,0.06);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.1);
  --shadow-green: 0 8px 32px rgba(46,204,113,0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── Ambient Orbs ── */

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.orb-1 { width: 500px; height: 500px; background: rgba(46,204,113,0.12); top: -100px; right: -100px; animation: orbFloat 20s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: rgba(0,210,255,0.08); bottom: 20%; left: -100px; animation: orbFloat 25s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: rgba(46,204,113,0.06); top: 50%; right: 10%; animation: orbFloat 18s ease-in-out infinite 5s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -40px); }
  50% { transform: translate(-20px, 30px); }
  75% { transform: translate(40px, 20px); }
}

/* ── Glass ── */

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


/* ── Scroll Reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s !important;
}
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal:nth-child(7) { transition-delay: 0.36s; }
.reveal:nth-child(8) { transition-delay: 0.42s; }

/* ── Accent Text ── */

.gradient-text {
  color: var(--green);
}


/* ── Navigation ── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(247,250,251,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,227,232,0.5);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--navy); }
.nav-logo-img { height: 34px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { text-decoration: none; color: var(--gray-500); font-size: 14px; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--navy); }
.nav-links a.btn { color: var(--white) !important; font-weight: 800 !important; font-size: 15px !important; }
.nav-links a.btn:hover { color: var(--white) !important; }

/* CA Copy Strip */
.ca-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 20px 0 8px;
}
.ca-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-500);
}
.ca-box {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.ca-box:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(5,173,54,0.1);
  transform: translateY(-1px);
}
.ca-address {
  font-family: 'Inter', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--navy); letter-spacing: 0.5px;
}
.ca-copy-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--green); color: var(--white);
  border: none; border-radius: 50px;
  padding: 5px 14px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.ca-copy-btn:hover { background: var(--green-dark); }
.ca-copy-btn.copied { background: var(--navy); }
.ca-copy-btn svg { flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 800; text-decoration: none;
  cursor: pointer; transition: all var(--transition);
  border: none; position: relative; overflow: hidden;
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-xl { padding: 18px 44px; font-size: 17px; }

.btn-glow-wrap { position: relative; overflow: hidden; }
.btn-glow {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  animation: btnGlow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnGlow {
  0%, 100% { transform: translate(-30%, -30%); }
  50% { transform: translate(30%, 30%); }
}

/* ── Hero ── */

.hero {
  position: relative; padding: 180px 0 120px;
  background: var(--bg);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,204,113,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,204,113,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
}

.hero-inner { text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--green-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px transparent; }
}

.hero-logo {
  height: 130px; width: auto; object-fit: contain;
  margin-bottom: 40px;
  filter: drop-shadow(0 8px 24px rgba(46,204,113,0.2));
}

.hero-title {
  font-size: 72px; font-weight: 900; letter-spacing: 6px;
  color: var(--navy); margin-bottom: 12px; line-height: 1;
}

.hero-subtitle {
  font-size: 44px; font-weight: 900; color: var(--navy);
  line-height: 1.15; margin-bottom: 20px;
}

.hero-desc {
  max-width: 520px; margin: 0 auto 40px;
  font-size: 16px; color: var(--gray-500); line-height: 1.8;
}

.hero-buttons {
  display: flex; gap: 16px; justify-content: center;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 680px; margin: 0 auto;
}

.stat { text-align: center; flex: 1; padding: 0 24px; }

.stat-divider {
  width: 1px; height: 44px; background: var(--gray-200); flex-shrink: 0;
}

.stat-number {
  font-size: 34px; font-weight: 900; color: var(--navy);
  line-height: 1; white-space: nowrap;
}
.stat-unit { font-size: 18px; font-weight: 800; color: var(--green); }
.stat-label { display: block; font-size: 11px; color: var(--gray-500); font-weight: 600; margin-top: 8px; text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }

/* ── Sections ── */

.section { padding: 120px 0; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-badge {
  display: inline-block; padding: 8px 20px;
  background: rgba(46,204,113,0.08); color: var(--green);
  font-size: 13px; font-weight: 700; border-radius: 50px;
  margin-bottom: 20px; letter-spacing: 0.5px; text-transform: uppercase;
}
.section-title { font-size: 44px; font-weight: 900; margin-bottom: 16px; color: var(--navy); line-height: 1.15; }
.section-desc { font-size: 17px; color: var(--gray-500); max-width: 520px; margin: 0 auto; }

/* ── Features ── */

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 32px 24px; border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.feature-card.revealed {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(46,204,113,0.3); }

.feature-icon-wrap {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46,204,113,0.08);
  color: var(--green); border-radius: 14px; margin-bottom: 20px;
}

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

.feature-tag {
  display: inline-block; margin-top: 16px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--gray-100); color: var(--gray-500);
}
.feature-tag.hot { background: rgba(46,204,113,0.1); color: var(--green); }

.feature-card:has(.feature-tag.hot) {
  border-color: rgba(46,204,113,0.3);
}

/* ── Steps (How It Works) ── */

.steps-row {
  display: flex; align-items: stretch; gap: 0;
  max-width: 900px; margin: 0 auto;
}

.step-card {
  flex: 1; padding: 40px 32px; border-radius: var(--radius-lg);
  text-align: center;
}
.step-card.revealed {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(46,204,113,0.3); box-shadow: var(--shadow-lg); }

.step-num {
  font-size: 48px; font-weight: 900; line-height: 1;
  color: var(--green);
  margin-bottom: 20px;
}

.step-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
.step-card code { background: rgba(46,204,113,0.1); color: var(--green-dark); padding: 2px 10px; border-radius: 6px; font-size: 13px; }

.step-line {
  width: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.step-line::after {
  content: ''; width: 100%; height: 2px;
  background: var(--gray-200);
}

/* ── Tier Cards ── */

.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 48px; align-items: start;
}

.tier-card {
  padding: 40px 32px; border-radius: var(--radius-xl);
  transition: all var(--transition); position: relative;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.tier-top { text-align: center; margin-bottom: 24px; }
.tier-name { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-500); margin-bottom: 16px; }

.tier-fee { line-height: 1; margin-bottom: 4px; }
.tier-fee-num { font-size: 56px; font-weight: 900; }
.tier-fee-pct { font-size: 24px; font-weight: 700; }
.tier-fee-green { color: var(--green); }
.tier-fee-label { font-size: 14px; color: var(--gray-500); }

.tier-divider { height: 1px; background: var(--gray-200); margin: 24px 0; }

.tier-bottom { }
.tier-req { font-size: 14px; font-weight: 600; color: var(--gray-500); margin-bottom: 20px; }
.tier-req.highlight { color: var(--green); }

.tier-bottom ul { list-style: none; }
.tier-bottom li {
  padding: 8px 0 8px 28px; font-size: 14px; color: var(--gray-500);
  position: relative;
}

.tier-bottom li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
}

/* ── Verify Box ── */

.verify-box {
  padding: 48px; border-radius: var(--radius-xl);
}
.verify-box h3 { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 36px; }

.verify-steps { display: flex; align-items: center; justify-content: center; gap: 8px; }

.verify-step { text-align: center; flex: 1; }
.verify-num {
  display: inline-flex; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: var(--green); color: var(--white);
  font-weight: 800; font-size: 14px; border-radius: 50%;
  margin-bottom: 12px;
}
.verify-step p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.verify-arrow { color: var(--gray-300); font-size: 20px; flex-shrink: 0; margin-top: -20px; }

/* ── Trencher Cards ── */

.trencher-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.trencher-card {
  padding: 40px 32px; border-radius: var(--radius-xl);
  text-align: center;
}
.trencher-card.revealed {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.trencher-card:hover { transform: translateY(-6px); border-color: rgba(46,204,113,0.3); box-shadow: var(--shadow-lg); }

.trencher-icon-wrap {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46,204,113,0.08);
  color: var(--green); border-radius: 20px;
  margin: 0 auto 24px;
}

.trencher-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.trencher-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── CTA ── */

.cta-section { background: var(--bg); }
.cta-inner { text-align: center; }
.cta-logo { width: 100px; height: 100px; object-fit: contain; margin-bottom: 28px; filter: drop-shadow(0 8px 24px rgba(46,204,113,0.15)); }
.cta-inner h2 { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.cta-inner > p { font-size: 17px; color: var(--gray-500); max-width: 440px; margin: 0 auto 36px; }

/* ── Footer ── */

.footer { padding: 48px 0; border-top: 1px solid var(--gray-200); }
.footer-inner { }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; letter-spacing: 2px; }
.footer-logo { height: 28px; width: auto; object-fit: contain; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--gray-500); text-decoration: none; font-size: 14px; font-weight: 500; transition: color var(--transition); }
.footer-links a:hover { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.footer-bottom p { font-size: 13px; color: var(--gray-300); }
.ca-mono { font-family: 'SF Mono', 'Fira Code', monospace; background: var(--gray-100); padding: 3px 10px; border-radius: 6px; font-size: 12px; color: var(--gray-500); }

/* ── Responsive ── */

@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
  .trencher-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .steps-row { flex-direction: column; gap: 16px; max-width: 420px; }
  .step-line { width: 100%; height: 20px; }
  .step-line::after { width: 2px; height: 100%; }
  .hero-title { font-size: 52px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat { flex: 1 1 40%; padding: 0; }
  .stat-divider { display: none; }
  .verify-steps { flex-direction: column; gap: 16px; }
  .verify-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(247,250,251,0.95); backdrop-filter: blur(16px);
    flex-direction: column; padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 140px 0 80px; }
  .hero-title { font-size: 40px; letter-spacing: 3px; }
  .hero-subtitle { font-size: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat { flex: 1 1 40%; }
  .stat-value { font-size: 28px; }

  .section { padding: 80px 0; }
  .section-title { font-size: 32px; }
  .section-desc { font-size: 15px; }
  .features-grid { grid-template-columns: 1fr; }

  .verify-box { padding: 28px 20px; }
  .footer-top { flex-direction: column; gap: 20px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
