/*
Theme Name: AiDiA My BFF
Author: Shawn Fenton
Version: 1.0
Description: Converted from custom HTML.
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--primary: #1C3A5E;
--primary-mid: #3D5A80;
--primary-light: #E8EFF7;
--accent: #C0392B;
--accent-soft: #E07A5F;
--accent2: #81B29A;
--text: #1C2B3A;
--muted: #5a6a78;
--bg: #F8FAFC;
--white: #ffffff;
--warm: #FDF6F0;
--card-shadow: 0 8px 32px rgba(28,58,94,0.12);
--radius: 16px;
}
/* =========================
  GLOBAL UI RESET SYSTEM
========================= */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: "Inter", sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
}

/* consistent section spacing */
section {
padding: clamp(60px, 8vw, 100px) 7%;
}

/* global container rule */
.container {
max-width: 1200px;
margin: 0 auto;
}

/* consistent spacing rhythm */
section + section {
margin-top: 0;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }

/* NAV */
/* =========================
   NAVBAR BASE
========================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 7%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(28,58,94,0.10);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* =========================
   LOGO
========================= */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 46px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-logo-text span {
  color: var(--accent);
}

/* =========================
   NAV LINKS (DESKTOP)
========================= */
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* =========================
   RIGHT SIDE ACTIONS
   (CART + BUY NOW)
========================= */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* BUY NOW BUTTON */
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;

  box-shadow: 0 4px 14px rgba(192,57,43,0.30);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(192,57,43,0.40);
}

/* =========================
   CART ICON + BADGE
========================= */
.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 22px;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;

  background: var(--accent);
  color: #fff;

  font-size: 12px;
  width: 18px;
  height: 18px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 900px) {

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 5%;
  }

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

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

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

  .nav-cta {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
}

/* HERO SHOWCASE - clean modern layout */
#hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
 gap:30px;

  min-height:100vh;
  padding:140px 7% 80px;
  overflow:hidden;
}
  .hero{
  background:radial-gradient(circle at top,#f5f5f7,#ffffff);
}
 #hero {
  position: relative;
  padding-top: 110px;
}

/* text */
.hero-text{
  z-index:5;
  opacity:0;
  transform:translateY(30px);
  animation:heroTextReveal 1s ease forwards;
  animation-delay:1s;
}

.hero-text h1{
  font-size:4.5rem;
  line-height:1.05;
  margin-bottom:20px;
  font-family:'Playfair Display',serif;
}

.hero-text em{
  color:var(--accent);
  font-style:italic;
}

.hero-text p{
  max-width:560px;
  font-size:1.15rem;
  color:var(--muted);
}
  @keyframes heroTextReveal{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* showcase */
.hero-showcase{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  height:auto;
}

.hero-bear{
  width:100%;
  max-width:500px;

  opacity:0;
  transform:scale(.9);
  animation:bearReveal 1s ease forwards;
}

@keyframes bearReveal{
  from{
    opacity:0;
    transform:scale(.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}
  
/* floating photo card */
.hero-floating-card{
  position:absolute;
  right:-20px;
  top:50%;
  transform:translateY(-50%);
  width:320px;
  background:white;
  border-radius:28px;
  overflow:hidden;

  box-shadow:
  0 25px 60px rgba(0,0,0,.18);

  backdrop-filter:blur(12px);

  animation:floatCard 5s ease-in-out infinite;
}

.hero-floating-card img{
  width:100%;
  display:block;
}

@keyframes floatCard{
  0%,100%{
    transform:translateY(-50%);
  }
  50%{
    transform:translateY(calc(-50% - 12px));
  }
}

/* glow behind bear */
#hero::before{
  content:"";
  position:absolute;

  width:700px;
  height:700px;

  background:
  radial-gradient(
    circle,
    rgba(61,90,128,.25),
    transparent 70%
  );

  right:5%;
  top:50%;

  transform:translateY(-50%);
  filter:blur(40px);
}

/* mobile */
@media(max-width:900px){

  #hero{
    grid-template-columns:1fr;
    text-align:center;
    min-height:auto;
    padding-top:150px;
  }

  .hero-showcase{
    margin-top:18px;
  }

}

 .hero-floating-card{
  position:relative;
  right:auto;
  top:auto;
  transform:none;
  width:85%;
  margin:-40px auto 0;
}
  
/* TRUST BAR */
#trust {
background: var(--primary);
padding: 20px 7%;
display: flex;
align-items: center;
justify-content: center;
gap: 36px;
flex-wrap: wrap;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  #trust {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
  }

  .trust-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 6px 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
  }

  #trust::-webkit-scrollbar {
    display: none;
  }
}
  .hero-btns{
  display:flex;
  gap:18px;
  margin-top:18px;
  flex-wrap:wrap;
}

