/* Platinum Pool Co. — Premium Dark Theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2a;
  --navy-light: #1b2d45;
  --navy-mid: #162236;
  --dark-surface: #152033;
  --blue: #3a8fd4;
  --blue-bright: #5ba3e0;
  --cyan: #4ecdc4;
  --white: #f0f4f8;
  --text: #c8d6e5;
  --text-muted: #8899aa;
  --gold: #c9a96e;
  --gold-light: #dfc590;
  --green: #4ecdc4;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --radius: 8px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--navy);
  line-height: 1.6;
}

/* ── WATER TEXTURE (dark theme) ── */
.water-bg {
  background-color: var(--navy);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a8fd4' stop-opacity='0.03'/%3E%3Cstop offset='1' stop-color='%234ecdc4' stop-opacity='0.04'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 80 Q50 60 100 80 T200 80 V200 H0Z' fill='url(%23a)'/%3E%3Cpath d='M0 120 Q50 100 100 120 T200 120 V200 H0Z' fill='url(%23a)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.pool-shimmer {
  background-color: var(--navy-light);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(78,205,196,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(58,143,212,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(78,205,196,0.03) 0%, transparent 50%);
}

.water-depth {
  background-color: var(--navy-mid);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150' viewBox='0 0 300 150'%3E%3Cpath d='M0 50 Q75 30 150 50 T300 50' fill='none' stroke='%233a8fd4' stroke-opacity='0.06' stroke-width='1.5'/%3E%3Cpath d='M0 80 Q75 60 150 80 T300 80' fill='none' stroke='%234ecdc4' stroke-opacity='0.05' stroke-width='1'/%3E%3Cpath d='M0 110 Q75 90 150 110 T300 110' fill='none' stroke='%233a8fd4' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 300px 150px;
}

/* ── TOP BAR ── */
.topbar {
  background: #080f18;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.topbar a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.topbar .tb-phone { display: flex; align-items: center; gap: 6px; }

/* ── HEADER ── */
header {
  background: var(--navy);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.logo-wrap img { height: 52px; width: auto; }
.logo-wrap .logo-text { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.logo-wrap .logo-sub { font-size: 11px; color: var(--blue-bright); letter-spacing: 0.5px; }
.header-cta a {
  background: transparent;
  color: var(--gold);
  padding: 11px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold);
}
.header-cta a:hover { background: var(--gold); color: var(--navy); }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #060d16 0%, var(--navy) 30%, var(--navy-light) 70%, #0f2640 100%);
  color: var(--white);
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(58,143,212,0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(78,205,196,0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'%3E%3Cpath d='M0 100 Q100 60 200 100 T400 100' fill='none' stroke='%234ecdc4' stroke-opacity='0.08' stroke-width='2'/%3E%3Cpath d='M0 140 Q100 100 200 140 T400 140' fill='none' stroke='%233a8fd4' stroke-opacity='0.06' stroke-width='1.5'/%3E%3Cpath d='M0 60 Q100 30 200 60 T400 60' fill='none' stroke='%234ecdc4' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100%, 100%, 400px 200px;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.8px;
  color: var(--gold-light);
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -1px;
  color: #ffffff;
}
.hero h1 span { color: var(--cyan); }
.hero p {
  font-size: 18px;
  color: rgba(200,214,229,0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,169,110,0.4); background: var(--gold-light); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
}
.trust-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.trust-item .icon { font-size: 16px; }

/* ── SECTIONS ── */
section { padding: 64px 24px; }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: rgba(58,143,212,0.12);
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(58,143,212,0.2);
}
h2.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--dark-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,110,0.3); }
.service-icon { font-size: 36px; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.checklist li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── LEAD FORM ── */
.form-section {
  background: #060d16;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(58,143,212,0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 30%, rgba(78,205,196,0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='250' viewBox='0 0 500 250'%3E%3Cpath d='M0 120 Q125 80 250 120 T500 120' fill='none' stroke='%234ecdc4' stroke-opacity='0.05' stroke-width='2'/%3E%3Cpath d='M0 170 Q125 130 250 170 T500 170' fill='none' stroke='%233a8fd4' stroke-opacity='0.03' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 100%, 100%, 500px 250px;
  pointer-events: none;
}
.form-section .section-inner { position: relative; }
.form-section .section-tag { background: rgba(201,169,110,0.15); color: var(--gold-light); border-color: rgba(201,169,110,0.3); }
.form-section h2.section-title { color: #ffffff; }
.form-section .section-sub { color: rgba(200,214,229,0.7); }
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 700px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.form-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-card p { font-size: 14px; color: #5a6a7a; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #d0e4f5;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #2c3e50;
  background: #fafcff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,143,212,0.15);
  background: #ffffff;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 6px;
  font-family: inherit;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.sms-consent {
  background: #f4f8fb;
  border: 1px solid #d0e4f5;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 10px 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sms-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
.sms-consent label {
  font-size: 12px !important;
  color: #5a6a7a !important;
  line-height: 1.6;
  font-weight: 400 !important;
  cursor: pointer;
}
.sms-consent label a { color: var(--blue); text-decoration: underline; }
.form-benefits { padding-top: 16px; }
.form-benefits h3 { font-size: 20px; font-weight: 700; color: #ffffff; margin-bottom: 20px; }
.benefit-item { display: flex; gap: 14px; margin-bottom: 22px; }
.benefit-icon {
  width: 42px;
  height: 42px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.benefit-item h4 { font-size: 15px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.benefit-item p { font-size: 13px; color: rgba(200,214,229,0.6); line-height: 1.5; }

/* ── REVIEWS ── */
.reviews-section {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a8fd4' stop-opacity='0.02'/%3E%3Cstop offset='1' stop-color='%234ecdc4' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 80 Q50 60 100 80 T200 80 V200 H0Z' fill='url(%23a)'/%3E%3Cpath d='M0 120 Q50 100 100 120 T200 120 V200 H0Z' fill='url(%23a)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 0;
}
.reviews-section > * { position: relative; z-index: 1; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  background: var(--dark-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 38px; height: 38px;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--gold);
}
.reviewer-name { font-size: 13px; font-weight: 700; color: #ffffff; }
.reviewer-loc { font-size: 12px; color: var(--text-muted); }

/* ── FINAL CTA ── */
.final-cta {
  background: linear-gradient(160deg, #060d16, var(--navy), var(--navy-light));
  text-align: center;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(201,169,110,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'%3E%3Cpath d='M0 100 Q100 60 200 100 T400 100' fill='none' stroke='%234ecdc4' stroke-opacity='0.05' stroke-width='2'/%3E%3Cpath d='M0 150 Q100 110 200 150 T400 150' fill='none' stroke='%233a8fd4' stroke-opacity='0.04' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 100%, 400px 200px;
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: #ffffff; margin-bottom: 14px; }
.final-cta p { font-size: 18px; color: rgba(200,214,229,0.75); margin-bottom: 36px; }
.final-cta .btn-primary { font-size: 18px; padding: 18px 36px; }

/* ── FOOTER ── */
footer {
  background: #060d16;
  color: var(--text-muted);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid var(--border);
}
footer a { color: var(--gold-light); text-decoration: none; }
footer .footer-name { font-weight: 700; color: #ffffff; font-size: 16px; margin-bottom: 6px; }

/* ── MOBILE ── */
@media (max-width: 600px) {
  .topbar { flex-direction: column; gap: 4px; text-align: center; }
  header { padding: 10px 16px; }
  .logo-wrap .logo-text { font-size: 16px; }
  .header-cta a { padding: 10px 16px; font-size: 14px; }
  .hero { padding: 48px 16px 40px; }
  section { padding: 48px 16px; }
  .form-card { padding: 24px 18px; }
}
