/* ═══════════════════════════════════════════════════════════════
   THANVY KNOWLEDGE SERVICES — MAIN STYLESHEET
   Corporate Look | Dual Theme (Green/Blue) | Narrow Font
   ═══════════════════════════════════════════════════════════════ */

* { margin:0; padding:0; box-sizing:border-box; font-family:'Inter','Poppins',sans-serif; }

:root {
  /* ─── Fallback values (overridden by theme_css.php) ─── */
  --primary:#059669;
  --primary-dark:#047857;
  --primary-deep:#065f46;
  --primary-light:#d1fae5;
  --accent:#fb923c;
  --accent-dark:#f97316;
  --accent-light:#ffedd5;
  --success:#16a34a;
  --warning:#f59e0b;
  --danger:#dc2626;
  --info:#1976D2;
  --dark:#1f2937;
  --light:#f9fafb;
  --gray:#6b7280;
  --border:#e5e7eb;
  --white:#ffffff;
  --hero-dark: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  --hero-solid: #065f46;
  --btn-primary-bg: linear-gradient(180deg, #10b981 0%, #059669 50%, #047857 100%);
  --btn-primary-shadow: rgba(5, 150, 105, 0.5);
  --bg-light: #f0fdf4;
  --bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  --font-primary: 'Inter', 'Poppins', sans-serif;
  --font-heading: 'Barlow Semi Condensed', 'Oswald', sans-serif;
  --font-body: 'Inter', 'Poppins', sans-serif;
  --ease-3d: cubic-bezier(0.2, 0.9, 0.3, 1.1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior:smooth; }

body {
  line-height:1.7;
  color:var(--dark);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:var(--bg-gradient);
  min-height:100vh;
  font-family:var(--font-body);
}

.container { max-width:1200px; margin:0 auto; padding:0 24px; }
a { color:inherit; text-decoration:none; }

/* ─── Headings — Narrow Font (Corporate) ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════════════════════════ */
.scroll-progress {
  position:fixed; top:0; left:0; height:4px; width:0%;
  background:linear-gradient(90deg, var(--primary), var(--accent));
  z-index:9999; transition:width 0.1s ease;
  box-shadow:0 0 16px var(--btn-primary-shadow);
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
header {
  position:sticky; top:0; width:100%;
  background:rgba(255,255,255,0.98);
  backdrop-filter:blur(14px) saturate(180%);
  -webkit-backdrop-filter:blur(14px) saturate(180%);
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
  border-bottom:1px solid rgba(0,0,0,0.06);
  z-index:999;
  transition:box-shadow 0.3s ease;
}
header.scrolled { box-shadow:0 8px 32px rgba(0,0,0,0.10); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo-svg { flex-shrink: 0; width: 200px; display:flex; align-items:center; }
.logo-svg svg { width: 100%; height: auto; display:block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)); transition: transform 0.4s var(--ease-3d); }
.logo-svg:hover svg { transform: scale(1.03); }

.nav-links {
  display: flex; list-style: none; gap: 26px;
  margin: 0; padding: 0; flex: 0 1 auto;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: #1f2937;
  padding: 6px 2px; position: relative;
  transition: color 0.25s ease; white-space: nowrap;
  text-transform: none;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px; transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-download-nav {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 18px;
  background: var(--btn-primary-bg);
  color: #fff !important; font-weight: 700; font-size: 13.5px;
  border-radius: 8px; text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px var(--btn-primary-shadow);
  white-space: nowrap;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.btn-download-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--btn-primary-shadow); }

.btn-signin {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #1976D2, #1565C0);
  color: #fff !important; font-weight: 700; font-size: 13.5px;
  border-radius: 8px; text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  white-space: nowrap;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.btn-signin:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(25, 118, 210, 0.5); }

.auth-user { position: relative; }
.user-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: 30px;
  cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 600; color: #1f2937;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.user-btn:hover { border-color: var(--primary); box-shadow: 0 4px 12px var(--btn-primary-shadow); transform: translateY(-1px); }
.user-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--btn-primary-bg);
  color: #fff; font-weight: 700; font-size: 13px;
  border-radius: 50%; text-transform: uppercase; flex-shrink: 0;
}
.user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-caret { font-size: 9px; color: #666; transition: transform 0.25s; }
.auth-user.open .user-caret { transform: rotate(180deg); }

.user-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 230px; background: #ffffff;
  border: 1px solid #e5e7eb; border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-3d);
  z-index: 1000; overflow: hidden;
}
.auth-user.open .user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; color: #1f2937;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.user-menu a span { font-size: 15px; width: 20px; display: inline-block; text-align: center; }
.user-menu a:hover { background: var(--bg-light); color: var(--primary); transform: translateX(3px); }
.user-menu-divider { height: 1px; background: #e5e7eb; margin: 6px 10px; }
.user-menu .logout-link { color: #dc2626; }
.user-menu .logout-link:hover { background: #fef2f2; color: #dc2626; }

.menu-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: #1f2937; background: none; border: none; transition: transform 0.25s; }
.menu-toggle:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display:inline-block; padding:13px 28px; border-radius:8px;
  font-weight:700; font-size:0.95rem; border:none; cursor:pointer;
  transition:all 0.28s var(--ease-3d);
  text-align:center; white-space:nowrap;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  text-transform: none;
}
.btn-primary {
  background: var(--btn-primary-bg);
  color:#fff;
  box-shadow:0 8px 20px -6px var(--btn-primary-shadow);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 16px 32px -8px var(--btn-primary-shadow); }
.btn-secondary { background:rgba(255,255,255,0.12); color:#fff; border:2px solid rgba(255,255,255,0.9); backdrop-filter:blur(4px); }
.btn-secondary:hover { background:#fff; color:var(--primary); transform:translateY(-2px); }
.btn-outline {
  background:#ffffff;
  color:var(--primary); border:2px solid var(--primary);
  box-shadow:0 4px 12px -4px var(--btn-primary-shadow);
}
.btn-outline:hover { background:var(--primary); color:#fff; transform:translateY(-2px); }
.btn.full { width:100%; }
.link-btn { background:none; border:none; color:var(--primary); font-weight:700; cursor:pointer; padding:0; margin-top:10px; display:inline-block; transition:all 0.3s; }
.link-btn:hover { text-decoration:underline; transform:translateX(6px); }

/* ═══════════════════════════════════════════════════════════
   HERO — Corporate Look
   ═══════════════════════════════════════════════════════════ */
.hero {
  padding: 72px 0 68px;
  background: var(--hero-dark);
  color:#fff; position:relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="20" cy="20" r="30" fill="%23ffffff"/><circle cx="80" cy="70" r="40" fill="%23ffffff"/></svg>');
  background-size:500px 500px; pointer-events:none; z-index:0;
}
.hero-content { display:grid; grid-template-columns:1.4fr 1fr; gap:60px; align-items:center; position:relative; z-index:1; }
.hero h2 {
  font-family: var(--font-heading);
  font-size:3rem;
  line-height:1.15;
  margin-bottom:24px;
  letter-spacing:-0.5px;
  font-weight:800;
  color:#fff;
}
.hero .highlight { color:var(--accent); }
.hero p { font-size:1.1rem; margin-bottom:32px; opacity:0.95; line-height:1.65; font-family: var(--font-body); }
.hero-buttons { display:flex; gap:15px; flex-wrap:wrap; margin-bottom:44px; }
.hero-stats { display:flex; gap:50px; flex-wrap:wrap; }
.hero-stats div { display:flex; flex-direction:column; }
.hero-stats strong {
  font-family: var(--font-heading);
  font-size:2.4rem;
  color:var(--accent);
  line-height:1;
  font-weight:800;
  letter-spacing:-1px;
}
.hero-stats span { font-size:0.85rem; opacity:0.9; margin-top:6px; letter-spacing:0.5px; }

.hero-card {
  background:#ffffff;
  color:var(--dark); padding:44px 40px; border-radius:12px;
  box-shadow:0 20px 50px -12px rgba(0,0,0,0.35);
  position:relative;
  border:1px solid rgba(0,0,0,0.06);
}
.hero-card .card-title {
  font-family: var(--font-heading);
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary-deep);
  margin-bottom:8px;
  letter-spacing:-0.3px;
}
.hero-card .card-sub { font-size:0.95rem; color:var(--gray); margin-bottom:22px; font-family: var(--font-body); }
.hero-card .feature-list { list-style:none; margin-bottom:24px; }
.hero-card .feature-list li { padding:9px 0 9px 30px; position:relative; font-size:0.95rem; }
.hero-card .feature-list li::before { content:'✓'; position:absolute; left:0; color:var(--success); font-weight:700; font-size:1.1rem; }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER (Corporate Banner)
   ═══════════════════════════════════════════════════════════ */
.page-header {
  background: var(--hero-dark);
  color:#fff; padding: 56px 0 52px;
  text-align:center; position:relative; overflow:hidden;
}
.page-header::before {
  content:''; position:absolute; inset:0;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="20" cy="20" r="30" fill="%23ffffff"/><circle cx="80" cy="70" r="40" fill="%23ffffff"/></svg>');
  background-size:400px 400px; pointer-events:none;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size:2.8rem;
  margin:0 0 10px;
  position:relative;
  z-index:1;
  letter-spacing:-0.5px;
  font-weight:800;
  line-height:1.1;
  color:#fff;
}
.page-header p {
  font-size:1.1rem;
  opacity:0.92;
  position:relative;
  z-index:1;
  margin:0 auto;
  line-height:1.5;
  max-width:720px;
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
section { padding: 80px 0; }
.section-title {
  text-align:center;
  font-family: var(--font-heading);
  font-size:2.6rem;
  margin-bottom:12px;
  letter-spacing:-0.5px;
  font-weight:800;
  color:var(--primary-deep);
}
.section-title::after {
  content:''; display:block; width:70px; height:3px;
  background:linear-gradient(90deg, var(--primary), var(--accent));
  margin:16px auto 0; border-radius:2px;
}
.section-sub { text-align:center; color:var(--gray); margin-bottom:48px; font-size:1.05rem; font-family: var(--font-body); }
.page-header + section { padding-top: 60px; }

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services { background:var(--bg-gradient); }
.services-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(310px,1fr)); gap:28px; }
.service-card {
  background: #ffffff;
  padding:40px 32px; border-radius:12px;
  box-shadow:0 4px 12px -4px rgba(0,0,0,0.06);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  border:1px solid #e5e7eb;
  position:relative;
}
.service-card:hover {
  transform:translateY(-6px);
  box-shadow:0 20px 40px -12px rgba(0,0,0,0.12);
  border-color:var(--primary-light);
}
.service-card.featured {
  background:var(--bg-light);
  border:1px solid var(--primary-light);
}
.service-card .icon {
  font-size:2.8rem; margin-bottom:20px; display:inline-block;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.10));
}
.service-card h3 {
  font-family: var(--font-heading);
  color:var(--primary-deep);
  margin-bottom:14px;
  font-size:1.4rem;
  font-weight:700;
  letter-spacing:-0.3px;
}
.service-card p { color:var(--gray); font-size:0.95rem; line-height:1.65; font-family: var(--font-body); }
.center-btn { text-align:center; margin-top:55px; }

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing-section { background:var(--bg-gradient); }
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; }
.price-card {
  background:#ffffff; padding:44px 34px; border-radius:12px; text-align:center;
  box-shadow:0 4px 15px -4px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  border:1px solid #e5e7eb;
  position:relative;
}
.price-card:hover {
  transform:translateY(-8px);
  box-shadow:0 24px 48px -12px rgba(0,0,0,0.15);
  border-color:var(--primary-light);
}
.price-card.popular {
  background:var(--bg-light);
  border:2px solid var(--primary);
  transform:scale(1.03);
  box-shadow:0 16px 40px -12px var(--btn-primary-shadow);
}
.price-card.popular:hover { transform:scale(1.05) translateY(-8px); }
.price-card .tag {
  display:inline-block;
  background:var(--accent);
  color:#fff; padding:5px 16px; border-radius:6px;
  font-size:0.75rem; font-weight:700; margin-bottom:18px;
  letter-spacing:0.8px; text-transform:uppercase;
  font-family: var(--font-heading);
}
.price-card h4 {
  font-family: var(--font-heading);
  color:var(--primary-deep);
  font-size:1.4rem;
  margin-bottom:16px;
  font-weight:700;
}
.price-card .price {
  font-family: var(--font-heading);
  font-size:2.8rem;
  font-weight:800;
  color:var(--dark);
  margin-bottom:26px;
  letter-spacing:-1.5px;
}
.price-card .price span { font-size:0.9rem; font-weight:400; color:var(--gray); letter-spacing:0; font-family: var(--font-body); }
.price-card ul { list-style:none; margin-bottom:30px; text-align:left; }
.price-card ul li { padding:10px 0 10px 30px; position:relative; font-size:0.92rem; color:var(--gray); border-bottom:1px solid var(--border); font-family: var(--font-body); }
.price-card ul li::before { content:'✓'; position:absolute; left:0; color:var(--success); font-weight:700; }