/* BASE GLASS STYLE */
.btn-primary,
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:14px 26px;
  border-radius:14px;

  font-weight:600;
  font-family:'Inter', sans-serif;
  letter-spacing:.2px;

  text-decoration:none;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border:1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.12);

  transition: all .3s ease;
}
.hero-btns{
  display:flex;
  gap:18px;
  margin-top:18px;
  flex-wrap:wrap;
}

/* ===== BASE COMPANION BUTTON ===== */
.btn-primary,
.btn-outline{
  position:relative;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:14px 26px;
  border-radius:16px;

  font-family:'Inter', sans-serif;
  font-weight:600;
  letter-spacing:.3px;

  text-decoration:none;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition: all .35s ease;

  overflow:hidden;

  z-index:1;
}

/* ===== PRIMARY (AI CORE ACTION) ===== */
.btn-primary{
  color:#fff;

  background: rgba(61, 90, 128, 0.35);

  border:1px solid rgba(120, 180, 255, 0.35);

  box-shadow:
    0 0 0 1px rgba(120,180,255,0.08),
    0 15px 40px rgba(0,0,0,0.18),
    0 0 25px rgba(61,90,128,0.25);
}

/* glowing energy layer */
.btn-primary::before{
  content:"";
  position:absolute;
  inset:-2px;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(120,180,255,0.35),
    transparent 60%
  );

  opacity:0;
  transition:opacity .35s ease;
  z-index:-1;
}

/* ===== OUTLINE (SECONDARY COMPANION ACTION) ===== */
.btn-outline{
  color: var(--accent);

  background: rgba(255,255,255,0.06);

  border:1px solid rgba(120,180,255,0.25);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.12);
}

/* subtle inner glow line */
.btn-outline::before{
  content:"";
  position:absolute;
  inset:0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(120,180,255,0.15),
    transparent
  );

  transform:translateX(-100%);
  transition:transform .6s ease;
  z-index:-1;
}

/* ===== HOVER INTERACTION (COMPANION RESPONSE) ===== */
.btn-primary:hover,
.btn-outline:hover{
  transform: translateY(-3px) scale(1.02);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.22),
    0 0 35px rgba(61,90,128,0.35);
}

/* activate glow */
.btn-primary:hover::before{
  opacity:1;
}

.btn-outline:hover::before{
  transform:translateX(100%);
}

/* ===== ACTIVE (PRESS FEEDBACK) ===== */
.btn-primary:active,
.btn-outline:active{
  transform: scale(0.97);
}

/* ===== OPTIONAL: “LIVING AI PULSE” ===== */
.btn-primary{
  animation: aiPulse 6s ease-in-out infinite;
}

@keyframes aiPulse{
  0%,100%{
    box-shadow:
      0 15px 40px rgba(0,0,0,0.18),
      0 0 20px rgba(61,90,128,0.15);
  }
  50%{
    box-shadow:
      0 20px 55px rgba(0,0,0,0.22),
      0 0 40px rgba(120,180,255,0.25);
  }
}
  
/* SECTIONS */
section{padding:80px 7%;}
section + section{margin-top: 10px;}

/* better visual flow */
.section-tag{margin-bottom: 10px;}
.section-title{margin-bottom: 12px;}
.section-sub{margin-bottom: 25px;}

/* WHO IT'S FOR */
#who {
  background: var(--white);
}

.who-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 920px;
  margin: 56px auto 0;
}

/* CARD */
.who-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;

  /* softer Apple-style elevation */
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);

  /* lighter border (barely visible) */
  border: 1px solid rgba(0,0,0,0.04);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* subtle hover (Apple-style) */
.who-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
}

/* IMAGE AREA */
.who-card-img {
  position: relative;
  height: 320px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fafafa; /* cleaner than gradient */
}

