/* CSS Variables - Dark Theme (Default) */
    :root[data-theme="dark"] {
      --bg-primary: #0a0a0f;
      --bg-secondary: #12121a;
      --bg-tertiary: #1a1a24;
      --bg-elevated: #1f1f2a;
      
      --text-primary: #e8e6e3;
      --text-secondary: #b8b5b0;
      --text-tertiary: #888580;
      
      --primary-gold: #CEB992;
      --sage-green: #73937E;
      --deep-gray: #585563;
      --dark-plum: #5B2E48;
      --deep-crimson: #471323;
      
      --border-color: rgba(206, 185, 146, 0.15);
      --border-color-strong: rgba(206, 185, 146, 0.25);
      --accent-glow: rgba(206, 185, 146, 0.3);
      
      --elevation-1: 0 1px 3px rgba(0,0,0,0.4), 0 1px 1px rgba(206,185,146,0.05);
      --elevation-2: 0 2px 6px rgba(0,0,0,0.5), 0 1px 2px rgba(206,185,146,0.08);
      --elevation-3: 0 4px 12px rgba(0,0,0,0.6), 0 2px 4px rgba(206,185,146,0.1);
    }

    /* Light Theme */
    :root[data-theme="light"] {
      --bg-primary: #f8f6f3;
      --bg-secondary: #ffffff;
      --bg-tertiary: #f0ede8;
      --bg-elevated: #ffffff;
      
      --text-primary: #1a1a24;
      --text-secondary: #585563;
      --text-tertiary: #888580;
      
      --primary-gold: #CEB992;
      --sage-green: #73937E;
      --deep-gray: #585563;
      --dark-plum: #5B2E48;
      --deep-crimson: #471323;
      
      --border-color: rgba(88, 85, 99, 0.15);
      --border-color-strong: rgba(88, 85, 99, 0.25);
      --accent-glow: rgba(91, 46, 72, 0.2);
      
      --elevation-1: 0 1px 3px rgba(0,0,0,0.1), 0 1px 1px rgba(206,185,146,0.03);
      --elevation-2: 0 2px 6px rgba(0,0,0,0.15), 0 1px 2px rgba(206,185,146,0.05);
      --elevation-3: 0 4px 12px rgba(0,0,0,0.2), 0 2px 4px rgba(206,185,146,0.08);
    }

    /* Global Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-primary);
      background-color: var(--bg-primary);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Typography */
    h1 {
      font-size: clamp(2.5rem, 7vw, 4.5rem);
      font-weight: 700;
      line-height: 1.1;
      background: linear-gradient(135deg, var(--primary-gold), var(--sage-green));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.5rem;
    }

    h2 {
      font-size: clamp(1.5rem, 4vw, 2.25rem);
      font-weight: 600;
      line-height: 1.3;
      color: var(--primary-gold);
      margin-bottom: 1rem;
    }

    p {
      color: var(--text-secondary);
      margin-bottom: 1rem;
    }

    a {
      color: var(--primary-gold);
      text-decoration: none;
      transition: all 0.2s ease;
    }

    a:hover {
      color: var(--sage-green);
      text-shadow: 0 0 8px var(--accent-glow);
    }

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

    /* Header */
    header {
      background: var(--bg-secondary);
      border-bottom: 1px solid var(--border-color);
      padding: 4rem 0;
      box-shadow: var(--elevation-1);
      position: relative;
      overflow: hidden;
    }

    header::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
      opacity: 0.3;
      animation: pulse 10s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.3; }
      50% { transform: scale(1.1); opacity: 0.5; }
    }

    .header-content {
      text-align: center;
      position: relative;
      z-index: 1;
    }

    /* Glitch effect styles */
    .glitch-container {
      color: var(--text-secondary);
      font-size: clamp(1rem, 2.5vw, 1.25rem);
      font-weight: 700;
      letter-spacing: 2px;
      position: relative;
      font-family: 'Orbitron', sans-serif;
      margin-top: 1rem;
      min-height: 30px;
    }

    .glitch {
      position: relative;
      display: inline-block;
    }
    .glitch::before, .glitch::after {
      content: attr(data-text);
      position: absolute;
      left: 0; top: 0;
      opacity: 0.8;
      clip: rect(0, 0, 0, 0);
    }
    .glitch::before {
      color: #ff00ff;
    }
    .glitch::after {
      color: #00ffff;
    }

    @keyframes glitch {
      0% { clip: rect(20px, 9999px, 21px, 0); }
      10% { clip: rect(0px, 9999px, 5px, 0); }
      20% { clip: rect(10px, 9999px, 25px, 0); }
      30% { clip: rect(5px, 9999px, 15px, 0); }
      40% { clip: rect(25px, 9999px, 30px, 0); }
      50% { clip: rect(0px, 9999px, 10px, 0); }
      60% { clip: rect(15px, 9999px, 20px, 0); }
      70% { clip: rect(5px, 9999px, 15px, 0); }
      80% { clip: rect(20px, 9999px, 25px, 0); }
      90% { clip: rect(10px, 9999px, 12px, 0); }
      100% { clip: rect(0px, 9999px, 8px, 0); }
    }

    .glitching::before, .glitching::after {
      animation: glitch 0.2s infinite;
    }

    /* Navigation */
    nav {
      background: var(--bg-elevated);
      padding: 1rem 0;
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: var(--elevation-2);
    }

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

    .nav-links {
      display: flex;
      gap: 1rem;
      list-style: none;
    }

    .nav-links a {
      font-weight: 500;
      padding: 0.5rem 0.75rem;
      border-radius: 4px;
      transition: all 0.2s ease;
    }

    .nav-links a:hover {
      background: var(--bg-tertiary);
    }

    .mobile-menu-toggle {
      display: none;
      background: transparent;
      border: none;
      color: var(--primary-gold);
      font-size: 1.5rem;
      cursor: pointer;
    }

    .theme-toggle {
      background: var(--bg-tertiary);
      border: 1px solid var(--border-color);
      color: var(--primary-gold);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.2s ease;
    }

    .theme-toggle:hover {
      border-color: var(--border-color-strong);
    }

    /* Main Content */
    main {
      padding: 4rem 0;
    }

    section {
      margin-bottom: 4rem;
    }

    .card {
      background: var(--bg-elevated);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: var(--elevation-1);
      transition: all 0.2s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--elevation-3);
      border-color: var(--border-color-strong);
    }

    .card h3 {
      font-size: clamp(1.25rem, 3vw, 1.75rem);
      font-weight: 600;
      color: var(--primary-gold);
      margin-bottom: 1rem;
    }

    /* Form Elements */
    .form-group {
      margin-bottom: 1.5rem;
    }

    label {
      display: block;
      font-weight: 500;
      margin-bottom: 0.5rem;
    }

    input[type="text"],
    input[type="email"],
    textarea {
      width: 100%;
      padding: 0.75rem 1rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      color: var(--text-primary);
      font-size: 1rem;
      transition: all 0.2s ease;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    textarea:focus {
      outline: none;
      border-color: var(--primary-gold);
      box-shadow: 0 0 0 3px var(--accent-glow);
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }

    /* Buttons */
    .btn {
      padding: 0.75rem 1.5rem;
      border-radius: 4px;
      font-weight: 500;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary-gold), var(--sage-green));
      color: var(--bg-primary);
    }

    .btn-primary:hover {
      filter: brightness(1.1);
    }

    .btn-secondary {
      background: var(--bg-elevated);
      color: var(--primary-gold);
      border: 1px solid var(--border-color);
    }

    .btn-secondary:hover {
      border-color: var(--border-color-strong);
    }

    /* Grid System */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    /* Features Grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

    .feature-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      padding: 1.5rem;
      transition: all 0.2s ease;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--elevation-2);
      border-color: var(--primary-gold);
    }

    .feature-icon {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    /* Footer */
    footer {
      background: var(--bg-secondary);
      border-top: 1px solid var(--border-color);
      padding: 3rem 0 2rem;
      margin-top: 4rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-section h4 {
      color: var(--primary-gold);
      margin-bottom: 1rem;
    }

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

    /* Responsive */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-elevated);
        padding: 1rem;
      }
      .nav-links.active {
        display: flex;
      }
      .mobile-menu-toggle {
        display: block;
      }
    }
