/* ═══════════════════════════════════════════════════════
   Easy2Control Landing Page Styles
   Modern, professional design with emerald green theme
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --emerald: #0D7C4A;
  --emerald-dark: #065C35;
  --emerald-light: #E8F5EE;
  --emerald-glow: #10B968;
  --sand: #F7F4EF;
  --sand-dark: #EDE8DF;
  --ink: #1A1A1A;
  --ink-light: #4A4A4A;
  --ink-muted: #8A8A8A;
  --white: #FFFFFF;
  --coral: #E8553D;
  --amber: #E8A317;
  --blue-steel: #3B6B8A;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-heavy: 0 20px 60px rgba(0,0,0,0.15);
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════ NOISE TEXTURE OVERLAY ═══════════════ */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════ NAVIGATION ═══════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.nav-logo svg { transition: transform 0.3s ease; }
.nav-logo:hover svg { transform: rotate(-10deg) scale(1.05); }

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 36px; align-items: center; }

.nav-links a {
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--emerald-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: #1a1a1a;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Mobile CTA - Hidden on Desktop */
.mobile-cta {
  display: none;
}

/* Mobile Nav Actions (Login button next to toggle) - Hidden on Desktop */
.mobile-nav-actions {
  display: none;
}

.btn-mobile-login {
  padding: 8px 16px;
  border: 1.5px solid #0D7C4A;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #0D7C4A;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-mobile-login:hover {
  background: #0D7C4A;
  color: white;
}

/* Mobile Menu Backdrop - Hidden by Default */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
}

.btn-ghost {
  padding: 10px 22px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  background: var(--emerald-light);
}

.btn-primary {
  padding: 10px 26px;
  border: none;
  border-radius: 100px;
  background: var(--emerald);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(13,124,74,0.25);
}

.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(13,124,74,0.35);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 130%;
  background: linear-gradient(145deg, var(--emerald-light) 0%, rgba(16,185,104,0.08) 60%, transparent 100%);
  border-radius: 0 0 0 60%;
  z-index: 0;
}

.hero-grid-pattern {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background-image:
    linear-gradient(rgba(13,124,74,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,124,74,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 50%;
  opacity: 0.8;
  z-index: 0;
  animation: gridRotate 60s linear infinite;
}

@keyframes gridRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left { animation: fadeSlideUp 0.8s ease-out; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: white;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-dark);
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--emerald-light);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-glow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--emerald);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(13,124,74,0.12);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 500px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 0.95rem;
  border-radius: 100px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-large.primary {
  background: var(--emerald);
  color: white;
  box-shadow: 0 4px 24px rgba(13,124,74,0.3);
}

.btn-large.primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13,124,74,0.4);
}

.btn-large.secondary {
  background: white;
  color: var(--ink);
  border: 1.5px solid rgba(0,0,0,0.12);
}

.btn-large.secondary:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
}

.btn-large.secondary svg {
  transition: transform 0.3s ease;
}

.btn-large.secondary:hover svg {
  transform: translateX(3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
}

.hero-stat .label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ═══════════════ HERO RIGHT — MOCK UI ═══════════════ */
.hero-right {
  position: relative;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.mock-app {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.mock-app:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #FAFAFA;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot:nth-child(1) { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FEBC2E; }
.mock-dot:nth-child(3) { background: #28C840; }

.mock-url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-muted);
  background: rgba(0,0,0,0.04);
  padding: 5px 16px;
  border-radius: 6px;
  margin-left: 8px;
}

.mock-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  min-height: 380px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s;
}

.mock-nav-item.active {
  background: var(--emerald-light);
  color: var(--emerald-dark);
  font-weight: 600;
}

.mock-nav-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.mock-main { display: flex; flex-direction: column; gap: 16px; }

.mock-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.mock-btn-sm {
  padding: 6px 14px;
  background: var(--emerald);
  color: white;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
}

/* QC FORM MOCK */
.mock-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-field {
  background: var(--sand);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  position: relative;
}

.mock-field.full { grid-column: 1 / -1; }

.mock-field-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.mock-field-value {
  font-size: 0.75rem;
  color: var(--ink);
  font-weight: 500;
}

/* STATUS BADGES */
.mock-status {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pass { background: #DEF7E8; color: #0D7C4A; }
.status-warn { background: #FFF3D6; color: #9A6B00; }
.status-fail { background: #FFE4E0; color: #C0392B; }

/* PROGRESS BAR */
.mock-progress-bar {
  height: 6px;
  background: var(--sand-dark);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.mock-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-glow));
  border-radius: 3px;
  animation: progressGrow 2s ease-out;
}

@keyframes progressGrow {
  from { width: 0; }
}

/* FLOATING CARDS */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  padding: 14px 18px;
  z-index: 5;
  animation: floatBounce 3s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,0.05);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card-1 {
  top: -20px;
  right: -30px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 40px;
  left: -40px;
  animation-delay: 1.5s;
}

.float-card .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

.float-card .fc-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.float-card .fc-value {
  font-size: 0.65rem;
  color: var(--ink-muted);
}

/* ═══════════════ SECTION COMMON ═══════════════ */
section { padding: 120px 48px; }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 8px;
  color: var(--emerald-glow);
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted);
  font-weight: 400;
}

