/* =========================================================
   DMC IT Solutions — Main Stylesheet
   ========================================================= */

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

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1a2744;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-pale:  #eff6ff;
  --white:      #ffffff;
  --grey-50:    #f8fafc;
  --grey-100:   #f1f5f9;
  --grey-200:   #e2e8f0;
  --grey-400:   #94a3b8;
  --grey-600:   #475569;
  --grey-800:   #1e293b;
  --green:      #22c55e;
  --red:        #ef4444;

  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --transition: .22s ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--grey-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul[role="list"] { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: .82; text-decoration: none; }
.nav-logo-img {
  height: 74px;
  width: auto;
  max-width: 320px;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen; /* blends dark logo background into the navy navbar */
}
/* Text fallback shown if logo image fails to load */
.nav-logo-fallback {
  display: none;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.nav-logo-fallback span { color: var(--blue-light); }

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .75rem;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}
.nav-link.active { color: var(--blue-light); }

.chevron { transition: transform var(--transition); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.07); text-decoration: none; }

.nav-cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  padding: .6rem 1.3rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: var(--white); }

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--grey-100); color: var(--navy); }

.btn-lg { padding: .8rem 1.8rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* =========================================================
   BADGES
   ========================================================= */
.badge {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.badge-blue { background: var(--blue); color: var(--white); }
.badge-outline { background: transparent; border: 1.5px solid var(--blue); color: var(--blue); }
.badge-blue-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: rgba(255,255,255,.9); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 5rem 0;
}
.section-light { background: var(--grey-50); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin: .6rem 0 .9rem; }
.section-header p { color: var(--grey-600); font-size: 1.05rem; }

.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,.65); }

.section-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; }

.lead { font-size: 1.1rem; line-height: 1.7; color: var(--grey-600); }
.text-center { text-align: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -100px; right: -150px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: #4f46e5;
  bottom: -50px; left: -100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-text { color: var(--white); }
.hero-text .badge { margin-bottom: 1.25rem; }
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

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

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.65);
  font-size: .87rem;
  font-weight: 500;
}

/* Hero stat cards */
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  transition: background var(--transition);
}
.hero-stat-card:hover { background: rgba(255,255,255,.08); }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon-green { background: rgba(34,197,94,.15); color: var(--green); }
.stat-icon-blue  { background: rgba(37,99,235,.2);  color: var(--blue-light); }
.stat-icon-purple{ background: rgba(99,102,241,.2); color: #818cf8; }

.stat-value { font-size: 1.35rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .2rem; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero-content .badge { margin-bottom: 1rem; }
.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content p { color: rgba(255,255,255,.68); font-size: 1.1rem; line-height: 1.7; }

/* =========================================================
   SERVICE CARDS (homepage grid)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: block;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  color: inherit;
}
.service-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.service-icon-blue   { background: #eff6ff; color: #2563eb; }
.service-icon-indigo { background: #eef2ff; color: #4f46e5; }
.service-icon-teal   { background: #f0fdf9; color: #0d9488; }
.service-icon-orange { background: #fff7ed; color: #ea580c; }
.service-icon-rose   { background: #fff1f2; color: #e11d48; }
.service-icon-dark   { background: var(--grey-100); color: var(--grey-800); }

.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--grey-600); font-size: .93rem; line-height: 1.6; margin-bottom: 1.1rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
  transition: gap var(--transition);
}
.service-card:hover .card-link { gap: .6rem; }

.service-card-cta { background: var(--grey-50); }

/* =========================================================
   WHY US SECTION
   ========================================================= */
.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-text .badge { margin-bottom: .75rem; }
.why-us-text h2 { margin-bottom: .75rem; }
.why-us-text .lead { margin-bottom: 2rem; }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-list strong { display: block; margin-bottom: .2rem; }
.why-list p { color: var(--grey-600); font-size: .93rem; }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-number span { font-size: 1.25rem; color: var(--blue-light); }
.stat-desc { font-size: .82rem; color: rgba(255,255,255,.55); }

/* Testimonial card */
.why-us-card {
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.card-quote p {
  color: var(--grey-600);
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  margin: .75rem 0 1.1rem;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quote-author strong { display: block; font-size: .92rem; }
.quote-author span { font-size: .82rem; color: var(--grey-400); }

/* =========================================================
   HOSTING FEATURES (dark section)
   ========================================================= */
.hosting-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hosting-feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: background var(--transition);
}
.hosting-feature-card:hover { background: rgba(255,255,255,.07); }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,.25);
  color: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}

.hosting-feature-card h4 { color: var(--white); margin-bottom: .4rem; }
.hosting-feature-card p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: var(--grey-50);
  border-top: 1.5px solid var(--grey-200);
  border-bottom: 1.5px solid var(--grey-200);
  padding: 4rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 { margin-bottom: .4rem; }
.cta-text p { color: var(--grey-600); max-width: 480px; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--grey-600); margin-bottom: 1rem; line-height: 1.75; }
.about-text .btn { margin-top: .5rem; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.value-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.value-card:hover { border-color: var(--blue-light); }
.value-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-card h4 { margin-bottom: .25rem; }
.value-card p { color: var(--grey-600); font-size: .9rem; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.process-step h4 { margin-bottom: .5rem; }
.process-step p { color: var(--grey-600); font-size: .93rem; line-height: 1.65; }

/* =========================================================
   SERVICES DETAIL PAGE
   ========================================================= */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.service-detail-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-detail-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }

.sdc-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sdc-content h3 { margin-bottom: .6rem; }
.sdc-content > p { color: var(--grey-600); margin-bottom: 1rem; line-height: 1.7; }
.sdc-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  margin-bottom: 1.25rem;
}
.sdc-features li {
  font-size: .88rem;
  color: var(--grey-600);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.sdc-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* =========================================================
   HOSTING PAGE
   ========================================================= */
.hosting-intro { max-width: 720px; margin: 0 auto 3.5rem; }
.hosting-intro .lead { color: var(--grey-600); }

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

.hf-card {
  padding: 1.6rem;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hf-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }

.hf-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}
.hf-card h4 { margin-bottom: .4rem; }
.hf-card p { color: var(--grey-600); font-size: .9rem; line-height: 1.65; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }

