/* 
 * Excel Automation Toolkit - Official Commercial Landing Page Stylesheet
 * High-performance, rich aesthetic CSS design system.
 */

:root {
  --bg-dark: #080C14;
  --bg-card: rgba(16, 23, 38, 0.72);
  --bg-card-hover: rgba(22, 33, 54, 0.85);
  --bg-input: #0D1424;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --border-cyan: rgba(6, 182, 212, 0.35);

  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-emerald-dark: #059669;
  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-gradient: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  --accent-gradient-hover: linear-gradient(135deg, #059669 0%, #0891B2 100%);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px rgba(16, 185, 129, 0.3);
  --shadow-cyan-glow: 0 0 35px -5px rgba(6, 182, 212, 0.3);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Radiant Atmosphere */
.bg-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Typography Helpers */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #04101A;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Header & Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 100;
  transition: all 0.3s ease;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-emerald);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Hero Section */
.hero {
  padding: 9.5rem 0 5rem 0;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-emerald);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badges svg {
  color: var(--accent-emerald);
}

/* Mockup Showcase */
.mockup-container {
  margin-top: 4rem;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.25), rgba(255, 255, 255, 0.05));
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.15);
}

.mockup-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0B111C;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(124, 58, 237, 0.15);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.mockup-window:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.9), 0 0 60px rgba(168, 85, 247, 0.25);
}

.mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

.mockup-window:hover .mockup-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Floating feature badges */
.floating-badge {
  position: absolute;
  padding: 0.8rem 1.2rem;
  background: rgba(11, 17, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite;
}

.floating-badge.badge-left {
  top: 15%;
  left: -20px;
}

.floating-badge.badge-right {
  bottom: 15%;
  right: -20px;
  animation-delay: -2s;
  border-color: var(--border-cyan);
}

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

/* Trust / Stats Bar */
.stats-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(11, 17, 28, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Problem vs Solution */
.comparison-section {
  padding: 6rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.comparison-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.card-negative {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(30, 15, 20, 0.4);
}

.card-positive {
  border-color: var(--border-emerald);
  background: rgba(12, 28, 25, 0.5);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.comparison-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.comparison-list li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Feature Modules Showcase */
.modules-section {
  padding: 6rem 0;
  background: rgba(11, 17, 28, 0.3);
}

.module-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tab-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.tab-btn.active .tab-badge {
  color: #34D399;
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-emerald);
}

/* Subview switcher for Audit module */
.subview-count-badge {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #A855F7;
  color: #FBCFE8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.subview-selector {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1.1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.subview-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.subview-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.subview-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subview-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.subview-pill.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: #A855F7;
  color: #FBCFE8;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.module-display {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.module-info h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.module-info p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
  line-height: 1.65;
}

.module-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.module-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.module-specs li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.module-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  background: #0B0914;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.module-visual:hover {
  transform: scale(1.02);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.25);
}

.module-preview-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1429 / 1014;
  object-fit: cover;
}

.module-visual-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.module-visual:hover .module-visual-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Security & Offline Section */
.security-section {
  padding: 6rem 0;
  position: relative;
}

.security-card {
  background: linear-gradient(135deg, rgba(16, 23, 38, 0.8) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-glow);
}

.security-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.security-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.security-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.sec-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sec-badge svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.sec-badge h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sec-badge p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0;
}

.security-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.security-visual:hover {
  transform: scale(1.02);
  border-color: var(--accent-emerald);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.2);
}

.security-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 764;
  object-fit: cover;
}

.security-visual-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.security-visual:hover .security-visual-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive ROI Calculator */
.roi-section {
  padding: 6rem 0;
  background: rgba(11, 17, 28, 0.4);
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-card);
}

.slider-group {
  margin-bottom: 2rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.slider-value {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  background: #1A263D;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  border: 2px solid #FFFFFF;
}

.roi-results-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.roi-stat-highlight {
  margin-bottom: 1.5rem;
}

.roi-stat-highlight .number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1;
  font-family: var(--font-mono);
  margin-bottom: 0.3rem;
}

.roi-stat-highlight .label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.roi-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.roi-sub-stat h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.roi-sub-stat p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pricing-card .btn {
  width: 100%;
  white-space: nowrap;
  padding: 0.85rem 0.65rem;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.pricing-featured {
  border-color: var(--accent-emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 23, 38, 0.9) 100%);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #04101A;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-price-box {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.plan-price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.plan-features li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Steps / Workflow */
.steps-section {
  padding: 6rem 0;
  background: rgba(11, 17, 28, 0.4);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* FAQ Accordion */
.faq-section {
  padding: 6rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--border-emerald);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-emerald);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.6rem;
}