/* IMAGE */
.who-card-img img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  padding: 8px;
}

/* LABEL (Apple-style micro badge) */
.who-label {
  position: absolute;
  top: 14px;
  left: 14px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);

  border-radius: 999px;
  padding: 4px 10px;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;

  color: #1d1d1f;

  border: 1px solid rgba(0,0,0,0.06);
}

/* BODY */
.who-card-body {
  padding: 24px;
}

/* TITLE (more Apple-like weight control) */
.who-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* TEXT */
.who-card-body p {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.6;
}
<div class="who-card-body">
  <h3>Teens & Children</h3>

  <p>
    Supports learning, emotional growth, and safe interaction for younger users.
  </p>

  <button onclick="openVideo()" class="btn-primary">
    Watch how it works
  </button>
</div>
</div>
</div>

<!-- VIDEO MODAL -->
<div id="videoModal" class="video-modal">
  <div class="video-content">

    <button onclick="closeVideo()" class="close-video">
      ✕
    </button>

    <video id="kidsVideo" controls playsinline>
      <source src="videos/aidia-video3.mp4" type="video/mp4">
    </video>

  </div>
</div>

</section>
/* ABOUT SECTION */
#about{
  padding:120px 7%;
  background:#f9fafb;
}

/* GRID */
.about-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:70px;
  align-items:center;
  max-width:1200px;
  margin:auto;
}

/* TEXT */
.about-text .section-tag{
  display:inline-block;
  margin-bottom:15px;
}

.section-title{
  font-size:2.8rem;
  line-height:1.2;
  margin-bottom:20px;
  font-family:'Playfair Display',serif;
}

.about-text p{
  font-size:1.05rem;
  line-height:1.7;
  color:#555;
  margin-bottom:16px;
}

/* QUOTE */
.about-quote{
  margin-top:18px;
  padding:20px 25px;
  border-left:4px solid var(--accent);
  background:white;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.about-quote p{
  font-style:italic;
  margin-bottom:10px;
}

/* RIGHT CARD */
.about-card-inner{
  background:white;
  padding:30px;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.about-card-inner h3{
  margin-bottom:15px;
}

.about-card-inner ul{
  list-style:none;
  padding:0;
}

.about-card-inner li{
  padding:10px 0;
  border-bottom:1px solid #eee;
  font-size:1rem;
}

/* MOBILE */
@media(max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .about-card-inner{
    margin-top:18px;
  }
}
  /* ===== SCROLL ANIMATION BASE ===== */
.reveal{
  opacity:1;
  transform:none;
}
  transition:all 0.8s ease;
  will-change:opacity, transform;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}
  
/* PRODUCT SHOWCASE */
#products{
background: var(--bg);
padding: 80px 7%;
}

.products-intro{
max-width: 580px;
margin-bottom: 48px;
}

/* GRID */
.products-grid{display:grid;grid-template-columns: repeat(2, 1fr);gap:28px;}

/* CARD */
.product-card{
border-radius: var(--radius);
overflow:hidden;
box-shadow: var(--card-shadow);
background:white;
display:grid;
grid-template-columns: 1fr 1fr;
transition: 0.25s;
}

.product-card:hover{
transform: translateY(-6px);
box-shadow: 0 16px 48px rgba(28,58,94,0.15);
}

/* IMAGE */
.product-card-img{
overflow:hidden;
background:#fff;
}

.product-card-img img{
width:100%;
height:100%;
object-fit: contain;
}

/* CONTENT */
.product-card-body{
padding:28px 24px;
display:flex;
flex-direction:column;
justify-content:center;
}

/* TAGS */
.product-tag{
display:inline-block;
font-size:0.7rem;
font-weight:800;
letter-spacing:1.5px;
text-transform:uppercase;
border-radius:50px;
padding:4px 12px;
margin-bottom:10px;
}

.tag-white{
background:#fdf0ec;
color:var(--accent);
}

.tag-blue{
background:var(--primary-light);
color:var(--primary-mid);
}

/* TEXT */
.product-card-body h3{
font-family:'Playfair Display', serif;
font-size:1.15rem;
margin-bottom:8px;
}