/* ═══════════════════════════════════════════════════════════
   PAY PER PAGE
   ═══════════════════════════════════════════════════════════ */
.payperpage-section { background:var(--bg-gradient); padding:80px 0; }
.payperpage-card {
  display:grid; grid-template-columns:1.1fr 1fr; gap:0;
  background:#ffffff; border-radius:16px;
  box-shadow:0 20px 50px -15px rgba(0,0,0,0.15);
  overflow:hidden; margin-bottom:55px;
  border:1px solid #e5e7eb;
}
.ppp-left {
  padding:48px 44px;
  background:var(--hero-dark);
  color:#fff; position:relative; overflow:hidden;
}
.ppp-left::before {
  content:''; position:absolute; inset:0;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.04"><circle cx="20" cy="20" r="30" fill="%23ffffff"/><circle cx="80" cy="70" r="40" fill="%23ffffff"/></svg>');
  background-size:350px 350px; pointer-events:none;
}
.ppp-left > * { position:relative; z-index:1; }
.ppp-badge {
  display:inline-block;
  background:var(--accent);
  color:#fff; padding:6px 18px; border-radius:6px;
  font-size:0.78rem; font-weight:700; margin-bottom:22px;
  letter-spacing:0.8px; text-transform:uppercase;
  font-family: var(--font-heading);
}
.ppp-left h3 {
  font-family: var(--font-heading);
  font-size:4rem;
  font-weight:800;
  line-height:1;
  margin-bottom:16px;
  letter-spacing:-2px;
}
.ppp-left h3 span { font-size:1.3rem; font-weight:500; opacity:0.85; display:block; margin-top:8px; letter-spacing:0; font-family: var(--font-body); }
.ppp-desc { font-size:1rem; opacity:0.95; margin-bottom:30px; line-height:1.65; font-family: var(--font-body); }
.ppp-features { list-style:none; padding:0; }
.ppp-features li { padding:10px 0 10px 32px; position:relative; font-size:0.95rem; font-family: var(--font-body); }
.ppp-features li::before { content:'✓'; position:absolute; left:0; top:10px; font-weight:800; font-size:1.1rem; }
.ppp-right { padding:48px 44px; display:flex; flex-direction:column; justify-content:center; }
.ppp-right h4 {
  font-family: var(--font-heading);
  color:var(--primary-deep);
  font-size:1.3rem;
  margin-bottom:22px;
  text-align:center;
  font-weight:700;
}
.ppp-limit-box { display:flex; align-items:baseline; justify-content:center; gap:10px; margin-bottom:16px; }
.ppp-limit-num {
  font-family: var(--font-heading);
  font-size:5rem;
  font-weight:800;
  line-height:1;
  color:var(--primary);
  letter-spacing:-3px;
}
.ppp-limit-label { font-size:1.15rem; color:var(--gray); font-weight:500; font-family: var(--font-body); }
.ppp-limit-note { text-align:center; font-size:0.88rem; color:var(--gray); margin-bottom:28px; line-height:1.65; font-family: var(--font-body); }
.ppp-progress-wrap { margin-bottom:24px; }
.ppp-progress-info { display:flex; justify-content:space-between; font-size:0.85rem; color:var(--gray); margin-bottom:10px; font-weight:500; font-family: var(--font-body); }
.ppp-progress-bar { height:8px; background:#e5e7eb; border-radius:50px; overflow:hidden; }
.ppp-progress-fill { height:100%; background:var(--primary); border-radius:50px; transition:width 0.6s var(--ease-3d); }
.ppp-status { margin-top:14px; font-size:0.9rem; font-weight:500; text-align:center; min-height:22px; font-family: var(--font-body); }
.ppp-remaining {
  margin-top:10px; padding:9px 14px;
  background:var(--primary-light); border-left:3px solid var(--primary);
  border-radius:4px; font-size:13px; font-weight:600;
  color:var(--primary-deep); font-family: var(--font-body);
}
.ppp-calculator {
  background:#ffffff; border-radius:16px; padding:40px 44px;
  box-shadow:0 12px 35px -12px rgba(0,0,0,0.12);
  border:1px solid #e5e7eb; text-align:center;
}
.ppp-calculator h3 {
  font-family: var(--font-heading);
  color:var(--primary-deep);
  font-size:1.6rem;
  margin-bottom:10px;
  font-weight:700;
}
.ppp-calculator > p { color:var(--gray); font-size:0.95rem; margin-bottom:28px; font-family: var(--font-body); }
.ppp-calc-row { display:flex; gap:20px; align-items:center; justify-content:center; flex-wrap:wrap; margin-bottom:18px; }
.ppp-calc-row input {
  padding:14px 22px; border:2px solid var(--border); border-radius:8px;
  font-family:inherit; font-size:1.05rem; width:240px;
  transition:all 0.25s; background:#fff; font-weight:500; text-align:center;
}
.ppp-calc-row input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-light); }
.ppp-calc-result {
  font-size:1.1rem; color:var(--dark); padding:14px 28px;
  background:var(--bg-light); border-radius:8px; font-weight:500;
  font-family: var(--font-body);
}
.ppp-calc-result strong { font-family: var(--font-heading); font-size:1.8rem; color:var(--primary); font-weight:800; margin-left:6px; }
.ppp-calc-note { font-size:0.82rem !important; color:var(--gray); opacity:0.85; font-family: var(--font-body); }

