html, body {
    margin: 0;
    background: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }

  /* HEADER */
  header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1050;
  }
  .logo-wrapper img { width: 60px; height: auto; transition: filter 0.3s ease; }
  .logo-wrapper img.invert { filter: brightness(0) invert(1); }

  /* Hamburger wrapper */
  .menu-icon {
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    z-index: 3000;
  }
  .menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease;
  }
  .menu-icon span:nth-child(1) { top: 0; }
  .menu-icon span:nth-child(2) { top: 9px; }
  .menu-icon span:nth-child(3) { top: 18px; }
  .menu-icon.light span { background: #fff; }
  .menu-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .menu-icon.open span:nth-child(2) { opacity: 0; }
  .menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }

  /* FULLSCREEN MENU */
  .menu-panel {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 2000;
  }
  .menu-panel.open { opacity: 1; pointer-events: auto; }
  .menu-panel nav {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
  .menu-panel nav a {
    color: white;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 400;
    transition: color 0.3s ease;
  }
  .menu-panel nav a:hover { color: #bbb; }

  /* HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 5%;
    gap: 40px;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
      linear-gradient(90deg, rgba(119,119,119,0.15) 1px, transparent 1px),
      linear-gradient(45deg, rgba(119,119,119,0.1) 1px, transparent 1px),
      linear-gradient(-45deg, rgba(119,119,119,0.1) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 160px 160px;
    z-index: 0;
  }
  .hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top right, rgba(56,62,78,0.7), transparent 70%);
    z-index: 0;
  }
  .hero-shapes {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .hero-shapes span {
    position: absolute;
    display: block;
    background: rgba(119,119,119,0.2);
    opacity: 0;
    animation: fadeDrift 8s infinite ease-in-out;
  }
  .hero-shapes .circle { border-radius: 50%; }
  @keyframes fadeDrift {
    0%   { opacity: 0; transform: translate(0,0); }
    25%  { opacity: 1; transform: translate(2px,-2px); }
    50%  { opacity: 0.8; transform: translate(-3px,3px); }
    75%  { opacity: 1; transform: translate(2px,2px); }
    100% { opacity: 0; transform: translate(0,0); }
  }

  /* Streaming dots */
  .data-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: fall linear forwards;
  }
  @keyframes fall {
    0%   { transform: translateY(0); opacity: 0; }
    10%  { opacity: 0.7; }
    50%  { opacity: 0.5; }
    80%  { opacity: 0.3; }
    100% { transform: translateY(100vh); opacity: 0; }
  }

  /* Head SVG */
  .hero img {
    max-width: 63vw;  /* ~10% smaller */
    max-height: 78vh;
    position: relative;
    left: -5%;
    z-index: 2;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
    margin-left: -200px;
  }

  .strapline {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 200;
    color: #111;
    line-height: 1.1;
    letter-spacing: -2px;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
  }
  .strapline strong { font-weight: 700; }

  /* Register button */
  .btn-register {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 18px 36px;
    background: #222;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  .btn-register:hover { background: #000; transform: translateY(2px); }
  .btn-register:active { transform: translateY(4px); }
  .btn-register svg { width: 24px; height: 24px; }
  .btn-register .logo-box svg {
    width: 40px; height: 40px; color: #E1AD01;
  }
  .btn-register .logo-box {
    display: flex; align-items: center; justify-content: flex-start;
    background: #000; padding: 6px; border-radius: 4px;
  }

  /* Scroll Controls */
  .scroll-controls {
    position: fixed;
    bottom: 20px; left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
  }
  .scroll-btn {
    width: 70px; height: 70px;
    background: #222;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .scroll-btn:hover { background: #000; transform: translateY(3px); }
  .scroll-btn svg { width: 32px; height: 32px; fill: #bbb; }
  #scrollUp { display: none; }

  /* DARK SECTIONS */
  section.dark {
    min-height: 100vh;
    background: #333;
    color: white;
    display: flex; align-items: center;
    text-align: center; font-weight: 100;
    padding: 5rem 2rem;
  }

  /* Contact form */
  .contact-form .form-control {
    background: #222; border: none; color: #fff;
    border-radius: 8px; padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }
  .contact-form .form-control:focus {
    background: #111; color: #fff;
    outline: none;
    box-shadow: 0 0 0 2px #fff inset, 0 0 8px rgba(255,255,255,0.4);
  }
  .contact-form label { color: #aaa; }
  .btn-contact {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 18px 36px; background: #fff; color: #111;
    font-size: 1.1rem; font-weight: 500;
    border-radius: 6px; border: none;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  .btn-contact:hover { background: #ddd; transform: translateY(2px); }
  .btn-contact:active { transform: translateY(4px); }
  .btn-contact svg { width: 24px; height: 24px; }

  /* About */
  .about-section {
    background: #1a1a1a; color: #f5f5f5;
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 4rem 2rem;
    font-family: 'Roboto', sans-serif; font-weight: 200;
  }
  .about-content { max-width: 900px; text-align: center; }
  .about-content h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 200; margin-bottom: 2rem; letter-spacing: -1px;
  }
  .about-content p {
    font-size: 1.5rem; line-height: 1.9; margin-bottom: 1.5rem;
    text-align: justify; font-weight: 200;
  }
  .about-content strong { font-weight: 700; }

  .features-section {
    background: #f8f8f8;
    color: #111;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .features-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -1px;
  }
  
  .feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  }
  
  .feature-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 50%;
  }
  .feature-card .icon svg {
    width: 36px;
    height: 36px;
    stroke: #E1AD01; /* mustard accent */
  }
  .feature-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
  }
  .feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
  }
  
  .sketch-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
  }
  
  .sketch {
    position: absolute;
    opacity: 0.12;
    stroke: rgba(0,0,0,0.4);
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .sketch .draw {
    stroke-dasharray: 300; /* enough length to cover shapes */
    stroke-dashoffset: 300;
    animation: draw 3s ease forwards, float 6s ease-in-out infinite;
  }
  
  /* Hand-drawn drawing effect */
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  
  /* Subtle drifting float */
  @keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(-5px) translateX(3px); }
  }
  
  /* Position the sketches */
  .sketch-bar { top: 20%; left: 10%; width: 120px; }
  .sketch-pie { top: 50%; right: 15%; width: 100px; }
  .sketch-line { bottom: 10%; left: 30%; width: 150px; }

  /* Password strength bar */
