/* ==========================================================================
   ABC.MD - Premium Domain Sale Landing Page Stylesheet
   Modern High-End SaaS Design System (Linear / Vercel / Stripe Aesthetic)
   ========================================================================== */

:root {
  /* Ultra-Clean Premium Dark Color System */
  --bg-dark: #090b10;
  --bg-card: rgba(17, 21, 31, 0.7);
  --bg-card-hover: rgba(24, 30, 44, 0.85);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(99, 102, 241, 0.35);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-subtle: rgba(99, 102, 241, 0.12);
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    var(--bg-dark);
}

/* Background SaaS Grid Lines */
body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Utility Components */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #090b10;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.glow-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Clean Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 3px;
  border-radius: var(--radius-md);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

/* Status Tag Container strictly stacked ABOVE the domain name */
.status-tag-wrap {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Pulsing Green Dot */
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 0.4;
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    opacity: 0.4;
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.domain-display-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.domain-display {
  font-size: clamp(3.8rem, 8.5vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1;
  color: #ffffff;
}

.domain-display .ext {
  color: var(--text-muted);
  font-weight: 700;
}

.copy-domain-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.copy-domain-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

/* Feature Pills Bar */
.pills-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* Stats Counter Grid */
.stats-section {
  padding: 30px 0 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  padding: 26px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* SaaS Cards Grid */
.use-cases-section {
  padding: 60px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.use-card {
  padding: 30px;
  transition: var(--transition);
  position: relative;
}

.use-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--primary-subtle);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Offer & Contact Section */
.offer-section {
  padding: 70px 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

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

.offer-info-card {
  padding: 36px;
}

.price-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 22px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.price-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: -0.5px;
}

.escrow-badges {
  margin-top: 24px;
}

.escrow-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.escrow-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.escrow-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.escrow-badge:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

/* Contact Form */
.form-card {
  padding: 36px;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(9, 11, 16, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.offer-amount-wrap {
  display: flex;
  gap: 10px;
}

.currency-select-wrap {
  min-width: 115px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
}

/* How It Works (Escrow Process) */
.process-section {
  padding: 60px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.step-card {
  padding: 28px;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.8;
}

.step-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 70px 0;
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--glass-border-hover);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-family);
}

.faq-icon {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px;
  transition: max-height 0.3s ease-in-out;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 36px 0;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: #fff;
}

/* Toast & Modal */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #18181b;
  border: 1px solid var(--glass-border);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
  z-index: 1000;
  font-size: 0.9rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 480px;
  width: 90%;
  padding: 32px;
  text-align: center;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
