/* ============================================================
   CONTEMP Page Sections
   ============================================================ */

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 26, 0.85) 0%,
    rgba(15, 15, 26, 0.6) 50%,
    rgba(7, 155, 175, 0.15) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(7, 155, 175, 0.4);
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}

.hero-particles .particle:nth-child(1)  { left: 10%;  top: 20%; animation-delay: 0s;   animation-duration: 18s; }
.hero-particles .particle:nth-child(2)  { left: 25%;  top: 60%; animation-delay: 2s;   animation-duration: 14s; }
.hero-particles .particle:nth-child(3)  { left: 40%;  top: 30%; animation-delay: 4s;   animation-duration: 20s; }
.hero-particles .particle:nth-child(4)  { left: 55%;  top: 70%; animation-delay: 1s;   animation-duration: 16s; }
.hero-particles .particle:nth-child(5)  { left: 70%;  top: 15%; animation-delay: 3s;   animation-duration: 22s; }
.hero-particles .particle:nth-child(6)  { left: 85%;  top: 45%; animation-delay: 5s;   animation-duration: 17s; }
.hero-particles .particle:nth-child(7)  { left: 15%;  top: 80%; animation-delay: 2.5s; animation-duration: 19s; }
.hero-particles .particle:nth-child(8)  { left: 60%;  top: 50%; animation-delay: 3.5s; animation-duration: 15s; }
.hero-particles .particle:nth-child(9)  { left: 90%;  top: 25%; animation-delay: 1.5s; animation-duration: 21s; }
.hero-particles .particle:nth-child(10) { left: 45%;  top: 85%; animation-delay: 4.5s; animation-duration: 13s; }

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1);   opacity: 0.3; }
  25%      { transform: translate(30px, -30px) scale(1.5); opacity: 0.7; }
  50%      { transform: translate(-20px, 20px) scale(0.8); opacity: 0.4; }
  75%      { transform: translate(15px, -15px) scale(1.2); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: var(--sp-20);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(7, 155, 175, 0.15);
  border: 1px solid rgba(7, 155, 175, 0.3);
  border-radius: var(--radius-full);
  color: var(--c-teal-light);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero h1 {
  font-size: var(--fs-5xl);
  color: var(--c-white);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--c-teal-light), var(--c-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.85);
}

.hero-checks li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-success);
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-device {
  position: absolute;
  z-index: 2;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 720px;
  animation: heroDevice 1s var(--ease-out) 0.5s both;
}

.hero-device img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroDevice {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ── About / What Is Section ── */
.about-section {
  background: var(--c-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(7, 155, 175, 0.2);
}

.about-text h2 {
  font-size: var(--fs-3xl);
}

.about-text h2 .highlight {
  color: var(--c-teal);
}

.about-text .lead {
  font-size: var(--fs-md);
  color: var(--c-gray-400);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
}

/* ── Features Section ── */
.features-section {
  background: var(--c-off-white);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

/* ── Specs / Cost Section ── */
.specs-section {
  background: var(--c-white);
  position: relative;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cost-highlight {
  background: linear-gradient(135deg, var(--c-dark) 0%, #1a1a3e 100%);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.cost-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(7, 155, 175, 0.1) 0%, transparent 70%);
}

.cost-highlight h3 {
  color: var(--c-white);
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.cost-highlight p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-6);
}

.cost-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.cost-stat-circle {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(7, 155, 175, 0.15);
  border: 2px solid var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal-light);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.cost-stat-text h4 {
  color: var(--c-white);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-1);
}

.cost-stat-text p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* ── Comparison Section ── */
.comparison-section {
  background: var(--c-off-white);
}

.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

/* ── Videos Section ── */
.videos-section {
  background: var(--c-white);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

.video-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.video-card h4 {
  margin-top: var(--sp-4);
  text-align: center;
  color: var(--c-gray-500);
}

/* ── Downloads Section ── */
.downloads-section {
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-teal-dark) 100%);
  color: var(--c-white);
}

.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.download-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
  backdrop-filter: blur(10px);
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.download-card svg {
  width: 48px;
  height: 48px;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.download-card h4 {
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}

.download-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}

.download-card .btn {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--c-white);
}

.download-card .btn:hover {
  background: var(--c-white);
  color: var(--c-teal);
}

/* ── Contact Section ── */
.contact-section {
  background: var(--c-dark);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(7, 155, 175, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-info h2 {
  color: var(--c-white);
}

.contact-info .lead {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-8);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(7, 155, 175, 0.1);
  border: 1px solid rgba(7, 155, 175, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal-light);
  flex-shrink: 0;
}

.contact-detail-text h5 {
  color: var(--c-white);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-1);
}

.contact-detail-text p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.contact-detail-text a {
  color: var(--c-teal-light);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--c-white);
  color-scheme: dark; /* Forces native mobile pickers to display in dark mode */
  font-size: var(--fs-base);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-group select option {
  background: var(--c-dark);
  color: var(--c-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(7, 155, 175, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

/* ── Page Header (FAQ, Help, etc.) ── */
.page-header {
  background: linear-gradient(135deg, var(--c-dark) 0%, #1a1a3e 100%);
  padding: calc(var(--sp-24) + 60px) 0 var(--sp-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(7, 155, 175, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--c-white);
  font-size: var(--fs-4xl);
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ── Content Sections (Help, Maturity, Tech) ── */
.content-section {
  background: var(--c-white);
}

.content-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-gray-100);
}

.content-wrapper h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-wrapper h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-8);
  color: var(--c-teal-dark);
}

.content-wrapper ul {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.content-wrapper ul li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-3);
  color: var(--c-gray-400);
  line-height: var(--lh-relaxed);
}

.content-wrapper ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-teal);
}

.content-wrapper ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-6);
  counter-reset: content-counter;
}

.content-wrapper ol li {
  counter-increment: content-counter;
  position: relative;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  color: var(--c-gray-400);
  line-height: var(--lh-relaxed);
}

.content-wrapper ol li::before {
  content: counter(content-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--c-teal);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-wrapper strong {
  color: var(--c-black);
  font-weight: var(--fw-semibold);
}

.callout-box {
  background: linear-gradient(135deg, rgba(7, 155, 175, 0.06), rgba(7, 155, 175, 0.02));
  border-left: 4px solid var(--c-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
}

.callout-box p {
  color: var(--c-gray-500);
  margin-bottom: 0;
}

/* ── Products Section ── */
.products-section {
  background: linear-gradient(180deg, var(--c-dark) 0%, #141430 100%);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(7,155,175,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7,155,175,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.product-card.featured {
  border-color: rgba(7,155,175,0.3);
  background: rgba(7,155,175,0.06);
}

.product-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-teal-light));
}

.product-card-img {
  width: 100%;
  max-width: 220px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto var(--sp-6);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.product-card-badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--sp-4);
}

.product-card-badge.badge-teal {
  background: rgba(7,155,175,0.15);
  border: 1px solid rgba(7,155,175,0.3);
  color: var(--c-teal-light);
}

.product-card-badge.badge-orange {
  background: rgba(226,90,0,0.15);
  border: 1px solid rgba(226,90,0,0.3);
  color: var(--c-orange);
}

.product-card h3 {
  color: var(--c-white);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}

.product-card .product-tagline {
  color: var(--c-teal-light);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-card .product-desc {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
}

.product-features {
  text-align: left;
  margin-bottom: var(--sp-6);
  flex-grow: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.product-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--c-teal-light);
  margin-top: 2px;
}

.product-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ── Wave Divider ── */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