.product-card-body p{
font-size:0.84rem;
color:var(--muted);
line-height:1.7;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

.products-grid{
grid-template-columns: 1fr;
}

.amazon-product{
grid-template-columns: 1fr;
}

.hero-content{
flex-direction: column;
text-align: center;
}

.who-grid{
grid-template-columns: 1fr;
}

.testi-grid{
grid-template-columns: 1fr;
}

.videos-grid{
grid-template-columns: 1fr;
}

}
/* FEATURES */
#features{background:white;padding:80px 7%;margin:0;}
.features-layout{display:flex;flex-direction:column;gap:30px;max-width:1000px;margin:48px auto 0;}
.features-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.features-img img { width: 100%; display: block; }
.features-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--bg); border-radius: 14px; border: 1px solid rgba(28,58,94,0.07); transition: box-shadow 0.2s; }
.feature-item:hover { box-shadow: var(--card-shadow); }
.fi-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.fi-b { background: var(--primary-light); }
.fi-g { background: #eaf4ee; }
.fi-o { background: #fdf0ec; }
.feature-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.feature-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* VIDEO SECTION */
#videos { background: var(--primary); }
#videos .section-tag { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
#videos .section-title { color: white; }
#videos .section-sub { color: rgba(255,255,255,0.65); }
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.video-card video{width: 100%;height: 360px;object-fit: cover;background: #000;border-radius: 14px;}
.video-card{overflow: hidden;border-radius: 18px;}
.video-caption { padding: 16px 20px; }
.video-caption h3 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.video-caption p { color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* TESTIMONIALS */
#testimonials { background: var(--warm); }
.testi-grid{display:flex;flex-direction:column;gap:24px;max-width:900px;margin:48px auto 0;}
.testi-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); border: 1px solid rgba(28,58,94,0.07); }
.testi-stars { color: #F4C542; font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; font-style: italic; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.testi-author strong { display: block; color: var(--text); font-size: 0.86rem; }
.testi-author span { color: var(--muted); font-size: 0.76rem; }

/* HOW IT WORKS */
#how { background: white; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 18px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--primary-light), var(--accent2), var(--primary-light)); }
.step { text-align: center; position: relative; }
.step-num { width: 68px; height: 68px; border-radius: 50%; background: white; border: 3px solid var(--primary-mid); color: var(--primary); font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(28,58,94,0.14); }
.step h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* CARE HOMES */
.carehome-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
 gap:30px;
  align-items:center;
  max-width:1200px;
  margin:auto;
}

.carehome-content{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.carehome-points{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:10px;
}

.carehome-point{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  transition:0.25s ease;
}

#carehomes .carehome-point{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
}

.carehome-point:hover{
  transform:translateY(-3px);
}

.cp-icon{
  font-size:1.4rem;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.1);
  border-radius:10px;
}

.cp-text strong{
  display:block;
  font-size:0.95rem;
  margin-bottom:4px;
}

.cp-text p{
  font-size:0.85rem;
  opacity:0.75;
  line-height:1.5;
}

/* IMAGE */
.carehome-img img{
  width:100%;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

/* CTA */
.carehome-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:15px;
}

/* MOBILE */
@media(max-width:900px){
  .carehome-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .carehome-cta{
    justify-content:center;
  }
}

/* CONTACT */
#contact {background: radial-gradient(circle at top, #f8fafc 0%, #eef3f8 60%, #e9eef6 100%);position: relative;overflow: hidden;}
.contact-header h3,.form-header h3{font-size:1.3rem;color:var(--primary);}

/* soft animated glow blobs */
#contact::before,
#contact::after {
content: "";
position: absolute;
width: 400px;
height: 400px;
border-radius: 50%;
filter: blur(90px);
opacity: 0.25;
z-index: 0;
}

#contact::before {
background: var(--primary-mid);
top: -120px;
left: -120px;
}

#contact::after {
background: var(--accent);
bottom: -140px;
right: -140px;
}


/* LEFT CARD — GLASS PREMIUM */
.contact-info-card {
background: rgba(255, 255, 255, 0.72);
backdrop-filter: blur(18px);
border: 1px solid rgba(255,255,255,0.4);
border-radius: 24px;
padding: 38px;
box-shadow:
0 30px 80px rgba(28, 58, 94, 0.10),
inset 0 1px 0 rgba(255,255,255,0.6);
position: relative;
overflow: hidden;
}

/* subtle inner shine */
.contact-info-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent);
pointer-events: none;
}

