/* ==========================================================================
   IntradayAFL x 5paisa Premium Landing Page
   Stylesheet — Vanilla CSS3 (No frameworks)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-red: #D7194A;
  --color-red-dark: #A80F38;
  --color-red-light: #FF4D79;
  --color-dark: #12141C;
  --color-text: #2B2D36;
  --color-muted: #6B7080;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8F8FB;
  --color-border: #ECEDF2;
  --shadow-sm: 0 4px 14px rgba(18, 20, 28, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 20, 28, 0.10);
  --shadow-lg: 0 24px 60px rgba(215, 25, 74, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: 0.35s cubic-bezier(.2,.8,.2,1);
  --font-main: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-red);
  color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-red-light);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-weight: 700; font-size: 15px;
  letter-spacing: 0.3px; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(215,25,74,0.28); }
.btn-large { padding: 18px 38px; font-size: 17px; }
.btn-ghost {
  background: rgba(215,25,74,0.06); color: var(--color-red);
  border: 1.5px solid rgba(215,25,74,0.25);
}
.btn-ghost:hover { background: rgba(215,25,74,0.12); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--color-red); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-3px); }
.btn-header { padding: 11px 22px; font-size: 14px; }
.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(215,25,74,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(215,25,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(215,25,74,0); }
}
.btn-pulse { animation: pulseRing 2.6s infinite; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
}
.logo-accent { color: #FFD7DF; }
.logo-text { font-weight: 800; font-size: 18px; color: var(--color-dark); display: flex; flex-direction: column; line-height: 1.1; }
.logo-sub { font-size: 11px; font-weight: 500; color: var(--color-muted); }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--color-text); position: relative; transition: color var(--transition); }
.main-nav a:hover { color: var(--color-red); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--color-red); transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  background: radial-gradient(120% 100% at 100% 0%, #FFF5F7 0%, #FFFFFF 55%);
}
.hero-chart-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.16; z-index: 0; }
.hero-glow {
  position: absolute; top: -200px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(215,25,74,0.18), transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 100px;
  font-size: 13px; font-weight: 700; color: var(--color-red); box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--color-red); animation: pulseRing 1.8s infinite; }
.hero-heading {
  font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.12;
  color: var(--color-dark); letter-spacing: -0.5px; margin-bottom: 22px;
}
.brand-red { color: var(--color-red); }
.hero-subheading { font-size: 18px; color: var(--color-muted); max-width: 520px; margin-bottom: 34px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.hero-microtext { font-size: 13.5px; color: var(--color-muted); }

/* Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px; background: var(--color-dark); border-radius: 44px;
  padding: 14px; box-shadow: 0 40px 80px rgba(18,20,28,0.35); position: relative;
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: var(--color-dark); border-radius: 0 0 16px 16px; z-index: 2; }
.phone-screen {
  background: linear-gradient(160deg, #fff 0%, #FFF6F8 100%); width: 100%; height: 100%;
  border-radius: 32px; padding: 30px 18px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.app-header { display: flex; justify-content: space-between; align-items: center; }
.app-title { font-weight: 700; font-size: 14px; color: var(--color-dark); }
.app-live { font-size: 11px; font-weight: 700; color: #17A65C; }
.app-index-row { display: flex; gap: 10px; }
.app-index {
  flex: 1; background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--color-muted);
}
.app-index strong { font-size: 13px; }
.up { color: #17A65C; }
.down { color: var(--color-red); }
.app-graph { width: 100%; height: 70px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.app-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.app-list-item {
  display: flex; justify-content: space-between; background: #fff; padding: 8px 12px;
  border-radius: 10px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.app-cta {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 13px;
}
.floating-chip {
  position: absolute; background: #fff; padding: 10px 16px; border-radius: 100px;
  box-shadow: var(--shadow-md); font-weight: 700; font-size: 12.5px; color: var(--color-red);
  animation: floatChip 4s ease-in-out infinite;
}
.chip-1 { top: 10%; left: -6%; }
.chip-2 { bottom: 12%; right: -8%; animation-delay: 1.5s; }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Trust Strip ---------- */
.trust-strip { padding: 34px 0; background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border); }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--color-dark); flex: 1 1 180px; justify-content: center; }

/* ---------- Stats ---------- */
.stats-section { padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 36px 16px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-number { display: block; font-size: 40px; font-weight: 800; color: var(--color-red); margin-bottom: 6px; }
.stat-label { font-size: 14px; color: var(--color-muted); font-weight: 600; }

/* ---------- Section Common ---------- */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; background: rgba(215,25,74,0.08); color: var(--color-red);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--color-dark); margin-bottom: 14px; letter-spacing: -0.3px; }
.section-subtext { font-size: 16px; color: var(--color-muted); }

/* ---------- Card Grid / Benefits ---------- */
.card-grid { display: grid; gap: 22px; }
.benefits-grid { grid-template-columns: repeat(5, 1fr); }
.benefit-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 30px 22px; text-align: left; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(215,25,74,0.25); }
.benefit-icon { font-size: 30px; margin-bottom: 16px; display: inline-block; }
.benefit-card h3 { font-size: 16.5px; font-weight: 700; color: var(--color-dark); margin-bottom: 6px; }
.benefit-card p { font-size: 13.5px; color: var(--color-muted); }

