:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --purple: #7c3aed;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
}
* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; margin: 0; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.drawer-open { overflow: hidden; }

/* Top Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #eef2ff; padding: 10px 16px;
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand span { display: none; }
.links { display: flex; align-items: center; gap: 18px; }
.links a { color: #334155; text-decoration: none; font-weight: 500; transition: color .15s ease; }
.links a:hover { color: var(--text); }
.links a.active { color: var(--primary); }
.actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; align-items: center; gap: 8px; border-radius: 10px; padding: 8px 10px; border: 1px solid #e2e8f0; background: #fff; color: var(--text); }
.mobile-menu { position: absolute; right: 16px; top: 56px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 18px 36px rgba(16,24,40,.16); padding: 8px; width: 200px; display: none; }
.mobile-menu a { display: block; padding: 10px 12px; color: #334155; text-decoration: none; font-weight: 500; border-radius: 8px; }
.mobile-menu a:hover { background: #f1f5f9; color: var(--text); }
.mobile-menu a.active { color: var(--primary); }
.mobile-menu.open { display: block; }
/* Mobile slide-in drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 1000; display: none; }
.mobile-drawer.open { display: block; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.45); opacity: 0; transition: opacity .24s ease; }
.mobile-drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; height: 100%; width: min(360px, 78vw); background: #fff; border-left: 1px solid #e5e7eb; box-shadow: -12px 0 28px rgba(16,24,40,.16); padding: 14px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .24s ease; overflow-y: auto; }
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-header { display:flex; align-items:center; justify-content:space-between; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; }
.drawer-links a { display:block; padding: 12px; border-radius: 10px; text-decoration:none; color: #334155; font-weight: 600; }
.drawer-links a:hover { background:#f1f5f9; color: var(--text); }
.drawer-links a.active { color: var(--primary); }
.drawer-actions { display:flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.drawer-actions .btn { width: 100%; justify-content: center; }
.drawer-actions .btn svg { display: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 10px 14px; text-decoration: none; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-outline { color: var(--text); border: 1px solid #e2e8f0; background: #fff; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--purple)); box-shadow: 0 6px 24px rgba(37, 99, 235, .25); }

/* Hero */
.hero { max-width: 1100px; margin: 0 auto; padding: 0 16px; text-align: center; min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 auto; max-width: 900px; }
.hero h1 .accent { color: var(--primary); }
.hero p { margin: 18px auto 26px; color: var(--muted); max-width: 720px; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Hero primary button: solid brand color, Avada-like feel */
.hero .btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, .25);
  padding: 14px 20px;
  font-size: 17px; /* slightly larger button text */
}
.hero .btn-primary::after {
  content: none;
}
.hero .btn-primary svg { width: 24px; height: 24px; margin-left: 8px; stroke-width: 3; transition: transform .15s ease; }
.hero .btn-primary:hover svg { transform: translateX(2px); }

/* Hero secondary button: white background, brand text/border, same size */
.hero .btn-outline {
  padding: 14px 20px;
  font-size: 17px;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, .35);
  box-shadow: 0 4px 18px rgba(16, 24, 40, .06);
}
.hero .btn-outline:hover { color: var(--primary-dark); border-color: var(--primary-dark); }

/* Nav Get Started button: use same solid brand color */
.nav .btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, .25);
}

