/* ==========================================================================
   WR TECH AI - DESIGN SYSTEM & STYLING
   Inspired by premium product landing pages (Stripe, Linear, Vercel, Anthropic)
   ========================================================================== */

/* 1. Global CSS Variables & Tokens */
/* 1. Global CSS Variables & Tokens */
:root {
  --color-bg: #030712;           /* Tailwind Slate 950 - extremely deep and rich dark blue-black */
  --color-bg-alt: #0b0f19;       /* Tailwind Slate 900 */
  --color-card: rgba(17, 24, 39, 0.4); /* Translucent dark gray */
  --color-card-hover: rgba(31, 41, 55, 0.5);
  --color-border: rgba(255, 255, 255, 0.05);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  
  --color-text-primary: #f9fafb;  /* Zinc 50 - extremely clean, soft text color */
  --color-text-secondary: #9ca3af; /* Gray 400 */
  --color-text-muted: #6b7280;     /* Gray 500 */
  
  --color-primary: #3b82f6;       /* Vibrant Electric Blue */
  --color-primary-glow: rgba(59, 130, 246, 0.12);
  --color-secondary: #a855f7;     /* Neon Purple */
  --color-secondary-glow: rgba(168, 85, 247, 0.12);
  --color-accent: #06b6d4;        /* Cyan */
  
  --color-success: #10b981;       /* Emerald */
  --color-warning: #f59e0b;       /* Amber */
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'Geist Mono', monospace;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.06);
}

/* 2. Resets & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Firefox scrollbar styles */
  scrollbar-color: rgba(255, 255, 255, 0.15) var(--color-bg);
  scrollbar-width: thin;
}

/* Webkit scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 3. Glowing Backdrop Effects */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: screen;
  will-change: transform;
}

.glow-primary {
  top: -150px;
  left: 50%;
  transform: translateX(-80%);
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
  animation: glow-move-1 25s infinite alternate ease-in-out;
}

.glow-secondary {
  top: 400px;
  left: 50%;
  transform: translateX(10%);
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 80%);
  animation: glow-move-2 30s infinite alternate ease-in-out;
}

@keyframes glow-move-1 {
  0% { transform: translate(-80%, -10%) scale(1); }
  50% { transform: translate(-60%, 20%) scale(1.2); }
  100% { transform: translate(-90%, -5%) scale(0.9); }
}

@keyframes glow-move-2 {
  0% { transform: translate(10%, 0) scale(1.1); }
  50% { transform: translate(25%, -20%) scale(0.9); }
  100% { transform: translate(5%, 15%) scale(1.2); }
}

/* 4. Typography Rules */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance; /* Premium typography styling */
}

p {
  color: var(--color-text-secondary);
  text-wrap: pretty; /* Prevents typographic orphans */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--color-secondary) 75%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: textShine 8s linear infinite;
}

@keyframes textShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 5. Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--color-primary) 0%, #1d4ed8 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #60a5fa 0%, var(--color-primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}

.btn-tertiary:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.03);
}

.btn-block {
  display: flex;
  width: 100%;
}

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

/* 6. Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(9, 9, 11, 0.7);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
}

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

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-accent {
  color: var(--color-secondary);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.nav-item:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* 7. Hero Section */
.hero-section {
  padding: 8rem 0 4rem 0;
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-secondary);
}

.animate-pulse {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 2.5rem);
  max-width: 800px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(2.4rem, 5vw, 3rem);
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: clamp(2.6rem, 3.8vw, 3.4rem);
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.4rem;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 650px;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 576px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
}

/* Premium Code Visualizer mockup */
.hero-visual-container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 1px;
  background: linear-gradient(180deg, var(--color-border) 0%, transparent 100%);
  border-radius: 16px;
}

.glass-preview-card {
  background-color: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  text-align: left;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
}

.preview-dots {
  display: flex;
  gap: 0.4rem;
}

