/* ============================================
   NEPTUNE MINER — DESIGN SYSTEM & STYLES
   ============================================ */

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

:root {
  --bg: #050a14;
  --bg2: #070e1f;
  --bg3: #0b1628;
  --surface: #0f1e35;
  --surface2: #132338;
  --border: rgba(99,179,255,0.10);
  --border2: rgba(99,179,255,0.18);
  --accent: #1a8cff;
  --accent2: #0af;
  --accent3: #5b8fff;
  --neon: #00d4ff;
  --neon2: #7b5cff;
  --text: #e8f0fe;
  --text2: #8ba4c4;
  --text3: #5a7a9c;
  --gold: #f5a623;
  --success: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,100,255,0.12);
  --shadow-lg: 0 20px 60px rgba(0,100,255,0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ---- Selection ---- */
::selection { background: rgba(26,140,255,0.3); color: #fff; }

/* ---- Utility ---- */
.gradient-text {
  background: linear-gradient(135deg, #1a8cff, #00d4ff, #7b5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAV
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem;
  background: rgba(5,10,20,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-text { color: var(--text); }
.logo-accent { color: var(--neon); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin-left: auto;
}
.nav-links a {
  display: block; padding: 0.5rem 0.9rem;
  color: var(--text2); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(26,140,255,0.08); }
.btn-nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--neon2)) !important;
  color: #fff !important; padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(26,140,255,0.3);
}
.btn-nav-cta:hover { box-shadow: 0 0 30px rgba(26,140,255,0.5) !important; transform: translateY(-1px); }

/* Sign In nav button (shown when logged out) */
.nav-signin-btn {
  border: 1px solid rgba(100,200,255,0.35) !important;
  border-radius: 6px !important;
  padding: 0.3rem 0.9rem !important;
  color: #7dd3fc !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-signin-btn:hover {
  background: rgba(100,200,255,0.1) !important;
  border-color: rgba(100,200,255,0.6) !important;
  color: #bae6fd !important;
}

/* Cart icon in nav */
.nav-cart-btn {
  position: relative; display: flex; align-items: center;
  padding: 0.4rem 0.7rem !important;
  color: var(--text2) !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-cart-btn:hover { color: var(--neon) !important; background: rgba(26,140,255,0.08) !important; }
.cart-count-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--neon2));
  color: #fff; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: var(--transition); }

/* ============================================
   BUTTONS (GLOBAL)
   ============================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--neon2));
  color: #fff; font-weight: 600; font-size: 0.95rem;
  border: none; border-radius: 50px; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(26,140,255,0.35);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,140,255,0.5); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text2); font-weight: 500; font-size: 0.95rem;
  border: 1px solid var(--border2); border-radius: 50px; cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: rgba(26,140,255,0.08); }

/* ============================================
   SECTIONS (SHARED)
   ============================================ */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.section-header p { color: var(--text2); max-width: 600px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }

.section-tag {
  display: inline-block; margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(26,140,255,0.1); border: 1px solid rgba(26,140,255,0.3);
  border-radius: 50px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent2);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 9rem 2rem 6rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26,140,255,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 20%, rgba(123,92,255,0.06) 0%, transparent 60%);
}
/* HERO INNER: constrains and centers content */
.hero-inner {
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 4rem;
  position: relative; z-index: 2;
}
.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50px; font-size: 0.8rem; font-weight: 500; color: var(--neon);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.3); } }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero-subtitle { font-size: 1.15rem; color: var(--text2); line-height: 1.7; margin-bottom: 2.5rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.stat { padding: 0 1.5rem; }
.stat:first-child { padding-left: 0; }
.stat-val { display: block; font-size: 1.5rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; color: var(--text); }
.stat-label { display: block; font-size: 0.75rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.stat-sep { width: 1px; height: 40px; background: var(--border2); }

.hero-image-wrap {
  flex: 1; max-width: 600px;
  position: relative; z-index: 2; display: flex; justify-content: center;
}
.hero-glow {
  position: absolute; inset: -20%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26,140,255,0.2), transparent 70%);
  pointer-events: none;
}
.hero-image {
  width: 100%; max-width: 560px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s ease;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Particles */
.hero-bg-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,140,255,0.6), transparent);
  animation: drift linear infinite;
  opacity: 0;
}
@keyframes drift { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 0.5; } 90% { opacity: 0.2; } 100% { transform: translateY(-10vh) scale(1); opacity: 0; } }