.pricing-card-featured {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header { margin-bottom: 1.5rem; }
.pricing-header h3 { margin-bottom: .5rem; }
.pricing-card-featured .pricing-header h3 { color: var(--white); }
.pricing-header > p { font-size: .9rem; color: var(--grey-600); }
.pricing-card-featured .pricing-header > p { color: rgba(255,255,255,.7); }

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: .15rem;
  margin-bottom: .5rem;
}
.price-currency { font-size: 1.1rem; font-weight: 700; color: var(--grey-600); line-height: 2; }
.price-amount { font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.price-period { font-size: .95rem; color: var(--grey-400); line-height: 1.8; margin-left: .1rem; }

.pricing-card-featured .price-currency,
.pricing-card-featured .price-amount { color: var(--white); }
.pricing-card-featured .price-period { color: rgba(255,255,255,.6); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.5rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--grey-600);
}
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,.85); }

.pricing-note { color: var(--grey-400); font-size: .88rem; margin-top: 1.5rem; }
.pricing-note a { color: var(--blue); }

/* Tech tags */
.tech-tags { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.tech-tag {
  background: var(--grey-100);
  color: var(--grey-800);
  border: 1.5px solid var(--grey-200);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
}
.tech-tag:hover { background: var(--blue-pale); border-color: var(--blue); color: var(--blue); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: .75rem; }
.contact-info > p { color: var(--grey-600); margin-bottom: 2rem; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: .15rem; }
.contact-item a { color: var(--grey-800); font-size: .95rem; }
.contact-item span { color: var(--grey-800); font-size: .95rem; }
.contact-sub { display: block; font-size: .82rem; color: var(--grey-400); margin-top: .1rem; }

.contact-reassurance {
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.contact-reassurance h4 { margin-bottom: .9rem; }

.reassurance-steps { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.reassurance-steps li { display: flex; gap: .85rem; align-items: flex-start; font-size: .9rem; color: var(--grey-600); }
.rs-num {
  width: 24px; height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--grey-800); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: .95rem;
  color: var(--grey-800);
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: .65rem .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.required { color: var(--red); }

.form-consent { margin-bottom: 1.25rem; }
.checkbox-label {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .87rem;
  color: var(--grey-600);
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: .1rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue);
}

/* Alerts */
.alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.alert-success { background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; }
.alert-error { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; }
.alert strong { display: block; margin-bottom: .2rem; font-size: .95rem; }
.alert p { font-size: .9rem; margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}
.footer-logo-link:hover { opacity: .82; text-decoration: none; }
.footer-logo-img {
  height: 68px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen;
}
.footer-tagline { margin-top: 1rem; font-size: .9rem; line-height: 1.7; max-width: 280px; }

.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.65);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--blue); color: var(--white); text-decoration: none; }

