/* ============================================================
   STELLARHOSTINGUSA — Main Stylesheet
   ============================================================ */

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

:root {
  --night:    #04080F;
  --space:    #070D1A;
  --deep:     #0B1428;
  --mid:      #0F1E3C;
  --panel:    #111D35;
  --nebula:   #8B5CF6;
  --nebula2:  #A78BFA;
  --aurora:   #06D6A0;
  --gold:     #FFD166;
  --star:     #F0E6FF;
  --text:     #CFC8E8;
  --muted:    #7A7FA0;
  --border:   rgba(139,92,246,0.22);
  --border2:  rgba(139,92,246,0.12);
  --glow:     rgba(139,92,246,0.15);
  --card-bg:  rgba(15,30,60,0.65);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--night);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; color: var(--star); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text); }
a  { text-decoration: none; }

.gradient-text {
  background: linear-gradient(120deg, var(--nebula2) 0%, var(--aurora) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--nebula) 0%, #6D28D9 100%);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(139,92,246,0.35);
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,0.5); }

.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--star);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 400;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(139,92,246,0.12); border-color: var(--nebula); }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  height: 68px;
  background: rgba(4,8,15,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--star);
  display: flex; align-items: center; gap: 10px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo span { color: var(--aurora); }
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--nebula), var(--aurora));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
}

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--star); }

.nav-cta {
  background: var(--nebula); color: #fff !important;
  border-radius: 8px; padding: 9px 22px;
  font-size: 0.9rem; font-weight: 500;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 90vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--nebula);
  top: -100px; left: -120px;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--aurora);
  bottom: -80px; right: -80px;
  animation: drift 15s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(40px, 30px); } }

.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 8%  12%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 22% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 38%  8%, rgba(240,230,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 18%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 45%, rgba(240,230,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 14% 68%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 94% 78%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 46% 85%, rgba(255,255,255,0.5) 0%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 1;
  padding: 6rem 0 6rem 2rem;
  max-width: 560px;
}

.badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  border: 1px solid var(--border);
  color: var(--nebula2);
  font-size: 0.82rem; font-weight: 500;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 1.5rem; letter-spacing: 0.02em;
}

h1 { margin-bottom: 1.2rem; }
.hero-sub {
  font-size: 1.15rem; color: var(--text);
  margin-bottom: 2rem; line-height: 1.6;
}
.hero-sub strong { color: var(--gold); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong { color: var(--star); font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; }
.stat span { color: var(--muted); font-size: 0.78rem; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

.hero-visual {
  position: relative; height: 100%;
  min-height: 90vh;
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--night) 0%, transparent 40%, transparent 70%, var(--night) 100%),
              linear-gradient(to bottom, var(--night) 0%, transparent 15%, transparent 85%, var(--night) 100%);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--deep);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 1.2rem 0;
  position: relative; z-index: 1;
}
.trust-inner {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.trust-inner span { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.trust-items { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.trust-item {
  background: rgba(139,92,246,0.1);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--nebula2);
  white-space: nowrap;
}

/* ── SECTION HEADER ── */
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head p { color: var(--text); max-width: 540px; margin: 0.8rem auto 0; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--aurora); font-weight: 500;
  margin-bottom: 0.8rem;
}

/* ── FEATURES ── */
.features { padding: 7rem 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  grid-auto-rows: auto;
}

.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.feat-card:hover { border-color: var(--border); transform: translateY(-3px); }

.feat-card.feat-large {
  grid-column: span 2;
  padding: 0;
  min-height: 280px;
}
.feat-card.feat-right { }

.feat-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  border-radius: 16px;
}
.feat-overlay {
  position: relative; z-index: 1;
  padding: 2rem;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(4,8,15,0.9) 0%, transparent 100%);
  border-radius: 16px;
  min-height: 280px;
}
.feat-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.feat-overlay h3 { color: var(--star); margin-bottom: 0.4rem; }
.feat-overlay p { color: var(--text); font-size: 0.95rem; }

.feat-icon-sm { font-size: 1.8rem; margin-bottom: 1rem; }
.feat-card h3 { margin-bottom: 0.5rem; }
.feat-card p { font-size: 0.9rem; color: var(--muted); }

/* ── FULL FEATURES LIST ── */
.full-features {
  padding: 6rem 0;
  background: var(--deep);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}
