/* ============================================
   AtlasCLOUDhost — Landing Page Stylesheet
   ============================================ */

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

:root {
  --bg: #07090f;
  --bg2: #0d1120;
  --bg3: #111827;
  --border: rgba(255,255,255,0.07);
  --text: #e2e8f0;
  --muted: #8b9ab5;
  --accent: #4f8ef7;
  --accent2: #7c5af5;
  --accent3: #00d4aa;
  --success: #34d399;
  --warning: #fbbf24;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --t: 0.25s ease;
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: all var(--t); cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; box-shadow: 0 4px 20px rgba(79,142,247,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,142,247,0.5); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: rgba(79,142,247,0.08); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.w-full { width: 100%; justify-content: center; }

/* ── TAG ── */
.tag {
  display: inline-block; padding: 5px 14px; border-radius: 99px;
  background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.22);
  color: var(--accent); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}

/* ── SECTION ── */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 17px; line-height: 1.7; }

/* ── NAV ── */
.nav-wrapper {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all var(--t);
}
.nav-wrapper.scrolled {
  background: rgba(7,9,15,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo-icon { color: var(--accent); font-size: 15px; }
.accent { color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 0 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.glow-1 { width: 700px; height: 700px; background: var(--accent); top: -280px; left: -200px; opacity: 0.12; }
.glow-2 { width: 600px; height: 600px; background: var(--accent2); bottom: -200px; right: -150px; opacity: 0.14; }

.hero-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 780px; margin: 0 auto;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-radius: 99px;
  background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.2);
  color: var(--accent3); font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
}
.badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent3); animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 {
  font-size: clamp(42px, 8vw, 80px); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 22px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px); color: var(--muted);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-proof {
  display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-bottom: 56px;
}
.avatars { display: flex; }
.av {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  border: 2px solid var(--bg); margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.hero-proof p { font-size: 14px; color: var(--muted); }
.hero-proof strong { color: var(--text); }

.hero-visual { position: relative; z-index: 1; padding-bottom: 0; display: flex; justify-content: center; }
.dashboard-card {
  background: linear-gradient(160deg, rgba(13,17,32,0.9), rgba(17,24,39,0.9));
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; width: 100%; max-width: 680px;
  box-shadow: 0 -8px 60px rgba(79,142,247,0.1);
  backdrop-filter: blur(20px);
}
.db-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red { background: #f87171; } .dot.yellow { background: #fbbf24; } .dot.green { background: #34d399; }
.db-title { font-size: 12px; color: var(--muted); flex: 1; margin-left: 4px; }
.db-status { font-size: 12px; color: var(--accent3); font-weight: 500; }
.db-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.db-metric { display: grid; grid-template-columns: 130px 1fr 100px; align-items: center; gap: 12px; }
.db-label { font-size: 13px; color: var(--muted); }
.db-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.db-fill { height: 100%; border-radius: 99px; }
.db-fill.speed { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.db-fill.uptime { background: linear-gradient(90deg, var(--accent3), var(--accent)); }
.db-fill.ssl { background: linear-gradient(90deg, var(--success), var(--accent3)); }
.db-fill.backup { background: linear-gradient(90deg, var(--warning), #fb923c); }
.db-val { font-size: 12px; font-weight: 600; color: var(--text); text-align: right; }
.db-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chip {
  padding: 4px 12px; border-radius: 99px;
  background: rgba(79,142,247,0.08); border: 1px solid rgba(79,142,247,0.18);
  font-size: 12px; color: var(--accent);
}

/* ── TRUST ── */
.trust {
  padding: 36px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--bg2);
}
.trust-label { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.07em; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-logos span { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.18); transition: color var(--t); }
.trust-logos span:hover { color: rgba(255,255,255,0.45); }

/* ── HOW IT WORKS ── */
.how { background: var(--bg2); }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  flex: 1; min-width: 220px; max-width: 300px;
  text-align: center; transition: all var(--t);
}
.step:hover { border-color: rgba(79,142,247,0.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-size: 48px; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px; line-height: 1;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-arrow { font-size: 28px; color: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ── FEATURES ── */
.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; transition: all var(--t);
}
.feature-card:hover { border-color: rgba(79,142,247,0.28); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 30px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── WP STRIP ── */
.wp-strip { background: var(--bg2); }
.wp-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wp-strip-text .tag { margin-bottom: 14px; }
.wp-strip-text h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.wp-strip-text > p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.wp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 32px; }
.perk { font-size: 14px; color: var(--text); font-weight: 500; }
.wp-strip-visual { display: flex; justify-content: center; align-items: center; }
.speed-ring { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ring-labels { display: flex; flex-direction: column; gap: 8px; }
.ring-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dot-g { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* ── PRICING ── */
.pricing { background: var(--bg); }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; }
.toggle-label { font-size: 15px; font-weight: 600; color: var(--muted); transition: color var(--t); }
.toggle-label.active { color: var(--text); }
.save-badge { background: rgba(0,212,170,0.12); color: var(--accent3); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; border: 1px solid rgba(0,212,170,0.2); margin-left: 6px; }
.switch { position: relative; width: 46px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: var(--bg3); border: 1px solid var(--border); border-radius: 99px; transition: background var(--t); }
.slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: var(--accent); border-radius: 50%; transition: transform var(--t); }
.switch input:checked + .slider { background: rgba(79,142,247,0.18); }
.switch input:checked + .slider::before { transform: translateX(22px); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.price-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 30px; position: relative; transition: all var(--t);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-featured {
  border-color: rgba(79,142,247,0.35);
  background: linear-gradient(160deg, rgba(79,142,247,0.07), rgba(124,90,245,0.07));
  transform: scale(1.03);
}
.price-featured:hover { transform: scale(1.03) translateY(-4px); }
.price-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 99px; white-space: nowrap;
}
.price-name { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.price-tag { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
.currency { font-size: 20px; font-weight: 700; color: var(--accent); }
.amount { font-size: 52px; font-weight: 900; line-height: 1; }
.per { font-size: 15px; color: var(--muted); }
.price-desc { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.price-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.price-features li { font-size: 14px; }

.guarantee {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 40px; padding: 20px 28px;
  background: rgba(52,211,153,0.05); border: 1px solid rgba(52,211,153,0.15);
  border-radius: var(--radius); max-width: 560px; margin-left: auto; margin-right: auto;
}
.guarantee-icon { font-size: 28px; }
.guarantee p { font-size: 14px; color: var(--muted); }
.guarantee strong { color: var(--text); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg2); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.testi-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; transition: all var(--t);
}
.testi-card:hover { border-color: rgba(79,142,247,0.22); transform: translateY(-4px); }
.testi-stars { color: var(--warning); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card > p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--muted); }

/* ── FAQ ── */
.faq { background: var(--bg); }
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 22px; font-size: 15px; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer; text-align: left; transition: color var(--t); gap: 12px;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron { font-size: 20px; color: var(--muted); transition: transform var(--t); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FINAL CTA ── */
.final-cta { position: relative; padding: 110px 0; overflow: hidden; background: var(--bg2); }
.cta-bg { position: absolute; inset: 0; }
.glow-cta { position: absolute; width: 900px; height: 450px; background: linear-gradient(135deg, var(--accent), var(--accent2)); top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.08; filter: blur(120px); border-radius: 50%; }
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; margin-bottom: 14px; }
.cta-content > p { font-size: 17px; color: var(--muted); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-form {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  max-width: 520px; margin: 0 auto 16px;
}
.cta-form input {
  flex: 1; min-width: 220px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 20px;
  color: var(--text); font-size: 15px; font-family: var(--font); outline: none;
  transition: border-color var(--t);
}
.cta-form input:focus { border-color: var(--accent); }
.cta-form input::placeholder { color: var(--muted); }
.cta-form-success {
  display: none; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25);
  color: var(--success); padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 500;
  margin: 12px auto 0; max-width: 400px;
}
.cta-form-success.show { display: block; }
.cta-perks { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.cta-perks span { font-size: 13px; color: var(--muted); }

/* ── FOOTER ── */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color var(--t); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.2); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wp-strip-inner { grid-template-columns: 1fr; gap: 48px; }
  .wp-strip-visual { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .steps { flex-direction: column; align-items: stretch; }
  .step { max-width: 100%; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  .price-featured { transform: none; }
  .price-featured:hover { transform: translateY(-4px); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .db-metric { grid-template-columns: 100px 1fr 80px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-form { flex-direction: column; }
  .cta-form input, .cta-form .btn { width: 100%; }
  .wp-perks { grid-template-columns: 1fr; }
}
