/* ============================================
   SpoolTV - Global Stylesheet
   Design DNA: Clean/White/Corporate, Blue Accent
   Cloned from iptvaustralia.com.au visual identity
   Fonts: Bree Serif + Karla | Prefix: sp-*
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Karla:wght@300;400;500;600;700;800&display=swap');

:root {
  --sp-bg: #ffffff;
  --sp-bg-alt: #f5f7fa;
  --sp-bg-dark: #1a1a2e;
  --sp-primary: #0066ff;
  --sp-primary-hover: #0052cc;
  --sp-primary-light: rgba(0, 102, 255, 0.08);
  --sp-accent: #25d366;
  --sp-text: #1a1a2e;
  --sp-text-muted: #5a6270;
  --sp-text-light: #ffffff;
  --sp-border: #e2e8f0;
  --sp-card-bg: #ffffff;
  --sp-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --sp-radius: 12px;
  --sp-radius-sm: 8px;
  --sp-radius-lg: 20px;
  --sp-nav-height: 72px;
  --sp-max-width: 1200px;
  --sp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--sp-nav-height); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100vw; }
body {
  font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sp-text);
  background: var(--sp-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sp-primary); text-decoration: none; transition: color var(--sp-transition); }
a:hover { color: var(--sp-primary-hover); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bree Serif', Georgia, serif;
  line-height: 1.25;
  color: var(--sp-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--sp-primary); color: #fff; padding: 8px 16px; font-weight: 600; }
.skip-link:focus { left: 10px; top: 10px; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 80px 0; }
.section--alt { background: var(--sp-bg-alt); }
.section--dark { background: var(--sp-bg-dark); color: var(--sp-text-light); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--sp-text-light); }
.section-label {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sp-primary);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.section-subtitle {
  color: var(--sp-text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.text-center { text-align: center; }
.text-primary { color: var(--sp-primary); }

/* --- Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--sp-bg);
  border-bottom: 1px solid var(--sp-border);
  height: var(--sp-nav-height);
  transition: box-shadow var(--sp-transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }
.header-inner {
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: 'Bree Serif', serif;
  font-size: 1.65rem;
  color: var(--sp-text);
  font-weight: 700;
  text-decoration: none;
}
.logo span { color: var(--sp-primary); }
.logo:hover { color: var(--sp-text); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sp-text);
  border-radius: var(--sp-radius-sm);
  transition: all var(--sp-transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--sp-primary);
  background: var(--sp-primary-light);
}
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 24px; font-size: 0.875rem; }
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block; width: 26px; height: 2.5px;
  background: var(--sp-text); border-radius: 2px;
  transition: all var(--sp-transition);
}
.mobile-toggle.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  font-family: 'Karla', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  border: none; border-radius: var(--sp-radius);
  cursor: pointer; transition: all var(--sp-transition);
  text-decoration: none; line-height: 1.4; white-space: nowrap;
}
.btn--primary {
  background: var(--sp-primary);
  color: var(--sp-text-light);
}
.btn--primary:hover {
  background: var(--sp-primary-hover);
  color: var(--sp-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--sp-primary);
  border: 2px solid var(--sp-primary);
}
.btn--outline:hover {
  background: var(--sp-primary);
  color: var(--sp-text-light);
}
.btn--white { background: #fff; color: var(--sp-primary); }
.btn--white:hover { background: var(--sp-bg-alt); }
.btn--sm { padding: 10px 22px; font-size: 0.875rem; }
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --- Hero --- */
.hero {
  padding: calc(var(--sp-nav-height) + 60px) 0 80px;
  background: linear-gradient(170deg, #f0f4ff 0%, #ffffff 50%, #f0f4ff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,50 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--sp-primary-light);
  color: var(--sp-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 102, 255, 0.2);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--sp-primary); }
