/* ════════════════ 1. BASE & VARIABLES ════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #2abfbf;
  --teal-dark:  #1a9a9a;
  --navy:       #1e3a5f;
  --navy-mid:   #2d4d70;
  --sky-light:  #e8f6f9;
  --sky-mid:    #d0eef4;
  --sky-wave:   #b8e4ef;
  --white:      #ffffff;
  --text-dark:  #1e3a5f;
  --text-mid:   #4a6a8a;
  --text-light: #7a9ab8;
  --card-border:#d6eef5;
  --radius:     12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

.max-w { max-width: 1100px; margin: 0 auto; }
section { padding: 90px 48px; position: relative; z-index: 10; }
.section-eyebrow {
  text-align: center; font-size: 0.78rem; font-weight: 800;
  color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  text-align: center; font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--navy); margin-bottom: 14px;
}
.section-sub {
  text-align: center; color: var(--text-mid);
  max-width: 540px; margin: 0 auto 50px; line-height: 1.65;
  font-size: 0.97rem;
}
.wave-divider { display: block; width: 100%; line-height: 0; position: relative; z-index: 10; }
.bg-sail { position: absolute; pointer-events: none; opacity: 0.12; }

/* ════════════════ 2. NAVIGATION ════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(210,238,245,0.6);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo-text { height: 45px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.92rem; font-weight: 600; transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 20px; }

.currency-selector {
  padding: 8px 12px; border: 1px solid transparent; border-radius: 8px;
  background-color: transparent; color: #555; font-size: 15px;
  font-family: inherit; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; outline: none;
}
.currency-selector:hover, .currency-selector:focus {
  background-color: #f7f9fc; border-color: #e1e1e1; color: var(--teal);
}

/* ════════════════ 3. BUTTONS ════════════════ */
.btn-primary {
  background: var(--teal); color: var(--white);
  border: none; border-radius: 50px; padding: 10px 22px;
  font-size: 0.9rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--card-border); border-radius: 50px;
  padding: 10px 22px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

/* ════════════════ 4. HERO & BACKGROUND ════════════════ */
.sail-bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.sail-bg-white { position: absolute; inset: 0; background: #ffffff; }
.sail-scene-wrap {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: sceneBob 7s ease-in-out infinite;
}
@keyframes sceneBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.sail-scene-svg { width: 100%; height: 100%; }
.sail-waves { position: absolute; bottom: 0; left: 0; right: 0; }
.sail-waves-svg { width: 100%; display: block; }

#hero {
  position: relative; z-index: 10; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 68px;
}
.hero-content { text-align: center; position: relative; z-index: 2; padding: 60px 24px 40px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; color: var(--teal);
  letter-spacing: 0.04em; margin-bottom: 18px; text-transform: uppercase;
  background: rgba(232,246,249,0.85); backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 50px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; color: var(--navy); margin-bottom: 20px; }
h1 span { color: var(--teal); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--teal); color: #fff; border: none; border-radius: 50px;
  padding: 14px 28px; font-size: 0.97rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(42,191,191,0.3);
}
.btn-hero-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-hero-outline {
  background: transparent; color: var(--navy); border: 2px solid rgba(30,58,95,0.2);
  border-radius: 50px; padding: 14px 28px; font-size: 0.97rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center;
}
.btn-hero-outline:hover { border-color: var(--teal); background: rgba(232,246,249,0.6); transform: translateY(-2px); }

