/* ============================================================
   THINGY FLIP — Main Stylesheet
   Mad Flippin Fun | Eye-Hand Coordination Program
   ============================================================ */

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

:root {
  --red:     #e02020;
  --yellow:  #f5c518;
  --orange:  #f47920;
  --green:   #2db34a;
  --blue:    #1a6fbf;
  --purple:  #7b2d8b;
  --black:   #1a1a1a;
  --white:   #ffffff;
  --light:   #f8f9fa;
  --dark:    #1a1a1a;
  --text:    #333333;
  --muted:   #666666;
  --border:  #e0e0e0;
  --shadow:  0 4px 20px rgba(0,0,0,0.12);
  --radius:  8px;
  --font:    'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-alt { background: var(--light); }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.bold { font-weight: 700; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: #c01818; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover { background: #d4a800; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 18px 44px; font-size: 1.15rem; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--black);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-social { display: flex; gap: 12px; align-items: center; }
.top-bar-social a {
  color: var(--white);
  font-size: 1.1rem;
  transition: color 0.2s;
}
.top-bar-social a:hover { color: var(--yellow); }
.top-bar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-contact a { color: #ccc; transition: color 0.2s; }
.top-bar-contact a:hover { color: var(--yellow); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 60px; width: auto; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--dark);
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li > a.active { color: var(--red); background: rgba(224,32,32,0.06); }

/* Dropdown */
.main-nav .dropdown { display: none; }
.main-nav li:hover > .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
  z-index: 999;
  padding: 8px 0;
}
.main-nav .dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.2s;
}
.main-nav .dropdown a:hover { background: var(--light); color: var(--red); padding-left: 24px; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/kid-hero.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 20px;
  margin-left: 5%;
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.hero-price .was {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
}
.hero-price .now {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow);
}
.hero-price .label {
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-align: center;
  z-index: 2;
}
.hero-scroll::before {
  content: '▼';
  display: block;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   PRODUCT FEATURE STRIP
   ============================================================ */
.feature-strip {
  background: var(--red);
  color: var(--white);
  padding: 20px 0;
}
.feature-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}
.feature-item .icon { font-size: 1.5rem; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-heading h2 span { color: var(--red); }
.section-heading p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}
.section-heading .divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   PROBLEM / SOLUTION SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.problem-text h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 20px;
}
.problem-text h2 span { color: var(--red); }
.problem-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.stat-box {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.stat-box .stat-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--yellow);
}
.stat-box .stat-desc { font-size: 0.95rem; }
.problem-image { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.problem-image img { width: 100%; height: 400px; object-fit: cover; }

/* ============================================================
   PRODUCT SECTION (SHOP)
   ============================================================ */
.product-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.product-card-image {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}
.product-card-image img { max-height: 380px; object-fit: contain; }
.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.product-card-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.product-card-info h2 { font-size: 1.7rem; font-weight: 900; margin-bottom: 8px; }
.product-sku { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.product-price { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.product-price .was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.product-price .now { font-size: 2.4rem; font-weight: 900; color: var(--red); }
.product-includes { margin-bottom: 28px; }
.product-includes h4 { font-weight: 700; margin-bottom: 12px; font-size: 1rem; }
.product-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text);
}
.product-includes li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.stripe-buy-btn-wrap { margin-top: 8px; }

/* Stripe Buy Button placeholder styling */
stripe-buy-button { display: block; }

/* ============================================================
   WHY THINGY FLIP — BENEFITS GRID
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-bottom: 4px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit-icon { font-size: 2.8rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   LICENCE LEVELS
   ============================================================ */
.licence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.licence-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.25s ease;
}
.licence-card:hover { transform: translateY(-4px); }
.licence-card img { width: 100%; height: 200px; object-fit: cover; }
.licence-card-label {
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.licence-yellow .licence-card-label { background: #f5c518; color: #333; }
.licence-orange .licence-card-label { background: #f47920; color: #fff; }
.licence-red .licence-card-label { background: #e02020; color: #fff; }
.licence-purple .licence-card-label { background: #7b2d8b; color: #fff; }
.licence-black .licence-card-label { background: #1a1a1a; color: #fff; }

/* ============================================================
   GAMES GRID
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.game-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.25s ease;
  cursor: pointer;
}
.game-card:hover { transform: scale(1.04); }
.game-card img { width: 100%; height: 160px; object-fit: cover; }
.game-card-name {
  background: var(--dark);
  color: var(--white);
  padding: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  text-transform: uppercase;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left: 5px solid var(--red);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: rgba(224,32,32,0.1);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.95rem; color: var(--text); margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; color: var(--red); }
.testimonial-rating { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.video-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   GUARANTEE SECTION
   ============================================================ */
.guarantee-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.guarantee-section h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 16px; }
.guarantee-section h2 span { color: var(--yellow); }
.guarantee-section p { font-size: 1.05rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 30px; }
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--yellow);
  border-radius: 12px;
  padding: 20px 32px;
  margin-bottom: 32px;
}
.guarantee-badge .badge-icon { font-size: 3rem; }
.guarantee-badge-text { text-align: left; }
.guarantee-badge-text strong { display: block; font-size: 1.2rem; color: var(--yellow); }
.guarantee-badge-text span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ============================================================
   WHO IS IT FOR
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.audience-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s ease;
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.audience-icon { font-size: 3rem; margin-bottom: 16px; }
.audience-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.audience-card p { font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--red);
  color: var(--white);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item .num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-item .label { font-size: 0.9rem; margin-top: 6px; opacity: 0.9; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, #c01818 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { font-size: 2.4rem; font-weight: 900; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; max-width: 560px; margin: 0 auto 32px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail .icon { font-size: 1.3rem; flex-shrink: 0; color: var(--red); margin-top: 2px; }
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail span { font-size: 1rem; color: var(--text); }
.contact-form h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--red); }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-patent { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; opacity: 0.8; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.shop-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shop-card-image {
  background: var(--light);
  padding: 30px;
  text-align: center;
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card-image img { max-height: 200px; object-fit: contain; }
.shop-card-body { padding: 24px; }
.shop-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.shop-card-body .desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.shop-card-price { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.shop-card-price .was { font-size: 0.95rem; color: var(--muted); text-decoration: line-through; }
.shop-card-price .now { font-size: 1.6rem; font-weight: 900; color: var(--red); }
.on-sale-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================================
   ABOUT / INFO PAGES
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }
.about-text h2 { font-size: 2rem; font-weight: 900; margin-bottom: 16px; }
.about-text h2 span { color: var(--red); }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-image { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }

/* ============================================================
   NDIS PAGE
   ============================================================ */
.ndis-highlight {
  background: linear-gradient(135deg, #1a6fbf 0%, #0d4a8a 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
}
.ndis-highlight h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; }
.ndis-highlight p { opacity: 0.9; font-size: 1.05rem; }

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

@media (max-width: 768px) {
  .section { padding: 50px 0; }

  /* Nav */
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    overflow-y: auto;
    z-index: 998;
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav > li > a { font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: block;
  }
  .main-nav li:hover > .dropdown { display: block; }
  .nav-toggle { display: flex; z-index: 999; }
  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
  }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero-content { margin-left: 0; padding: 40px 20px; }
  .hero h1 { font-size: 2rem; }

  /* Grids */
  .problem-grid,
  .product-card,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }
  .product-card-image { padding: 30px; }
  .about-grid.reverse { direction: ltr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Feature strip */
  .feature-strip .container { justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .licence-grid { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   STRIPE BUY BUTTON WRAPPER
   ============================================================ */
.stripe-btn-container {
  margin-top: 16px;
}

/* ============================================================
   COOKIE NOTICE
   ============================================================ */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26,26,26,0.97);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.cookie-notice a { color: var(--yellow); }
.cookie-notice button {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 999;
  transition: background 0.2s;
}
#scrollTop:hover { background: #c01818; }
#scrollTop.visible { display: flex; }

/* ===================== LICENCE TRAINING PAGES ===================== */

.licence-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.licence-content {
  margin-top: 8px;
}

.licence-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.licence-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--light);
  border-radius: 12px;
  padding: 16px 20px;
}

.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  color: var(--muted);
  line-height: 1.6;
  padding-top: 6px;
}

.licence-video-section {
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 28px 0;
}

.licence-video-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.licence-video-section p {
  opacity: 0.8;
  margin-bottom: 18px;
}

.licence-tips {
  background: var(--light);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px 0;
}

.licence-tips h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.licence-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.licence-tips ul li {
  padding: 6px 0;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.licence-tips ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.licence-tips ul li a {
  color: var(--red);
  text-decoration: underline;
}

.licence-contact {
  border-top: 2px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.licence-contact p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}

/* Licence overview grid on app.html */
.licence-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.licence-overview-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.licence-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.licence-overview-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.licence-overview-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.licence-overview-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  flex: 1;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Video embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* NDIS highlight box */
.ndis-highlight {
  background: linear-gradient(135deg, #1a6fbf, #0d47a1);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 50px;
  text-align: center;
}

.ndis-highlight h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.ndis-highlight p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Guarantee section */
.guarantee-section {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  text-align: center;
}

.guarantee-section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.guarantee-section h2 span { color: var(--yellow); }

.guarantee-section p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 32px;
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--yellow);
  border-radius: 16px;
  padding: 24px 32px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.badge-icon { font-size: 3rem; }

.guarantee-badge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guarantee-badge-text strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.guarantee-badge-text span {
  opacity: 0.8;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .licence-nav { flex-direction: column; }
  .licence-overview-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-badge { flex-direction: column; text-align: center; }
}