/* ═══════════════ FEATURES ═══════════════ */
.features { background: var(--white); }

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--sand);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.3rem;
}

.fi-green { background: var(--emerald-light); color: var(--emerald); }
.fi-amber { background: #FFF7E0; color: var(--amber); }
.fi-coral { background: #FFEFEC; color: var(--coral); }
.fi-blue { background: #EBF3F8; color: var(--blue-steel); }
.fi-ink { background: #F0F0F0; color: var(--ink); }
.fi-purple { background: #F3EEFF; color: #6B4EBF; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ═══════════════ WORKFLOW ═══════════════ */
.workflow { background: var(--sand); }

.workflow-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--emerald) 0, var(--emerald) 8px, transparent 8px, transparent 16px);
  opacity: 0.3;
}

.workflow-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.workflow-step:hover .step-circle {
  border-color: var(--emerald);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(13,124,74,0.15);
}

.step-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.workflow-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.workflow-step p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ═══════════════ SCREENSHOTS / SHOWCASE ═══════════════ */
.showcase {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.showcase .section-tag { color: var(--emerald-glow); }
.showcase .section-title { color: white; }
.showcase .section-subtitle { color: rgba(255,255,255,0.5); }

.showcase-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,124,74,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.showcase-tabs {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: white;
}

.tab-content {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  min-height: 420px;
  display: none;
}

.tab-content.active { display: block; animation: tabFade 0.4s ease; }

@keyframes tabFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TAB CONTENT: FORM BUILDER MOCK */
.form-builder-mock {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.form-builder-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin: 8px 0 4px;
}

.fb-field-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
}

.fb-field-btn:hover {
  background: rgba(16,185,104,0.1);
  border-color: rgba(16,185,104,0.3);
  color: var(--emerald-glow);
}

.fb-field-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.form-builder-preview {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 24px;
}

.fb-preview-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: white;
  margin-bottom: 20px;
}

.fb-preview-fields { display: flex; flex-direction: column; gap: 14px; }

.fb-preview-field {
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.2s;
}

.fb-preview-field:hover { border-color: var(--emerald-glow); background: rgba(16,185,104,0.04); }

.fb-preview-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.fb-preview-field .fb-input {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
}

.fb-preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* TAB CONTENT: DASHBOARD MOCK */
.dashboard-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dash-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
}

.dash-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.dash-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: white;
}

.dash-stat-change {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 4px;
}

.dash-stat-change.up { color: var(--emerald-glow); }
.dash-stat-change.down { color: var(--coral); }

.dash-chart {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.dash-chart-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  padding-top: 10px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.chart-bar:hover { opacity: 0.8; }

.chart-bar.pass { background: var(--emerald); }
.chart-bar.warn { background: var(--amber); }
.chart-bar.fail { background: var(--coral); }

/* TAB: PDF REPORT MOCK */
.pdf-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.pdf-page {
  background: white;
  border-radius: 8px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.pdf-logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--emerald);
}

.pdf-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--emerald-dark);
}

.pdf-report-id {
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.pdf-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin: 16px 0 8px;
}

