:root {
  --primary: #00e5ff;
  --primary-gradient: linear-gradient(90deg, #00e5ff, #0077ff);
  --dark: #0d111a;
  --grey: #181c25;
  --light: #ffffff;
  --green: #00d67d;
  --red: #ff3b6b;
  --text-muted: #b5b9c9;
  --font: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font);
}

body {
  background: radial-gradient(circle at top left, #0f1320, #0a0c12 80%);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(15, 17, 22, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  transition: transform 0.3s ease;
}

nav a {
  color: #cdd1e0;
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--primary);
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s;
}
nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

.auth-buttons {
  display: flex;
  gap: 14px;
}

/* BUTTONS */
.btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--dark);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.15);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-gradient);
  color: var(--dark);
}

/* HERO SECTION */
main {
  padding: 140px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 span {
  color: var(--primary);
}
.sub {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 36px;
  color: var(--text-muted);
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* DEMO BOX */
.demo {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.demo-box {
  background: rgba(24, 27, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 40px;
  width: 100%;
  max-width: 880px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}
.demo-box:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.2);
}

.demo-label {
  margin-bottom: 12px;
  font-size: 14px;
  color: #a0a4b4;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.digits {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}
.digit {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(17, 19, 26, 0.7);
}
.digit.up { color: var(--green); }
.digit.down { color: var(--red); }
.price-change {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* BENEFITS GRID */
.benefits {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px;
  margin: 100px auto 0;
}

.card {
  background: rgba(24, 27, 36, 0.7);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}
.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--primary);
}
.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 50px 24px 24px;
  font-size: 13px;
  color: #7e849b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 80px;
}

/* MOBILE */
@media (max-width: 800px) {
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--grey);
    text-align: center;
    padding: 16px 0;
    transform: translateY(-200%);
  }
  nav.open {
    transform: translateY(0);
  }
  .menu-toggle {
    display: block;
  }
  .auth-buttons {
    display: none;
  }
  h1 { font-size: 2rem; }
}
    .cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(15, 17, 22, 0.95);
      backdrop-filter: blur(10px);
      border-top: 1px solid rgba(0, 229, 255, 0.2);
      padding: 20px 30px;
      z-index: 9999;
      transform: translateY(100%);
      transition: transform 0.4s ease;
      box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .cookie-banner.show {
      transform: translateY(0);
    }
    
    .cookie-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    
    .cookie-text {
      flex: 1;
      min-width: 300px;
    }
    
    .cookie-text h3 {
      color: var(--primary);
      margin-bottom: 8px;
      font-size: 18px;
    }
    
    .cookie-text p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.5;
    }
    
    .cookie-text a {
      color: var(--primary);
      text-decoration: underline;
    }
    
    .cookie-buttons {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    
    .cookie-btn {
      padding: 10px 24px;
      border-radius: var(--radius);
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }
    
    .cookie-btn.accept {
      background: var(--primary-gradient);
      color: var(--dark);
    }
    
    .cookie-btn.settings {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }
    
    .cookie-btn.reject {
      background: rgba(255, 59, 107, 0.2);
      border: 2px solid var(--red);
      color: var(--red);
    }
    
    .cookie-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Cookie Settings Modal */
    .cookie-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(5px);
      z-index: 10000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    
    .cookie-modal.show {
      display: flex;
    }
    
    .modal-content {
      background: var(--grey);
      border-radius: var(--radius);
      padding: 30px;
      max-width: 500px;
      width: 100%;
      border: 1px solid rgba(0, 229, 255, 0.2);
      box-shadow: var(--shadow);
    }
    
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
    }
    
    .modal-header h3 {
      color: var(--primary);
      font-size: 22px;
    }
    
    .close-modal {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 28px;
      cursor: pointer;
      line-height: 1;
      padding: 0;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }
    
    .close-modal:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--primary);
    }
    
    .cookie-option {
      margin-bottom: 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .cookie-option:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }
    
    .option-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .option-header h4 {
      color: var(--light);
      font-size: 16px;
    }
    
    .toggle-switch {
      position: relative;
      width: 50px;
      height: 24px;
    }
    
    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    
    .toggle-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.1);
      transition: .4s;
      border-radius: 34px;
    }
    
    .toggle-slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }
    
    input:checked + .toggle-slider {
      background: var(--primary-gradient);
    }
    
    input:checked + .toggle-slider:before {
      transform: translateX(26px);
    }
    
    .option-description {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.5;
    }
    
    .modal-actions {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 30px;
    }
    
    /* Adjust main content for cookie banner */
    main {
      padding-bottom: 120px;
    }
    
    @media (max-width: 768px) {
      .cookie-content {
        flex-direction: column;
        text-align: center;
      }
      
      .cookie-buttons {
        justify-content: center;
      }
      
      .modal-content {
        padding: 20px;
      }
      
      main {
        padding-bottom: 180px;
      }
    }