.footer-heading {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.25rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-list svg { margin-top: 2px; flex-shrink: 0; color: var(--blue-light); }
.footer-contact-list a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-contact-list a:hover { color: var(--white); }

.footer-cta { width: 100%; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: .2rem; }
.footer-registered { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 1.25rem; flex-shrink: 0; }
.footer-legal a { color: rgba(255,255,255,.35); text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* =========================================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ========================================================= */

.page-hero-meta {
  margin-top: .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
}
.page-hero-meta strong { color: rgba(255,255,255,.8); }

/* Two-column layout: sticky TOC + content */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Sticky sidebar table of contents */
.legal-toc {
  position: sticky;
  top: 94px; /* below fixed nav */
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
}
.toc-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: .75rem;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.legal-toc ol li { counter-increment: toc; }
.legal-toc ol li a {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .35rem .5rem;
  font-size: .84rem;
  color: var(--grey-600);
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}
.legal-toc ol li a::before {
  content: counter(toc) ".";
  font-size: .75rem;
  color: var(--grey-400);
  flex-shrink: 0;
  min-width: 16px;
}
.legal-toc ol li a:hover {
  background: var(--blue-pale);
  color: var(--blue);
  text-decoration: none;
}

/* Main content column */
.legal-content { min-width: 0; }

.legal-intro-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--blue-pale);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  margin-bottom: 2.5rem;
  color: var(--navy-mid);
}
.legal-intro-box svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.legal-intro-box p { font-size: .95rem; line-height: 1.7; }

.legal-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 96px; /* offset for fixed nav */
}
.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--grey-200);
  padding-bottom: .6rem;
  margin-bottom: 1rem;
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-800);
  margin: 1.25rem 0 .5rem;
}
.legal-section p {
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: .85rem;
  font-size: .95rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--blue); }
.legal-section a:hover { text-decoration: underline; }

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: .75rem 0 1rem 0;
}
.legal-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--grey-600);
  line-height: 1.7;
}
.legal-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: .55rem;
}
.legal-list strong { color: var(--grey-800); }

.legal-info-box {
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: .75rem 0 1rem;
}
.legal-info-box p {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--grey-700, #374151);
  margin: 0;
}
.legal-info-box a { color: var(--blue); }

/* Tables */
.legal-table-wrap {
  overflow-x: auto;
  margin: .75rem 0 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-200);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.legal-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: .75rem 1rem;
  font-size: .85rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.legal-table td {
  padding: .7rem 1rem;
  color: var(--grey-600);
  border-top: 1px solid var(--grey-200);
  line-height: 1.6;
  vertical-align: top;
}
.legal-table tr:nth-child(even) td { background: var(--grey-50); }

/* Responsive legal layout */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-toc {
    position: static;
    /* Collapse into a scrollable horizontal row on small screens */
  }
  .legal-toc ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .25rem;
  }
  .legal-toc ol li a { font-size: .8rem; }
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-container { text-align: center; max-width: 480px; margin: 0 auto; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: .5rem; opacity: .15; }
.error-container h1 { margin-bottom: .75rem; }
.error-container p { color: var(--grey-600); margin-bottom: 2rem; }
.error-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate="fade-left"]  { transform: translateX(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-content    { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual     { display: none; }
  .hero            { min-height: auto; padding-bottom: 4rem; }
  .services-grid   { grid-template-columns: 1fr 1fr; }
  .why-us-layout   { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hosting-features{ grid-template-columns: 1fr 1fr; }
  .hosting-features-grid { grid-template-columns: 1fr 1fr; }
  .process-steps   { grid-template-columns: 1fr; }
  .about-layout    { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card-featured { transform: none; }
  .contact-layout  { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-card { flex-direction: column; gap: 1.25rem; }
  .sdc-icon        { width: 52px; height: 52px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 90px; left: 0; right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .25rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    overflow-y: auto;
    max-height: calc(100vh - 68px);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-link { padding: .7rem 1rem; border-radius: 8px; justify-content: space-between; }
  .nav-cta { display: flex; justify-content: center; margin: .5rem 0; width: 100%; }

  .nav-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    margin-top: .25rem;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .services-grid { grid-template-columns: 1fr; }
  .hosting-features { grid-template-columns: 1fr; }
  .hosting-features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { font-size: .95rem; padding: .75rem 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 7rem 0 3rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .hero-trust { flex-direction: column; gap: .75rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
