/* ============================================================
   SRMS Landing Page — Glassmorphism / Royal Blue
   ============================================================ */

:root {
  --blue-900: #0c1550;
  --blue-800: #101d7a;
  --blue-700: #1a2ba3;
  --blue-600: #2338d4;
  --blue-500: #3450f5;
  --blue-400: #5c72ff;
  --blue-300: #93a2ff;
  --blue-100: #e7ebff;

  --bg: #f3f6ff;
  --bg-alt: #eaf0ff;
  --text-dark: #0d1230;
  --text-muted: #565d7f;
  --text-soft: #7981a3;

  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 8px 32px rgba(35, 56, 212, 0.14);
  --glass-shadow-lg: 0 20px 60px rgba(16, 29, 122, 0.18);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Background ambience -------------------------------------------------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(52, 80, 245, 0.16), transparent 60%),
    radial-gradient(500px 500px at -10% 20%, rgba(52, 80, 245, 0.12), transparent 60%),
    radial-gradient(700px 500px at 100% 60%, rgba(35, 56, 212, 0.1), transparent 60%),
    linear-gradient(180deg, #f6f8ff 0%, #eef2ff 40%, #f7f9ff 100%);
}

/* Glass utility ---------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

/* Section scaffolding ------------------------------------------------- */
section { position: relative; padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  box-shadow: 0 10px 30px rgba(35, 56, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(35, 56, 212, 0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-block { width: 100%; }

.btn-sm {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  color: var(--blue-700);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: #fff; }

/* ============================= NAV ============================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 30px rgba(35, 56, 212, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-800);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--blue-600); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================= HERO ============================= */
.hero { padding-top: 56px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-cta-row { justify-content: center; }
  .hero-price { justify-content: center; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16b364;
  box-shadow: 0 0 0 3px rgba(22, 179, 100, 0.25);
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .hero p.lead { margin-left: auto; margin-right: auto; }
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-old {
  color: var(--text-soft);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 600;
}

.price-new {
  color: var(--blue-700);
  font-size: 1.4rem;
  font-weight: 800;
}

.price-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff7a45, #ff4d4d);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
}

.hero-trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}
@media (max-width: 900px) { .hero-trust-row { justify-content: center; } }

.hero-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-row svg { width: 16px; height: 16px; color: var(--blue-600); flex-shrink: 0; }

/* Video card */
.hero-video-card {
  padding: 12px;
  border-radius: var(--radius-lg);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0c1550;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 21, 80, 0.15), rgba(12, 21, 80, 0.55));
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: transform 0.25s var(--ease);
}
.video-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }

.play-btn svg { width: 26px; height: 26px; color: var(--blue-700); margin-left: 4px; }

.video-caption {
  text-align: center;
  padding: 14px 6px 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============================= FEATURES ============================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-lg);
}

.feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(35, 56, 212, 0.35);
}

.feature-icon svg { width: 22px; height: 22px; color: #fff; }

.feature-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ============================= SCREENSHOTS ============================= */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shots-grid { grid-template-columns: 1fr; }
}

.shot-card { padding: 14px; }

.shot-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(16, 29, 122, 0.1);
}

.shot-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }

.shot-caption {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding-top: 14px;
  color: var(--blue-800);
}

/* ============================= TESTIMONIALS ============================= */
.testimonials-track-wrap {
  position: relative;
  margin: 0 -20px;
  padding: 0 20px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-300) transparent;
}

.testimonials-track::-webkit-scrollbar { height: 8px; }
.testimonials-track::-webkit-scrollbar-thumb { background: var(--blue-300); border-radius: 999px; }

.testimony-card {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  scroll-snap-align: start;
  padding: 12px;
}

.testimony-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.testimony-frame img { width: 100%; }

.scroll-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================= TRUST ============================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
  padding: 30px 24px;
  text-align: center;
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 26px; height: 26px; color: var(--blue-600); }

.trust-card h3 { font-size: 1.02rem; font-weight: 700; }

/* ============================= PRICING ============================= */
.pricing-wrap { display: flex; justify-content: center; }

.pricing-card {
  max-width: 560px;
  width: 100%;
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(52, 80, 245, 0.18), transparent 70%);
  pointer-events: none;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff7a45, #ff4d4d);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.pricing-old {
  color: var(--text-soft);
  text-decoration: line-through;
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-new {
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1.1;
  margin: 4px 0 6px;
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 32px;
}

.pricing-features {
  text-align: left;
  max-width: 340px;
  margin: 0 auto 32px;
  display: grid;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pricing-features svg { width: 18px; height: 18px; color: #16b364; flex-shrink: 0; }

.pricing-whatsapp {
  display: block;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
}
.pricing-whatsapp a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.pricing-whatsapp a:hover { color: var(--blue-800); }

/* ============================= FAQ ============================= */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item { overflow: hidden; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-icon svg { width: 16px; height: 16px; }

.faq-item.open .faq-icon { background: var(--blue-600); color: #fff; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================= FOOTER ============================= */
.footer {
  padding: 56px 0 28px;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 14px;
}
.footer-logo img { height: 32px; }

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 420px;
  margin: 0 auto 22px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 26px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--blue-600); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ============================= Scroll reveal ============================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > * {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Utility spacing */
.mt-64 { margin-top: 64px; }
