:root {
  --primary: #00f2ff;
  --secondary: #7000ff;
  --bg: #050505;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-dim: #a0a0a0;
  --glass: rgba(10, 10, 10, 0.7);
  --font-main: 'Inter', sans-serif;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  /* NOTE: overflow-x:hidden is on html element only — putting it on body breaks position:fixed */
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.4s;
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
}

.nav-link:hover { color: var(--primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, rgba(5,5,5,0.98) 0%, rgba(15,15,15,0.95) 100%);
  backdrop-filter: blur(30px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
  opacity: 0;
}

.mobile-menu.active {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
  text-align: center;
  padding: 0.8rem;
}

.mobile-menu a:hover { color: var(--primary); }

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1200;
    transition: 0.3s;
}

.close-menu:hover { transform: rotate(90deg); background: rgba(255,0,0,0.1); }

/* UI Elements */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 30px;
  transition: 0.3s;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: 0.3s;
}

/* Hero Section */
.hero { padding: 180px 0 100px; overflow: hidden; position: relative; }
#particle-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 2rem; font-weight: 800; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* Equal columns — prevents dashboard crushing text */
  align-items: center;
  gap: 5rem;
}
/* CRITICAL: min-width:0 prevents grid children from overflowing their column */
.hero-content, .hero-visual { min-width: 0; }

/* CSS entrance animation — no GSAP needed, no conflicts possible */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content .section-badge { animation: heroFadeUp 0.6s ease 0.05s both; }
.hero-content h1              { animation: heroFadeUp 0.8s ease 0.15s both; }
.hero-content > p             { animation: heroFadeUp 0.8s ease 0.3s  both; }
.hero-content .hero-cta       { animation: heroFadeUp 0.8s ease 0.45s both; }
.hero-visual                  { animation: heroFadeUp 1s   ease 0.2s  both; }

.dashboard-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.25);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(0,242,255,0.08);
  transition: box-shadow 0.6s ease;
  background: #000;
}
.dashboard-frame:hover {
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 80px rgba(0,242,255,0.15);
}
.dashboard-frame img { width: 100%; height: auto; display: block; }

/* #dashboard visual identity only — no opacity/transform overrides needed since GSAP no longer animates it */
#dashboard {
  border-radius: 24px;
}


/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4rem; text-align: center; }

/* Showcase */
.showcase-grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 6rem; }
.showcase-text { display: flex; flex-direction: column; gap: 2rem; }
.showcase-item h3 { font-size: 2.2rem; margin-bottom: 1rem; }
.showcase-visual img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }

/* Mini Features */
.mini-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.mini-feature { padding: 3rem; background: var(--card-bg); border-radius: 24px; border: 1px solid var(--border); transition: 0.3s; height: 100%; }
.mini-feature:hover { transform: translateY(-5px); border-color: var(--primary); }
.mini-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(280px, auto); gap: 2rem; }
.bento-card { padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.bento-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 3rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pricing-card { padding: 3.5rem 2rem; text-align: center; }
.price-val { font-size: 3.5rem; font-weight: 800; margin: 1rem 0; }
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 4rem; }
.comparison-table th, .comparison-table td { padding: 1.5rem; border-bottom: 1px solid var(--border); text-align: center; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }

