/* MiningPilot Landing — "Calm Professional" */
/* Palette: Indigo #4F46E5, Slate #1E293B, Teal #14B8A6, Sky #0EA5E9 */

:root {
  --primary: #4F46E5;
  --primary-light: #818CF8;
  --secondary: #1E293B;
  --accent: #14B8A6;
  --accent-blue: #0EA5E9;
  --bg: #FFFFFF;
  --bg-dark: #0F172A;
  --bg-light: #F8FAFC;
  --text: #1E293B;
  --text-dim: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
}

body {
  font-family: 'Rubik', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Rubik', sans-serif;
}

.red { color: var(--primary); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
}

.header-inner { display: flex; align-items: center; gap: 32px; }
.logo { flex-shrink: 0; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-dim); transition: color 0.2s; }
.nav a:hover { color: var(--primary); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 768px) {
  .nav { display: none; }
  .header .btn-sm { display: none; }
  .burger { display: flex; }
}

.mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0; background: var(--bg);
  padding: 20px; z-index: 99; transform: translateY(-100%); opacity: 0;
  transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.mobile-menu.active { transform: translateY(0); opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu nav a { font-size: 1.1rem; font-weight: 600; padding: 8px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
  background: #4338CA;
  box-shadow: 0 6px 25px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-outline-red {
  border: 2px solid var(--primary); color: var(--primary);
  border-radius: 10px;
}
.btn-outline-red:hover {
  background: var(--primary); color: white;
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.3); color: white;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ===== COMPACT SECTIONS ===== */
.section { padding: 56px 0; }
@media (max-width: 768px) { .section { padding: 40px 0; } }

/* ===== HERO ===== */
.hero {
  padding: 120px 0 56px;
  background: var(--bg);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem; color: var(--text-dim); line-height: 1.7;
  margin-bottom: 20px; max-width: 460px;
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
}

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}

.tag {
  padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3px;
  background: rgba(79, 70, 229, 0.06); color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.12);
}

.hero-tags { margin-bottom: 24px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative; width: 100%; max-width: 520px; margin: 0 auto;
}

.hero-device-img {
  width: 100%; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.15);
}

.hero-orbit {
  position: absolute; top: -20px; left: -20px;
  width: calc(100% + 40px); height: calc(100% + 40px);
  pointer-events: none;
}

.hero-badges-row {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 16px; flex-wrap: wrap;
}

.hero-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 600; color: var(--text);
}

.hero-illustration {
  width: 100%; max-width: 400px; margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 16px;
  letter-spacing: -0.02em; line-height: 1.2;
}

.section-subtitle {
  text-align: center; color: var(--text-dim); font-size: 1rem; margin-bottom: 36px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== FEATURES ===== */
.features { background: var(--bg-light); }

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

.feature-card {
  padding: 32px; background: var(--bg); border-radius: 16px;
  border: 1px solid var(--border); transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.feature-card.featured {
  background: var(--bg-dark); color: white; border-color: var(--bg-dark);
}

.feature-card.featured p { color: rgba(255,255,255,0.7); }

.feature-icon-wrap {
  width: 48px; height: 48px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.red-bg { background: rgba(79, 70, 229, 0.08); }
.dark-bg { background: rgba(141, 153, 174, 0.15); }

.feature-icon-wrap svg { width: 32px; height: 32px; }

.feature-badge {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(20, 184, 166, 0.15); color: #14B8A6;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: 'Rubik', sans-serif; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { color: var(--text-dim); line-height: 1.6; font-size: 0.95rem; }

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

/* ===== COMPLIANCE ===== */
.compliance-section {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 50%, #0C1222 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.compliance-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.compliance-section::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.compliance-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  background: rgba(129, 140, 248, 0.2); color: #A5B4FC;
  margin-bottom: 16px; border: 1px solid rgba(129, 140, 248, 0.2);
}

.compliance-section .section-title { color: white; }
.compliance-section .section-subtitle { color: rgba(255,255,255,0.7); }

.compliance-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  position: relative; z-index: 1;
}

.compliance-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.compliance-card:hover {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.compliance-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; color: var(--primary); opacity: 0.5; margin-bottom: 12px;
}

.compliance-icon {
  width: 52px; height: 52px; margin-bottom: 16px;
  background: rgba(129, 140, 248, 0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}

.compliance-icon svg { width: 36px; height: 36px; }

.compliance-card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: white;
}

.compliance-card p { color: rgba(255,255,255,0.65); line-height: 1.7; font-size: 0.95rem; }

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

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg); }

.steps-row {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
}

.step-block {
  text-align: center; flex: 1; max-width: 280px; padding: 0 20px;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; color: var(--primary); opacity: 0.2; margin-bottom: 12px;
}

.step-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
}

