/* ============================================================
   Island Host™ — Boutique Cloud Hosting
   Mobile-first marketing landing
   ============================================================ */

:root {
  --ink: #07111f;
  --navy: #0c1a2e;
  --navy-mid: #132844;
  --teal: #1aa7a0;
  --teal-bright: #2ec4bb;
  --teal-deep: #0e7c77;
  --amber: #e8a017;
  --amber-soft: #f0c56a;
  --mist: #e8f1f4;
  --cloud: #f4f8fa;
  --line: rgba(12, 26, 46, 0.1);
  --body: #3d5166;
  --muted: #6b8096;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --shadow: 0 20px 50px rgba(7, 17, 31, 0.12);
  --shadow-sm: 0 8px 24px rgba(7, 17, 31, 0.08);
  --grad: linear-gradient(125deg, var(--teal) 0%, var(--teal-deep) 45%, #1a5f8a 100%);
  --grad-amber: linear-gradient(125deg, var(--amber) 0%, #c97a0a 100%);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cloud);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--teal-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(26, 167, 160, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(26, 167, 160, 0.45); }
.btn-amber {
  background: var(--grad-amber);
  color: #fff;
  box-shadow: 0 12px 28px rgba(232, 160, 23, 0.32);
}
.btn-amber:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost-dark:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn-block { width: 100%; }

.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 5vw, 2.6rem); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(26, 167, 160, 0.4);
}
.brand-mark svg { display: block; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-text span { color: var(--teal-bright); font-weight: 500; font-size: 0.72rem; vertical-align: super; margin-left: 2px; }

.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s ease;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(26, 167, 160, 0.3);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.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); }

@media (max-width: 899px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav-links.open { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-cta { text-align: center; margin-top: 14px; padding: 14px !important; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(26, 167, 160, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 90%, rgba(232, 160, 23, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(19, 40, 68, 0.9), transparent 70%),
    linear-gradient(165deg, #050d18 0%, #0c1a2e 50%, #0a2238 100%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 0 80px;
  max-width: 720px;
}
.hero .brand-hero {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 12vw, 5.2rem);
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.hero .brand-hero em {
  font-style: normal;
  background: linear-gradient(110deg, var(--teal-bright), var(--amber-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 {
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 1.08rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.hero-trust span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(46, 196, 187, 0.25);
}

/* Float orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb.o1 {
  width: 280px; height: 280px;
  top: 10%; right: 8%;
  background: rgba(26, 167, 160, 0.22);
}
.hero-orb.o2 {
  width: 180px; height: 180px;
  bottom: 15%; right: 28%;
  background: rgba(232, 160, 23, 0.12);
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

/* ========== Strip ========== */
.strip {
  background: var(--navy-mid);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(26, 167, 160, 0.35);
  border-bottom: 3px solid var(--teal);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.82rem;
  text-align: center;
}
.strip .sep { color: var(--amber); }

/* ========== Plans ========== */
.plans-grid {
  display: grid;
  gap: 18px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.plan.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.plan.featured::before {
  content: "Popular";
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 36px;
  transform: rotate(40deg);
}
.plan-tier {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.plan h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.plan-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.plan-month {
  font-size: 0.88rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 16px;
}
.plan p.desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}
.plan ul {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.plan ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--body);
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: inset 0 0 0 2.5px #fff;
}
.plan .btn { margin-top: auto; }
.plan-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}
@media (min-width: 640px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid .plan:nth-child(4),
  .plans-grid .plan:nth-child(5) { grid-column: span 1; }
}

/* ========== Addon ========== */
.addon {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: grid;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.addon::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(26, 167, 160, 0.18);
  filter: blur(40px);
  pointer-events: none;
}
.addon-copy { position: relative; z-index: 1; }
.addon-copy h3 {
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin-bottom: 12px;
}
.addon-copy p { margin-bottom: 14px; max-width: 520px; }
.addon-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--amber-soft);
  margin-bottom: 18px;
}
.addon-price span { font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.addon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.addon-list li {
  font-size: 0.82rem;
  font-family: var(--font-head);
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 800px) {
  .addon { grid-template-columns: 1.2fr 0.8fr; align-items: center; padding: 44px 40px; }
}

/* ========== Support ========== */
.support-panel {
  display: grid;
  gap: 28px;
  align-items: center;
}
.support-rate {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.support-rate .label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.support-rate .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 10vw, 4rem);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.support-rate .amount span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}
.support-rate .billing {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--teal-deep);
  font-weight: 600;
}
.support-copy h3 { font-size: 1.5rem; margin-bottom: 12px; }
.support-copy p { margin-bottom: 14px; }
.support-copy ul { display: grid; gap: 8px; margin-top: 16px; }
.support-copy ul li {
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
}
.support-copy ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
@media (min-width: 780px) {
  .support-panel { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
}

/* ========== Why ========== */
.why-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.why-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.why-item p { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 800px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== CTA ========== */
.cta {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(26, 167, 160, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 80%, rgba(232, 160, 23, 0.1), transparent 55%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 14px;
}
.cta p { margin-bottom: 28px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: #8fa3b8;
  padding-top: 48px;
  border-top: 3px solid var(--teal);
}
.footer-inner {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-brand .brand-text { color: #fff; font-size: 1.25rem; }
.footer-brand .brand-text span { color: var(--teal-bright); }
.footer-brand p { margin-top: 10px; font-size: 0.9rem; max-width: 340px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.footer-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: #c5d4e2;
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: var(--teal-bright); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
  .footer-nav { justify-content: flex-end; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