/* ════════════════ 5. SERVICES & PRICING GRIDS ════════════════ */
#services, #domains { background: #fff; }
#hosting { background: linear-gradient(180deg, #f5fbfd 0%, #eaf6fb 100%); position: relative; overflow: hidden; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  border: 1.5px solid var(--card-border); border-radius: var(--radius);
  padding: 32px 28px; transition: box-shadow 0.25s, transform 0.2s; background: #fff;
}
.card:hover { box-shadow: 0 8px 32px rgba(42,191,191,0.12); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px; background: var(--sky-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--teal);
}
.card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.card p  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card {
  border: 1.5px solid var(--card-border); border-radius: var(--radius);
  padding: 32px 28px; background: #fff; transition: box-shadow 0.25s, transform 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 32px rgba(42,191,191,0.12); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--teal); position: relative; overflow: visible; }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 18px; border-radius: 50px;
}
.pricing-icon {
  width: 40px; height: 40px; background: var(--sky-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 16px;
}
.pricing-name    { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pricing-price   { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.pricing-price sup  { font-size: 1.2rem; vertical-align: super; }
.pricing-price span { font-size: 0.85rem; font-weight: 600; color: var(--text-light); }
.pricing-tagline { font-size: 0.82rem; color: var(--text-mid); margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 0.88rem; color: var(--text-mid); }
.pricing-features li svg { color: var(--teal); flex-shrink: 0; }

.btn-plan {
  width: 100%; padding: 12px; border-radius: 8px; font-size: 0.92rem;
  font-weight: 700; cursor: pointer; border: none; transition: all 0.2s; text-align: center;
}
.btn-plan-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-plan-outline:hover { background: var(--navy); color: #fff; }
.btn-plan-fill   { background: var(--teal); color: #fff; }
.btn-plan-fill:hover { background: var(--teal-dark); }
.btn-plan-dark   { background: var(--navy); color: #fff; }
.btn-plan-dark:hover { background: #162d4a; }

/* ════════════════ 6. DOMAINS SEARCH & FEATURES ════════════════ */
.domain-search-wrap-large {
  display: flex; max-width: 700px; margin: 0 auto;
  border: 1px solid var(--card-border); border-radius: 12px; background: #fff;
  padding: 8px; box-shadow: 0 4px 20px rgba(30,58,95,0.05); transition: box-shadow 0.3s, border-color 0.3s;
}
.domain-search-wrap-large:focus-within { box-shadow: 0 4px 25px rgba(42,191,191,0.15); border-color: var(--teal); }
.domain-search-wrap-large input {
  flex: 1; border: none; font-size: 1.1rem; padding: 10px 20px;
  background: transparent; outline: none; box-shadow: none;
}
.domain-search-wrap-large button { border-radius: 8px; padding: 12px 24px; }

.exact-match-wrapper { margin-bottom: 40px; }
.exact-match-card {
  background: var(--sky-light); border-radius: 16px; padding: 30px; border: 1px solid var(--card-border);
}
.badge-exact {
  display: inline-block; background: var(--teal); color: #fff; font-size: 0.75rem;
  font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 15px;
}
.exact-match-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.exact-match-domain { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.exact-match-pricing .price-main { font-size: 1.4rem; font-weight: 800; color: var(--navy); }


.domain-list { display: flex; flex-direction: column; }
.domain-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--card-border); flex-wrap: wrap; gap: 15px;
}
.domain-list-item:last-child { border-bottom: none; }
.domain-list-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); flex: 1; }
.domain-list-pricing { text-align: right; margin-right: 20px; }
.domain-list-pricing .price-main { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.domain-list-pricing .price-sub { font-size: 0.8rem; color: var(--text-mid); }

.domain-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.domain-feat { display: flex; gap: 14px; align-items: flex-start; }
.domain-feat-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--sky-light);
  display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0;
}
.domain-feat h4 { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.domain-feat p  { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* ════════════════ 7. FORMS & QUOTE ════════════════ */
#quote { background: linear-gradient(180deg, #f5fbfd 0%, #dff0f7 100%); position: relative; overflow: hidden; }
.quote-form-wrap {
  max-width: 660px; margin: 0 auto; background: #fff;
  border: 1.5px solid var(--card-border); border-radius: 16px;
  padding: 40px 44px; box-shadow: 0 8px 40px rgba(42,191,191,0.08);
}
.form-row        { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-row.triple { grid-template-columns: 1fr 1fr 1fr; }
label      { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-mid); margin-bottom: 6px; }
label .req { color: #e05; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #d6eef5; border-radius: 8px;
  font-family: 'Nunito', sans-serif; font-size: 0.9rem; color: var(--navy); outline: none;
  transition: border-color 0.2s; background: #fff;
}
input::placeholder, textarea::placeholder { color: #a0bfcc; }
input:focus, select:focus, textarea:focus  { border-color: var(--teal); }
textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%; padding: 15px; border-radius: 10px; background: var(--teal); color: #fff;
  border: none; font-size: 1rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.15s; margin-top: 8px;
}
.btn-submit:hover { background: var(--teal-dark); transform: translateY(-2px); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 10px; }

/* ════════════════ 8. TEAM SECTION ════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 20px; }
.team-card {
  border: 1.5px solid var(--card-border); border-radius: var(--radius); padding: 40px 30px;
  text-align: center; background: #fff; transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(42,191,191,0.08); }
.team-avatar {
  width: 90px; height: 90px; border-radius: 50%; background: var(--sky-light);
  color: var(--teal); font-size: 2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.team-role { font-weight: 700; color: var(--teal); font-size: 0.9rem; margin-bottom: 4px; }
.team-location { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.team-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 4px; }
.team-card p:last-child { color: var(--text-mid); font-size: 0.95rem; line-height: 1.6; }

/* ════════════════ 9. FOOTER ════════════════ */
footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 60px 48px 30px; position: relative; z-index: 10; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr; gap: 40px; max-width: 1100px; margin: 0 auto 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 14px; text-decoration: none; }
.footer-brand p { font-size: 0.87rem; line-height: 1.65; max-width: 220px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.footer-contact-item svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--teal); }

/* ════════════════ 10. RESPONSIVE DESIGN (MOBILE & TABLET) ════════════════ */
@media (max-width: 900px) {
  .form-row.triple { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 15px; }
  .nav-links { display: none; }
  .nav-actions { flex-direction: row; width: auto; gap: 10px; }
  .currency-selector { padding: 6px; font-size: 14px; }
  
  /* Washes out the background graphic on mobile so hero text is legible */
  .sail-scene-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
  }

  section { padding: 70px 20px; }
  .quote-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  
  .exact-match-header { flex-direction: column; align-items: flex-start; }
  .domain-list-pricing { text-align: left; margin-right: 0; }
  .domain-list-item { flex-direction: column; align-items: flex-start; }
  .domain-list-item .btn-outline { width: 100%; justify-content: center; margin-top: 10px; }
}

@media (max-width: 480px) {
  /* Fixes for squished Nav Bar on narrow phones (e.g., Galaxy S8+) */
  nav { padding: 0 10px; }
  .nav-logo-text { height: 22px; } /* Scaled down logo */
  .nav-actions { gap: 6px; }
  .btn-primary { padding: 8px 12px; font-size: 0.8rem; } /* Scaled down button */
  .currency-selector { padding: 4px; font-size: 12px; } /* Scaled down dropdown */

  .domain-search-wrap-large { flex-direction: column; background: transparent; border: none; box-shadow: none; padding: 0; gap: 10px; }
  .domain-search-wrap-large input { background: #fff; border: 1px solid var(--card-border); border-radius: 8px; }
  .domain-search-wrap-large button { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}