/* ============================================================
   OneTimeSEO — Premium Dark Theme
   ============================================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --bg-elevated: #0d1117;
  --border: #1e1e1e;
  --border-subtle: #161616;
  --accent-cyan: #00d4ff;
  --accent-green: #00ff88;
  --accent-purple: #a78bfa;
  --accent-orange: #ff8800;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #8899aa;
  --text-faint: #445566;
  --danger: #ff4455;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }

/* ─── Accessibility ───────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-cyan);
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
}

/* ─── Typography ──────────────────────────────────────────── */

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ──────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: #080808;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Navigation ──────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent-cyan);
}

/* ─── Hero ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 212, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-content {
  max-width: 560px;
}

.hero-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

/* ─── Form Card ───────────────────────────────────────────── */

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  max-width: 520px;
  animation: fadeUp 0.5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.form-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder {
  color: #334455;
}

.form-group input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input.error {
  border-color: var(--danger);
}

.form-error {
  background: rgba(255, 68, 85, 0.1);
  border: 1px solid rgba(255, 68, 85, 0.3);
  border-radius: 8px;
  color: #ff8899;
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
}

/* ─── Buttons ─────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00d4ff, #00ff88);
  color: #000;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.btn-full {
  width: 100%;
}

.btn-large {
  font-size: 17px;
  padding: 18px 36px;
}

/* Button spinner */
.btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-spinner[hidden] {
  display: none;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

/* ─── Social Proof ────────────────────────────────────────── */

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.proof-avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  margin-left: -8px;
}

.proof-avatars .avatar:first-child { margin-left: 0; }

.social-proof p {
  font-size: 13px;
  color: var(--text-muted);
}

.social-proof strong {
  color: var(--text-secondary);
}

/* ─── Success Card ────────────────────────────────────────── */

.success-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: 520px;
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.08);
  animation: fadeUp 0.5s ease both;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  border-radius: 50%;
  color: #000;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.success-message {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.success-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0d0d0d;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  color: var(--text-faint);
  font-size: 14px;
  transition: all 0.4s ease;
}

.success-step.active {
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.success-step.done {
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.05);
}

.step-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* ─── Features Grid ───────────────────────────────────────── */

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Steps ───────────────────────────────────────────────── */

.steps-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  border-radius: 50%;
  color: #000;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-divider {
  font-size: 24px;
  color: var(--text-faint);
  flex-shrink: 0;
}

.steps-cta {
  text-align: center;
}

/* ─── Trust Bar ───────────────────────────────────────────── */

.trust-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-icon {
  font-size: 16px;
}

/* ─── Packages ────────────────────────────────────────────── */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto 24px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-card.package-featured {
  background: linear-gradient(180deg, #0d1a2a 0%, #0a1628 100%);
  border: 2px solid var(--accent-green);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.08);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.package-header {
  margin-bottom: 24px;
}

.package-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.package-featured .price-amount {
  color: var(--accent-green);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.package-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.package-features {
  list-style: none;
  margin-bottom: 24px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-secondary);
}

.package-features li:last-child {
  border-bottom: none;
}

.check {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.packages-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FAQ ─────────────────────────────────────────────────── */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── Final CTA ───────────────────────────────────────────── */

.final-cta {
  background: linear-gradient(135deg, #0a0f1a 0%, #0d1117 100%);
  border-top: 1px solid var(--border);
}

.final-cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────────────────── */

.footer {
  background: #060606;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge,
  .social-proof {
    justify-content: center;
  }

  .hero-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-divider {
    transform: rotate(90deg);
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .trust-items {
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    gap: 16px;
  }
}

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

  .form-card, .success-card {
    padding: 24px 20px;
  }

  .hero-title {
    letter-spacing: -1px;
  }
}