.hero-description {
  color: var(--sp-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-value {
  font-family: 'Bree Serif', serif;
  font-size: 1.75rem; font-weight: 700;
  color: var(--sp-primary);
}
.hero-stat-label {
  font-size: 0.8rem; color: var(--sp-text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-showcase { position: relative; width: 100%; max-width: 440px; }
.hero-showcase-card {
  background: var(--sp-bg);
  border-radius: var(--sp-radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--sp-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.hero-showcase-icon {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-hover));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
}
.hero-showcase-number {
  font-family: 'Bree Serif', serif;
  font-size: 3.5rem; font-weight: 700; color: var(--sp-primary); line-height: 1;
}
.hero-showcase-label { font-size: 1rem; color: var(--sp-text-muted); margin-top: 8px; }
.hero-showcase-features { margin-top: 24px; display: flex; justify-content: center; gap: 24px; }
.hero-showcase-feature { text-align: center; }
.hero-showcase-feature-val { font-family: 'Bree Serif', serif; font-weight: 700; font-size: 1.1rem; color: var(--sp-text); }
.hero-showcase-feature-lbl { font-size: 0.75rem; color: var(--sp-text-muted); }

/* --- Device Carousel --- */
.brand-carousel { padding: 40px 0; overflow: hidden; background: var(--sp-bg-alt); }
.brand-track {
  display: flex; gap: 48px;
  animation: brandScroll 55s linear infinite;
  width: max-content;
}
.brand-track img {
  height: 48px; width: auto; object-fit: contain;
  opacity: 0.6; filter: grayscale(0.2);
  transition: opacity var(--sp-transition);
}
.brand-track img:hover { opacity: 1; }
@keyframes brandScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Features / Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px; margin-top: 40px;
}
.feature-card {
  background: var(--sp-card-bg);
  border-radius: var(--sp-radius);
  padding: 28px 22px;
  border: 1px solid var(--sp-border);
  transition: all var(--sp-transition);
  box-shadow: var(--sp-card-shadow);
}
.feature-card:hover {
  border-color: var(--sp-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.feature-card .feature-img {
  width: 100%; height: 180px;
  object-fit: cover;
  border-radius: var(--sp-radius-sm);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--sp-text-muted); margin-bottom: 0; }

/* --- Sports 2-col --- */
.benefits { padding: 80px 0; }
.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.benefits-content h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--sp-primary); }
.benefits-content p { color: var(--sp-text-muted); margin-bottom: 20px; line-height: 1.8; }
.benefits-image img {
  border-radius: var(--sp-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* --- Pricing --- */
.pricing { padding: 80px 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 48px;
}
.pricing-card {
  background: var(--sp-card-bg);
  border-radius: var(--sp-radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--sp-border);
  text-align: center;
  transition: all var(--sp-transition);
  position: relative; overflow: hidden;
  box-shadow: var(--sp-card-shadow);
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent));
  opacity: 0; transition: opacity var(--sp-transition);
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
  border-color: var(--sp-primary);
}
.pricing-card--featured {
  border-color: var(--sp-primary);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.15);
}
.pricing-card--featured::before { opacity: 1; }
.pricing-popular {
  position: absolute; top: 14px; right: -30px;
  background: var(--sp-primary); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 36px; transform: rotate(45deg);
  text-transform: uppercase; letter-spacing: 1px;
}
.pricing-duration {
  font-family: 'Bree Serif', serif;
  font-size: 1.2rem; color: var(--sp-text); margin-bottom: 8px;
}
.pricing-subtitle { font-size: 0.8rem; color: var(--sp-text-muted); margin-bottom: 12px; }
.pricing-price {
  font-family: 'Bree Serif', serif;
  font-size: 2.8rem; font-weight: 700; color: var(--sp-primary);
  margin-bottom: 24px; line-height: 1.1;
}
.pricing-price .currency { font-size: 1.2rem; vertical-align: top; }
.pricing-price .period { font-size: 0.85rem; font-weight: 400; color: var(--sp-text-muted); }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; font-size: 0.88rem; color: var(--sp-text);
  border-bottom: 1px solid var(--sp-border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: ''; width: 18px; height: 18px; min-width: 18px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: 50%; display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325d366'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.pricing-guarantee { font-size: 0.78rem; color: var(--sp-text-muted); margin-top: 12px; }

/* --- Testimonials --- */
.testimonials { padding: 80px 0; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.testimonial-card {
  background: var(--sp-card-bg); border-radius: var(--sp-radius-lg);
  padding: 32px 24px; border: 1px solid var(--sp-border);
  transition: all var(--sp-transition); box-shadow: var(--sp-card-shadow);
}
.testimonial-card:hover { border-color: var(--sp-primary); transform: translateY(-3px); }
.testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.93rem; color: var(--sp-text-muted);
  margin-bottom: 20px; line-height: 1.7; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-name { font-family: 'Bree Serif', serif; font-weight: 700; font-size: 0.9rem; color: var(--sp-text); }
.testimonial-location { font-size: 0.78rem; color: var(--sp-text-muted); }

/* --- FAQ --- */
.faq { padding: 80px 0; background: var(--sp-bg-alt); }
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item {
  border: 1px solid var(--sp-border); border-radius: var(--sp-radius-sm);
  margin-bottom: 8px; overflow: hidden; background: var(--sp-card-bg);
}
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--sp-text); font-family: 'Karla', sans-serif;
  font-size: 1rem; font-weight: 700; transition: color var(--sp-transition);
}
.faq-question:hover { color: var(--sp-primary); }
.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%; background: var(--sp-bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--sp-transition), background var(--sp-transition);
  font-size: 0.9rem; color: var(--sp-primary); font-weight: 700;
}
.faq-item.active .faq-icon { transform: rotate(180deg); background: var(--sp-primary); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 0 20px 18px; color: var(--sp-text-muted);
  font-size: 0.93rem; line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works { padding: 80px 0; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 48px;
}
.step-card {
  text-align: center; padding: 40px 24px;
  background: var(--sp-card-bg); border-radius: var(--sp-radius-lg);
  border: 1px solid var(--sp-border); box-shadow: var(--sp-card-shadow);
  transition: all var(--sp-transition);
}
.step-card:hover { border-color: var(--sp-primary); transform: translateY(-4px); }
.step-number {
  display: inline-block; background: var(--sp-primary); color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-family: 'Bree Serif', serif; font-weight: 700;
  font-size: 1rem; line-height: 36px; margin-bottom: 16px;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--sp-text-muted); line-height: 1.6; }