/* Footer */
footer { padding: 6rem 0 3rem; border-top: 1px solid var(--border); margin-top: 6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; }
.footer-col h4 { margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-dim); text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr; /* Single column on tablet/mobile */
    text-align: center;
    gap: 3rem;
  }
  .hero-content { align-items: center; display: flex; flex-direction: column; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 1; flex-direction: column; text-align: left; }
  .showcase-grid { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .container { padding: 0 1.5rem; }
  .hero { padding: 140px 0 60px; }
  .hero h1 { font-size: 2.8rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
  .stats-grid h2 { font-size: 2.2rem; }

  .showcase-grid { display: flex; flex-direction: column; }
  .showcase-visual { order: 1; margin-bottom: 3rem; }
  .showcase-text { order: 2; }
  .showcase-item h3 { font-size: 1.8rem; }

  .bento-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .comparison-table { display: block; overflow-x: auto; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .footer-col { align-items: center; display: flex; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
}

/* ===================== ACTIVE NAV LINK ===================== */
.nav-link.active {
  color: var(--primary);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ===================== PAGE TRANSITION ===================== */
/* Only animate OUT — GSAP handles the entrance animations per element */
.page-out main, .page-out footer { animation: fadeOutPage 0.35s ease forwards; }
@keyframes fadeOutPage { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }

/* ===================== HERO ANIMATED DASHBOARD ===================== */
.live-dashboard {
  background: #0a0a0f;
  border-radius: 16px;
  padding: 1.5rem;
  font-family: var(--font-main);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-topbar .dash-title { font-size: 0.85rem; font-weight: 700; color: #fff; }
.dash-topbar .dash-date { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.dash-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.dash-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1rem;
}
.dash-card .dc-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; }
.dash-card .dc-val { font-size: 1.4rem; font-weight: 800; }
.dash-card .dc-change { font-size: 0.65rem; margin-top: 0.3rem; }
.dc-green { color: #00ff88; } .dc-red { color: #ff5757; } .dc-blue { color: var(--primary); } .dc-purple { color: #a855f7; }
.dash-chart-area { flex: 1; background: rgba(255,255,255,0.02); border-radius: 12px; padding: 1rem; position: relative; overflow: hidden; }
.dash-chart-label { font-size: 0.65rem; color: rgba(255,255,255,0.3); margin-bottom: 0.5rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(0,242,255,0.6), rgba(112,0,255,0.3));
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.5s ease forwards;
  transform-origin: bottom;
}
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dash-ticker {
  background: rgba(0,242,255,0.05);
  border: 1px solid rgba(0,242,255,0.1);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner { display: inline-block; animation: tickerScroll 14s linear infinite; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===================== PARTICLE BG ===================== */
#particle-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero { position: relative; }
.hero .container { position: relative; z-index: 2; } /* z-index 2 so it's clearly above canvas */

/* ===================== STAT COUNTER ===================== */
.stat-num { display: inline-block; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
  padding: 8rem 0;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border);
}
.testimonials-section h2 { text-align: center; font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.testimonials-section .section-sub { text-align: center; color: var(--text-dim); font-size: 1.1rem; margin-bottom: 5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.testimonial-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(0,242,255,0.3); }
.testimonial-stars { color: #ffb800; font-size: 1rem; letter-spacing: 2px; }
.testimonial-text { color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 0.95rem; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #000;
}
.author-info .author-name { font-weight: 700; font-size: 0.9rem; }
.author-info .author-role { font-size: 0.78rem; color: var(--text-dim); }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ===================== COMPETITOR TABLE ===================== */
.compare-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,242,255,0.04) 0%, transparent 70%);
  border-top: 1px solid var(--border);
}
.compare-section h2 { text-align: center; font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.compare-section .section-sub { text-align: center; color: var(--text-dim); margin-bottom: 4rem; font-size: 1.1rem; }
.compare-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 1.5rem 2rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); background: rgba(255,255,255,0.02); }
.compare-table th.highlight { color: var(--primary); background: rgba(0,242,255,0.05); }
.compare-table td { padding: 1.2rem 2rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table td:first-child { color: rgba(255,255,255,0.8); font-weight: 500; }
.compare-table td.highlight { background: rgba(0,242,255,0.03); }
.comp-yes { color: #00ff88; font-weight: 700; }
.comp-no { color: rgba(255,87,87,0.5); }
.comp-partial { color: #ffb800; font-size: 0.8rem; }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  /* Always visible — floats on every page */
  opacity: 1;
  visibility: visible;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }

/* ===================== FEATURE WALKTHROUGH ===================== */
.walkthrough-section { padding: 8rem 0; border-top: 1px solid var(--border); }
.walkthrough-section h2 { text-align: center; font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.walkthrough-section .section-sub { text-align: center; color: var(--text-dim); margin-bottom: 5rem; font-size: 1.1rem; }
.walkthrough-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.walkthrough-tabs { display: flex; flex-direction: column; gap: 0.75rem; }
.wt-tab {
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.3s;
  background: transparent;
}
.wt-tab:hover { background: rgba(255,255,255,0.03); border-color: var(--border); }
.wt-tab.active { background: rgba(0,242,255,0.06); border-color: rgba(0,242,255,0.3); }
.wt-tab h4 { font-size: 1rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.75rem; }
.wt-tab p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; display: none; }
.wt-tab.active p { display: block; }
.wt-tab-icon { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.walkthrough-preview {
  position: sticky;
  top: 120px;
  background: #0a0a0f;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.preview-panel { width: 100%; height: 100%; padding: 2.5rem; display: none; flex-direction: column; gap: 1.5rem; }
.preview-panel.active { display: flex; }
.preview-panel h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.preview-panel p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.preview-visual { flex: 1; background: rgba(255,255,255,0.03); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.preview-row { height: 10px; background: rgba(255,255,255,0.07); border-radius: 4px; }
.preview-row.w60 { width: 60%; }
.preview-row.w40 { width: 40%; }
.preview-row.w80 { width: 80%; }
.preview-row.accent { background: linear-gradient(90deg, rgba(0,242,255,0.4), rgba(112,0,255,0.2)); }
.preview-row.green { background: rgba(0,255,136,0.3); width: 55%; }
@media (max-width: 768px) { .walkthrough-grid { grid-template-columns: 1fr; } .walkthrough-preview { position: relative; top: 0; } }

/* ===================== FORM SUCCESS / VALIDATION ===================== */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.form-success.show { display: flex; }
.success-icon { font-size: 3rem; }
.success-title { font-size: 1.5rem; font-weight: 700; color: #00ff88; }
.success-msg { color: var(--text-dim); }
input.error, textarea.error { border-color: #ff5757 !important; }
.field-error { font-size: 0.78rem; color: #ff5757; margin-top: 0.3rem; display: none; }
.field-error.show { display: block; }
input:focus, textarea:focus { outline: none; border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(0,242,255,0.1); }

/* ===================== CONTACT INFO CARDS ===================== */
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-info-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: 0.3s;
}
.contact-info-card:hover { border-color: rgba(0,242,255,0.3); }
.cic-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(0,242,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.cic-label { font-size: 0.72rem; color: var(--text-dim); }
.cic-val { font-size: 0.9rem; font-weight: 600; }

/* ===================== SECTION HELPERS ===================== */
.section-badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(0,242,255,0.1); color: var(--primary); border-radius: 50px; font-size: 0.75rem; font-weight: 700; border: 1px solid rgba(0,242,255,0.2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.section-header { text-align: center; margin-bottom: 5rem; }

/* ===================== PRICING FEATURE BULLETS ===================== */
.plan-features { list-style: none; text-align: left; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.plan-features li::before { content: '✓'; color: #00ff88; font-weight: 800; flex-shrink: 0; }
.plan-features li.unavail { color: rgba(255,255,255,0.3); }
.plan-features li.unavail::before { content: '✗'; color: rgba(255,87,87,0.4); }

/* ===================== MOBILE MENU FIX ===================== */
.mobile-menu { display: flex !important; }

/* ===================== HERO MOBILE OVERFLOW FIX ===================== */
/* Prevent horizontal overflow — ONLY on html, NOT body (body overflow breaks position:fixed) */
html { overflow-x: hidden; }

/* Hero h1 word wrapping */
.hero h1 {
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Dashboard mobile — redundant since 1024px block above covers it, kept as safety */
@media (max-width: 1024px) {
  .dashboard-frame { transform: none !important; max-width: 100%; width: 100%; }
}

/* ===================== MOBILE FULL OPTIMIZATION ===================== */

/* --- Shared Section Padding --- */
@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; }
  .hero p { font-size: 1rem; }
  .hero-cta { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
  .hero-cta .btn-secondary { margin-left: 0 !important; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-cta { align-items: center; }

  /* Dashboard frame — completely flat on mobile */
  .dashboard-frame {
    transform: none !important;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  }

  /* Live Dashboard on mobile */
  .live-dashboard { min-height: auto; gap: 0.75rem; padding: 1rem; }
  .dash-cards { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .dash-card { padding: 0.75rem; }
  .dash-card .dc-val { font-size: 1.05rem; }
  .dash-chart-area { min-height: 80px; }
  .chart-bars { height: 50px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }

  /* Feature showcase */
  .showcase-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .showcase-visual { order: 1; }
  .showcase-text { order: 2; }
  .showcase-item h3 { font-size: 1.6rem; }
  .showcase-item p { font-size: 0.95rem; }

  /* Mini features */
  .mini-features-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 5rem; }
  .mini-feature { padding: 2rem 1.5rem; }

  /* Feature showcase section */
  .feature-showcase { padding: 6rem 0 !important; }
  .feature-showcase > .container > div:first-child { margin-bottom: 4rem !important; }

  /* Bento grid */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; flex-direction: column; }

  /* Testimonials */
  .testimonials-section { padding: 5rem 0; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Competitor table */
  .compare-section { padding: 5rem 0; }
  .compare-table-wrap { border-radius: 12px; }
  .compare-table th, .compare-table td { padding: 1rem; font-size: 0.8rem; }

  /* Walkthrough */
  .walkthrough-section { padding: 5rem 0; }
  .walkthrough-grid { grid-template-columns: 1fr; gap: 2rem; }
  .walkthrough-preview { position: relative !important; top: 0 !important; min-height: 280px; }
  .wt-tab { padding: 1.2rem 1.5rem; }
  .preview-panel { padding: 1.5rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
  .pricing-card[style*="scale(1.05)"] { transform: none !important; }
  .pricing-card { padding: 2.5rem 1.5rem; }
  .price-val { font-size: 2.8rem; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr !important; gap: 3rem !important; }
  .contact-form-wrap { padding: 1.5rem; }

  /* About section */
  .about-section { grid-template-columns: 1fr !important; padding: 100px 0 4rem !important; gap: 3rem; }
  .about-image { height: 250px !important; }

  /* Download grid */
  .download-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .footer-col { align-items: center; display: flex; flex-direction: column; }
  footer { padding: 4rem 0 2rem; margin-top: 0; }

  /* Custom CTA */
  .custom-cta h2 { font-size: 2.2rem !important; }
  .custom-cta .btn-primary { padding: 1rem 2rem !important; font-size: 1rem !important; }

  /* Sections general */
  section { overflow-x: hidden; }
  .container { padding: 0 1.25rem; }

  /* Section badge */
  .section-badge { font-size: 0.7rem; }

  /* Section headers */
  h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }

  /* Comparison on pricing page */
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* WhatsApp float on mobile — smaller, always visible */
  .whatsapp-float {
    width: 52px; height: 52px;
    bottom: 1.25rem; right: 1.25rem;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }

  /* FAQ on mobile */
  .faq-list { margin: 2rem auto 5rem; }
  .faq-question { padding: 1.2rem 1.5rem; }
  .faq-question h3 { font-size: 0.92rem; }
  .faq-answer { padding: 0 1.5rem; }
  .faq-item.open .faq-answer { padding: 0 1.5rem 1.2rem; }

  /* Contact info cards on mobile */
  .contact-info-cards { gap: 0.75rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .dashboard-frame { transform: none !important; }
  .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-card .dc-val { font-size: 1rem; }
  .dash-card .dc-change { display: none; }
  .stats-grid h2 { font-size: 2rem; }
  .testimonial-card { padding: 1.75rem; }
  .compare-table th, .compare-table td { padding: 0.75rem 0.6rem; font-size: 0.75rem; }
  .pricing-card { padding: 2rem 1.25rem; }
  .plan-features li { font-size: 0.82rem; }
  .btn-primary { padding: 0.85rem 1.8rem; font-size: 0.9rem; }
  .wt-tab h4 { font-size: 0.9rem; }
  .navbar { padding: 1rem 0; }
  .navbar.scrolled { padding: 0.8rem 0; }
  .logo { font-size: 1.2rem; }
  .logo-icon { width: 32px; height: 32px; }
}