/* Wrapper for password input + bar */
.password-wrapper {
    margin-bottom: 1.5rem; /* same as .mb-4 spacing */
  }
  
  .password-strength {
    height: 6px;
    width: 100%;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;   /* equal breathing space */
  }  
  
  .strength-bar {
    height: 100%;
    width: 0%;
    background: transparent;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 3px;
  }
  
  /* Shared field icon styles */
.field-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
  }
  
  /* Push input text and floating label so they don't overlap icons */
  .form-control.ps-5 {
    padding-left: 2.8rem !important;
  }
  
  .form-floating > label {
    left: 2.8rem;
  }

  .btn-outline-secondary {
    border-radius: 6px;
    padding: 12px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .btn-outline-secondary:hover {
    background: #f0f0f0;
    color: #111;
  }

  /* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    body {
      background: #121212;
      color: #eee;
    }
  
    .login-card {
      background: rgba(30, 30, 30, 0.9);
      backdrop-filter: blur(20px);
      color: #eee;
      box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    }
  
    .input-group-text {
      background: transparent;
      color: #ccc;
    }
  
    .form-control {
      background: rgba(255,255,255,0.05);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.15);
    }
  
    .form-control:focus {
      border-color: #E1AD01; /* mustard highlight */
      box-shadow: 0 0 0 3px rgba(225,173,1,0.25);
    }
  
    .btn-dark {
      background: linear-gradient(135deg, #E1AD01, #c99600);
      color: #000;
    }
    .btn-dark:hover {
      background: linear-gradient(135deg, #ffce2e, #E1AD01);
      transform: translateY(-2px);
    }
  
    .register-link a {
      color: #E1AD01;
    }
    .register-link a::after {
      background: #E1AD01;
    }
  }
  
  /* Theme toggle button */
.theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 2000;
  }
  .theme-toggle:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(15deg);
  }
  .theme-toggle i {
    font-size: 18px;
    color: #333;
  }
  body.dark-mode .theme-toggle i {
    color: #E1AD01; /* mustard accent in dark mode */
  }