/* ═══════════════════════════════════════════════════════════
   SOFTWARE PAGE
   ═══════════════════════════════════════════════════════════ */
.software { background:var(--bg-gradient); }
.software-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.software-features, .software-highlight {
  background:#ffffff; padding:44px 36px; border-radius:12px;
  box-shadow:0 4px 15px -4px rgba(0,0,0,0.08);
  border:1px solid #e5e7eb;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.software-features:hover, .software-highlight:hover {
  transform:translateY(-6px);
  box-shadow:0 20px 40px -12px rgba(0,0,0,0.12);
}
.software-features h3, .software-highlight h3 {
  font-family: var(--font-heading);
  color:var(--primary-deep);
  margin-bottom:24px;
  font-size:1.5rem;
  font-weight:700;
}
.highlight-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.hl-item {
  text-align:center; padding:24px 20px; border-radius:10px;
  background:var(--bg-light);
  border:1px solid var(--primary-light);
  transition:all 0.3s ease;
}
.hl-item:hover { transform:translateY(-4px); background:#ffffff; box-shadow:0 12px 28px -8px rgba(0,0,0,0.10); }
.hl-icon { font-size:2rem; display:inline-block; margin-bottom:12px; }
.hl-item h4 { font-family: var(--font-heading); color:var(--primary-deep); margin-bottom:8px; font-size:1.05rem; font-weight:700; }
.hl-item p { color:var(--gray); font-size:0.85rem; font-family: var(--font-body); }

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-section { padding:80px 0; background:var(--bg-gradient); }
.contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:44px; }
.contact-info { display:flex; flex-direction:column; gap:18px; }
.contact-card {
  display:flex; gap:16px; padding:22px;
  background:#ffffff; border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
  transition:all 0.3s ease;
  border:1px solid #e5e7eb;
}
.contact-card:hover { box-shadow:0 12px 28px -8px rgba(0,0,0,0.12); transform:translateY(-4px); border-color:var(--primary-light); }
.contact-icon {
  font-size:26px; width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  background:var(--primary-light);
  border-radius:10px; flex-shrink:0;
}
.contact-details h3 {
  font-family: var(--font-heading);
  font-size:14px; font-weight:700; color:var(--primary-deep);
  text-transform:uppercase; letter-spacing:0.6px; margin:0 0 6px 0;
}
.contact-details a, .contact-details p { display:block; color:#555; font-size:14px; text-decoration:none; margin-bottom:4px; line-height:1.55; font-family: var(--font-body); }
.contact-details a:hover { color:var(--primary); text-decoration:underline; }
.contact-note { display:block; font-size:12px; color:#999; font-style:italic; }
.contact-form-wrap { display:flex; align-items:flex-start; }
.contact-form-card {
  background:#ffffff; border-radius:16px; padding:44px;
  box-shadow:0 12px 35px -12px rgba(0,0,0,0.12);
  width:100%; border:1px solid #e5e7eb;
}
.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size:1.6rem; color:var(--primary-deep); margin:0 0 8px 0; font-weight:700;
}
.form-subtitle { color:#666; font-size:14px; margin-bottom:26px; font-family: var(--font-body); }
.contact-form .form-group { margin-bottom:20px; }
.contact-form label { display:block; font-size:13px; font-weight:600; color:#333; margin-bottom:8px; font-family: var(--font-body); }
.contact-form input, .contact-form select, .contact-form textarea {
  width:100%; padding:13px 16px;
  border:2px solid #d0d0d0; border-radius:8px;
  font-size:14px; font-family:var(--font-body);
  background:#fafafa; transition:all 0.25s;
  box-sizing:border-box;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline:none; border-color:var(--primary); background:#ffffff;
  box-shadow:0 0 0 3px var(--primary-light);
}
.contact-form textarea { resize:vertical; min-height:130px; }
.contact-form .btn { margin-top:8px; padding:15px; font-size:15px; }
.form-status { margin-top:14px; font-size:0.92rem; font-weight:500; text-align:center; font-family: var(--font-body); }
.form-status.success { color:var(--success); }
.form-status.error { color:var(--danger); }

/* ═══════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════ */
.video-section {
  padding:80px 0;
  background:#ffffff;
  text-align:center;
}
.video-wrapper {
  max-width:900px; margin:0 auto; border-radius:12px; overflow:hidden;
  box-shadow:0 20px 50px -15px rgba(0,0,0,0.20);
  background:#000;
}
.video-wrapper iframe { display:block; width:100%; height:500px; border:0; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials-section { padding:80px 0; background:var(--bg-gradient); }
.testimonials-slider { position:relative; max-width:820px; margin:0 auto; padding:0 60px; }
.tst-track { display:flex; transition:transform 0.5s ease; }
.tst-card {
  min-width:100%; padding:40px 36px;
  background:#ffffff; border-radius:12px;
  box-shadow:0 8px 28px -8px rgba(0,0,0,0.10);
  text-align:center; border:1px solid #e5e7eb;
}
.tst-stars { font-size:16px; letter-spacing:2px; margin-bottom:18px; }
.tst-text { font-family: var(--font-body); font-size:1.05rem; line-height:1.7; color:#374151; font-style:italic; margin-bottom:26px; }
.tst-author { display:flex; align-items:center; gap:14px; justify-content:center; }
.tst-avatar {
  width:50px; height:50px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:15px; flex-shrink:0;
}
.tst-author strong { display:block; color:#1f2937; font-size:14px; text-align:left; margin-bottom:2px; font-family: var(--font-heading); font-weight:700; }
.tst-author span { display:block; color:#6b7280; font-size:12px; text-align:left; font-family: var(--font-body); }
.tst-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:8px;
  background:#ffffff; border:1px solid #e5e7eb;
  color:var(--primary); font-size:24px; font-weight:700;
  cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:all 0.25s ease;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
}
.tst-nav:hover { background:var(--primary); color:#fff; }
.tst-prev { left:0; }
.tst-next { right:0; }
.tst-dots { display:flex; justify-content:center; gap:8px; margin-top:24px; }
.tst-dot {
  width:8px; height:8px; border-radius:50%;
  background:#d1d5db; cursor:pointer;
  transition:all 0.3s ease; border:none; padding:0;
}
.tst-dot.active { background:var(--primary); width:24px; border-radius:4px; }

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════ */
.faq-section { padding:80px 0; background:#ffffff; }
.faq-list { max-width:780px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.faq-item {
  background:#ffffff; border:1px solid #e5e7eb;
  border-radius:10px; overflow:hidden;
  transition:all 0.3s ease;
}
.faq-item:hover { border-color:var(--primary-light); box-shadow:0 4px 16px rgba(0,0,0,0.06); }
.faq-item.open { border-color:var(--primary); box-shadow:0 8px 24px -8px var(--btn-primary-shadow); }
.faq-q {
  width:100%; padding:20px 24px;
  background:transparent; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center;
  gap:16px; font-family:var(--font-heading); font-size:1.1rem;
  font-weight:700; color:var(--primary-deep); text-align:left;
  transition:color 0.2s;
}
.faq-q:hover { color:var(--primary); }
.faq-icon {
  font-size:22px; font-weight:400; color:var(--primary);
  transition:transform 0.3s ease;
  flex-shrink:0; line-height:1;
}
.faq-item.open .faq-icon { transform:rotate(45deg); color:var(--accent); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s ease; padding:0 24px; }
.faq-item.open .faq-a { max-height:400px; padding:0 24px 22px; }
.faq-a p { color:#4b5563; font-size:15px; line-height:1.7; margin:0; font-family: var(--font-body); }
.faq-a a { color:var(--primary); font-weight:600; text-decoration:underline; }
.faq-a strong { color:#1f2937; }

/* ═══════════════════════════════════════════════════════════
   COMPARE TABLE
   ═══════════════════════════════════════════════════════════ */
.compare-section { padding:80px 0; background:#ffffff; }
.compare-wrap {
  overflow-x:auto; border-radius:12px;
  box-shadow:0 8px 32px -8px rgba(0,0,0,0.12);
  border:1px solid #e5e7eb; background:#fff;
}
.compare-table { width:100%; border-collapse:collapse; min-width:760px; font-size:14px; }
.compare-table thead { background:var(--hero-dark); color:#fff; }
.compare-table th {
  padding:18px 16px; text-align:center;
  font-family: var(--font-heading); font-weight:700; font-size:0.9rem;
  text-transform:uppercase; letter-spacing:0.6px;
  border-right:1px solid rgba(255,255,255,0.1);
  white-space:nowrap;
}
.compare-table th:last-child { border-right:none; }
.compare-table th.feature-col { text-align:left; padding-left:24px; }
.compare-table th.popular-col { background:var(--accent); }
.compare-table tbody tr { border-bottom:1px solid #f3f4f6; transition:background 0.25s ease; }
.compare-table tbody tr:hover { background:var(--bg-light); }
.compare-table tbody tr:last-child { border-bottom:none; }
.compare-table td { padding:16px; text-align:center; color:#374151; font-size:14px; font-weight:500; font-family: var(--font-body); }
.compare-table td.feature-col { text-align:left; padding-left:24px; color:#1f2937; }
.compare-table td.popular-col { background:rgba(251,146,60,0.06); font-weight:600; color:var(--primary-deep); }
.compare-table td:first-child { border-right:1px solid #f3f4f6; }
.compare-table td:not(.feature-col) { font-size:16px; color:var(--primary); font-weight:700; }
.compare-table .cta-row td { padding:20px 12px; background:#f9fafb; border-top:2px solid #e5e7eb; }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta-banner {
  background:var(--hero-dark); color:#fff;
  padding:80px 0; text-align:center;
  position:relative; overflow:hidden;
}
.cta-banner::before {
  content:''; position:absolute; inset:0;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="30" cy="30" r="35" fill="%23ffffff"/><circle cx="70" cy="70" r="45" fill="%23ffffff"/></svg>');
  background-size:400px 400px; pointer-events:none;
}
.cta-content { position:relative; z-index:1; }
.cta-content h2 {
  font-family: var(--font-heading);
  font-size:2.6rem;
  margin-bottom:16px;
  letter-spacing:-0.5px;
  font-weight:800;
  color:#fff;
}
.cta-content p { font-size:1.1rem; opacity:0.95; margin-bottom:32px; font-family: var(--font-body); }
.cta-buttons { display:flex; gap:15px; justify-content:center; flex-wrap:wrap; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color:#e5e7eb; padding:60px 0 30px;
  position:relative; overflow:hidden; text-align:left;
}
.footer-top { display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; margin-bottom:40px; }
.footer-brand { max-width:420px; }
.footer-logo { display:inline-block; width:200px; margin-bottom:16px; }
.footer-logo svg { width:100%; height:auto; display:block; }

.brand-block { max-width:680px; margin-bottom:0; }
.brand-heading {
  font-family: 'Barlow Semi Condensed', 'Oswald', sans-serif;
  font-weight:700; font-size:20px; text-transform:uppercase;
  letter-spacing:0.5px; line-height:1.3; color:#ffffff;
  margin:0 0 10px;
}
.brand-desc {
  font-family:'Inter', 'Poppins', sans-serif;
  font-weight:400; font-size:14px; line-height:1.65;
  color:#94a3b8; margin:0;
}

.footer-social { text-align:right; }
.footer-social-label { color:#e5e7eb; font-size:14px; font-weight:600; margin-bottom:14px; font-family: var(--font-heading); }
.social-icons { display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
.social-icon {
  width:40px; height:40px; border-radius:8px;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255, 255, 255, 0.06);
  color:#e5e7eb; border:1px solid rgba(255, 255, 255, 0.1);
  transition:all 0.3s ease;
  text-decoration:none;
}
.social-icon:hover {
  background:var(--primary);
  color:#fff; transform:translateY(-3px);
  border-color:transparent;
}
.footer-divider {
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  margin:0 0 40px;
}
.footer-links-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:40px; margin-bottom:40px; }
.footer-col h4 {
  font-family: var(--font-heading);
  color:#ffffff; font-size:15px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  margin:0 0 20px; position:relative; padding-bottom:12px;
}
.footer-col h4::after {
  content:''; position:absolute; bottom:0; left:0;
  width:32px; height:2px;
  background:var(--accent);
  border-radius:2px;
}
.footer-col ul { list-style:none; padding:0; margin:0; }
.footer-col ul li { margin-bottom:12px; }
.footer-col ul li a {
  color:#94a3b8; font-size:14px; text-decoration:none;
  transition:all 0.25s; display:inline-block; font-family: var(--font-body);
}
.footer-col ul li a:hover { color:var(--primary); transform:translateX(4px); }

.footer-bottom { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap; }
.footer-copy p { color:#94a3b8; font-size:13px; margin:0 0 6px; line-height:1.5; font-family: var(--font-body); }
.footer-copy strong { color:#ffffff; }
.footer-made { font-size:12px !important; color:#64748b !important; }
.footer-contact { display:flex; flex-direction:column; gap:8px; align-items:flex-end; text-align:right; }
.footer-contact a { color:#94a3b8; font-size:13px; text-decoration:none; transition:color 0.25s; font-family: var(--font-body); }
.footer-contact a:hover { color:var(--primary); }

/* ═══════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════ */
.scroll-top {
  position:fixed; bottom:30px; right:30px;
  width:52px; height:52px; border-radius:10px;
  background:var(--btn-primary-bg);
  color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(20px);
  transition:all 0.4s ease;
  box-shadow:0 10px 28px -6px var(--btn-primary-shadow);
  z-index:998; padding:0;
}
.scroll-top.visible { opacity:1; visibility:visible; transform:translateY(0); }
.scroll-top:hover { transform:translateY(-4px); }
.scroll-top .progress-ring { position:absolute; top:0; left:0; transform:rotate(-90deg); }
.scroll-top .ring-bg { stroke:rgba(255,255,255,0.25); }
.scroll-top .ring-progress { stroke:var(--accent); stroke-linecap:round; stroke-dasharray:150.8; stroke-dashoffset:150.8; transition:stroke-dashoffset 0.1s; }
.scroll-top .arrow { position:relative; z-index:2; font-size:1.4rem; font-weight:700; }

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (Subtle — No Dance)
   ═══════════════════════════════════════════════════════════ */
.reveal-up, .reveal-left, .reveal-right { opacity:0; transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal-up { transform:translateY(30px); }
.reveal-left { transform:translateX(-30px); }
.reveal-right { transform:translateX(30px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed { opacity:1; transform:translate(0,0); }

/* ═══════════════════════════════════════════════════════════
   REMOVE JUMP TEXT ANIMATION
   ═══════════════════════════════════════════════════════════ */
.jump-text .jump-letter,
.jump-text.animate .jump-letter {
  animation: none !important;
  transform: none !important;
  display: inline !important;
}
[data-jump] {
  /* No animation */
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.9rem; }
  .btn-download-nav, .btn-signin { padding: 8px 14px; font-size: 12.5px; }
  .user-name { max-width: 80px; }
}
@media (max-width: 968px) {
  .menu-toggle { display: block; }
  
  /* மொபைலில் nav-actions-ல் உள்ள Download & Sign In பட்டன்களை மறை */
  /* (ஏனென்றால் அவை மெனுவில் mobile-only-actions-ல் வரும்) */
  .nav-actions .btn-download-nav,
  .nav-actions .btn-signin {
    display: none !important;
  }

  /* லாகின் ஆனவங்களுக்கு மொபைலில் User Menu காட்டப்பட வேண்டும் */
  .nav-actions .auth-user {
    display: block !important;
  }

  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff; flex-direction: column;
    padding: 20px 24px 28px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    gap: 8px; border-radius: 0 0 12px 12px;
    border-top: 1px solid #e5e7eb;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 8px; font-size: 15px; }
  .nav-links a::after { display: none; }
  .logo-svg { width: 160px; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero h2 { font-size: 2.2rem; }
  .software-grid, .contact-grid { grid-template-columns: 1fr; }
  section { padding: 65px 0; }
  .page-header h1 { font-size: 2.2rem; }
  .payperpage-card { grid-template-columns: 1fr; }
  .ppp-left, .ppp-right { padding: 40px 30px; }
  .ppp-left h3 { font-size: 3.2rem; }
  .ppp-limit-num { font-size: 4.5rem; }
  .video-wrapper iframe { height: 340px; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-brand { max-width: 100%; margin: 0 auto; }
  .footer-social { text-align: center; width: 100%; }
  .social-icons { justify-content: center; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-contact { align-items: center; text-align: right; }
}
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .container { padding: 0 20px; }
  .hero-card { padding: 34px 28px; }
  .price-card.popular { transform: scale(1); }
  .highlight-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 1.9rem; }
  .video-wrapper iframe { height: 220px; }
  .testimonials-slider { padding: 0 40px; }
  .tst-card { padding: 32px 24px; }
  .tst-text { font-size: 1rem; }
  .tst-nav { width: 36px; height: 36px; font-size: 20px; }
  .tst-author { flex-direction: column; }
  .tst-author strong, .tst-author span { text-align: center; }
  .faq-section { padding: 60px 0; }
  .faq-q { padding: 16px 18px; font-size: 1rem; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 18px; }
  .faq-a p { font-size: 14px; }
  .compare-section { padding: 60px 0; }
  .compare-table { font-size: 13px; min-width: 680px; }
  .compare-table th { padding: 14px 10px; font-size: 0.8rem; }
  .compare-table td { padding: 12px 10px; font-size: 13px; }
  .compare-table td.feature-col { padding-left: 16px; }
  footer { padding: 40px 0 24px; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col h4 { font-size: 14px; }
  .social-icon { width: 36px; height: 36px; }
  .brand-heading { font-size: 17px; }
  .brand-desc { font-size: 13px; }
}
@media (max-width: 600px) {
  .contact-form-card { padding: 28px; }
  .page-header { padding: 44px 0 40px; }
  .page-header h1 { font-size: 1.9rem; }
  .page-header p { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  MOBILE-ONLY AUTH BUTTONS                                   */
/* ═══════════════════════════════════════════════════════════ */

.mobile-only-actions { display: none; }

.btn-mobile-nav {
  display: block; width: 100%;
  padding: 12px 18px;
  background: var(--btn-primary-bg);
  color: #fff !important; font-weight: 700; font-size: 15px;
  text-align: center; border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px var(--btn-primary-shadow);
  margin-top: 8px; box-sizing: border-box;
  font-family: var(--font-heading);
}
.btn-mobile-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--btn-primary-shadow);
}
.btn-signin-mobile {
  background: linear-gradient(135deg, #1976d2, #1565c0) !important;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3) !important;
}
.btn-signin-mobile:hover {
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.5) !important;
}
@media (max-width: 968px) {
  .mobile-only-actions {
    display: block; margin-top: 8px; padding-top: 8px;
    border-top: 1px solid #e5e7eb;
  }
  .mobile-only-actions:first-of-type { margin-top: 14px; padding-top: 14px; }
}

.dash-tabs a { min-width: 130px; text-align: center; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION (Framed Video & Floating Card) - GUARANTEED FIX
   ═══════════════════════════════════════════════════════════ */
.hero {
  padding: 100px 0;
  background: #f8fafc; 
  position: relative;
  /* NOTE: overflow: hidden; must NOT be used here. Ithu floating card-a veliya kaattum */
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* LEFT TEXT */
.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: #064e3b;
  margin-bottom: 20px;
}

.hero-text .highlight {
  color: #fb923c;
}

.hero-sub {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  background: #059669;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #064e3b;
  border: 2px solid #064e3b;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 2.2rem;
  color: #fb923c;
  line-height: 1;
}

.hero-stats span {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 5px;
}

/* VIDEO FRAME */
.hero-right-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 10;      /* height follows the width — no fixed 400px */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.3);
  border: 4px solid #064e3b;
  background: #000;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 78, 59, 0.2);
  z-index: 2;
}

/* FLOATING CARD (Better Choice) */
.floating-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 320px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  z-index: 10;
  border: 1px solid #e5e7eb;
}

.floating-card .card-title {
  font-size: 20px;
  color: #064e3b;
  margin-bottom: 8px;
}

.floating-card .card-sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 15px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  background: #f0fdf4;
  padding: 15px;
  border-radius: 12px;
}

/* MOBILE FIX */
@media (max-width: 968px) {
  .hero-content { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 40px;
  }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-video-frame {
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
  .floating-card { 
    position: relative; 
    bottom: 0; 
    right: 0; 
    margin: -20px auto 0; 
    width: 90%; 
  }
}
/* ═══════════════════════════════════════════════════════════
   HOME PAGE SECTIONS (pd-*)
   Appended for the redesigned index.php
   ═══════════════════════════════════════════════════════════ */

.pd-section { padding: 80px 0; }
.pd-section-light { background: #f9fafb; }
.pd-section-dark { background: #064e3b; color: #fff; }
.pd-section-dark .section-sub { color: rgba(255,255,255,.75); }

.pd-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16,185,129,.14);
  color: #059669;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 18px;
}
.pd-pill-dark { background: rgba(6,78,59,.08); color: #064e3b; }

/* problem → solution */
.pd-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pd-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
}
.pd-card h3 { font-size: 17px; margin-bottom: 8px; color: #064e3b; }
.pd-card p { font-size: 14.5px; color: #5b6472; line-height: 1.6; margin: 0; }
.pd-card-icon { font-size: 26px; margin-bottom: 14px; }
.pd-card-problem { border-left: 3px solid #f87171; }
.pd-card-solution { border-left: 3px solid #10b981; box-shadow: 0 10px 30px -18px rgba(6,78,59,.5); }
.pd-arrow-down { text-align: center; font-size: 26px; color: #10b981; margin: 26px 0 0; }

/* how it works */
.pd-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.pd-step {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 30px 26px;
  position: relative;
}
.pd-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #064e3b;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.pd-step h3 { font-size: 17px; margin-bottom: 8px; color: #111827; }
.pd-step p { font-size: 14.5px; color: #5b6472; line-height: 1.6; margin: 0; }

/* demo row */
.pd-demo {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.pd-demo-text .section-title { color: #fff; }
.pd-demo-shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  display: block;
}

/* download */
.pd-download {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.pd-check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.pd-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #4b5563;
  font-size: 15px;
}
.pd-check-list li::before {
  content: '✓';
  position: absolute; left: 0; color: #10b981; font-weight: 800;
}
.pd-download-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 20px 50px -30px rgba(6,78,59,.55);
}
.pd-download-row {
  display: flex; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px; color: #6b7280;
}
.pd-download-row strong { color: #111827; }
.pd-download-card .btn { margin-top: 16px; }
.pd-download-note { margin: 14px 0 0; font-size: 13.5px; color: #6b7280; text-align: center; }
.pd-download-note a { color: #059669; font-weight: 700; }

/* login strip */
.pd-strip { background: #ecfdf5; border-top: 1px solid #d1fae5; border-bottom: 1px solid #d1fae5; }
.pd-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 26px 24px;
  flex-wrap: wrap;
}
.pd-strip-inner h3 { font-size: 18px; color: #064e3b; margin-bottom: 4px; }
.pd-strip-inner p { margin: 0; font-size: 14.5px; color: #4b5563; }
.pd-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* professional services */
.pd-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pd-services-stats {
  display: flex; gap: 34px; margin: 26px 0;
  flex-wrap: wrap;
}
.pd-services-stats strong { display: block; font-size: 26px; color: #064e3b; letter-spacing: -.5px; }
.pd-services-stats span { font-size: 13px; color: #6b7280; }
.pd-services-list { display: grid; gap: 14px; }
.pd-service-row {
  display: flex; gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
}
.pd-service-row > span { font-size: 20px; }
.pd-service-row strong { display: block; color: #111827; font-size: 15px; }
.pd-service-row p { margin: 4px 0 0; font-size: 13.5px; color: #6b7280; }

/* pricing list */
.pd-price-list { list-style: none; padding: 0; margin: 0 0 26px; font-size: 14px; color: #4b5563; }
.pd-price-list li { margin-bottom: 10px; }

/* faq */
.pd-faq { max-width: 780px; margin: 34px auto 0; }
.pd-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.pd-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #111827;
  padding: 16px 0;
  list-style: none;
  position: relative;
}
.pd-faq-item summary::-webkit-details-marker { display: none; }
.pd-faq-item summary::after {
  content: '+';
  position: absolute; right: 0; top: 14px;
  color: #059669; font-size: 20px; font-weight: 700;
}
.pd-faq-item[open] summary::after { content: '−'; }
.pd-faq-item p { margin: 0 0 18px; font-size: 14.5px; color: #4b5563; line-height: 1.65; }

@media (max-width: 968px) {
  .pd-download, .pd-services, .pd-demo { grid-template-columns: 1fr; }
  .pd-section { padding: 58px 0; }
  .pd-strip-inner { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════════════════════════
   HERO BALANCE — grid children must be allowed to shrink
   ═══════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden; }

.hero-content > * { min-width: 0; }

.hero h1 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

/* the sub-headline was inheriting the 3rem h2 size */
.hero h2.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(255,255,255,.86);
  margin-bottom: 16px;
}

.hero p { font-size: 0.98rem; line-height: 1.65; color: rgba(255,255,255,.72); }

.hero-video-frame { max-width: 100%; }
.hero-right-wrap { min-width: 0; overflow: visible; }

/* ═══════════════════════════════════════════════════════════
   WHY IT IS DIFFERENT (band under the hero — replaces the
   floating card that used to sit over the video)
   ═══════════════════════════════════════════════════════════ */
.pd-why {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 54px 0 58px;
}
.pd-why-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.pd-why-lead h2 { font-size: 1.6rem; color: #064e3b; margin: 0 0 6px; letter-spacing: -.3px; }
.pd-why-lead p  { color: #6b7280; font-size: 14.5px; margin: 0 0 18px; }
.pd-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.pd-why-item {
  display: flex;
  gap: 12px;
  background: #f9fafb;
  border: 1px solid #eef2f1;
  border-radius: 12px;
  padding: 18px 18px 16px;
}
.pd-why-check {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pd-why-item strong { display: block; color: #111827; font-size: 15px; margin-bottom: 4px; }
.pd-why-item p { margin: 0; color: #6b7280; font-size: 13.5px; line-height: 1.55; }

@media (max-width: 968px) {
  .pd-why-inner { grid-template-columns: 1fr; gap: 26px; }
}