/* ===================================================
   Ziplens — style.css
   Shared stylesheet for ziplens.com
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;600;700;800&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  --navy:       #0A1628;
  --navy-light: #1a2a45;
  --navy-mid:   #0d2045;
  --teal:       #00BCD4;
  --teal-dark:  #0097A7;
  --white:      #ffffff;
  --gray-50:    #f8f9fa;
  --gray-100:   #f0f2f5;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1e293b;
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --max-width: 1200px;
  --radius:    12px;
  --shadow:    0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
}

/* ===== Utility ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.35);
}

.section-label {
  display: inline-block;
  background: rgba(0, 188, 212, 0.12);
  color: var(--teal-dark);
  border: 1px solid rgba(0, 188, 212, 0.25);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

/* ===== Header ===== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 68px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo span {
  color: var(--teal);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--teal);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-light);
  padding: 8px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--teal);
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 52px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  font-size: 1.4rem;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
  max-width: 340px;
}

.footer-info {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
}

.footer-info a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-info a:hover {
  color: var(--teal);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--teal);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #0a3060 100%);
  position: relative;
  overflow: hidden;
  padding: 108px 24px 120px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.11) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(0, 188, 212, 0.13);
  color: var(--teal);
  border: 1px solid rgba(0, 188, 212, 0.3);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}

.hero h1 .accent {
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 48px;
  line-height: 1.75;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FEATURES ===== */
.features {
  padding: 92px 24px;
  background: var(--gray-50);
}

.features-header {
  text-align: center;
  margin-bottom: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 188, 212, 0.15);
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.14), rgba(0, 188, 212, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 30px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 92px 24px;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto 44px;
}

.review-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.25s, transform 0.25s;
}

.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card blockquote {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.78;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.reviewer-location {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 3px;
}

.reviews-aggregate {
  text-align: center;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
}

.rating-badge .stars {
  margin-bottom: 0;
  font-size: 15px;
}

/* ===== SMS OPT-IN ===== */
.sms-optin {
  padding: 92px 24px;
  background: linear-gradient(135deg, #eef9fc 0%, #e0f7fa 100%);
}

.sms-optin-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.sms-optin-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 30px;
}

.sms-optin h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}

/* ===== FORMS ===== */
.optin-form,
.contact-form-body {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.consent-group {
  margin: 20px 0;
}

.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--teal);
  cursor: pointer;
}

.consent-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.65;
}

.consent-text a {
  color: var(--teal);
  text-decoration: underline;
}

.form-note {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 14px;
  line-height: 1.65;
}

.btn-full {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  margin-top: 20px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  margin-bottom: 38px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 76px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 24px 96px;
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 28px 36px;
  border-bottom: 1px solid var(--gray-100);
}

.card-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.card-body {
  padding: 32px 36px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.12), rgba(0, 188, 212, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-content {}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

.info-content p,
.info-content a {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.65;
}

.info-content a {
  color: var(--gray-700);
}

.info-content a:hover {
  color: var(--teal);
}

.hours-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 20px;
  font-size: 14px;
  color: var(--gray-600);
}

.hours-day {
  font-weight: 600;
  color: var(--navy);
}

.sms-reminder-bar {
  background: var(--navy);
  padding: 20px 32px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.7;
  max-width: var(--max-width);
  margin: 32px auto 0;
}

.sms-reminder-bar strong {
  color: var(--teal);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 64px 24px 100px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-last-updated {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 40px;
  padding: 12px 20px;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin: 8px 0 16px;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--gray-800);
  font-weight: 600;
}

.legal-highlight {
  background: rgba(0, 188, 212, 0.06);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-contact-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.85;
}

.legal-contact-block a {
  color: var(--teal);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero {
    padding: 80px 24px 90px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .optin-form,
  .contact-form-body {
    padding: 28px 20px;
  }

  .card-header,
  .card-body {
    padding: 24px 24px;
  }
}

@media (max-width: 480px) {
  .sms-reminder-bar {
    padding: 18px 20px;
  }

  .legal-content h2 {
    font-size: 1.2rem;
  }
}