.step-block h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
}

.step-block p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }

.step-arrow { width: 40px; flex-shrink: 0; margin-top: 40px; }

@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: center; gap: 24px; }
  .step-arrow { transform: rotate(90deg); margin-top: 0; }
}

/* ===== SPECS ===== */
.specs-section { background: var(--bg-light); }

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

.spec-block {
  padding: 24px; text-align: center;
  border: 2px solid var(--border); border-radius: 14px;
  transition: all 0.3s ease;
}

.spec-block:hover {
  border-color: var(--primary);
}

.spec-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; color: var(--primary); margin-bottom: 4px;
}

.spec-block span {
  font-size: 0.85rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PRICING ===== */
.pricing { background: var(--bg); }

.pricing-cta {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 0;
  max-width: 800px; margin: 0 auto;
  border: 2px solid var(--border); border-radius: 8px; overflow: hidden;
}

.pricing-left {
  padding: 40px; border-right: 2px solid var(--border);
}

.pricing-left h3 {
  font-family: 'Rubik', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 20px;
}

.pricing-left ul { display: flex; flex-direction: column; gap: 10px; }

.pricing-left li {
  font-size: 0.95rem; padding-left: 20px; position: relative; color: var(--text);
}

.pricing-left li::before {
  content: '+'; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}

.pricing-right {
  padding: 40px; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  background: var(--bg-light);
}

.pricing-note {
  color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px;
}

@media (max-width: 768px) {
  .pricing-cta { grid-template-columns: 1fr; }
  .pricing-left { border-right: none; border-bottom: 2px solid var(--border); }
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-light); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { color: var(--text); }
.faq-question:hover { color: var(--primary); }
.faq-answer p { color: var(--text-dim); line-height: 1.7; }

/* ===== CTA FOOTER ===== */
.cta-footer {
  background: var(--bg-dark); color: white; text-align: center;
}

.cta-inner h2 { font-size: 2rem; margin-bottom: 16px; color: white; letter-spacing: -0.02em; }
.cta-inner p { color: rgba(255,255,255,0.6); margin-bottom: 28px; font-size: 1.05rem; }

/* ===== TAG HIGHLIGHT ===== */
.tag-highlight {
  background: var(--primary); color: white;
  border-color: var(--primary); font-size: 0.85rem;
}

.disclaimer-link { color: inherit; text-decoration: none; }
.feature-card .disclaimer-link { color: var(--primary); }

/* ===== SECURITY ===== */
.security-section { background: var(--bg-light); }

.security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-bottom: 32px;
}

.security-card {
  padding: 32px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.3s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.security-icon-wrap {
  width: 48px; height: 48px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(79, 70, 229, 0.08);
}

.security-icon-wrap svg { width: 32px; height: 32px; }

.security-card h3 {
  font-family: 'Rubik', sans-serif; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px;
}

.security-card p { color: var(--text-dim); line-height: 1.6; font-size: 0.95rem; }

.security-footer { text-align: center; margin-top: 16px; }

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

/* ===== SECURITY DETAIL PAGE ===== */
.security-detail {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 20px;
}

.security-detail-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.security-detail-icon svg { width: 48px; height: 48px; }

.security-detail-content h2 {
  font-family: 'Rubik', sans-serif; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 12px; color: var(--text);
}

.security-detail-content p {
  color: var(--text-dim); line-height: 1.7; font-size: 0.95rem;
  margin-bottom: 12px;
}

.security-detail-content p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .security-detail { flex-direction: column; }
}