/* =========================
  MODERN CONTACT (CLEAN VERSION)
========================= */
/* GRID */

#contact {
background: radial-gradient(circle at top, #f8fafc, #eef3f8);
position: relative;
overflow: hidden;
}

/* layout */
.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
max-width:1200px;
margin:auto;
align-items:start;
}

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

/* LEFT CARD */
.contact-info-card {
background: rgba(255,255,255,0.8);
backdrop-filter: blur(18px);
border-radius: 22px;
padding: 32px;
box-shadow: 0 20px 50px rgba(0,0,0,0.08);
border: 1px solid rgba(0,0,0,0.05);
}

/* CONTACT ROWS */
.contact-detail {display: flex;align-items: center;gap: 14px;padding: 12px;border-radius: 14px;transition: 0.25s ease;margin-bottom: 10px;}

.contact-detail:hover {
background: rgba(61,90,128,0.06);
transform: translateY(-2px);
}
  .form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

/* ICON */
.contact-icon {
width: 46px;
height: 46px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;

font-size: 18px;
color: white;

background: linear-gradient(135deg, var(--primary), var(--primary-mid));
box-shadow: 0 10px 25px rgba(28,58,94,0.25);
}

.contact-icon i {
font-size: 18px;
}

/* TEXT */
.contact-detail strong {
display: block;
font-size: 0.9rem;
color: var(--text);
}

.contact-detail span,
.contact-detail a {
font-size: 0.85rem;
color: var(--muted);
text-decoration: none;
}

.contact-detail a:hover {
color: var(--primary-mid);
}

/* RIGHT FORM */
.contact-form {
background: white;
border-radius: 22px;
padding: 32px;
box-shadow: 0 20px 50px rgba(0,0,0,0.08);
display: flex;
flex-direction: column;
gap: 14px;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
padding: 12px 14px;
border-radius: 12px;
border: 1px solid rgba(0,0,0,0.12);
font-size: 0.9rem;
outline: none;
transition: 0.2s;
}

.contact-form textarea {
min-height: 120px;
resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
border-color: var(--primary-mid);
box-shadow: 0 0 0 3px rgba(61,90,128,0.15);
}

/* BUTTON */
.form-submit {
padding: 14px;
border: none;
border-radius: 50px;
background: linear-gradient(135deg, var(--primary), var(--primary-mid));
color: white;
font-weight: 700;
cursor: pointer;
transition: 0.25s;
}

.form-submit:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.video-modal{
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
  z-index: 999999;
}

.video-modal.active{
  display: flex;
}

.video-content{
  position: relative;
  width: min(850px, 95vw);
  border-radius: 14px;
  overflow: hidden;
}

.close-video{
  position:absolute;
  top:10px;
  right:10px;
  z-index: 10;
  background:white;
  border:none;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
}
  
/* ACTIVE STATE */
.kids-video-box.active {
opacity: 1;
visibility: visible;
transform: translate(-50%, -50%) scale(1);
}

/* VIDEO FIX */
.kids-video-box video {
width: 100%;
height: auto;
max-height: 80vh;   /* 👈 KEY FIX */
object-fit: contain; /* prevents cropping */
display: block;
}

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

.carehome-grid {
grid-template-columns: 1fr;
}

.contact-grid {
grid-template-columns: 1fr;
gap: 32px;
}
}

/* MOBILE */
@media (max-width: 600px) {
.form-row { grid-template-columns: 1fr; }
.steps-grid { grid-template-columns: 1fr; }
.product-card { grid-template-columns: 1fr; }
.products-grid { grid-template-columns: 1fr; }
}

/* ANIMATION */
.fade-in {
opacity: 0;
transform: translateY(22px);
transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

/* LOADER SCREEN */
#loader {
position: fixed;
inset: 0;
background: #0f1c2e;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 9999;
color: white;
gap: 20px;
}
#loader h2 {
font-family: 'Playfair Display', serif;
font-size: 1.4rem;
}
.carousel {
width: 100%;
max-width: 900px;
height: 500px;
margin: 60px auto;
overflow: hidden;
position: relative;
border-radius: 16px;
background: white;
box-shadow: var(--card-shadow);
}
.fade-carousel {
position: relative;
width: 100%;
height: 520px;
border-radius: 24px;
overflow: hidden;
background: white;
box-shadow:
0 15px 50px rgba(28,58,94,0.12),
0 5px 20px rgba(28,58,94,0.08);
border: 1px solid rgba(255,255,255,.4);
background:
linear-gradient(
135deg,
#ffffff,
#f8fafc
);
}
.fade-carousel .slide {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.8s ease;
}

