/* =========================================================
   Hero Hosters & Hero Builders — Under Construction Theme
   ========================================================= */

:root {
  --orange: #ff6b00;
  --yellow: #facc15;
  --dark: #0b0f19;
  --darker: #070a12;
  --slate: #1e293b;
  --light: #e2e8f0;
  --white: #ffffff;
  --danger: #ef4444;
  --success: #22c55e;
  --accent: #38bdf8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 5px; }

/* =========================================================
   Under-Construction Chrome
   ========================================================= */

.construction-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    45deg,
    var(--orange),
    var(--orange) 20px,
    var(--yellow) 20px,
    var(--yellow) 40px
  );
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}

.construction-banner .marquee {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.construction-banner span {
  padding: 0 2rem;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Top progress bar */
.progress-top {
  position: fixed;
  top: 32px; left: 0; right: 0;
  height: 4px;
  background: var(--slate);
  z-index: 9998;
}

.progress-top .bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  animation: loadProgress 8s ease-in-out infinite;
}

@keyframes loadProgress {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 0%; }
}

/* =========================================================
   Navigation
   ========================================================= */

.nav-wrap {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 900;
  background: rgba(11,15,25,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,107,0,0.15);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.brand svg { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  transition: 0.3s;
}

/* =========================================================
   Hero Section
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.35);
  color: var(--orange);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,0,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(255,107,0,0); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 .highlight { color: var(--orange); }

.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--orange);
  margin-left: 4px;
}

@keyframes blink { 50% { opacity: 0; } }

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8c00);
  color: #000;
  box-shadow: 0 10px 25px rgba(255,107,0,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.15);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary:hover { box-shadow: 0 14px 35px rgba(255,107,0,0.35); }

/* =========================================================
   Construction Decorations
   ========================================================= */

.crane {
  position: absolute;
  z-index: 0;
  opacity: 0.06;
  pointer-events: none;
}

.crane-1 { top: 10%; left: 5%; width: 160px; animation: float 6s ease-in-out infinite; }
.crane-2 { bottom: 15%; right: 5%; width: 140px; animation: float 7s ease-in-out infinite reverse; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.gear-spin {
  position: absolute;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.gear-spin svg { animation: spin 20s linear infinite; width: 200px; height: 200px; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* =========================================================
   Content Sections
   ========================================================= */

.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* Instant Site Promo Band */
.instant-band {
  background: linear-gradient(90deg, rgba(255,107,0,0.08), rgba(250,204,21,0.08));
  border: 1px dashed rgba(255,107,0,0.35);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.instant-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,107,0,0.04) 10px,
    rgba(255,107,0,0.04) 20px
  );
  pointer-events: none;
}

.instant-band h3 {
  color: var(--orange);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: linear-gradient(180deg, rgba(30,41,59,0.6), rgba(15,23,42,0.4));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,0,0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card .icon {
  width: 48px; height: 48px;
  background: rgba(255,107,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.card p { color: #94a3b8; font-size: 0.95rem; }

.card .price-tag {
  margin-top: 1rem;
  font-weight: 800;
  color: var(--orange);
  font-size: 1.05rem;
}

/* Pricing Tables */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: rgba(30,41,59,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: 0.3s;
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 20px 50px rgba(255,107,0,0.12);
  transform: scale(1.02);
}

.pricing-card .plan-name {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-card .plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.pricing-card .plan-price span {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #cbd5e1;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
}

.toggle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--slate);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
}

.toggle-switch.active { background: var(--orange); }

.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.toggle-switch.active .toggle-knob { left: 31px; }

/* =========================================================
   Contact
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(30,41,59,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.contact-row .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,107,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

/* =========================================================
   Reveal on Scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Utilities
   ========================================================= */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.tag { display:inline-block; background:rgba(56,189,248,0.1); color:var(--accent); padding:0.2rem 0.6rem; border-radius:6px; font-size:0.8rem; font-weight:700; margin-right:0.3rem; margin-bottom:0.3rem; }

/* Mobile Nav */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 90px; right: 1rem;
    background: rgba(11,15,25,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hamburger { display: flex; }
}

/* Under-construction tape decorations */
.tape {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  transform: rotate(-2deg);
  font-size: 0.8rem;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.tape-alt {
  background: var(--orange);
  color: #fff;
  transform: rotate(1deg);
}