/* ===== PRICING PRICES ===== */
.price-label {
  display: inline-block; padding: 4px 12px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  background: rgba(79, 70, 229, 0.1); color: var(--primary);
  margin-bottom: 12px;
}

.price-regular {
  font-size: 1.1rem; color: var(--text-dim);
  text-decoration: line-through; margin-bottom: 4px;
}

.price-preorder {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; color: var(--primary);
  margin-bottom: 16px;
}

/* ===== PREORDER FORM ===== */
.preorder-section { background: var(--bg); }

.preorder-form-wrap {
  max-width: 500px; margin: 0 auto;
  padding: 40px; background: var(--bg-light);
  border: 2px solid var(--border); border-radius: 12px;
}

.preorder-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
}

.form-group input {
  padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 1rem; transition: border-color 0.2s;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary);
}

.form-group select {
  padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 1rem; transition: border-color 0.2s;
  background: var(--bg); color: var(--text);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.radio-group {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}

.radio-label {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 2px solid var(--border);
  border-radius: 8px; cursor: pointer; transition: all 0.2s;
  font-size: 0.9rem; color: var(--text);
}

.radio-label:hover { border-color: var(--primary); }

.radio-label input[type="radio"] {
  accent-color: var(--primary); cursor: pointer;
}

.radio-label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.04);
}

.checkbox-group {
  display: flex; flex-direction: column; gap: 8px;
}

.form-checkbox { flex-direction: row; align-items: center; }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-dim); cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--primary); cursor: pointer; flex-shrink: 0;
}

.checkbox-label a {
  color: var(--primary); text-decoration: underline;
}

.checkbox-label a:hover { color: var(--primary-light); }

.h-captcha { margin: 4px 0; display: flex; justify-content: center; }

.preorder-form input.invalid {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.04);
}

.form-submit-btn { width: 100%; justify-content: center; }

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

.form-error {
  text-align: center; font-size: 0.9rem; color: #DC2626;
  padding: 8px 16px; background: rgba(220, 38, 38, 0.06);
  border-radius: 8px; margin-bottom: 8px;
}

.form-success { text-align: center; padding: 32px; }
.form-success h3 { color: var(--primary); margin-bottom: 8px; font-family: 'Rubik', sans-serif; }
.form-success p { color: var(--text-dim); }

/* ===== FOOTER ===== */
.footer { background: var(--bg); padding: 24px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-text { color: var(--text-dim); font-size: 0.85rem; }
.footer-link { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.footer-link:hover { text-decoration: underline; }

.footer-disclaimer {
  width: 100%; font-size: 0.75rem; color: var(--text-dim);
  margin-top: 12px; text-align: center; font-style: italic;
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== ANIMATIONS & OVERLAPS ===== */

/* Staggered reveal for grid children */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.08s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.16s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.24s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.32s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.4s; }

.compliance-grid .compliance-card:nth-child(1) { transition-delay: 0s; }
.compliance-grid .compliance-card:nth-child(2) { transition-delay: 0.1s; }
.compliance-grid .compliance-card:nth-child(3) { transition-delay: 0.2s; }
.compliance-grid .compliance-card:nth-child(4) { transition-delay: 0.3s; }

.security-grid .security-card:nth-child(1) { transition-delay: 0s; }
.security-grid .security-card:nth-child(2) { transition-delay: 0.1s; }
.security-grid .security-card:nth-child(3) { transition-delay: 0.2s; }
.security-grid .security-card:nth-child(4) { transition-delay: 0.3s; }

/* Overlap: specs overlap into previous section */
.specs-section {
  position: relative; z-index: 2;
  margin-top: -24px;
  border-radius: 24px 24px 0 0;
}

/* Gradient line accent between sections */
.features::after {
  content: ''; display: block; width: 120px; height: 3px; margin: 48px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #4F46E5, #14B8A6, #0EA5E9);
}

.compliance-section .compliance-header::after {
  content: ''; display: block; width: 80px; height: 2px; margin: 20px auto 32px;
  border-radius: 2px;
  background: linear-gradient(90deg, #818CF8, #14B8A6);
}

/* Pulse on feature icons on hover */
.feature-card:hover .feature-icon-wrap {
  animation: pulse-glow 0.6s ease;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.3); }
  70% { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