.fade-carousel .slide.active {
opacity: 1;
z-index: 2;
}

.fade-carousel img {
width: 100%;
height: 100%;
object-fit: contain; /* fixes cropped bear */
}

/* luxury gradient */
.carousel-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;

padding: 30px;

background:
linear-gradient(
to top,
rgba(0,0,0,.75),
rgba(0,0,0,.25),
transparent
);

color: white;
z-index: 5;
}

.carousel-overlay h3 {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
margin-bottom: 5px;
}

.carousel-overlay p {
opacity: .9;
}

/* glass buttons */
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);

width: 48px;
height: 48px;

border: none;
border-radius: 50%;

background: rgba(255,255,255,.15);
backdrop-filter: blur(12px);

color: white;
font-size: 20px;

cursor: pointer;
z-index: 10;

transition: all .3s ease;
}

.carousel-btn:hover {
background: rgba(255,255,255,.3);
}

.prev {
left: 20px;
}

.next {
right: 20px;
}
@media (max-width: 600px) {
.fade-carousel {
height: 320px;
}

.carousel-overlay h3 {
font-size: 1.1rem;
}

.carousel-overlay p {
font-size: 0.85rem;
}
} 
  
/* SHOP SECTION */
/* AMAZON STYLE PRODUCT SECTION */

.amazon-product{
display:grid;
grid-template-columns:1.3fr 0.8fr;
gap:50px;
padding:90px 7%;
background:#fff;
}

.amazon-gallery{
display:flex;
flex-direction:column;
}

.main-image{
background:white;
border:1px solid #e5e7eb;
border-radius:20px;
padding:20px;
box-shadow:var(--card-shadow);
}

.main-image img{
width:100%;
height:550px;
object-fit:contain;
}

.thumbs{
display:flex;
gap:12px;
margin-top:15px;
flex-wrap:wrap;
}

.thumbs img{
width:80px;
height:80px;
object-fit:cover;
border:2px solid #e5e7eb;
border-radius:10px;
cursor:pointer;
transition:.3s;
}

.thumbs img:hover{
border-color:var(--accent);
transform:translateY(-2px);
}

.amazon-buy{
background:white;
border:1px solid #e5e7eb;
border-radius:20px;
padding:30px;
box-shadow:var(--card-shadow);
position:sticky;
top:100px;
height:fit-content;
}

.amazon-buy h2{
font-size:2rem;
margin-bottom:10px;
}

.amazon-price{
font-size:2rem;
font-weight:800;
color:#B12704;
margin:15px 0;
}

.amazon-rating{
color:#f7b500;
font-size:1rem;
}

.amazon-buy select{
width:100%;
padding:14px 16px;
border-radius:14px;
border:1px solid #dbe2ea;
background:#f8fafc;
font-size:.95rem;
font-weight:600;
color:var(--text);
appearance:none;
cursor:pointer;
transition:.3s;
}

.amazon-buy select:hover{
border-color:var(--primary);
}

.amazon-buy select:focus{
outline:none;
border-color:var(--accent);
box-shadow:0 0 0 4px rgba(192,57,43,.15);
}

.qty{
display:flex;
align-items:center;
gap:12px;
margin:15px 0;
}

.qty button{
width:40px;
height:40px;
border:none;
border-radius:50%;
background:var(--primary);
color:white;
cursor:pointer;
}

.amazon-buy-btn{
width:100%;
padding:15px;
border:none;
border-radius:50px;
background:#FFD814;
color:#111;
font-weight:700;
margin-top:15px;
cursor:pointer;
}

.amazon-cart-btn{
width:100%;
padding:15px;
border:none;
border-radius:50px;
background:#FFA41C;
color:#111;
font-weight:700;
margin-top:10px;
cursor:pointer;
}

.stock{
color:#007600;
font-weight:700;
margin-top:15px;
}

@media(max-width:900px){

.amazon-product{
grid-template-columns:1fr;
}

.amazon-buy{
position:static;
}

.main-image img{
height:350px;
}
}
.loading {
opacity: 0.6;
pointer-events: none;
}
  
