/* ============================================================
   4 Affordable Hosting — Revamped Design
   Aesthetic: Clean editorial, dark navy + electric teal accent
   Fonts: Sora (headings) + Source Serif 4 (body copy)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --navy:    #0a0f1e;
  --navy2:   #111827;
  --navy3:   #1e2a3a;
  --teal:    #00d4b4;
  --teal2:   #00a896;
  --white:   #f0f4f8;
  --muted:   #8fa3b1;
  --card-bg: #131e2e;
  --border:  #1e3048;
  --radius:  8px;
  --max:     1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
}

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* ── HEADER / NAV ── */
.site-header {
  background: var(--navy2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.logo span { color: var(--teal); }

nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }

nav a {
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .2s, background .2s;
}

nav a:hover, nav a.active {
  color: var(--teal);
  background: rgba(0,212,180,.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px 0;
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { margin: 0 8px; opacity: .4; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy2) 0%, #0d1e30 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,212,180,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,212,180,.1);
  border: 1px solid rgba(0,212,180,.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

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

.btn {
  font-family: 'Sora', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  display: inline-block;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); opacity: .92; }

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-outline:hover { color: var(--teal); border-color: var(--teal); }

/* Hero feature card */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: 'Sora', sans-serif;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-big {
  font-family: 'Sora', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
}

.price-from {
  font-size: .85rem;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .9rem;
  color: #c4d0db;
}

.feature-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── MAIN LAYOUT ── */
.page-wrapper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.main-content > * + * { margin-top: 24px; }

/* ── SECTION TITLE ── */
.section-header {
  margin-bottom: 32px;
}

.section-label {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
}

.section-header p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: var(--teal2);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,212,180,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .03em;
}

.card-link::after { content: ' →'; }

/* ── ARTICLE BODY ── */
.article-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 12px;
}

.article-meta {
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body { max-width: 720px; }
.article-body h2 {
  font-size: 1.35rem;
  color: var(--teal);
  margin: 32px 0 12px;
  font-family: 'Sora', sans-serif;
}

.article-body h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 24px 0 10px;
  font-family: 'Sora', sans-serif;
}

.article-body p { color: #c8d8e6; margin-bottom: 16px; }

.article-body ul, .article-body ol {
  padding-left: 24px;
  color: #c8d8e6;
  margin-bottom: 16px;
}

.article-body li { margin-bottom: 8px; }

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--card-bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--muted);
}

.callout {
  background: rgba(0,212,180,.06);
  border: 1px solid rgba(0,212,180,.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p { color: var(--white); margin: 0; font-size: .95rem; }

/* ── SIDEBAR ── */
.sidebar > * + * { margin-top: 24px; }

.sidebar-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.sidebar-box h4 {
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .85rem;
  color: #c4d0db;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(0,212,180,.08);
  color: var(--teal);
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(0,212,180,.15), rgba(0,168,150,.05));
  border: 1px solid rgba(0,212,180,.25);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}

.sidebar-cta h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}

.sidebar-cta p { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }

/* ── ARTICLE LIST ── */
.article-list { display: flex; flex-direction: column; gap: 16px; }

.article-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: border-color .2s, transform .15s;
}

.article-item:hover { border-color: var(--teal2); transform: translateX(4px); }

.article-item-title {
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}

.article-item-desc {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 4px;
}

.article-item-arrow {
  color: var(--teal);
  font-size: 1.2rem;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .2s, transform .2s;
}

.article-item:hover .article-item-arrow { opacity: 1; transform: translateX(4px); }

/* ── FAQ ACCORDION ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .2s;
}

.faq-question:hover { color: var(--teal); }
.faq-question .icon { font-size: 1.2rem; transition: transform .2s; flex-shrink: 0; color: var(--teal); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9rem;
}

.compare-table th {
  background: var(--navy3);
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #c8d8e6;
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,.02); }

.badge {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge-green { background: rgba(0,212,180,.15); color: var(--teal); }
.badge-yellow { background: rgba(255,200,60,.12); color: #ffc83c; }
.badge-red { background: rgba(255,80,80,.12); color: #ff6060; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,212,180,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-label {
  font-family: 'Sora', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.info-value { color: #fff; font-size: .95rem; }

.contact-form-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.contact-form-box h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-family: 'Source Serif 4', serif;
  font-size: .95rem;
  padding: 11px 14px;
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ── SITEMAP ── */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.sitemap-section h3 {
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.sitemap-section ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sitemap-section li::before { content: '→ '; color: var(--teal); opacity: .5; }
.sitemap-section a { font-size: .9rem; color: #c4d0db; }
.sitemap-section a:hover { color: var(--teal); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .88rem; color: #8fa3b1; }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: .8rem; color: var(--muted); font-family: 'Sora', sans-serif; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-family: 'Sora', sans-serif; font-size: .78rem; color: var(--muted); }
.footer-links a:hover { color: var(--teal); }

/* ── HOMEPAGE SPECIFIC ── */
.section { padding: 64px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.full-width-section {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy2); border-bottom: 1px solid var(--border); padding: 12px; z-index: 200; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