/* ============================================
   MODELS / CAROUSEL
   ============================================ */
.models-section { background: var(--bg2); }

/* Viewport clips the scrolling track */
.carousel-viewport { position: relative; overflow: hidden; padding: 1rem 0 3rem; }
.carousel-track {
  display: flex; gap: 1.5rem;
  will-change: transform;
  /* no transition -- driven by requestAnimationFrame */
}

/* Coin tags on cards */
.card-coins { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }
.coin-tag {
  padding: 0.2rem 0.6rem; border-radius: 50px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--neon); text-transform: uppercase;
}

.miner-card {
  flex: 0 0 calc((100% - 3rem) / 2.5);
  min-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.miner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26,140,255,0.4);
  box-shadow: 0 20px 50px rgba(26,140,255,0.2);
}

.card-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: 0.3rem 0.8rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--neon2));
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
}
.badge-pro { background: linear-gradient(135deg, #7b5cff, #c026d3) !important; }
.badge-elite { background: linear-gradient(135deg, #f5a623, #ef4444) !important; }

.card-img-wrap {
  height: 220px; overflow: hidden;
  background: var(--bg3);
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.miner-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-body { padding: 1.5rem; }
.card-model {
  font-size: 1.25rem; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; margin-bottom: 0.25rem;
}
.card-tagline { font-size: 0.82rem; color: var(--text3); margin-bottom: 1.25rem; }

.card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.spec {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.spec-icon { font-size: 0.9rem; }
.spec-label { font-size: 0.65rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-val { font-size: 0.85rem; font-weight: 600; color: var(--text); }

.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price {
  font-size: 1.6rem; font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.btn-card {
  padding: 0.6rem 1.25rem;
  background: rgba(26,140,255,0.12); border: 1px solid rgba(26,140,255,0.3);
  color: var(--accent2); font-weight: 600; font-size: 0.82rem;
  border-radius: 50px; cursor: pointer;
  transition: all var(--transition);
}
.btn-card:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 16px rgba(26,140,255,0.4); }

.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border2);
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 16px rgba(26,140,255,0.4); }

.carousel-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border2); border: none; cursor: pointer;
  transition: all var(--transition);
}
.dot.active { width: 24px; border-radius: 4px; background: var(--accent); }

/* ============================================
   NEPTUNE COIN
   ============================================ */
.neptune-section { background: var(--bg); }
.neptune-inner {
  display: flex; align-items: center; gap: 5rem; flex-wrap: wrap;
}

/* Token cards (NPT / XNT) */
.coin-tokens { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.token-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.2rem;
  background: rgba(26,140,255,0.05); border: 1px solid rgba(26,140,255,0.2);
  border-radius: var(--radius); flex: 1; min-width: 160px;
  transition: border-color var(--transition), transform var(--transition);
}
.token-card:hover { border-color: rgba(26,140,255,0.4); transform: translateY(-3px); }
.token-symbol {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: #fff; letter-spacing: 0.04em;
}
.token-symbol.xnt { background: linear-gradient(135deg, var(--neon2), #c026d3); }
.token-info { display: flex; flex-direction: column; }
.token-info strong { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.token-info span { font-size: 0.75rem; color: var(--text3); margin-top: 2px; }
.neptune-image-col { flex: 1; min-width: 300px; position: relative; }
.neptune-img-wrap { position: relative; }
.neptune-glow {
  position: absolute; inset: -15%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,100,255,0.2), rgba(123,92,255,0.1), transparent 70%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
.neptune-img-wrap img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(26,140,255,0.2);
  position: relative; z-index: 1;
}
.neptune-text-col { flex: 1; min-width: 320px; }
.neptune-text-col h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; margin-bottom: 1.25rem; }
.neptune-lead { font-size: 1.1rem; color: var(--text); margin-bottom: 1rem; line-height: 1.7; }
.neptune-body { font-size: 0.95rem; color: var(--text2); line-height: 1.8; margin-bottom: 1.75rem; }
.neptune-highlights { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.highlight-pill {
  padding: 0.4rem 1rem;
  background: rgba(26,140,255,0.08); border: 1px solid rgba(26,140,255,0.2);
  border-radius: 50px; font-size: 0.8rem; font-weight: 500; color: var(--accent2);
  transition: all var(--transition);
}
.highlight-pill:hover { background: rgba(26,140,255,0.15); border-color: var(--accent); }

/* ============================================
   HOSTING
   ============================================ */
.hosting-section { background: var(--bg2); }
.hosting-layout {
  display: flex; gap: 4rem; align-items: flex-start; flex-wrap: wrap;
}
.hosting-image {
  flex: 1; min-width: 280px; max-width: 460px; position: relative;
}
.hosting-glow {
  position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26,140,255,0.15), transparent 70%);
  pointer-events: none;
}
.hosting-image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.hosting-plans {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.hosting-plan {
  width: 100%;
  padding: 2rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.hosting-plan:hover { transform: translateY(-6px); border-color: var(--border2); }
.plan-featured {
  border-color: rgba(26,140,255,0.4) !important;
  background: linear-gradient(135deg, rgba(26,140,255,0.05), var(--surface)) !important;
  box-shadow: 0 0 40px rgba(26,140,255,0.12);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 1rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--neon2));
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; white-space: nowrap;
}
.plan-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.hosting-plan h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-price {
  font-size: 2rem; font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1.25rem;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text3); -webkit-text-fill-color: var(--text3); }
.plan-features { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-features li { font-size: 0.85rem; color: var(--text2); }
.btn-plan {
  display: block; width: 100%; text-align: center;
  padding: 0.7rem 1rem;
  background: rgba(26,140,255,0.1); border: 1px solid var(--border2);
  color: var(--accent2); font-weight: 600; font-size: 0.85rem;
  border-radius: 50px; cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.btn-plan:hover { background: rgba(26,140,255,0.2); border-color: var(--accent); }
.btn-plan-primary {
  background: linear-gradient(135deg, var(--accent), var(--neon2)) !important;
  color: #fff !important; border: none !important;
  box-shadow: 0 4px 20px rgba(26,140,255,0.3);
}
.btn-plan-primary:hover { box-shadow: 0 8px 30px rgba(26,140,255,0.5) !important; }

.hosting-note {
  margin-top: 2.5rem; text-align: center;
  font-size: 0.82rem; color: var(--text3);
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: rgba(26,140,255,0.35); box-shadow: 0 4px 20px rgba(26,140,255,0.1); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none; border: none; color: var(--text);
  font-size: 0.97rem; font-weight: 600; cursor: pointer; text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent2); }
.faq-chevron {
  flex-shrink: 0; font-size: 1.2rem;
  transition: transform 0.35s ease;
  color: var(--text3);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.faq-a p { padding: 0 1.5rem 1.5rem; font-size: 0.9rem; color: var(--text2); line-height: 1.8; }
.faq-a ul { padding: 0 1.5rem 1.25rem 3rem; }
.faq-a li { font-size: 0.9rem; color: var(--text2); line-height: 1.8; margin-bottom: 0.35rem; }
.faq-a a { color: var(--accent2); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--bg2); }
.contact-layout { display: flex; gap: 4rem; align-items: flex-start; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: rgba(26,140,255,0.35); transform: translateX(6px); }
.contact-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.contact-card p { font-size: 0.85rem; color: var(--text2); margin-bottom: 0.6rem; line-height: 1.6; }
.contact-card a { font-size: 0.85rem; color: var(--accent2); text-decoration: none; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }

.contact-form {
  flex: 2; min-width: 320px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-row { display: flex; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; flex: 1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 1rem;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 0.9rem;
  font-family: inherit; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,140,255,0.1);
}
.form-group select option { background: var(--surface); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form-success {
  display: none; margin-top: 1rem; text-align: center;
  padding: 0.9rem; border-radius: var(--radius-sm);
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: var(--success); font-size: 0.9rem; font-weight: 500;
}
.form-success.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #030810;
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-top {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 4rem; flex-wrap: wrap;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.footer-brand { flex: 1.5; min-width: 260px; }
.footer-logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: 0.87rem; color: var(--text3); line-height: 1.7; margin-bottom: 1.5rem; max-width: 340px; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(26,140,255,0.4); transform: translateY(-2px); }

.footer-links { flex: 2; display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.85rem; color: var(--text3); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent2); }

.footer-bottom {
  max-width: 1280px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text3); }

/* ============================================
   PRODUCT MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,8,16,0.85); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.product-modal {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); max-width: 920px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: flex; gap: 0; flex-wrap: wrap;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .product-modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text2); font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,80,80,0.15); border-color: rgba(255,80,80,0.4); color: #ff5050; }

.product-gallery {
  flex: 1; min-width: 280px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--bg3); border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.gallery-main {
  flex: 1; border-radius: var(--radius);
  overflow: hidden; background: var(--bg2);
  min-height: 240px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 56px; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent); box-shadow: 0 0 12px rgba(26,140,255,0.4); }

.product-info { flex: 1.2; min-width: 280px; padding: 2.5rem; display: flex; flex-direction: column; }
.product-meta { margin-bottom: 1rem; }
.product-badge-tag {
  display: inline-block; padding: 0.25rem 0.75rem; margin-bottom: 0.75rem;
  border-radius: 50px; font-size: 0.7rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--neon2)); color: #fff;
}
.product-badge-tag:empty { display: none; }
.product-info h2 { font-size: 1.7rem; font-family: 'Space Grotesk', sans-serif; font-weight: 800; margin-bottom: 0.25rem; }
#product-tagline { font-size: 0.88rem; color: var(--text3); margin-bottom: 1rem; }
.product-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.8; margin-bottom: 1.5rem; }

.product-specs-table-wrap {
  flex: 1;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 1.5rem;
}
.product-specs-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.product-specs-table tr { border-bottom: 1px solid var(--border); }
.product-specs-table tr:last-child { border-bottom: none; }
.product-specs-table td { padding: 0.65rem 1rem; }
.product-specs-table td:first-child { color: var(--text3); font-weight: 600; width: 45%; background: rgba(255,255,255,0.02); }
.product-specs-table td:last-child { color: var(--text); font-weight: 500; }

.product-order {}
.product-price-large {
  font-size: 2.2rem; font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1rem;
}
.order-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.qty-control {
  display: flex; align-items: center; gap: 0;
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 50px; overflow: hidden;
}
.qty-control button {
  width: 38px; height: 38px; background: none; border: none;
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  transition: background var(--transition);
}
.qty-control button:hover { background: rgba(26,140,255,0.15); }
.qty-control span { font-weight: 700; font-size: 1rem; padding: 0 0.75rem; min-width: 36px; text-align: center; }
.btn-add-cart { flex: 1; justify-content: center; }

.product-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem; color: var(--text3);
}
.product-trust span {
  padding: 0.3rem 0.7rem;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 50px;
}

/* ============================================
   LEGAL MODAL
   ============================================ */
.legal-modal {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); max-width: 760px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: 3rem; position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}
.legal-overlay.active .legal-modal { transform: scale(1) translateY(0); }
.legal-content h2 { font-size: 1.8rem; font-family: 'Space Grotesk', sans-serif; font-weight: 800; margin-bottom: 0.5rem; }
.legal-content .legal-date { color: var(--text3); font-size: 0.82rem; margin-bottom: 2rem; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--accent2); }
.legal-content p { font-size: 0.88rem; color: var(--text2); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content ul li { font-size: 0.88rem; color: var(--text2); line-height: 1.8; }
/* Email links inside legal text must be white and legible */
.legal-content a { color: #ffffff !important; text-decoration: underline; }
.legal-content a:hover { color: var(--neon) !important; }

/* ============================================
   CART TOAST
   ============================================ */
.cart-toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.5rem;
  background: var(--surface); border: 1px solid rgba(34,197,94,0.4);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transform: translateX(calc(100% + 2.5rem));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-toast.show { transform: translateX(0); }
.cart-toast-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4);
  color: var(--success); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cart-toast-text { display: flex; flex-direction: column; font-size: 0.85rem; }
.cart-toast-text strong { color: var(--text); margin-bottom: 2px; }
.cart-toast-text span { color: var(--text3); font-size: 0.78rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-inner { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; padding-top: 2rem; }
  .hero-image-wrap { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-content { max-width: 100%; }
  .neptune-inner { flex-direction: column; gap: 3rem; }
  .hosting-layout { flex-direction: column; }
  .hosting-plans { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { flex-direction: column; }
  .form-row { flex-direction: column; }
  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-links { gap: 2rem; }
  .miner-card { flex: 0 0 85%; min-width: 280px; }
  .coin-tokens { flex-direction: column; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1.25rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(7,14,31,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem; gap: 0.25rem; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 8rem 1.25rem 4rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .hosting-plans { grid-template-columns: 1fr; }
  .carousel-viewport { max-width: 100vw; }
  .contact-form { padding: 1.5rem; }
  .stat-sep { display: none; }
  .stat { padding: 0.5rem 0.75rem; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .legal-modal { padding: 2rem 1.25rem; }
  .miner-card { flex: 0 0 92%; min-width: 0; }
  .card-specs { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .neptune-highlights { gap: 0.5rem; }
  .highlight-pill { font-size: 0.75rem; }
  .section-header h2 { font-size: 1.7rem; }
}

/* ============================================
   LIGHT SECTIONS — alternating with dark
   Applied to: #neptune (.neptune-section)
               #faq     (.faq-section)
   ============================================ */
.section-light {
  background: #f0f6ff !important;
  color: #0d1b2e;
}

/* Text overrides */
.section-light .section-header h2 { color: #0d1b2e; }
.section-light .section-header p   { color: #3d5a80; }
.section-light .section-tag {
  background: rgba(26,140,255,0.1);
  border-color: rgba(26,140,255,0.3);
  color: var(--accent);
}
.section-light .gradient-text {
  background: linear-gradient(135deg, #0f6fd4, #0090bf, #5040c0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Neptune section */
.section-light .neptune-text-col h2    { color: #0d1b2e; }
.section-light .neptune-lead           { color: #1a2e45; }
.section-light .neptune-body           { color: #3d5a80; }
.section-light .neptune-img-wrap img   { box-shadow: 0 24px 64px rgba(0,60,140,0.15); }
.section-light .neptune-glow {
  background: radial-gradient(ellipse, rgba(0,80,200,0.12), rgba(60,30,200,0.06), transparent 70%);
}

/* Token cards on light bg */
.section-light .token-card {
  background: rgba(26,140,255,0.06);
  border-color: rgba(26,140,255,0.2);
}
.section-light .token-card:hover { border-color: rgba(26,140,255,0.45); }
.section-light .token-info strong { color: #0d1b2e; }
.section-light .token-info span   { color: #3d5a80; }

/* Highlight pills on light bg */
.section-light .highlight-pill {
  background: rgba(26,140,255,0.08);
  border-color: rgba(26,140,255,0.2);
  color: #0f6fd4;
}
.section-light .highlight-pill:hover {
  background: rgba(26,140,255,0.14);
  border-color: rgba(26,140,255,0.4);
}

/* Ghost button on light bg */
.section-light .btn-ghost {
  color: #3d5a80;
  border-color: rgba(26,140,255,0.3);
}
.section-light .btn-ghost:hover {
  color: #0d1b2e;
  border-color: var(--accent);
  background: rgba(26,140,255,0.08);
}

/* FAQ on light bg */
.section-light .faq-item {
  background: #ffffff;
  border-color: rgba(26,140,255,0.12);
  box-shadow: 0 2px 10px rgba(0,50,130,0.06);
}
.section-light .faq-item.open {
  border-color: rgba(26,140,255,0.35);
  box-shadow: 0 4px 20px rgba(26,140,255,0.1);
}
.section-light .faq-q { color: #0d1b2e; }
.section-light .faq-q:hover { color: var(--accent); }
.section-light .faq-chevron { color: #6b8ab0; }
.section-light .faq-item.open .faq-chevron { color: var(--accent); }
.section-light .faq-a p { color: #3d5a80; }
.section-light .faq-a a { color: var(--accent); }


/* ── Models Grid (2-product layout) ── */
.models-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.models-grid .miner-card {
  flex: 0 0 340px;
  max-width: 380px;
}
@media (max-width: 820px) {
  .models-grid { flex-direction: column; align-items: center; }
  .models-grid .miner-card { flex: 0 0 auto; width: 100%; max-width: 400px; }
}
