/* ═══════════════════════════════════════════════
   MAROON HOSTING — SHARED STYLESHEET
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --maroon: #6B1225;
  --maroon-deep: #4A0D1A;
  --maroon-light: #8B1A30;
  --maroon-glow: #C1314A;
  --cream: #FAF6F0;
  --warm-white: #FFFCF8;
  --gold: #C9963A;
  --gold-light: #E8B86D;
  --charcoal: #1A1410;
  --text-muted: #6B5E58;
  --border: rgba(107, 18, 37, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  padding-top: 72px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo-footer .nav-logo-img,
.nav-logo-footer {
  height: 40px;
  width: auto;
}

@media (max-width: 768px) {
  .nav-logo-img { height: 36px; }
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.3px; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--maroon); }

.nav-cta {
  background: var(--maroon) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--maroon-light) !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--maroon); color: white;
  text-decoration: none; padding: 15px 30px;
  border-radius: 8px; font-weight: 600; font-size: 15px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(107,18,37,0.3);
}
.btn-primary:hover { background: var(--maroon-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(107,18,37,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--maroon); color: var(--maroon);
  text-decoration: none; padding: 14px 28px;
  border-radius: 8px; font-weight: 600; font-size: 15px;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--maroon); color: white; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--charcoal); text-decoration: none;
  padding: 14px 20px; font-weight: 500; font-size: 15px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--maroon); }

/* ── SECTION BASICS ── */
.section { padding: 96px 48px; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--charcoal);
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(107,18,37,0.4) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 30%, rgba(201,150,58,0.1) 0%, transparent 50%);
}

.section-inner { position: relative; z-index: 2; }

.section-tag {
  font-size: 11px; font-weight: 700; color: var(--maroon);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-tag::before {
  content: ''; width: 24px; height: 2px;
  background: var(--gold); border-radius: 1px;
}
.section-dark .section-tag { color: var(--gold); }

.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -1.5px; color: var(--charcoal);
  margin-bottom: 18px;
}
.section-dark .section-headline { color: white; }

.section-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.75; max-width: 560px;
  font-weight: 300; margin-bottom: 52px;
}
.section-dark .section-sub { color: rgba(255,255,255,0.5); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 48px 80px;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 50%, rgba(107,18,37,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(107,18,37,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,18,37,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 50%, black 0%, transparent 80%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 680px; }

.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,18,37,0.08);
  border: 1px solid rgba(107,18,37,0.18);
  border-radius: 100px; padding: 5px 14px 5px 8px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--maroon-glow); border-radius: 50%;
  animation: pulse 2s infinite;
}
.badge-text { font-size: 12px; font-weight: 600; color: var(--maroon); letter-spacing: 0.5px; text-transform: uppercase; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -2px; color: var(--charcoal);
  margin-bottom: 20px;
}
.page-hero h1 em {
  font-style: normal; color: var(--maroon);
  position: relative;
}
.page-hero h1 em::after {
  content: ''; position: absolute;
  bottom: 4px; left: 0; right: 0; height: 3px;
  background: var(--gold); border-radius: 2px;
}
.page-hero p {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 36px;
  font-weight: 300; max-width: 520px;
}

/* ── CARDS ── */
.card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(107,18,37,0.1);
  border-color: rgba(107,18,37,0.2);
}

.card-icon {
  width: 50px; height: 50px;
  background: var(--cream); border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  transition: background 0.2s;
}
.card:hover .card-icon { background: var(--maroon); }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── FEATURE ROWS ── */
.feature-row {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px; border-radius: 14px;
  transition: all 0.2s ease; cursor: default;
}
.feature-row:hover { background: white; box-shadow: 0 4px 20px rgba(107,18,37,0.06); }

.feature-row-icon {
  width: 44px; height: 44px;
  background: white; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.2s;
}
.section-cream .feature-row-icon { background: var(--warm-white); }
.feature-row:hover .feature-row-icon { background: var(--maroon); }

