/* ===========================
   RESET & VARIABLES
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #FF6B35;
  --primary-dark: #e85a22;
  --dark:         #0F172A;
  --dark-2:       #1E293B;
  --mid:          #334155;
  --light:        #F8FAFC;
  --muted:        #64748B;
  --white:        #ffffff;
  --accent:       #3B82F6;
  --border:       #E2E8F0;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 16px 52px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===========================
   REVEAL ANIMATIONS
=========================== */
.fade-up, .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.visible, .reveal.visible { opacity: 1; transform: translateY(0); }
.delay-2 { transition-delay: 0.2s; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(15,23,42,0.97);
  box-shadow: 0 4px 28px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-size: 1.4rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.5px; cursor: default;
}
.logo span { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none; color: #94A3B8;
  font-weight: 500; font-size: 0.95rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 22px; border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-2px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: 0.3s;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}

/* Orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  animation: orbDrift 14s ease-in-out infinite alternate;
}
.orb1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,107,53,0.55), transparent);
  top: -180px; right: -120px; animation-delay: 0s;
}
.orb2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(59,130,246,0.45), transparent);
  bottom: -100px; left: -80px; animation-delay: -5s;
}
.orb3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(139,92,246,0.4), transparent);
  top: 40%; left: 38%; animation-delay: -9s;
}
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(50px,35px) scale(1.18); }
}

/* Particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; background: rgba(255,255,255,0.55); border-radius: 50%;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-140px) scale(0.3); opacity: 0; }
}

/* Hero layout */
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 60px; align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(255,107,53,0.14);
  color: var(--primary);
  border: 1px solid rgba(255,107,53,0.35);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 20px; letter-spacing: 0.3px;
  animation: pulseBadge 2.8s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.hero-text h1 {
  font-size: 3rem; font-weight: 800;
  line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 20px; min-height: 4em;
}
.highlight { color: var(--primary); }

/* Typewriter cursor */
#typewriter::after {
  content: '|';
  animation: blink 0.75s step-end infinite;
  color: var(--primary);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: 1.05rem; color: #94A3B8;
  max-width: 500px; margin-bottom: 36px;
}

.btn-primary {
  display: inline-block; background: var(--primary);
  color: var(--white); padding: 16px 32px;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(255,107,53,0.42);
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

.hero-note { margin-top: 12px; font-size: 0.82rem; color: #475569; }

/* Floating stats card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.card-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.stat-item { padding: 8px 0; }
.card-stat {
  font-size: 2.4rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.card-label { font-size: 0.82rem; color: #94A3B8; margin-top: 4px; }
.hero-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #475569; font-size: 0.75rem; z-index: 2;
  animation: fadeInUp 1.5s ease 1.2s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px; display: flex;
  justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: var(--primary); border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ===========================
   TRUSTED BY — MARQUEE
=========================== */
.social-proof {
  background: var(--dark-2);
  padding: 40px 0 36px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.proof-label {
  text-align: center;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #64748B; margin-bottom: 28px;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-track {
  display: flex; gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.marquee-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px;
  flex-shrink: 0;
}

.brand-logo {
  font-size: 1.05rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: #94A3B8;
  padding: 12px 28px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
}
.brand-logo:hover {
  color: var(--white);
  border-color: var(--primary);
  background: rgba(255,107,53,0.08);
  transform: scale(1.06);
}

/* ===========================
   SERVICES
=========================== */
.services { padding: 100px 0; background: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 12px;
}
.section-sub { color: var(--muted); font-size: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative; overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s, opacity 0.6s, translate 0.6s;
  cursor: default;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover .card-line { width: 100%; }

.card-line {
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s ease;
}

.service-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.service-card h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 10px; color: var(--dark);
}
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ===========================
   WHY US
=========================== */
.why-us { background: var(--light); padding: 100px 0; }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px; align-items: center;
}

.why-text h2 {
  font-size: 2rem; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 28px;
}

.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.why-list li {
  font-size: 0.97rem; font-weight: 500;
  color: var(--dark); display: flex; align-items: flex-start; gap: 10px;
}

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  font-size: 0.95rem; font-style: italic;
  color: var(--mid); box-shadow: var(--shadow);
  line-height: 1.65;
}
.testimonial cite {
  display: block; margin-top: 12px;
  font-style: normal; font-size: 0.82rem;
  font-weight: 700; color: var(--muted);
}

/* Orbit graphic */
.orbit-wrapper {
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}

.orbit-center {
  position: absolute; z-index: 10;
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); font-weight: 800; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 0 28px rgba(255,107,53,0.45);
}
.orbit-center span { color: var(--white); }