.ff-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.ff-text p { color: var(--text); margin-top: 1rem; max-width: 400px; }
.ff-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.ff-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(139,92,246,0.08);
}
.check { color: var(--aurora); font-size: 0.7rem; flex-shrink: 0; }

/* ── PRICING ── */
.pricing { padding: 7rem 0; }

.pricing-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: start;
}

.pricing-card {
  background: var(--panel);
  border: 1.5px solid var(--nebula);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 0 60px rgba(139,92,246,0.15);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--nebula), var(--aurora));
  color: #fff; font-size: 0.78rem; font-weight: 500;
  padding: 5px 18px; border-radius: 100px;
  white-space: nowrap;
}
.plan-name { color: var(--muted); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 0.8rem; }
.currency { color: var(--nebula2); font-size: 1.5rem; font-family: 'Syne', sans-serif; font-weight: 700; }
.amount { color: var(--star); font-size: 4rem; font-family: 'Syne', sans-serif; font-weight: 800; line-height: 1; }
.period { color: var(--muted); font-size: 1rem; }
.plan-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.plan-features {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.plan-features li {
  color: var(--text); font-size: 0.85rem;
  display: flex; align-items: center; gap: 6px;
}
.plan-features li { color: var(--aurora); font-size: 0.75rem; }
.plan-footer { color: var(--muted); font-size: 0.8rem; margin-top: 1.5rem; text-align: center; }

.pricing-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.aside-img { border-radius: 16px; overflow: hidden; }
.aside-img img { width: 100%; height: 200px; object-fit: cover; display: block; }

.aside-card {
  background: var(--card-bg);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  transition: border-color 0.2s;
}
.aside-card:hover { border-color: var(--border); }
.aside-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.aside-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.aside-card p { font-size: 0.88rem; color: var(--muted); }

.aside-phone { border-color: rgba(6,214,160,0.3); }
.phone-link {
  display: inline-block;
  color: var(--aurora);
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.phone-link:hover { opacity: 0.8; }

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 6rem 0;
  background: var(--deep);
  border-top: 1px solid var(--border2);
}
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.testi-card:hover { border-color: var(--border); }
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testi-card p { color: var(--text); font-size: 0.92rem; font-style: italic; margin-bottom: 1.5rem; line-height: 1.65; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.testi-author strong { display: block; color: var(--star); font-size: 0.9rem; }
.testi-author span { color: var(--muted); font-size: 0.78rem; }

/* ── CTA BANNER ── */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(6,214,160,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
}
.cta-text h2 { margin-bottom: 0.5rem; }
.cta-text p { color: var(--text); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  padding: 4rem 0 2rem;
  background: var(--space);
  border-top: 1px solid var(--border2);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 260px; margin-bottom: 1rem; }
.footer-phone { color: var(--aurora); font-weight: 500; font-size: 0.95rem; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 0.9rem; color: var(--star); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--star); }
.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between;
  color: var(--muted); font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem;
}

/* ── CONTACT PAGE ── */
.contact-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero h1 { margin-bottom: 1rem; }
.contact-hero p { max-width: 520px; margin: 0 auto; color: var(--text); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 3rem; padding: 4rem 0 6rem;
  align-items: start;
}

.contact-info { }
.contact-info h3 { margin-bottom: 1.5rem; }

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.contact-card .cc-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card h4 { color: var(--star); font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-card p { color: var(--muted); font-size: 0.85rem; }
.contact-card a { color: var(--aurora); text-decoration: none; font-weight: 500; }
.contact-card a:hover { opacity: 0.8; }

.contact-img-block { margin-top: 1.5rem; border-radius: 16px; overflow: hidden; }
.contact-img-block img { width: 100%; height: 220px; object-fit: cover; display: block; }

.contact-form-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(4,8,15,0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--star);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--nebula); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-notice {
  font-size: 0.8rem; color: var(--muted);
  margin-top: 1rem; text-align: center;
}

/* Alert messages */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.alert-success { background: rgba(6,214,160,0.12); border: 1px solid rgba(6,214,160,0.3); color: var(--aurora); }
.alert-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; padding: 5rem 1rem 4rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feat-card.feat-large { grid-column: span 2; }
  .ff-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card.feat-large { grid-column: span 1; }
  .plan-features { grid-template-columns: 1fr; }
  .ff-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .form-two { grid-template-columns: 1fr; }
}
