/* ==========================================================================
   01. INTERFACE CONSTANTS & METRIC ARCHITECTURE
   ========================================================================== */
:root {
  /* Premium Crisp Light Tones */
  --bg-canvas: #f8fafc;
  --bg-card: #ffffff;
  --bg-workspace: #f1f5f9;
  --bg-terminal: #0f172a;
  
  /* Color Identity Brand System Markers */
  --brand-violet: #6d28d9;
  --brand-violet-hover: #5b21b6;
  --brand-cyan: #0891b2;
  --brand-emerald: #059669;
  
  /* Typography Hierarchy Scale Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light-neutral: #f8fafc;
  --text-muted: #64748b;
  
  /* Structural Borders and Insets */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(109, 40, 217, 0.16);
  
  /* Typography Configuration Core Maps */
  --font-canvas: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Animation Timing Core Directives */
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --timing-standard: 0.25s var(--motion-ease);
}

/* ==========================================================================
   02. ELEMENT RESETS & BASE LAYOUT DIRECTIVES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

html {
  font-family: var(--font-canvas);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(109, 40, 217, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(8, 145, 178, 0.02) 0%, transparent 40%);
  background-attachment: fixed;
}

.container,
.nav-container,
.section-container,
.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   03. FIXED GLASSMORPHIC NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand-logo {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-logo span {
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Navigation Control Links Setup */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--timing-standard);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links .nav-cta {
  background: rgba(109, 40, 217, 0.05);
  border: 1px solid rgba(109, 40, 217, 0.12);
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  color: var(--brand-violet);
  font-weight: 600;
  transition: all var(--timing-standard);
}

.nav-links .nav-cta:hover {
  background: var(--brand-violet);
  border-color: var(--brand-violet);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
}

/* Hamburger Action Button for Mobile Responsiveness */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

/* ==========================================================================
   04. HERO ACCELERATOR BLOCK
   ========================================================================== */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 1rem 60px 1rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
}

.announcement-badge {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-violet);
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.hero-section h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.cta-button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Core Functional Utility Controls Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--timing-standard);
}

.btn-primary {
  background: var(--brand-violet);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.12);
}

.btn-primary:hover {
  background: var(--brand-violet-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(109, 40, 217, 0.2);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-workspace);
  transform: translateY(-2px);
}

/* ==========================================================================
   05. REUSABLE SECTION TYPOGRAPHY HEADINGS
   ========================================================================== */
.info-section, .features-section, .audience-section {
  padding: 80px 0;
}

.section-title-wrapper {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem auto;
}

.section-title-wrapper h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   06. CREATIVE KITCHEN CONTAINER MATRIX GRID & SIMULATOR
   ========================================================================== */
.grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.text-block p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* The UI Simulator Box Interface Card System */
.interactive-preview-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.03);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.preview-dots {
  display: flex;
  gap: 0.35rem;
}

.preview-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.preview-dots .dot.red    { background: #ef4444; }
.preview-dots .dot.yellow { background: #f59e0b; }
.preview-dots .dot.green  { background: #10b981; }

.preview-title {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sim-button {
  background: var(--bg-workspace);
  border: 1px solid transparent;
  padding: 0.65rem 0.25rem;
  border-radius: 6px;
  font-family: var(--font-canvas);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--timing-standard);
  text-align: center;
}

.sim-button:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.sim-button.active {
  background: rgba(109, 40, 217, 0.06);
  border-color: rgba(109, 40, 217, 0.15);
  color: var(--brand-violet);
}

/* Refined Dark Output Screen Box Configuration */
.preview-screen {
  background: var(--bg-terminal);
  border-radius: 8px;
  padding: 1.25rem;
  min-height: 110px;
  display: flex;
  align-items: center;
}

#simulator-output {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-light-neutral); /* Clean off-white text highlight fix */
  line-height: 1.5;
}

/* ==========================================================================
   07. DYNAMIC CREATOR HOVER FEATURES PACKS
   ========================================================================== */
.features-section {
  background-color: var(--bg-workspace);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.3s var(--motion-ease), border-color 0.3s var(--motion-ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.03);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-color, var(--brand-violet));
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* ==========================================================================
   08. AUDIENCE SPECIFIC ALIGNMENT CHIPS BLOCK
   ========================================================================== */
.audience-list-wrapper {
  display: flex;
  justify-content: center;
}

.audience-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 880px;
}

.audience-chips li {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-chips li i {
  color: var(--brand-emerald);
  font-size: 0.95rem;
}

/* ==========================================================================
   09. MINIMALIST SYSTEM STRATEGIC PHILOSOPHY PILLARS
   ========================================================================== */
.directives-section {
  padding: 50px 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.directives-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.directive-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.directive-item h4::before {
  content: "";
  display: block;
  width: 4px;
  height: 14px;
  background: var(--brand-cyan);
  border-radius: 100px;
}

.directive-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   10. SYSTEM CALL TO ACTION PLATFORM CANVAS
   ========================================================================== */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: radial-gradient(circle at top right, rgba(109, 40, 217, 0.01), transparent), var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 4.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.04);
}

.cta-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-violet);
}

.cta-card h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1rem 0;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-dark, .btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--timing-standard);
}

.btn-primary-dark {
  background: var(--bg-terminal);
  color: #ffffff;
}

.btn-primary-dark:hover {
  background: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.btn-secondary-outline {
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
}

.btn-secondary-outline:hover {
  background: var(--bg-workspace);
  transform: translateY(-2px);
}

/* ==========================================================================
   11. COMPLIANCE VISUAL ACCESSIBILITY SYSTEM FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0;
  text-align: center;
  background: var(--bg-card);
}

.site-footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   12. HIGH-UX MOBILE SYSTEM AND MEDIA QUERY VIEWPORT MATRIX
   ========================================================================== */
@media (max-width: 992px) {
  .grid-two-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block; /* Reveals menu toggle button exclusively for mobile users */
  }

  /* Transform Native Navigation Links List into a Smooth Mobile Dropdown Sheet */
  .site-header #main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    display: none;
  }

  .site-header #main-nav.mobile-open {
    display: block; /* Handled directly by smooth toggle javascript layer */
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-cta {
    display: block;
    text-align: center;
    padding: 0.75rem;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .info-section, .features-section, .audience-section {
    padding: 50px 0;
  }

  .section-title-wrapper {
    margin-bottom: 2.5rem;
  }

  .cta-card {
    padding: 3rem 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-primary-dark, .btn-secondary-outline, .btn-primary, .btn-secondary {
    justify-content: center;
    width: 100%;
  }
}