@import "./colors/ocean.css";

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8rem, rgba(var(--brand-rgb), 0.12), transparent 28rem),
    radial-gradient(circle at 88% 0, rgba(var(--accent-rgb), 0.28), transparent 26rem),
    linear-gradient(180deg, var(--bg) 0, #fff 44rem, var(--bg) 100%);
  font-family: Lato, Arial, sans-serif;
  line-height: 1.68;
}

img {
  max-width: 100%;
}

a {
  color: var(--brand);
}

p {
  text-align: justify;
}

h1,
h2,
h3,
h4 {
  text-align: left;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(var(--surface-rgb), 0.82);
  border-bottom: 1px solid rgba(var(--line-rgb), 0.75);
  backdrop-filter: blur(18px);
}

.site-header {
  max-width: 1240px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 12px 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  max-height: 50px;
  max-width: 188px;
  object-fit: contain;
}

.logo span {
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: rgba(var(--surface-strong-rgb), 0.04);
  border: 1px solid rgba(var(--line-rgb), 0.7);
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--surface-strong);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 26px rgba(var(--brand-rgb), 0.25);
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 126px;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 30px;
  align-items: stretch;
  min-height: 620px;
  margin: 26px 0 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  background:
    linear-gradient(145deg, rgba(var(--surface-rgb), 0.98), rgba(var(--surface-rgb), 0.78)),
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.26), transparent 24rem);
  border: 1px solid rgba(var(--line-rgb), 0.85);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--brand-dark);
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--surface-strong);
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(var(--surface-strong-rgb), 0.18);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(var(--surface-strong-rgb), 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(var(--brand-rgb), 0.24);
}

.button.secondary {
  color: var(--surface-strong);
  background: linear-gradient(135deg, var(--accent), #fff);
  box-shadow: 0 16px 28px rgba(var(--accent-rgb), 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.hero-stats span {
  padding: 12px;
  color: var(--brand-dark);
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.section {
  margin: 22px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  align-items: start;
  padding: 0;
}

.section-heading {
  padding: 30px;
  background: var(--surface);
  border: 1px solid rgba(var(--line-rgb), 0.85);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(var(--surface-strong-rgb), 0.06);
}

.section-heading h2,
.section h2 {
  margin: 0;
  color: var(--surface-strong);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-body {
  padding: 30px;
  background: rgba(var(--surface-rgb), 0.88);
  border: 1px solid rgba(var(--line-rgb), 0.85);
  border-radius: 8px;
}

.section h3 {
  margin: 22px 0 8px;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.25;
}

.section p {
  margin: 0 0 14px;
  color: var(--muted);
}

.cards-section,
.steps-section,
.checklist-section,
.faq-section {
  padding: 30px;
  background: rgba(var(--surface-rgb), 0.74);
  border: 1px solid rgba(var(--line-rgb), 0.82);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(var(--surface-strong-rgb), 0.07);
}

.cards-section > .section-heading,
.steps-section > .section-heading,
.checklist-section > .section-heading,
.faq-section > .section-heading {
  padding: 0;
  margin-bottom: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), transparent),
    var(--surface);
  border: 1px solid rgba(var(--line-rgb), 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(var(--surface-strong-rgb), 0.08);
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--surface-strong);
}

.feature-card p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 14px;
}

.step-intro {
  max-width: 860px;
  padding: 18px 20px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 8px;
}

.step-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid rgba(var(--line-rgb), 0.9);
  border-radius: 8px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 8px;
  font-weight: 900;
}

.step-item h3 {
  margin-top: 0;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(var(--line-rgb), 0.9);
  border-radius: 8px;
}

.check-item span {
  width: 24px;
  height: 24px;
  margin-top: 3px;
  background: var(--brand);
  border-radius: 8px;
}

.check-item p {
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

details {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(var(--line-rgb), 0.9);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--surface-strong);
  font-weight: 900;
}

details[open] summary {
  border-bottom: 1px solid var(--line);
}

details p {
  padding: 18px 20px 20px;
}

.site-footer {
  max-width: 1240px;
  display: grid;
  gap: 8px;
  margin: 0 auto 20px;
  padding: 34px 22px 42px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.22), transparent 26rem),
    linear-gradient(135deg, var(--surface-strong), var(--brand-dark));
  border-radius: 8px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.floating-actions {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  width: min(520px, calc(100% - 24px));
  padding: 10px;
  background: rgba(var(--surface-rgb), 0.86);
  border: 1px solid rgba(var(--line-rgb), 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(var(--surface-strong-rgb), 0.2);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 24px rgba(var(--brand-rgb), 0.22);
}

.floating-button.secondary {
  color: var(--surface-strong);
  background: linear-gradient(135deg, var(--accent), #ffffff);
  box-shadow: 0 12px 24px rgba(var(--accent-rgb), 0.24);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  nav {
    order: 4;
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-showcase,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    min-height: 420px;
  }

  .feature-grid,
  .checklist,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    display: none;
    width: 100%;
    justify-content: stretch;
  }

  .site-header.is-menu-open nav {
    display: grid;
  }

  .header-cta {
    order: 5;
    width: 100%;
  }

  nav a {
    justify-content: center;
    width: 100%;
  }

  main {
    padding-inline: 12px;
    padding-bottom: 146px;
  }

  .hero-copy,
  .cards-section,
  .steps-section,
  .checklist-section,
  .faq-section,
  .section-heading,
  .section-body {
    padding: 22px;
  }

  .hero-stats,
  .feature-grid,
  .checklist,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    bottom: 10px;
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }
}