.feature-row-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.feature-row-content p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── PRICING CARDS ── */
.pricing-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 36px 30px;
  position: relative; transition: all 0.3s;
}
.pricing-card.featured {
  background: white;
  border-color: white;
  transform: translateY(-8px);
}
.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--charcoal);
  font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.plan-name {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.pricing-card.featured .plan-name { color: var(--maroon); }
.plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 46px; font-weight: 900; color: white;
  letter-spacing: -2px; line-height: 1; margin-bottom: 4px;
}
.pricing-card.featured .plan-price { color: var(--charcoal); }
.plan-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; display: inline-block; letter-spacing: 0; }
.plan-period { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.pricing-card.featured .plan-period { color: var(--text-muted); }
.plan-desc {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pricing-card.featured .plan-desc { color: var(--text-muted); border-bottom-color: var(--border); }
.features-list { list-style: none; margin-bottom: 30px; display: flex; flex-direction: column; gap: 11px; }
.feature-item {
  font-size: 14px; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card.featured .feature-item { color: var(--charcoal); }
.feature-item::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--maroon-glow); flex-shrink: 0;
}
.pricing-card.featured .feature-item::before { background: var(--maroon); }
.plan-btn {
  display: block; text-align: center; padding: 13px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all 0.2s;
  background: rgba(255,255,255,0.1); color: white;
  border: 1px solid rgba(255,255,255,0.15);
}
.plan-btn:hover { background: rgba(255,255,255,0.18); }
.plan-btn-featured { background: var(--maroon) !important; color: white !important; border-color: var(--maroon) !important; }
.plan-btn-featured:hover { background: var(--maroon-light) !important; }

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--cream); border-radius: 18px; padding: 30px;
}
.testimonial-card.featured-t { background: var(--maroon); }
.testimonial-quote {
  font-family: 'Playfair Display', serif; font-size: 64px;
  line-height: 0.5; color: rgba(107,18,37,0.12);
  margin-bottom: 14px; display: block;
}
.testimonial-card.featured-t .testimonial-quote { color: rgba(255,255,255,0.12); }
.testimonial-text { font-size: 15px; line-height: 1.75; color: var(--charcoal); font-style: italic; margin-bottom: 22px; }
.testimonial-card.featured-t .testimonial-text { color: rgba(255,255,255,0.9); font-size: 17px; }
.author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--maroon); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.testimonial-card.featured-t .author-avatar { background: rgba(255,255,255,0.2); }
.author-name { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.testimonial-card.featured-t .author-name { color: white; }
.author-role { font-size: 12px; color: var(--text-muted); }
.testimonial-card.featured-t .author-role { color: rgba(255,255,255,0.55); }
.stars { color: var(--gold); font-size: 13px; margin-bottom: 12px; }

/* ── CTA STRIP ── */
.cta-strip {
  padding: 80px 48px; text-align: center;
  background: var(--cream); position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(107,18,37,0.025) 30px, rgba(107,18,37,0.025) 31px);
}
.cta-strip-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--charcoal); margin-bottom: 16px;
}
.cta-strip p { font-size: 17px; color: var(--text-muted); line-height: 1.7; font-weight: 300; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 64px 48px 28px;
  color: rgba(255,255,255,0.5);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo-img { height: 36px; width: auto; }
.footer-desc { margin-top: 14px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.9); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-copy { color: rgba(255,255,255,0.25); }
.footer-loc { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.25); }

/* ── UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gap-lg { gap: 48px; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.text-center .section-tag { justify-content: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.divider { height: 1px; background: var(--border); margin: 0 48px; }

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.anim-1 { animation: fadeSlideUp 0.6s ease both; }
.anim-2 { animation: fadeSlideUp 0.6s 0.1s ease both; }
.anim-3 { animation: fadeSlideUp 0.6s 0.2s ease both; }
.anim-4 { animation: fadeSlideUp 0.6s 0.3s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section, .cta-strip { padding: 64px 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .divider { margin: 0 20px; }
}

/* ═══════════════════════════════════════════
   CONTENT CONTAINER SYSTEM
   Fasthosts-style: 1200px max, 40px side padding
   ═══════════════════════════════════════════ */

/* Universal container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections: full-width background, constrained content */
.section {
  padding: 96px 40px !important;
}
.section > *:not(.container) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip {
  padding: 80px 40px !important;
}

.page-hero {
  padding: 100px 0 80px !important;
}
.page-hero-content {
  max-width: 720px !important;
  margin-left: 40px !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 40px !important;
  left: 0 !important;
  position: relative !important;
  transform: none !important;
  float: none !important;
  text-align: left !important;
}
@media (max-width: 768px) {
  .page-hero-content {
    margin-left: 20px !important;
    padding-right: 20px !important;
  }
}

footer {
  padding: 64px 40px 28px !important;
}
footer .footer-top,
footer .footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mega-inner {
  max-width: 1200px !important;
  padding: 44px 40px 48px !important;
}

@media (max-width: 768px) {
  .section { padding: 64px 20px !important; }
  .cta-strip { padding: 56px 20px !important; }
  .page-hero { padding: 64px 20px 48px !important; }
  footer { padding: 48px 20px 24px !important; }
  .mega-inner { padding: 28px 20px 32px !important; }
}
