/*
 * Cor3link Design System
 * Dark Neumorphism / Luminous UI
 *
 * Visual Style: Premium, modern, tech-forward
 * Light Mode: 3D neumorphic with raised elements
 * Dark Mode: Deep black with copper glow accents
 */

/* ========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ======================================== */

:root {
  /* Brand Colors */
  --copper: #ba745f;
  --copper-soft: #C99383;
  --copper-muted: #d8b2a7;
  --navy: #031329;
  --white: #ffffff;
  --light-gray: #e6e6e6;

  /* Light Mode (Default) - Neumorphic 3D */
  --bg-main: #e4e4e7;
  --bg-secondary: #e8e8eb;
  --bg-card: #e4e4e7;
  --bg-card-raised: #eaeaed;
  --bg-input: #e0e0e3;

  --text-primary: #031329;
  --text-secondary: #3d4a5c;
  --text-muted: #6b7280;
  --text-placeholder: #9ca3af;

  --border-light: rgba(3, 19, 41, 0.06);
  --border-medium: rgba(3, 19, 41, 0.10);
  --border-strong: rgba(3, 19, 41, 0.15);

  /* Neumorphic Shadows - Light Mode */
  --shadow-raised: 6px 6px 12px #c5c5c8, -6px -6px 12px #ffffff;
  --shadow-raised-hover: 8px 8px 16px #c5c5c8, -8px -8px 16px #ffffff;
  --shadow-inset: inset 4px 4px 8px #c5c5c8, inset -4px -4px 8px #ffffff;
  --shadow-soft: 4px 4px 8px #c5c5c8, -4px -4px 8px #ffffff;

  /* Button shadows */
  --shadow-btn: 4px 4px 8px #c5c5c8, -4px -4px 8px #ffffff;
  --shadow-btn-hover: 6px 6px 12px #c5c5c8, -6px -6px 12px #ffffff;
  --shadow-btn-active: inset 2px 2px 4px #c5c5c8, inset -2px -2px 4px #ffffff;

  /* Copper Glow */
  --copper-glow: 0 0 20px rgba(186, 116, 95, 0.3);
  --copper-glow-strong: 0 0 30px rgba(186, 116, 95, 0.5);
  --copper-glow-subtle: 0 0 15px rgba(186, 116, 95, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

/* ========================================
   DARK MODE - Luminous UI with Copper Glow
   ======================================== */

[data-theme="dark"] {
  --bg-main: #08080c;
  --bg-secondary: #0c0c12;
  --bg-card: #101018;
  --bg-card-raised: #16161f;
  --bg-input: #18181f;

  --text-primary: #f0f0f2;
  --text-secondary: #a8a8b3;
  --text-muted: #6b6b78;
  --text-placeholder: #4a4a55;

  --border-light: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.15);

  /* Dark Mode Shadows - Enhanced 3D Effect */
  --shadow-raised:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(186, 116, 95, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  --shadow-raised-hover:
    0 12px 48px rgba(0, 0, 0, 0.8),
    0 6px 24px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(186, 116, 95, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  --shadow-inset:
    inset 0 3px 12px rgba(0, 0, 0, 0.6),
    inset 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-soft:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(186, 116, 95, 0.05);

  /* Button shadows - dark mode */
  --shadow-btn:
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(186, 116, 95, 0.12);
  --shadow-btn-hover:
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(186, 116, 95, 0.25);
  --shadow-btn-active:
    inset 0 3px 8px rgba(0, 0, 0, 0.5);

  /* Enhanced Copper Glow for Dark Mode */
  --copper-glow: 0 0 30px rgba(186, 116, 95, 0.4);
  --copper-glow-strong: 0 0 50px rgba(186, 116, 95, 0.55);
  --copper-glow-subtle: 0 0 25px rgba(186, 116, 95, 0.2);
}

/* ========================================
   GLOBAL RESET & BASE
   ======================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  transition: background var(--transition-normal), color var(--transition-normal);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

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

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: 1400px;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-lg {
  padding: 6rem 0;
}

.section-xl {
  padding: 8rem 0;
}

/* ========================================
   NAVIGATION - Neumorphic Style
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .navbar {
  background: rgba(16, 16, 24, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-medium);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  letter-spacing: -0.02em;
}

.navbar-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.navbar-logo:hover {
  color: var(--copper);
}

[data-theme="dark"] .navbar-logo:hover {
  text-shadow: var(--copper-glow-subtle);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding: var(--space-sm) 0;
}

.navbar-link:hover {
  color: var(--text-primary);
}

[data-theme="dark"] .navbar-link:hover {
  color: var(--copper-soft);
}

/* Dropdown Menu */
.navbar-dropdown {
  position: relative;
}

.navbar-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.navbar-dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.navbar-dropdown:hover .navbar-dropdown-toggle svg {
  transform: rotate(180deg);
}

.navbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-raised);
}

[data-theme="dark"] .navbar-dropdown-menu {
  background: var(--bg-card-raised);
  border-color: var(--border-strong);
}

.navbar-dropdown:hover .navbar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-dropdown-item {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-weight: 500;
}

.navbar-dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

[data-theme="dark"] .navbar-dropdown-item:hover {
  background: rgba(186, 116, 95, 0.1);
  color: var(--copper-soft);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  color: var(--copper);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   THEME TOGGLE - Neumorphic Button
   ======================================== */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  box-shadow: var(--shadow-soft);
}

.theme-toggle:hover {
  color: var(--copper);
  box-shadow: var(--shadow-raised);
}

[data-theme="dark"] .theme-toggle:hover {
  box-shadow: var(--shadow-raised-hover);
}

.theme-toggle:active {
  box-shadow: var(--shadow-inset);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   BUTTONS - Neumorphic Style
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary Button - Copper with Glow */
.btn-primary {
  background: linear-gradient(135deg, var(--copper) 0%, #a86552 100%);
  color: var(--white);
  box-shadow: var(--shadow-btn), var(--copper-glow-subtle);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover), var(--copper-glow);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-btn-active);
}

/* Secondary Button - Neumorphic */
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-btn);
}