/* Intro video */
.intro-video { max-width: 1100px; margin: 28px auto 0; padding: 0 16px; }
.video-wrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(16,24,40,.12); background: #0b1220; }
.intro-video video { width: 100%; aspect-ratio: 1920 / 920; display: block; object-fit: cover; background: #0b1220; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(2,6,23,.45); border: 0; cursor: pointer; }
.video-play .play-pill { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 999px; background: var(--primary); box-shadow: 0 10px 28px rgba(37,99,235,.35); }
.video-play svg { width: 36px; height: 36px; color: #fff; }
.video-play:hover .play-pill { box-shadow: 0 14px 34px rgba(37,99,235,.45); transform: translateY(-1px); }

/* Fullscreen adjustments: fill entire screen */
.intro-video video:fullscreen,
.intro-video video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: #0b1220;
  border-radius: 0;
}
.intro-video video:fullscreen + .video-play,
.intro-video video:-webkit-full-screen + .video-play { display: none !important; }

/* Features */
.features { max-width: 1100px; margin: 60px auto; padding: 0 16px; scroll-margin-top: 80px; }
.features h2 { text-align: center; font-size: 30px; margin-bottom: 16px; }
.features p.section-sub { text-align: center; color: var(--muted); max-width: 840px; margin: 0 auto 30px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px; box-shadow: 0 8px 28px rgba(16, 24, 40, .06); text-align: center; }
.card .icon { display:flex; align-items:center; justify-content:center; margin-bottom: 16px; background: none; }
.card .icon img { width: 72px; height: auto; display: block; }
.card h3 { margin: 6px 0 8px; font-size: 20px; }
.card p { color: var(--muted); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* CTA */
.cta { max-width: 1100px; margin: 70px auto; padding: 0 16px; }
.cta-box { border-radius: 14px; padding: 48px 40px; background: linear-gradient(135deg, var(--primary), var(--purple)); color: #fff; display:flex; align-items:center; justify-content:space-between; gap: 16px; box-shadow: 0 18px 36px rgba(37, 99, 235, .35); }
.cta h3 { font-size: clamp(22px, 3.2vw, 32px); margin: 0 0 8px; }
.cta p { margin: 0; opacity: .95; }
.cta-actions { display:flex; align-items:center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-box { flex-direction: column; text-align:center; padding: 32px 24px; align-items:center; } }
/* CTA button override to white */
.cta .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 6px 20px rgba(16,24,40,.10); }

/* Footer */
footer { background: #0b1220; color: #cbd5e1; padding: 32px 16px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display:grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 18px; }
.footer-brand { display:flex; flex-direction: column; align-items:flex-start; gap:10px; }
.footer-brand img { height:36px; }
.footer-col h4 { color:#e2e8f0; margin-bottom:10px; }
.footer-col a { color:#cbd5e1; text-decoration:none; display:block; margin:6px 0; }
.footer-col a:hover { color:#fff; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-bottom { max-width: 1100px; margin: 18px auto 0; padding-top: 18px; border-top: 1px solid rgba(148,163,184,.2); color:#94a3b8; font-size: 14px; text-align: center; }

/* Mobile tweaks for nav and buttons */
@media (max-width: 760px) {
  .nav-inner { flex-wrap: nowrap; gap: 8px; }
  .brand img { height: 34px; }
  .links { display: none; }
  .actions { margin-left: auto; }
  .actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Fallback when backdrop-filter unsupported */
/* Nav is solid white by design */

/* Pricing (styled like the example, adapted for TenWasap) */
.pricing { max-width: 1100px; margin: 70px auto; padding: 0 16px; scroll-margin-top: 80px; }
.pricing .title { text-align:center; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.pricing .subtitle { text-align:center; color: var(--muted); max-width: 800px; margin: 10px auto 24px; }
.price-card-wrap { display:flex; justify-content:center; }
.price-card { width: min(600px, 100%); background:#fff; border: 2px solid #60a5fa; border-radius: 10px; box-shadow: 0 12px 28px rgba(16,24,40,.06); padding: 28px; text-align:center; }
.price-card .start { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.price-card .amount { font-size: 48px; color: var(--primary); font-weight: 900; letter-spacing: -0.01em; margin: 6px 0 14px; }
.price-card .copy { color: var(--muted); max-width: 520px; margin: 0 auto 18px; }
.price-card .btn-primary { width: 100%; justify-content:center; padding: 14px 18px; }
.price-card .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 24px rgba(37, 99, 235, .25); }
.price-card .btn-outline { width: 100%; justify-content:center; padding: 12px 18px; background:#fff; }

/* Demos (route-based view) */
.demos { max-width: 1100px; margin: 70px auto; padding: 0 16px; scroll-margin-top: 80px; display: none; }
.show-demos .demos { display: block; }
.show-demos .hero, .show-demos .features, .show-demos .pricing, .show-demos .cta:not(.cta-demos) { display: none !important; }
.show-demos .customers { display: none !important; }
.show-demos .intro-video { display: none !important; }
.show-demos .cta.cta-demos { display: block; }
.demos .title { text-align:center; font-size: clamp(42px, 7vw, 72px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.demos .subtitle { text-align:center; color: var(--muted); max-width: 860px; margin: 8px auto 28px; font-size: clamp(16px, 2.2vw, 20px); }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-card { background:#fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; box-shadow: 0 12px 28px rgba(16,24,40,.08); transition: transform .18s ease, box-shadow .18s ease; }
.demo-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(16,24,40,.12); }
.demo-card h3 { margin: 6px 0 12px; font-size: 18px; color: var(--text); }
.demo-desc { color: var(--muted); font-size: clamp(14px, 2vw, 16px); line-height: 1.5; margin: 0 0 14px; }
.device-frame { position: relative; background: #0b1220; border-radius: 22px; padding: 10px; border: 1px solid #1e293b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 16px 28px rgba(15,23,42,.30); }
.device-frame::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 60px; height: 6px; background: #111827; border-radius: 3px; }
.demo-video { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #0b1220; border-radius: 16px; }

/* Customers / Trusted brands */
.customers { max-width: 1100px; margin: 20px auto 0; padding: 0 16px; }
.customers-title { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.customers-logos { display:flex; align-items:center; justify-content:center; gap: 28px; flex-wrap: wrap; }
.brand-logo { height: 36px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .9; }
@media (min-width: 968px) { .brand-logo { height: 60px; } }
/* Mobile: keep logos on a single row with horizontal scroll */
@media (max-width: 760px) {
  .customers-logos { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; padding-bottom: 6px; gap: 22px; }
  .customers-logos::-webkit-scrollbar { display: none; }
  .brand-logo { flex: 0 0 auto; }
}