.pdf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.pdf-table th {
  text-align: left;
  padding: 6px 8px;
  background: var(--sand);
  font-weight: 600;
  color: var(--ink-light);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdf-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--ink-light);
}

.pdf-stamp {
  text-align: center;
  margin-top: 20px;
  padding: 12px;
  border: 2px solid var(--emerald);
  border-radius: 8px;
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.pdf-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdf-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.2s;
}

.pdf-feature-item:hover { background: rgba(255,255,255,0.07); }

.pdf-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(16,185,104,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-glow);
  flex-shrink: 0;
}

.pdf-feature-text h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.pdf-feature-text p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* ═══════════════ PRICING ═══════════════ */
.pricing {
  background: var(--white);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}

.pricing-toggle span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.pricing-toggle span.active { color: var(--ink); font-weight: 700; }

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--emerald);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.toggle-switch.annual::after { transform: translateX(24px); }

.save-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #DEF7E8;
  color: var(--emerald-dark);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
}

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1.5px solid rgba(0,0,0,0.08);
  background: var(--sand);
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
  background: var(--ink);
  border-color: var(--emerald);
  color: white;
  transform: scale(1.04);
  box-shadow: var(--shadow-heavy), 0 0 60px rgba(13,124,74,0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  background: var(--emerald);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
}

.pricing-card .plan-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.pricing-card .plan-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.pricing-card.featured .plan-desc { color: rgba(255,255,255,0.5); }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.price-period {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.pricing-card.featured .price-period { color: rgba(255,255,255,0.4); }

.price-annual-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.pricing-card.featured .price-annual-note { color: rgba(255,255,255,0.35); }

.original-price {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 4px;
}

.pricing-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }

.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-light);
}

.pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.7); }

.pricing-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-check { background: rgba(16,185,104,0.2); }

.pricing-check svg { color: var(--emerald); }

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.pricing-btn.outline {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: var(--ink);
}

.pricing-btn.outline:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  background: var(--emerald-light);
}

.pricing-btn.filled {
  background: var(--emerald);
  color: white;
  box-shadow: 0 4px 16px rgba(13,124,74,0.3);
}

.pricing-btn.filled:hover {
  background: var(--emerald-glow);
  transform: translateY(-1px);
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials { background: var(--sand); }

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star { color: var(--amber); font-size: 0.9rem; }

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-light);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: white;
}

.testimonial-author-info .name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-author-info .role {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ═══════════════ CTA ═══════════════ */
.cta-section {
  background: var(--emerald);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: white;
  line-height: 1.12;
  margin-bottom: 18px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-buttons { display: flex; gap: 14px; justify-content: center; }

.cta-btn-white {
  padding: 16px 36px;
  background: white;
  color: var(--emerald-dark);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-btn-outline {
  padding: 16px 36px;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cta-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ═══════════════ FOOTER ═══════════════ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 72px 48px 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--emerald-glow); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--emerald-glow); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 2.8rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .workflow-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 14px 20px; }

  /* Mobile Menu Panel */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    z-index: 999;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: 12px;
    border-bottom: none;
    color: #333;
    transition: background 0.2s ease;
  }

  .nav-links a:hover {
    background: #f5f5f5;
  }

  .nav-links a::after {
    display: none;
  }

  /* Hide CTA on nav bar, show in mobile menu instead */
  .nav-cta { display: none; }
  .mobile-nav-actions { display: flex; align-items: center; }
  .mobile-menu-toggle { display: block; }

  /* Mobile CTA Buttons */
  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .btn-mobile {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f5f5f5;
    color: #333;
    border: none;
    font-family: inherit;
  }

  .btn-mobile:hover {
    background: #eaeaea;
  }

  .btn-mobile.primary {
    background: #0D7C4A;
    color: white;
  }

  .btn-mobile.primary:hover {
    background: #0a6a3f;
  }

  /* Backdrop */
  .mobile-menu-backdrop.active {
    display: block;
  }
  section { padding: 80px 20px; }
  .hero { padding: 120px 20px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .features-grid,
  .pricing-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { max-width: none; transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .workflow-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .mock-app { transform: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .float-card { display: none; }
  .form-builder-mock { grid-template-columns: 1fr; }
  .pdf-mock { grid-template-columns: 1fr; }
  .dashboard-mock { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 2rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