/* --- Forms --- */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 700;
  color: var(--sp-text); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--sp-bg); border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-sm); color: var(--sp-text);
  font-family: 'Karla', sans-serif; font-size: 0.93rem;
  transition: border-color var(--sp-transition), box-shadow var(--sp-transition);
  min-height: 48px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--sp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-message {
  margin-top: 12px; padding: 12px 16px;
  border-radius: var(--sp-radius-sm); font-size: 0.9rem; font-weight: 600;
}
.form-message--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message--error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* --- Contact --- */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info > p { color: var(--sp-text-muted); margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; background: var(--sp-bg-alt);
  border-radius: var(--sp-radius); border: 1px solid var(--sp-border);
}
.contact-method-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-hover));
  border-radius: var(--sp-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.contact-method-label { font-size: 0.8rem; color: var(--sp-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-method-value { font-family: 'Bree Serif', serif; font-weight: 700; color: var(--sp-text); font-size: 0.95rem; }
.contact-form-wrap {
  background: var(--sp-card-bg); border-radius: var(--sp-radius-lg);
  padding: 36px; border: 1px solid var(--sp-border); box-shadow: var(--sp-card-shadow);
}
.contact-form-wrap h3 { font-size: 1.2rem; margin-bottom: 24px; }

/* --- Channels --- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
.channel-icon {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; background: var(--sp-card-bg);
  border: 1px solid var(--sp-border); border-radius: var(--sp-radius-sm);
  transition: all var(--sp-transition);
}
.channel-icon:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.channel-icon img { width: 48px; height: 48px; object-fit: contain; }

/* --- Devices --- */
.devices { padding: 80px 0; }
.devices-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 24px; margin-top: 48px;
}
.device-card {
  background: var(--sp-card-bg); border-radius: var(--sp-radius);
  padding: 24px 16px; border: 1px solid var(--sp-border);
  text-align: center; transition: all var(--sp-transition);
}
.device-card:hover { border-color: var(--sp-primary); transform: translateY(-3px); }
.device-card img { width: 56px; height: 56px; margin: 0 auto 10px; object-fit: contain; }
.device-card p { font-size: 0.8rem; color: var(--sp-text-muted); font-weight: 600; margin-bottom: 0; }

/* --- Footer --- */
.site-footer {
  padding: 60px 0 0; background: var(--sp-bg-dark);
  color: rgba(255, 255, 255, 0.75); border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand .logo span { color: var(--sp-primary); }
.footer-brand p { font-size: 0.9rem; margin-bottom: 20px; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-heading {
  font-family: 'Bree Serif', serif; font-size: 1rem; font-weight: 700;
  color: var(--sp-text-light); margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }
.footer-links a:hover { color: var(--sp-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 0; }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(var(--sp-nav-height) + 48px) 0 48px;
  background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-hover) 100%);
  color: var(--sp-text-light); text-align: center;
}
.page-header h1 { color: var(--sp-text-light); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 0; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.85rem; margin-bottom: 12px; color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }

/* --- Legal Pages --- */
.legal-page { padding: calc(var(--sp-nav-height) + 48px) 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 8px; }
.legal-page .legal-date { color: var(--sp-text-muted); font-size: 0.85rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--sp-primary); }
.legal-page h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-page p { margin-bottom: 14px; color: var(--sp-text); }
.legal-page ul { margin: 0 0 14px 24px; }
.legal-page ul li { list-style: disc; color: var(--sp-text); margin-bottom: 6px; font-size: 0.93rem; }
.legal-page a { color: var(--sp-primary); text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-page th, .legal-page td { padding: 10px 14px; border: 1px solid var(--sp-border); text-align: left; font-size: 0.9rem; }
.legal-page th { background: var(--sp-bg-alt); font-weight: 700; }

/* --- Guide Page --- */
.guide-content { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.guide-content h2 { margin-top: 40px; margin-bottom: 12px; color: var(--sp-primary); }
.guide-content h3 { margin-top: 24px; margin-bottom: 10px; }
.guide-content ol { padding-left: 24px; margin: 12px 0; }
.guide-content ol li { list-style: decimal; margin-bottom: 10px; line-height: 1.7; }
.guide-content ul { padding-left: 24px; margin: 12px 0; }
.guide-content ul li { list-style: disc; margin-bottom: 8px; }
.guide-content img { border-radius: var(--sp-radius); margin: 20px 0; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* --- Reseller --- */
.reseller-hero {
  padding: calc(var(--sp-nav-height) + 60px) 0 60px;
  background: linear-gradient(170deg, #f0f4ff 0%, var(--sp-bg) 100%);
  text-align: center;
}
.reseller-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 16px; }
.reseller-hero p { color: var(--sp-text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.reseller-benefits { padding: 60px 0; }
.reseller-benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
}
.reseller-benefit {
  background: var(--sp-card-bg); border-radius: var(--sp-radius-lg);
  padding: 32px 24px; border: 1px solid var(--sp-border);
  text-align: center; box-shadow: var(--sp-card-shadow);
}
.reseller-benefit-icon { font-size: 2rem; margin-bottom: 16px; }
.reseller-benefit h3 { font-size: 1.05rem; margin-bottom: 10px; }
.reseller-benefit p { font-size: 0.88rem; color: var(--sp-text-muted); margin-bottom: 0; }
.reseller-form-section { padding: 60px 0; background: var(--sp-bg-alt); }
.reseller-form-section .container { max-width: 640px; }
.reseller-form-section h2 { text-align: center; margin-bottom: 32px; }

/* --- Checkout --- */
.checkout-section { padding: calc(var(--sp-nav-height) + 48px) 0 80px; }
.checkout-section .container { max-width: 640px; }
.order-summary {
  background: var(--sp-bg-alt); padding: 24px;
  border-radius: var(--sp-radius); margin-bottom: 32px;
  border: 1px solid var(--sp-border);
}

/* --- Animate In --- */
.animate-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .benefits-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: var(--sp-nav-height); left: 0; right: 0; bottom: 0;
    background: var(--sp-bg); flex-direction: column;
    align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 16px;
    transform: translateX(100%); transition: transform var(--sp-transition);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-cta { margin-left: 0; }
  .mobile-toggle { display: flex; }
  .pricing-grid, .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 24px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .reseller-benefits-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--sp-nav-height) + 32px); }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .pricing-price { font-size: 2rem; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
}