.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px dashed rgba(255,107,53,0.25);
  display: flex; align-items: flex-start; justify-content: center;
}
.ring1 { width: 160px; height: 160px; animation: spin1 10s linear infinite; }
.ring2 { width: 230px; height: 230px; animation: spin2 16s linear infinite; }
.ring3 { width: 310px; height: 310px; animation: spin3 22s linear infinite; }

@keyframes spin1 { to { transform: rotate(360deg); } }
@keyframes spin2 { to { transform: rotate(-360deg); } }
@keyframes spin3 { to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute; top: -14px;
  background: var(--dark-2);
  border: 1.5px solid var(--primary);
  color: var(--white); font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; white-space: nowrap;
  letter-spacing: 0.5px;
  /* Counter-rotate text so it stays readable */
}
.dot1 { animation: counterSpin1 10s linear infinite; }
.dot2 { animation: counterSpin2 16s linear infinite; }
.dot3 { animation: counterSpin3 22s linear infinite; }

@keyframes counterSpin1 { to { transform: rotate(-360deg); } }
@keyframes counterSpin2 { to { transform: rotate(360deg); } }
@keyframes counterSpin3 { to { transform: rotate(-360deg); } }

/* ===========================
   SIGNUP FORM
=========================== */
.signup {
  position: relative; overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.form-wrapper {
  max-width: 680px; margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 52px 48px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}

.form-badge {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 14px;
}

.form-header { text-align: center; margin-bottom: 36px; }
.form-header h2 {
  font-size: 1.9rem; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 10px;
}
.form-header p { color: var(--muted); font-size: 0.93rem; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-bottom: 18px;
}

.form-group {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 18px;
}
.form-row .form-group { margin-bottom: 0; }

.form-group label {
  font-size: 0.84rem; font-weight: 600; color: var(--dark);
}
.req { color: var(--primary); }

.form-group input,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem; font-family: 'Inter', sans-serif;
  color: var(--dark); background: var(--white);
  outline: none;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.13);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='[w3.org](http://www.w3.org/2000/svg)' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath stroke='%2364748B' stroke-width='1.5' fill='none' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}

/* Webhook status */
.webhook-status {
  display: none; padding: 12px 16px;
  border-radius: 8px; font-size: 0.88rem;
  font-weight: 500; margin-bottom: 16px;
}
.webhook-status.error {
  display: block;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #b91c1c;
}

/* Submit button */
.btn-submit {
  width: 100%; padding: 16px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 22px rgba(255,107,53,0.38);
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  margin-bottom: 14px;
}
.btn-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,53,0.48);
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Spinner */
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  text-align: center; font-size: 0.79rem; color: var(--muted);
}

/* Success message */
.success-msg {
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 0; gap: 12px;
  animation: successPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes successPop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
.success-icon {
  font-size: 3.5rem;
  animation: successBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}
@keyframes successBounce {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.success-msg h3 {
  font-size: 1.5rem; font-weight: 800; color: var(--dark);
}
.success-msg p { color: var(--muted); font-size: 0.95rem; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark); color: #64748B; padding: 36px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer .logo { color: var(--white); font-size: 1.1rem; }
.footer p { font-size: 0.82rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.82rem; color: #64748B;
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 380px; margin: 0 auto; }
  .hero-text h1 { font-size: 2.3rem; min-height: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .orbit-wrapper { display: none; }
  .form-wrapper { padding: 40px 28px; }
}

@media (max-width: 680px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--dark-2); flex-direction: column; gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; color: #CBD5E1; }
  .btn-nav { margin: 8px 24px; display: block; text-align: center; border-radius: 8px; }

  .hero { padding: 100px 0 80px; }
  .hero-text h1 { font-size: 1.85rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}


.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.13);
}
.form-group textarea::placeholder {
  color: #94A3B8;
}