/* =========================
   APPLE-STYLE FOOTER
========================= */

.apple-footer {
  background: #f5f5f7;
  padding: 80px 0 40px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: #1d1d1f;
}

.apple-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.apple-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.apple-footer-brand img {
  height: 32px;
  margin-bottom: 12px;
}

.apple-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #6e6e73;
  margin-bottom: 16px;
  max-width: 280px;
}

.apple-badges span {
  display: inline-block;
  font-size: 12px;
  color: #6e6e73;
  margin-right: 10px;
}

.apple-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: #6e6e73;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.apple-col a {
  display: block;
  font-size: 14px;
  color: #1d1d1f;
  text-decoration: none;
  margin-bottom: 10px;
  opacity: 0.75;
  transition: 0.2s ease;
}

.apple-col a:hover {
  opacity: 1;
}

.apple-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 50px 0 20px;
}

.apple-footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6e6e73;
}

.apple-social a {
  margin-left: 16px;
  color: #6e6e73;
  text-decoration: none;
  transition: 0.2s;
}

.apple-social a:hover {
  color: #1d1d1f;
}

/* DIVIDER */
.apple-divider{
  height:1px;
  background:rgba(255,255,255,0.08);
  margin:50px 0 20px;
}

/* BOTTOM */
.apple-footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  max-width:1200px;
  margin:auto;
  font-size:0.8rem;
  color:rgba(255,255,255,0.5);
}

/* SOCIAL */
.apple-social{
  display:flex;
  gap:18px;
}

.apple-social a{
  color:rgba(255,255,255,0.5);
  text-decoration:none;
  transition:0.2s;
}

.apple-social a:hover{
  color:#fff;
}

/* MOBILE */
@media(max-width:900px){
  .apple-footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .apple-footer-brand{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .apple-footer-bottom{
    justify-content:center;
    text-align:center;
  }

  .apple-col a:hover{
    transform:none;
  }
}
  /* =========================
   PREMIUM MOTION SYSTEM
========================= */

:root{
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* smoother page feel */
html {
  scroll-behavior: smooth;
}

/* universal animation base */
.reveal{
  opacity:0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal.active{
  opacity:1;
  transform: translateY(0);
}

/* hover lift system */
.hover-lift{
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.hover-lift:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
  .variant-select button{
  padding:10px 16px;
  margin-right:10px;
  margin-top:8px;

  border-radius:12px;
  border:1px solid rgba(61,90,128,0.25);

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color:#333;
  font-weight:600;

  cursor:pointer;

  transition: all .25s ease;
}

.variant-select button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* ACTIVE SELECTED STATE */
.variant-select button.active{
  background: rgba(61,90,128,0.35);
  color:#fff;
  border:1px solid rgba(120,180,255,0.5);
  box-shadow: 0 0 20px rgba(61,90,128,0.25);
}

/* BUY BUTTONS */
.buy-btn,
.cart-btn{
  width:100%;
  padding:14px;
  margin-top:10px;

  border-radius:14px;
  font-weight:700;

  cursor:pointer;

  transition: all .3s ease;
}

.buy-btn{
  background: rgba(61,90,128,0.85);
  color:#fff;
  border:none;

  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.buy-btn:hover{
  transform: translateY(-3px);
}

.cart-btn{
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(61,90,128,0.35);
  color: var(--accent);
}

.cart-btn:hover{
  transform: translateY(-3px);
}
  .cart-drawer{
  position:fixed;
  top:0;
  right:-420px;

  width:400px;
  height:100vh;

  background:#fff;
  z-index:9999;

  transition:.35s;
  box-shadow:-10px 0 40px rgba(0,0,0,.15);

  display:flex;
  flex-direction:column;
}

.cart-drawer.open{
  right:0;
}

.cart-header{
  padding:20px;
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid #eee;
}

#cartItems{
  flex:1;
  overflow:auto;
  padding:20px;
}

.cart-footer{
  padding:20px;
  border-top:1px solid #eee;
}

.checkout-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#FFD814;
  font-weight:700;
  cursor:pointer;
}
  #products,
#contact,
#who,
#about,
#features,
#videos,
#carehomes{
  scroll-margin-top:120px;
}
