/*
Theme Name: iPark Theme
Author: iPark Team
Version: 1.0
Description: Custom landing page theme for iPark.
*/

:root {
  --navy: #082f49;
  --blue: #08b9ef;
  --cyan: #12c8f2;
  --green: #42d65c;
  --orange: #ff8a16;
  --ink: #12344a;
  --muted: #63788a;
  --paper: #f5f9fc;
  --white: #fff;
  --line: #dce8ef;
  --shadow: 0 18px 50px rgba(8, 47, 73, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1160px, 92%);
  margin: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 232, 239, 0.8);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 50px;
  width: auto;
}
.navlinks {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #34566b;
}
.navlinks a:hover {
  color: #08aee4;
}
.navcta {
  background: var(--navy);
  color: #fff;
  padding: 11px 17px;
  border-radius: 999px;
}
.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--navy);
}
.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(18, 200, 242, 0.2),
      transparent 30%
    ),
    linear-gradient(120deg, #062c46 0%, #0a4868 48%, #087ea7 100%);
  color: #fff;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 45%;
  height: 520px;
  background: rgba(66, 214, 92, 0.12);
  border-radius: 50%;
  filter: blur(30px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9cf6a7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--green);
}
h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 18px 0 22px;
}
h1 span {
  color: #9bf46a;
}
.lead {
  font-size: 20px;
  color: #d9eef6;
  max-width: 650px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-size: 20px;
  font-weight: 800;
  border-radius: 14px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: #073a27;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
a, button, .btn {
  cursor: pointer;
}
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}
.hero-card .metric {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.hero-card small {
  color: #bfe6f2;
}
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.mini {
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.14);
}
.mini b {
  display: block;
  font-size: 20px;
}
.mini span {
  font-size: 12px;
  color: #c4e5ee;
}
section {
  padding: 90px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: #0aaedc;
}
h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 10px 0 14px;
  color: var(--navy);
}
.section-head p {
  font-size: 18px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(8, 47, 73, 0.05);
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #e7f8fd;
  color: #058cb8;
  font-weight: 900;
  font-size: 21px;
  margin-bottom: 20px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--navy);
}
.card p {
  margin: 0;
  color: var(--muted);
}
.band {
  background: var(--paper);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}
.bullets {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}
.bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f8eb;
  color: #159b37;
  font-size: 14px;
  font-weight: 900;
}
.visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.visual img {
  display: block;
  width: 100%;
  height: auto;
}
.visual2 {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.visual img {
  display: block;
  width: 100%;
  height: auto;
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.option {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.option.featured {
  border: 2px solid #0aaedc;
  box-shadow: var(--shadow);
}
.option h3 {
  margin: 0 0 7px;
  color: var(--navy);
}
.price {
  font-size: 38px;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 14px 0;
}
.orange .price {
  color: #e96d00;
}
.note {
  font-size: 12px;
  color: var(--muted);
}
.calculator {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 35px;
  box-shadow: var(--shadow);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.fields {
  display: grid;
  gap: 18px;
}
.field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #c4e5ee;
  font-weight: 700;
  margin-bottom: 7px;
}
.field output {
  color: #9bf46a;
}
.field input {
  width: 100%;
  accent-color: #42d65c;
}
.result {
  padding: 25px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.result .big {
  font-size: 50px;
  font-weight: 950;
  line-height: 1.05;
}
.result p {
  color: #c4e5ee;
}
.cta {
  padding: 70px 0;
  background: linear-gradient(120deg, #087ea7, #07314c);
  color: #fff;
}
.cta-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.cta h2 {
  color: #fff;
  margin: 0;
}
.cta p {
  color: #c9e7f1;
  max-width: 650px;
}
footer {
  background: #06263b;
  color: #a9c8d6;
  padding: 40px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.footer-logo {
  height: 42px;
}
.small {
  font-size: 12px;
}
@media (max-width: 900px) {
  .navlinks {
    display: none;
  }
  .menu {
    display: block;
  }
  .hero-grid,
  .split,
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 70px 0;
  }
  .hero-card {
    max-width: 620px;
  }
  .cta-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 620px) {
  section {
    padding: 65px 0;
  }
  .cards,
  .options {
    grid-template-columns: 1fr;
  }
  .nav {
    height: 68px;
  }
  .logo {
    height: 43px;
  }
  h1 {
    font-size: 44px;
  }
  .lead {
    font-size: 17px;
  }
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 4%;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
}
.mobile-nav.open {
  display: grid;
}
.mobile-nav a {
  padding: 12px 0;
  font-weight: 800;
}

/* ==========================================
   Contact Modal Styles
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 38, 59, 0.75);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(8, 47, 73, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s ease-in-out;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: #f0f5f8;
  color: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.modal-close:hover {
  background: var(--line);
}

.modal-header h2 {
  font-size: 28px;
  margin: 0 0 6px;
}

.modal-header p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.ipark-form {
  display: grid;
  gap: 16px;
}

.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;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: #fff;
}

.btn-full {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  border: none;
}

.form-status {
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
}

.form-status.success {
  color: #159b37;
}

.form-status.error {
  color: #e53935;
}