.btn-secondary:hover {
  color: var(--copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

[data-theme="dark"] .btn-secondary:hover {
  box-shadow: var(--shadow-btn-hover), var(--copper-glow-subtle);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-btn-active);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  box-shadow: none;
  border: 2px solid var(--border-strong);
}

.btn-ghost:hover {
  color: var(--copper);
  border-color: var(--copper);
  background: rgba(186, 116, 95, 0.05);
}

[data-theme="dark"] .btn-ghost:hover {
  box-shadow: var(--copper-glow-subtle);
}

/* Button Sizes */
.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.05rem;
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ========================================
   CARDS - Neumorphic Style
   ======================================== */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised-hover);
}

[data-theme="dark"] .card {
  border-color: var(--border-medium);
}

[data-theme="dark"] .card:hover {
  border-color: rgba(186, 116, 95, 0.2);
}

.card-elevated {
  background: var(--bg-card-raised);
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.card-glow {
  position: relative;
}

[data-theme="dark"] .card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(186, 116, 95, 0.2), transparent, rgba(186, 116, 95, 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

[data-theme="dark"] .card-glow:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--copper);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .card-icon {
  background: rgba(186, 116, 95, 0.1);
  box-shadow: var(--copper-glow-subtle);
}

/* ========================================
   BADGES
   ======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: rgba(186, 116, 95, 0.15);
  color: var(--copper);
}

[data-theme="dark"] .badge-accent {
  background: rgba(186, 116, 95, 0.2);
  box-shadow: var(--copper-glow-subtle);
}

.badge-neutral {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  box-shadow: var(--shadow-soft);
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

/* ========================================
   GRID SYSTEM
   ======================================== */

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

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

/* ========================================
   FORMS - Neumorphic Inputs
   ======================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-inset);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: #1a1a24;
  border: 1px solid var(--border-medium);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-placeholder);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: var(--shadow-inset), var(--copper-glow-subtle);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 10rem 0 6rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient background for hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(186, 116, 95, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at 30% 20%, rgba(186, 116, 95, 0.08) 0%, transparent 50%);
}

/* Hero watermark logo - light mode only */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-image: url('../assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* Hide watermark in dark mode */
[data-theme="dark"] .hero::after {
  opacity: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Visual / Mockup Area */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .hero-mockup {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-raised), var(--copper-glow-subtle);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FEATURE GRID
   ======================================== */

.feature-card {
  text-align: center;
  padding: var(--space-2xl);
}

.feature-card .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
}

.feature-card .card-title {
  margin-bottom: var(--space-sm);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--copper);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

[data-theme="dark"] .stat-value {
  text-shadow: var(--copper-glow-subtle);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========================================
   PRODUCT SHOWCASE / DEMO CARDS
   ======================================== */

.demo-card {
  background: var(--bg-card-raised);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-raised);
}

[data-theme="dark"] .demo-card {
  background: var(--bg-card);
}

.demo-header {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

[data-theme="dark"] .demo-header {
  background: rgba(0, 0, 0, 0.2);
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dot-red { background: #ff5f56; }
.demo-dot-yellow { background: #ffbd2e; }
.demo-dot-green { background: #27ca40; }

.demo-content {
  padding: var(--space-xl);
}

.demo-preview {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-card {
  text-align: center;
  padding: var(--space-2xl);
  position: relative;
}

.pricing-card-featured {
  border-color: var(--copper);
}

[data-theme="dark"] .pricing-card-featured {
  box-shadow: var(--shadow-raised), var(--copper-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  text-align: left;
}

.pricing-feature {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-feature svg {
  color: var(--copper);
  flex-shrink: 0;
}

/* ========================================
   FOOTER - Dark Neumorphic
   ======================================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-3xl) 0 var(--space-xl);
}

[data-theme="dark"] .footer {
  background: #050508;
  border-top: 1px solid var(--border-medium);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-tagline {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer-title {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: var(--white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  padding: var(--space-xs) 0;
}

.footer-link:hover {
  color: var(--copper-soft);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--white);
}

.footer-bottom a {
  color: var(--white);
}

.footer-bottom a:hover {
  color: var(--copper-soft);
}

/* ========================================
   INTERACTIVE DEMO ELEMENTS
   ======================================== */

/* Step Indicator */
.demo-steps {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.demo-step {
  flex: 1;
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-step.active {
  border-color: var(--copper);
}

[data-theme="dark"] .demo-step.active {
  box-shadow: var(--shadow-soft), var(--copper-glow-subtle);
}

.demo-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-fast);
}

.demo-step.active .demo-step-number {
  background: var(--copper);
  color: var(--white);
}

[data-theme="dark"] .demo-step.active .demo-step-number {
  box-shadow: var(--copper-glow);
}

.demo-step-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Progress Bar with Glow */
.progress-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-inset);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-soft));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

[data-theme="dark"] .progress-fill {
  box-shadow: var(--copper-glow);
}

/* Animated Glow Ring */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(186, 116, 95, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(186, 116, 95, 0.5);
  }
}

.glow-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.comparison-card {
  padding: var(--space-2xl);
}

.comparison-card-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.comparison-list {
  list-style: none;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: var(--text-secondary);
}

.comparison-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-item-highlight {
  color: var(--copper);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Spacing */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-copper { color: var(--copper); }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.875rem; }

/* Display */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 3rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .navbar-container {
    padding: 0 var(--space-lg);
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar-nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg);
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
    border-left: 1px solid var(--border-light);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  [data-theme="dark"] .navbar-nav {
    background: var(--bg-card);
  }

  .navbar-nav.active {
    transform: translateX(0);
  }

  .navbar-nav > li {
    width: 100%;
    list-style: none;
  }

  .navbar-nav > li > .navbar-link,
  .navbar-nav > li > .navbar-dropdown-toggle {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem;
    color: var(--text-primary);
    background: transparent;
    border-radius: var(--radius-md);
    box-shadow: none;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
  }

  .navbar-nav > li > .navbar-link:hover,
  .navbar-nav > li > .navbar-dropdown-toggle:hover {
    background: var(--bg-secondary);
    color: var(--copper);
  }

  .navbar-nav > li > .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: var(--space-md);
    border-bottom: none;
  }

  /* Mobile dropdown - collapsible */
  .navbar-dropdown {
    width: 100%;
  }

  .navbar-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-dropdown-toggle svg {
    transition: transform 0.2s ease;
  }

  .navbar-dropdown.open .navbar-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .navbar-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-dropdown.open .navbar-dropdown-menu {
    max-height: 500px;
  }

  .navbar-dropdown-item {
    display: block;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: transparent;
    border-left: 2px solid var(--border-light);
    margin-left: 0.5rem;
  }

  .navbar-dropdown-item:hover {
    color: var(--copper);
    border-left-color: var(--copper);
    background: transparent;
  }

  /* Theme toggle in mobile menu */
  .navbar-nav > li:last-of-type .theme-toggle {
    margin-top: var(--space-lg);
    width: 100%;
    justify-content: center;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
  }

  /* Hero section - stack with text first, then visual */
  .hero {
    padding: 6rem 0 3rem;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero-visual {
    order: 1;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .hero-content {
    order: 0;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  /* Smaller watermark on mobile */
  .hero::after {
    width: 350px;
    height: 350px;
  }

  /* Move watermark behind hero text ONLY on homepage (has hero-container with visual) */
  .hero:has(.hero-container)::after {
    top: 25%;
    transform: translate(-50%, -50%);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section-lg {
    padding: var(--space-3xl) 0;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Footer - compact mobile layout */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-xl);
  }

  /* First column (brand) spans full width */
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-sm);
  }

  .footer-title {
    font-size: 0.8rem;
    margin-bottom: var(--space-md);
  }

  .footer-link {
    font-size: 0.875rem;
    padding: var(--space-xs) 0;
  }

  .footer-description {
    font-size: 0.875rem;
  }

  .footer-tagline {
    font-size: 0.85rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    padding-top: var(--space-lg);
    font-size: 0.8rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .demo-steps {
    flex-direction: column;
  }

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

  /* Section headers on mobile */
  .section-header {
    margin-bottom: var(--space-xl);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2.5rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in {
  animation: slideIn 0.6s ease forwards;
}

/* Staggered animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ========================================
   SCROLL ANIMATIONS (triggered by JS)
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   CTA SECTION - Copper Background
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--copper) 0%, #a86552 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA section buttons */
.cta-section .btn {
  background: var(--white);
  color: var(--copper);
  font-weight: 700;
}

.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Dark mode CTA - dark background */
[data-theme="dark"] .cta-section {
  background: var(--bg-main);
}

[data-theme="dark"] .cta-section::before {
  background: radial-gradient(ellipse at center, rgba(186, 116, 95, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .cta-title {
  color: var(--white);
}

[data-theme="dark"] .cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .cta-section .btn {
  background: var(--copper);
  color: var(--white);
}

[data-theme="dark"] .cta-section .btn:hover {
  background: #c9836e;
  box-shadow: 0 8px 30px rgba(186, 116, 95, 0.3);
}

/* ========================================
   ALTERNATE BACKGROUND SECTIONS
   ======================================== */

.bg-alternate {
  background: var(--bg-secondary);
}

/* ========================================
   FEATURE LIST STYLING
   ======================================== */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
}

.feature-check {
  color: var(--copper);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ========================================
   COPPER SUBTLE BACKGROUND
   ======================================== */

.copper-subtle {
  background: rgba(186, 116, 95, 0.1);
}

[data-theme="dark"] .copper-subtle {
  background: rgba(186, 116, 95, 0.15);
}
