:root {
  --primary: #0077ff;
  --primary-dark: #005fd1;
  --primary-light: #eaf3ff;
  --primary-subtle: #f4f8ff;
  --accent: #22c55e;
  --accent-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.07);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.2s;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(0, 119, 255, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(0, 119, 255, 0.45);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.35);
}

.btn-accent:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(34, 197, 94, 0.45);
}

.btn-outline {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16.5px;
}

/* Mobile Menu Hamburger & Drawer */
.hamburger-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--text-main);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  z-index: 101;
}

.hamburger-btn svg {
  pointer-events: none;
  display: block;
}

.hamburger-btn:active {
  background: var(--bg-page);
}

.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 99;
  padding: 20px 24px;
  padding-bottom: 110px;
  display: none;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.open {
  display: flex !important;
}

.mobile-drawer a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.mobile-drawer a:active {
  background: var(--primary-subtle);
  color: var(--primary);
}
/* Hero Section */
.hero {
  padding: 64px 0 50px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 119, 255, 0.15);
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, #0077ff 0%, #005fd1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #fff;
  padding: 11px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}

.store-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-text small {
  font-size: 11px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.store-btn-text b {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-item p {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* Phone Mockup */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-card {
  background: #ffffff;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 119, 255, 0.15), var(--shadow-xl);
  width: 310px;
  border: 4px solid #0f172a;
  position: relative;
}

.screen {
  background: #f8fafc;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.app-header {
  background: linear-gradient(135deg, #0077ff 0%, #005fd1 100%);
  padding: 24px 16px 18px;
  color: #fff;
}

.app-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 12px;
  opacity: 0.9;
  font-weight: 500;
}

.app-greeting {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
}

.app-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.mini-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.mini-progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.mini-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 65%;
  border-radius: 3px;
}

.mini-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
}

.floating-pill {
  position: absolute;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.pill-1 {
  top: 12%;
  left: -28px;
}

.pill-2 {
  bottom: 18%;
  right: -24px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections General */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.section-header p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.badge-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 12.5px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.badge-accent {
  background: var(--accent-light);
  color: #15803d;
}

/* Pain Points vs Solutions Comparison Grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.pain-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pain-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--danger-light);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.pain-title {
  font-size: 18px;
  font-weight: 750;
  color: var(--text-main);
}

.pain-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.solution-box {
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  border-left: 4px solid var(--primary);
  margin-top: auto;
}

.solution-box-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.solution-box-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ROI / Impact Counter Grid */
.roi-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  margin: 40px 0;
  box-shadow: var(--shadow-xl);
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}

.roi-item h3 {
  font-size: 48px;
  font-weight: 850;
  color: #38bdf8;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.roi-item p {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Grid Utilities */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 119, 255, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}

.card h3 {
  font-size: 19px;
  font-weight: 750;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 36px;
  color: var(--primary);
  opacity: 0.3;
  line-height: 0;
  position: absolute;
  left: -8px;
  top: -12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 750;
  color: var(--text-main);
}

.author-info p {
  font-size: 12.5px;
  color: var(--text-light);
}

/* Lead Generation Form Box */
.lead-section {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
}

.lead-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lead-copy h2 {
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.lead-copy p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.lead-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.lead-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
}

.lead-benefits li span {
  width: 22px;
  height: 22px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.hotline-highlight {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-light);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.lead-form {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.15);
}

/* Floating Action Bar on Mobile */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 90;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-bar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Legal / Policy Layout */
.legal-container {
  max-width: 860px;
  margin: 36px auto 72px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.legal-header h1 {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-header .meta {
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 500;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 750;
  margin: 28px 0 12px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.legal-content p, .legal-content ul {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.legal-table th, .legal-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}

.legal-table th {
  background: var(--bg-page);
  font-weight: 700;
}

.highlight-box {
  background: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-desc {
  line-height: 1.6;
  max-width: 320px;
  font-size: 13.5px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 40px 0;
  }
  .hero-tag {
    margin: 0 auto 20px;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-mockup {
    order: -1;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .lead-box {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .floating-mobile-bar {
    display: block;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p.lead {
    font-size: 15.5px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .store-btn {
    width: 100%;
    justify-content: center;
  }
  .floating-pill {
    display: none;
  }
  .legal-container {
    padding: 20px 16px;
    margin: 20px auto 40px;
  }
  .legal-header h1 {
    font-size: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
