/* ============================================================
   ShiftSync Marketing Website — Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
/* Thai font override */
:lang(th), html[lang="th"] body { font-family: 'Sarabun', 'Inter', -apple-system, sans-serif; }
html[lang="en"] body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary: #10b981;
  --accent: #f59e0b;
  --danger: #ef4444;
  --line-green: #00b900;

  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --dark-bg:  #0f172a;
  --dark-card: #1e293b;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15);
  --shadow-glow: 0 0 40px rgba(99,102,241,.25);

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-base);
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

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

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
}

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, #818cf8 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  transition: color var(--transition);
}
.navbar.scrolled .logo { color: var(--gray-900); }
.logo-icon { font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language toggle button */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.lang-toggle:hover {
  background: rgba(255,255,255,.22);
}
.navbar.scrolled .lang-toggle {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-700);
}
.navbar.scrolled .lang-toggle:hover {
  background: var(--gray-200);
}
.lang-flag { font-size: .95rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-700); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  padding-top: 100px;
  overflow: hidden;
  position: relative;
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -200px; }
.shape-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: 0; left: -100px; }
.shape-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 50%; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px;
}

.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.4);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.72);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-subtitle strong { color: rgba(255,255,255,.95); }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 24px 32px;
  max-width: 700px;
  margin: 0 auto 60px;
  gap: 8px;
}
.stat { text-align: center; padding: 0 24px; }
.stat-number { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* Dashboard preview mockup */
.hero-visual { padding-bottom: 80px; position: relative; z-index: 2; }
.dashboard-preview {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(99,102,241,.2);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.dp-header {
  background: var(--dark-bg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dp-dots { display: flex; gap: 6px; }
.dp-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.dp-dots span:nth-child(1) { background: #ef4444; }
.dp-dots span:nth-child(2) { background: #f59e0b; }
.dp-dots span:nth-child(3) { background: #10b981; }
.dp-title { color: rgba(255,255,255,.5); font-size: .8rem; }

.dp-body { display: flex; min-height: 240px; }
.dp-sidebar {
  width: 160px;
  background: rgba(0,0,0,.2);
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.dp-menu-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
  transition: var(--transition);
}
.dp-menu-item.active {
  background: var(--primary);
  color: #fff;
}

.dp-main { flex: 1; padding: 20px; }
.dp-shift-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.dp-shift-label { font-size: .75rem; color: rgba(255,255,255,.5); width: 70px; flex-shrink: 0; }
.dp-shift-bar {
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: .75rem;
  font-weight: 600;
  color: #fff;
}
.dp-shift-bar.morning { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.dp-shift-bar.afternoon { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.dp-shift-bar.night { background: linear-gradient(90deg, #1e293b, #334155); border: 1px solid rgba(255,255,255,.1); }

.dp-cards {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.dp-card {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.dp-card-number { font-size: 1.5rem; font-weight: 800; color: #fff; }
.dp-card-label { font-size: .7rem; color: rgba(255,255,255,.45); margin-top: 2px; }

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block;
  background: rgba(99,102,241,.1);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card p { color: var(--gray-600); line-height: 1.7; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s, transform .5s;
}
.step.visible { opacity: 1; transform: translateX(0); }

.step-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: .25;
  line-height: 1;
}
.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.step-content p { color: var(--gray-600); line-height: 1.7; }
.step-icon { font-size: 2.5rem; text-align: center; }
.step-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  margin-left: 29px;
}

/* ============================================================
   SHIFT RULES GRID
   ============================================================ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.rule-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.rule-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rule-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.priority-1 { background: rgba(239,68,68,.1); color: var(--danger); }
.priority-2 { background: rgba(245,158,11,.1); color: var(--accent); }
.safety { background: rgba(16,185,129,.1); color: var(--secondary); }
.balance { background: rgba(99,102,241,.1); color: var(--primary); }
.admin { background: rgba(107,114,128,.1); color: var(--gray-600); }

.rule-card .rule-icon { font-size: 2rem; margin-bottom: 12px; }
.rule-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.rule-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

/* ============================================================
   LINE OA INTEGRATION
   ============================================================ */
.line-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.line-content .section-badge {
  background: rgba(0,185,0,.15);
  color: #00c800;
}
.line-features-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.line-features-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.line-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(0,185,0,.2);
  color: #00c800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.line-features-list li div { display: flex; flex-direction: column; gap: 3px; }
.line-features-list strong { color: rgba(255,255,255,.9); font-size: .95rem; }
.line-features-list span { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.5; }

/* Phone mockup */
.line-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 300px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 4px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.phone-screen { background: var(--gray-100); height: 480px; display: flex; flex-direction: column; }
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--line-green);
  padding: 14px 16px;
  color: #fff;
}
.chat-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.chat-name { font-size: .9rem; font-weight: 700; }
.chat-status { font-size: .7rem; opacity: .8; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg { max-width: 85%; }
.chat-msg p {
  background: #fff;
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 10px 12px;
  font-size: .78rem;
  color: var(--gray-800);
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.chat-msg.user {
  align-self: flex-end;
}
.chat-msg.user p {
  background: var(--line-green);
  color: #fff;
  border-radius: 12px;
  border-top-right-radius: 4px;
}
.chat-msg.notification p {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: #065f46;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.benefit-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  transition: var(--transition);
}
.benefit-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-metric {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}
.benefit-desc { font-size: .9rem; color: var(--gray-600); line-height: 1.5; }

.testimonial {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #fff;
  text-align: center;
}
.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.testimonial-author strong { display: block; color: #fff; }
.testimonial-author span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ============================================================
   USER ROLES
   ============================================================ */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.role-card {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}
.role-card-admin {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(99,102,241,.04) 0%, #fff 100%);
}
.role-card:hover { box-shadow: var(--shadow-lg); }
.role-icon { font-size: 2.5rem; margin-bottom: 16px; }
.role-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.role-list { display: flex; flex-direction: column; gap: 12px; }
.role-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gray-600);
  font-size: .9rem;
  line-height: 1.5;
}
.role-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================================
   CTA / CONTACT
   ============================================================ */
.section-cta { background: var(--gray-50); }
.cta-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 64px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.cta-badge {
  display: inline-block;
  background: rgba(99,102,241,.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.cta-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
  background: #fff;
}
.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 40px;
}
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.4rem; color: var(--gray-900); margin-bottom: 8px; }
.form-success p { color: var(--gray-600); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.65);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding: 64px 24px;
  align-items: start;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 280px; margin-bottom: 16px; }
.footer-badges { display: flex; flex-direction: column; gap: 6px; }

.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
  text-align: center;
  font-size: .8rem;
}
.footer-bottom strong { color: rgba(255,255,255,.8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .line-section { grid-template-columns: 1fr; gap: 48px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: #fff; font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 1001; }

  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 60px; height: 1px; }

  .dp-sidebar { display: none; }

  .step { grid-template-columns: 48px 1fr; }
  .step-icon { display: none; }

  .roles-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .cta-box { padding: 36px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .dp-cards { flex-direction: column; }
}

/* ============================================================
   ENHANCED FEATURES SECTION
   ============================================================ */
.new-badge {
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(6,182,212,.15));
  color: #059669;
  border: 1px solid rgba(16,185,129,.3);
}

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

.enhanced-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.enhanced-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.enhanced-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.enhanced-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), #06b6d4);
}
.enhanced-card-wide {
  grid-column: 1 / -1;
}

.enhanced-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--secondary), #06b6d4);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 99px;
}

.enhanced-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(16,185,129,.1), rgba(6,182,212,.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.enhanced-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.enhanced-body p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.pwa-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pwa-badge {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.25);
  color: #065f46;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}

/* New check in Line OA list */
.new-check {
  background: rgba(16,185,129,.2) !important;
  color: var(--secondary) !important;
}
.inline-new-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), #06b6d4);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 6px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ============================================================
   ROADMAP SECTION
   ============================================================ */
.roadmap-badge {
  background: rgba(245,158,11,.1);
  color: #b45309;
  border: 1px solid rgba(245,158,11,.3);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.roadmap-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.roadmap-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.roadmap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.roadmap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #f97316);
  opacity: .6;
}

.roadmap-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.roadmap-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.roadmap-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}
.roadmap-eta {
  display: inline-block;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.3);
  color: #92400e;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .04em;
}

@media (max-width: 1024px) {
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .enhanced-grid { grid-template-columns: 1fr; }
  .enhanced-card-wide { grid-column: 1; }
  .roadmap-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp .8s ease both;
}
.hero-badge   { animation-delay: .1s; }
.hero-title   { animation-delay: .2s; }
.hero-subtitle { animation-delay: .3s; }
.hero-cta      { animation-delay: .4s; }
.hero-stats    { animation-delay: .5s; }