.faq-answer-inner {
  padding-bottom: 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA Footer Box */
.cta-banner-section {
  padding: 5rem 0 7rem 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.2rem auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  background: #05080E;
  padding: 4rem 0 2.5rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 0.8rem;
  color: var(--text-muted);
  max-width: 320px;
  font-size: 0.88rem;
}

.footer-col h5 {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   Responsive Craftsmanship (Desktop, Tablet, Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-featured {
    transform: none;
  }
  .pricing-featured:hover {
    transform: translateY(-5px);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-card, .module-display, .calculator-card {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Layout & Container */
  .container {
    padding: 0 1.15rem;
  }

  /* Navigation Bar */
  .navbar {
    height: 64px;
  }

  .brand {
    font-size: 0.98rem;
    gap: 0.55rem;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .brand span {
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  .nav-btn-trial {
    display: none !important;
  }

  .nav-cta {
    gap: 0.4rem;
  }

  .nav-cta .btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
  }

  /* Hero Section */
  .hero {
    padding: 6.2rem 0 3.2rem 0;
  }

  .hero-pill {
    max-width: 100%;
    font-size: 0.74rem;
    padding: 0.35rem 0.8rem;
    line-height: 1.35;
    margin-bottom: 1.2rem;
  }

  .hero-pill .dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
    word-break: break-word;
    text-wrap: balance;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.9rem 1.4rem;
    font-size: 0.94rem;
    justify-content: center;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    font-size: 0.82rem;
    text-align: left;
    margin-top: 1rem;
  }

  .mockup-container {
    margin-top: 2.2rem;
    padding: 4px;
    border-radius: var(--radius-md);
  }

  .mockup-header {
    height: 32px;
    padding: 0 0.6rem;
  }

  .mockup-dot {
    width: 8px;
    height: 8px;
  }

  .mockup-title {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-badge {
    display: none !important;
  }

  /* Stats Bar */
  .stats-bar {
    padding: 1.8rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 0.8rem;
  }

  .stat-item h3 {
    font-size: clamp(1.4rem, 5vw, 1.7rem);
    margin-bottom: 0.15rem;
    line-height: 1.2;
  }

  .stat-item p {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  /* Section Typography */
  .section-header {
    margin-bottom: 2.2rem;
  }

  .section-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    line-height: 1.35;
    text-align: left;
    max-width: 95%;
    margin-bottom: 0.75rem;
  }

  .section-tag svg {
    flex-shrink: 0;
  }

  .section-title {
    font-size: clamp(1.55rem, 5.5vw, 1.95rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Comparison Section */
  .comparison-section {
    padding: 3.5rem 0;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .comparison-card {
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .comparison-title {
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
  }

  .comparison-list {
    gap: 0.85rem;
  }

  .comparison-list li {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* 9 Modules Section & Horizontal Chip Tabs */
  .modules-section {
    padding: 3.5rem 0;
  }

  .module-tabs {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding: 0.2rem 0.2rem 0.8rem 0.2rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
  }

  .module-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    border-radius: var(--radius-pill);
  }

  .module-display {
    grid-template-columns: 1fr;
    padding: 1.4rem 1.1rem;
    gap: 1.5rem;
    border-radius: var(--radius-md);
  }

  .module-info h3 {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  .module-info p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .module-specs li {
    font-size: 0.85rem;
  }

  .module-display .btn {
    width: 100%;
  }

  /* Security & Privacy */
  .security-section {
    padding: 3.5rem 0;
  }

  .security-card {
    padding: 1.6rem 1.2rem;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    border-radius: var(--radius-md);
  }

  .security-content h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .security-content p {
    font-size: 0.92rem;
  }

  .security-badges-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* ROI Calculator */
  .roi-section {
    padding: 3.5rem 0;
  }

  .calculator-card {
    padding: 1.5rem 1.1rem;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    border-radius: var(--radius-md);
  }

  .roi-stat-highlight .number {
    font-size: 2.3rem;
  }

  .roi-results-box {
    padding: 1.4rem 1rem;
    border-radius: var(--radius-sm);
  }

  .roi-breakdown {
    gap: 1rem;
  }

  .roi-sub-stat h4 {
    font-size: 1.3rem;
  }

  .roi-results-box .btn {
    width: 100%;
  }

  /* Steps Section */
  .steps-section {
    padding: 3.5rem 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.4rem 1.2rem;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 3.5rem 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 1.8rem 1.3rem;
    border-radius: var(--radius-md);
  }

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-3px);
  }

  .plan-price {
    font-size: 2.3rem;
  }

  .pricing-card .btn {
    width: 100%;
  }

  /* FAQ Section */
  .faq-section {
    padding: 3.5rem 0;
  }

  .faq-question {
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.1rem;
  }

  .faq-answer-inner {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Final Banner */
  .cta-banner-section {
    padding: 2.5rem 0 4.5rem 0;
  }

  .cta-banner {
    padding: 2.2rem 1.1rem;
    border-radius: var(--radius-md);
  }

  .cta-banner h2 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    font-size: 0.78rem;
  }
}

/* =============================================================
 * High-Resolution UI Lightbox Modal (Taste & Craftsmanship)
 * =========================================================== */
.ui-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ui-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ui-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(124, 58, 237, 0.25);
  background: #0D0B14;
}

.lightbox-caption {
  margin-top: 12px;
  padding: 6px 18px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #EDE9FE;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  max-width: 90vw;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.7);
  border-color: #EF4444;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .ui-lightbox {
    padding: 1rem;
  }
  .lightbox-content img {
    max-height: 75vh;
  }
  .lightbox-close {
    top: -42px;
    right: 4px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .lightbox-caption {
    font-size: 0.8rem;
    padding: 4px 12px;
  }
}

