:root {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --card-bg: #1e293b;
  --primary: #8b5cf6;
  --secondary: #06b6d4;
  --tertiary: #f97316;
  --border-radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--border-radius);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: var(--transition);
}

.mobile-menu.active {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn--outline:hover {
  background: var(--secondary);
  color: white;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.visual-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-card__overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tertiary);
}

/* Sections General */
.section {
  padding: 80px 0;
}

.section--bg {
  background: #131c33;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  text-align: center;
}

.text-center {
  text-align: center;
}
.max-800 {
  max-width: 800px;
  margin: 0 auto;
}

/* Why Hard */
.text-block p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: var(--secondary);
  color: white;
}

/* Explainable AI */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.comparison-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
}

.comp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: var(--transition);
}

.comp-item.active {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.1);
}

.comp-item i {
  width: 48px;
  height: 48px;
}

/* Use Cases */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: default;
}

.feature-card:hover {
  background: linear-gradient(135deg, var(--card-bg), #2a3855);
  transform: scale(1.03);
}

.feature-card i {
  color: var(--tertiary);
  margin-bottom: 20px;
}

/* Benefits */
.split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.check-list i {
  color: var(--primary);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary);
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.marker {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--bg-color);
  flex-shrink: 0;
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .marker {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--secondary);
}

/* Expanded Cards (Myths) */
.expand-grid {
  max-width: 800px;
  margin: 0 auto;
}

.expand-card {
  background: var(--card-bg);
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.expand-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.expand-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: var(--transition);
  color: var(--text-muted);
}

.expand-body.open {
  padding-bottom: 20px;
}

/* FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.acc-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.acc-head {
  padding: 15px 0;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

.acc-head:hover {
  color: var(--tertiary);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-muted);
}

.acc-item.active .acc-body {
  padding-bottom: 15px;
}

/* Form */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.interactive-form {
  margin-top: 30px;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  background: transparent;
  border: 2px solid #334155;
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.input-group label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--card-bg);
  padding: 0 5px;
  color: var(--text-muted);
  transition: var(--transition);
  pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 0.8rem;
  color: var(--primary);
}

.checkbox-group {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.full-width {
  width: 100%;
}

/* Footer */
.footer {
  background: #0b1120;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer__col p,
.footer__col a {
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.footer__col a:hover {
  color: var(--primary);
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--primary);
  max-width: 350px;
  z-index: 1000;
  display: none;
  animation: slideIn 0.5s ease;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .desktop-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .hero__grid,
  .grid-2,
  .split-cols,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 100px;
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 19px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
}