/* ---------- Why Refer Section (glassmorphism) ---------- */
.why-refer-section { background: linear-gradient(160deg, #FFF5F7 0%, #FFFFFF 60%); }
.refer-grid { grid-template-columns: repeat(4, 1fr); }
.refer-card {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(215,25,74,0.14); border-radius: var(--radius-md);
  padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.refer-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.refer-card.featured { background: linear-gradient(135deg, var(--color-red), var(--color-red-dark)); color: #fff; border: none; }
.refer-card.featured h3, .refer-card.featured p { color: #fff; }
.refer-icon { font-size: 30px; margin-bottom: 14px; }
.refer-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--color-dark); }
.refer-card p { font-size: 13.5px; color: var(--color-muted); }
.disclaimer-inline { margin-top: 40px; text-align: center; font-size: 13px; color: var(--color-muted); max-width: 700px; margin-left: auto; margin-right: auto; }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; align-items: center; max-width: 560px; margin: 0 auto; }
.timeline-step {
  width: 100%; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 26px 30px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.timeline-icon {
  width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  margin: 0 auto 14px;
}
.timeline-step h3 { font-size: 17px; font-weight: 700; color: var(--color-dark); margin-bottom: 6px; }
.timeline-step p { font-size: 14px; color: var(--color-muted); }
.timeline-arrow { font-size: 26px; color: var(--color-red); margin: 6px 0; animation: bounceArrow 1.8s infinite; }
@keyframes bounceArrow { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------- Verification ---------- */
.verification-section { background: var(--color-bg-soft); }
.verification-card {
  max-width: 620px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg);
  padding: 50px 44px; text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
}
.verification-icon { font-size: 40px; margin-bottom: 16px; }
.verification-card h2 { font-size: 28px; font-weight: 800; color: var(--color-dark); margin-bottom: 14px; }
.verification-card p { color: var(--color-muted); margin-bottom: 18px; }
.verification-list { display: inline-flex; flex-direction: column; gap: 10px; text-align: left; margin: 0 auto 20px; }
.verification-list li { font-weight: 600; color: var(--color-dark); display: flex; gap: 10px; align-items: center; }
.verification-list span { color: var(--color-red); font-weight: 800; }

/* ---------- Why Choose Calls (mini cards) ---------- */
.why-calls-section { background: #fff; }
.calls-grid { grid-template-columns: repeat(4, 1fr); }
.mini-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 28px 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mini-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mini-icon { font-size: 26px; display: block; margin-bottom: 10px; }
.mini-card h3 { font-size: 14.5px; font-weight: 700; color: var(--color-dark); }

/* ---------- Testimonials ---------- */
.testimonial-section { background: var(--color-bg-soft); }
.testimonial-slider { position: relative; max-width: 680px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%; background: #fff; border-radius: var(--radius-lg); padding: 40px 36px;
  text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
}
.stars { color: var(--color-red); font-size: 20px; margin-bottom: 14px; }
.testimonial-card p { font-size: 16px; color: var(--color-text); margin-bottom: 16px; font-style: italic; }
.testimonial-name { font-weight: 700; color: var(--color-dark); display: block; margin-bottom: 6px; }
.placeholder-tag { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.testimonial-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border); transition: background var(--transition), transform var(--transition); }
.testimonial-dots button.active { background: var(--color-red); transform: scale(1.3); }

/* ---------- FAQ ---------- */
.faq-accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-weight: 700; font-size: 15.5px; color: var(--color-dark); text-align: left;
}
.faq-icon { font-size: 20px; color: var(--color-red); transition: transform var(--transition); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition), padding var(--transition); padding: 0 24px; }
.faq-item.active .faq-answer { padding: 0 24px 20px; }
.faq-answer p { color: var(--color-muted); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.cta-final-section {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  padding: 100px 0; text-align: center;
}
.cta-final-inner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-final-inner p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.75); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { margin: 6px 0; font-size: 14px; }
.footer-brand a { color: #fff; font-weight: 600; }
.footer-links h4 { color: #fff; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a { display: block; margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-red-light); }
.footer-disclaimer { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; margin-bottom: 16px; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: #fff; box-shadow: 0 -8px 24px rgba(18,20,28,0.12); padding: 12px 16px;
  display: none;
}
.sticky-cta a {
  display: block; text-align: center; padding: 14px; border-radius: 100px; font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark)); color: #fff;
}

/* ---------- Floating Buttons ---------- */
.floating-buttons { position: fixed; bottom: 90px; right: 22px; z-index: 400; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25D366; }
.float-telegram { background: #229ED9; }

/* ---------- Scroll Reveal Animation ---------- */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .benefits-grid, .refer-grid, .calls-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-cta-group { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .benefits-grid, .refer-grid, .calls-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 130px 0 60px; }
  .hero-heading { font-size: clamp(30px, 8vw, 42px); }
  .phone-mockup { width: 230px; height: 460px; }
  .sticky-cta { display: block; }
  main { padding-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-buttons { bottom: 100px; right: 16px; }
}
@media (max-width: 480px) {
  .benefits-grid, .refer-grid, .calls-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .btn-large { padding: 15px 26px; font-size: 15px; }
  .trust-grid { justify-content: center; }
  .trust-item { flex: 1 1 100%; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
}