/* Explicit dark-mode class override (for manual toggle) */
body.dark-mode {
    background: #121212;
    color: #eee;
  }
  
  body.dark-mode .login-card {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px);
    color: #eee;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  }
  
  body.dark-mode .input-group-text {
    background: transparent;
    color: #ccc;
  }
  
  body.dark-mode .form-control {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
  }
  
  body.dark-mode .form-control:focus {
    border-color: #E1AD01;
    box-shadow: 0 0 0 3px rgba(225,173,1,0.25);
  }
  
  body.dark-mode .btn-dark {
    background: linear-gradient(135deg, #E1AD01, #c99600);
    color: #000;
  }
  body.dark-mode .btn-dark:hover {
    background: linear-gradient(135deg, #ffce2e, #E1AD01);
  }
  
  body.dark-mode .register-link a {
    color: #E1AD01;
  }
  body.dark-mode .register-link a::after {
    background: #E1AD01;
  }
/* Default form control styling for both login + register */
.form-control {
    background: #f5f5f5;   /* subtle grey background */
    border: 1px solid #ddd;
    color: #333;
    border-radius: 8px;
    padding: 14px 16px;
    transition: all 0.3s ease;
  }
  
  /* Placeholder text */
  .form-control::placeholder {
    color: #888;
  }
  
  /* Focus state */
  .form-control:focus {
    background: #fff;
    border-color: #E1AD01; /* mustard brand highlight */
    box-shadow: 0 0 0 3px rgba(225, 173, 1, 0.25);
    color: #111;
  }
  
  /* Input group icon (Font Awesome) */
  .input-group-text {
    background: #f5f5f5; /* match input */
    border: 1px solid #ddd;
    border-right: none;
    color: #666;
    border-radius: 8px 0 0 8px;
  }
   
  /* Floating cookie button */
.cookie-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background 0.3s ease;
    z-index: 2500;
  }
  .cookie-btn:hover {
    background: #E1AD01;
    color: #111;
    transform: scale(1.1);
  }
  .cookie-btn i {
    font-size: 20px;
  }
  
  /* Cookie modal */
  .cookie-modal {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 280px;
    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    padding: 20px;
    display: none;
    z-index: 2600;
  }
  .cookie-modal h5 {
    margin-bottom: 10px;
    font-weight: 600;
  }
  .cookie-modal p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  /* Lightbulb button (above cookie) */
.idea-btn {
    position: fixed;
    bottom: 85px;   /* sits directly above cookie button */
    right: 20px;
    background: #111;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background 0.3s ease;
    z-index: 2500;
  }
  .idea-btn:hover {
    background: #E1AD01; /* mustard accent */
    color: #111;
    transform: scale(1.1);
  }
  .idea-btn i {
    font-size: 20px;
  }

  /* Help modal style */
.help-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    background: #fff;
    color: #333;
    font-family: 'Roboto', sans-serif;
  }
  .help-modal .modal-header {
    border-bottom: 1px solid #eee;
  }
  .help-modal .modal-body {
    font-weight: 300;
    line-height: 1.6;
  }
  .help-modal .modal-body strong {
    font-weight: 500;
  }
  