.preview-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.preview-dots .red { background-color: #ef4444; }
.preview-dots .yellow { background-color: #eab308; }
.preview-dots .green { background-color: #22c55e; }

.preview-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.preview-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-keyword { color: #f472b6; }
.code-variable { color: #818cf8; }
.code-class { color: #60a5fa; }
.code-string { color: #34d399; }
.code-method { color: #fb7185; }
.code-comment { color: var(--color-text-muted); }

/* 8. Social Proof & Metrics */
.social-proof-section {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.01);
}

.proof-header {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-weight: 600;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 50%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  max-width: 220px;
  margin: 0 auto;
}

/* 8.5 Story Section */
.story-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.002);
}

.story-content-box {
  max-width: 800px;
  margin: 0 auto;
}

.story-paragraph {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-paragraph strong {
  color: #fff;
}

.story-paragraph:last-child {
  margin-bottom: 0;
}

/* 9. Section Header Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
  }
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.5;
}

/* 10. Technology Motor */
.tech-section {
  padding: 8rem 0;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 12px;
  transition: all var(--transition-normal);
}

.tech-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-4px);
  background-color: var(--color-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 
              0 0 25px rgba(168, 85, 247, 0.08), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tech-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.tech-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.tech-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.tech-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* 11. Products Showcase */
.products-section {
  padding: 8rem 0;
  background-color: rgba(255, 255, 255, 0.005);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-item-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
}

.product-item-showcase:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .product-item-showcase {
    grid-template-columns: 1fr 1fr;
  }
  
  .reverse-grid {
    direction: rtl;
  }
  
  .reverse-grid .product-info-column {
    direction: ltr;
  }
  
  .reverse-grid .product-visual-column {
    direction: ltr;
  }
}

.product-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.tag-active {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tag-coming {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--color-secondary);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.product-name-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.product-slogan-title {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.product-description {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.product-features-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.product-features-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.product-features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.product-cta-container {
  display: flex;
}

/* Custom Interactive Mockup Cards */
.product-mockup-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4/3;
  width: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
}

.mockup-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.mockup-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.mockup-status.accent {
  color: var(--color-secondary);
  font-weight: bold;
}

/* ProfePlan Mockup layout */
.mockup-content {
  display: flex;
  height: calc(100% - 2.8rem);
}

.mockup-sidebar {
  width: 25%;
  background-color: rgba(0, 0, 0, 0.15);
  border-right: 1px solid var(--color-border);
  padding: 1rem 0.5rem;
}

.sidebar-item {
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.sidebar-item.active {
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--color-border);
}

.mockup-workspace {
  width: 75%;
  padding: 1.5rem;
}

.workspace-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.workspace-card h5 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.badge-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.badge-item {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text-muted);
}

.workspace-text {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: auto;
}

.workspace-progress {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: loading-bar 3s infinite ease-in-out;
}

@keyframes loading-bar {
  0% { width: 0%; }
  50% { width: 85%; }
  100% { width: 85%; }
}

/* FLUX Mockup Layout */
.mockup-content-vertical {
  display: flex;
  flex-direction: column;
  height: calc(100% - 2.8rem);
  padding: 1.5rem;
  justify-content: space-between;
}

.agent-chat-window {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
}

.chat-message {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.chat-message.system {
  color: var(--color-text-secondary);
}

.chat-actions {
  display: flex;
  gap: 0.6rem;
}

.chat-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text-secondary);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-btn.active {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.dashboard-preview-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.8rem;
}

.mini-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.mini-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

/* 12. Public Roadmap */
.roadmap-section {
  padding: 8rem 0;
}

.roadmap-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.roadmap-tab-btn {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.roadmap-tab-btn:hover {
  border-color: var(--color-border-hover);
  color: #fff;
}

.roadmap-tab-btn.active {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: #fff;
  color: #fff;
}

.roadmap-panel {
  display: none;
  max-width: 700px;
  margin: 0 auto;
}

.roadmap-panel.active {
  display: block;
  animation: fade-in 0.4s ease-out;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.roadmap-timeline {
  position: relative;
  padding-left: 2rem;
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3px;
  width: 2px;
  height: 100%;
  background-color: var(--color-border);
}

.roadmap-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: 2px solid var(--color-bg);
  transform: translateX(-3px);
  z-index: 2;
}

.roadmap-status-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* Timeline Item States */
.roadmap-item.completed::before {
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}
.roadmap-item.completed .roadmap-status-badge {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.roadmap-item.in-progress::before {
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
.roadmap-item.in-progress .roadmap-status-badge {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.roadmap-item.planned::before {
  background-color: var(--color-text-muted);
}
.roadmap-item.planned .roadmap-status-badge {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.roadmap-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.roadmap-details p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* 13. Audiences Bento Grid */
.audiences-section {
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.003);
}

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

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .col-span-2 {
    grid-column: span 2;
  }
}

.bento-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all var(--transition-normal);
}

.bento-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
  background-color: var(--color-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 
              0 0 25px rgba(59, 130, 246, 0.08), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* 14. Waitlist & Conversion Form */
.contact-section {
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.3);
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-container {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.8rem;
  font-family: var(--font-sans);
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.form-group select option {
  background-color: var(--color-bg);
  color: #fff;
}

.form-success-message {
  text-align: center;
  padding: 2rem 0;
  animation: fade-in 0.4s ease-out;
}

.success-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  color: var(--color-success);
  margin-bottom: 1.5rem;
}

.success-icon {
  width: 2rem;
  height: 2rem;
}

.form-success-message h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.form-success-message p {
  font-size: 0.95rem;
}

/* 15. Footer */
.footer {
  padding: 5rem 0 3rem 0;
  border-top: 1px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.6);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-tagline {
  font-size: 0.85rem;
  max-width: 280px;
}

.compliance-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 300px;
}

.badge-credibility {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  background-color: rgba(59, 130, 246, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: 6px;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.badge-credibility:hover {
  background-color: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
  color: #fff;
}

.inline-check {
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer-links-col h5 {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* 16. Mobile Overlay Menu */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    transition: height var(--transition-normal);
  }
  
  .nav-menu.open {
    height: calc(100vh - 4.5rem);
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
  }
  
  .nav-item {
    font-size: 1.25rem;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* 17. Checklist Section */
.features-checklist-section {
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.001);
}

/* 18. Hero 2-Column Grid & Visual Mockups */
.hero-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

@media (min-width: 992px) {
  .hero-grid-container {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-ctas {
    margin-bottom: 0;
  }
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-video-col {
  width: 100%;
}

/* Browser Mockup Styling */
.browser-mockup {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  transition: border-color var(--transition-normal);
}

.browser-mockup:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.browser-header {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
  gap: 1.5rem;
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.browser-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots .red { background-color: #ef4444; }
.browser-dots .yellow { background-color: #eab308; }
.browser-dots .green { background-color: #22c55e; }

.browser-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.25rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  flex-grow: 1;
  max-width: 300px;
}

.browser-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #000;
}

.hero-video, .action-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 19. Veja o ProfePlan em Ação Section */
.action-section {
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.002);
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .action-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.action-menu-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-tab-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: left;
}

.action-tab-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateX(6px);
  background-color: var(--color-card-hover);
}

.action-tab-card.active {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 25px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tab-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.action-tab-card.active .tab-number {
  color: var(--color-secondary);
}

.action-tab-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #fff;
}

.action-tab-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.action-video-col {
  width: 100%;
}

.relative {
  position: relative;
}

.video-overlay-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  z-index: 10;
}

/* Logo Image Styling */
.logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  /* Filter out/adjust JPEG colors to look white/indigo inside the navbar */
  filter: invert(0.9) brightness(1.2) contrast(1.1) hue-rotate(180deg);
  border-radius: 4px;
}

/* 20. Cursor spotlight effect on cards */
.tech-card, .bento-card, .action-tab-card {
  position: relative;
  overflow: hidden;
}

.tech-card {
  --spotlight-color: rgba(168, 85, 247, 0.1);
}
.bento-card {
  --spotlight-color: rgba(59, 130, 246, 0.08);
}
.action-tab-card {
  --spotlight-color: rgba(168, 85, 247, 0.1);
}

.tech-card::before, .bento-card::before, .action-tab-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), var(--spotlight-color), transparent 80%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tech-card:hover::before, .bento-card:hover::before, .action-tab-card:hover::before {
  opacity: 1;
}

/* Ensure card contents sit above the overlay gradient */
.tech-card > *, .bento-card > *, .action-tab-card > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Visual Polish & Additional Responsiveness Enhancements
   ========================================================================== */

@media (max-width: 991px) {
  .nav-menu {
    overflow-y: auto;
    background-color: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-section {
    padding: 7rem 0 4rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .tech-card, .bento-card, .action-tab-card {
    padding: 1.75rem;
  }
  
  .form-container {
    padding: 1.75rem;
  }
}

@media (max-width: 576px) {
  /* ProfePlan Mockup Responsive Design */
  .product-mockup-card {
    aspect-ratio: auto;
    height: auto;
    min-height: 280px;
  }
  
  .mockup-content {
    flex-direction: column;
  }
  
  .mockup-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.5rem;
  }
  
  .sidebar-item {
    margin-bottom: 0;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .mockup-workspace {
    width: 100%;
    padding: 1rem;
  }
  
  /* FLUX Mockup Responsive Design */
  .flux-card {
    aspect-ratio: auto;
    height: auto;
  }
  
  .mockup-content-vertical {
    height: auto;
    gap: 1rem;
  }
}

/* 21. Legal & Compliance Subpages */
.legal-page-section {
  padding: 8rem 0 6rem 0;
  min-height: calc(100vh - 12rem);
  position: relative;
}

.legal-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.legal-card h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 60%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.legal-content section {
  margin-bottom: 2.5rem;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color var(--transition-fast);
}

.legal-back-btn:hover {
  color: #fff;
}



