/* Variables: Berlin Tech Theme */
:root {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-zinc: #18181b;
  --primary: #ccff00; /* Electric Lime */
  --primary-hover: #b3e600;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --container: 1240px;
  --font: "Outfit", sans-serif;
  --radius: 4px; /* Sharp corners for industrial feel */
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
}

.text-lime {
  color: var(--primary);
}

.center {
  text-align: center;
}

/* Buttons */
.btn-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #000;
  padding: 16px 32px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: 0.3s;
  border-radius: var(--radius);
}

.btn-lime:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  border: 1px solid var(--border);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border-radius: var(--radius);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.btn-link:hover {
  gap: 12px;
  color: var(--primary);
}

.link-contact {
  color: var(--text-muted);
  font-weight: 600;
}
.link-contact:hover {
  color: #fff;
}

.link-lime {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.full {
  width: 100%;
}
.sm {
  padding: 8px 16px;
  font-size: 14px;
}
.big {
  padding: 20px 40px;
  font-size: 18px;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.desk-nav {
  display: flex;
  gap: 32px;
}

.desk-nav a {
  font-weight: 500;
  color: var(--text-muted);
}
.desk-nav a:hover,
.desk-nav a.active {
  color: var(--primary);
}

.h-act {
  display: flex;
  align-items: center;
  gap: 20px;
}

.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Mobile Menu */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--border);
}

.menu-overlay.active {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.brand-logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-nav a {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.menu-footer {
  margin-top: auto;
}

/* HERO BENTO GRID */
.hero-bento {
  padding-top: 120px;
  padding-bottom: 80px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Item 1: Main Title (Spans 2 columns) */
.main-title {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-block;
  background: rgba(204, 255, 0, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  border-radius: 20px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  align-items: center;
}

/* Item 2: Visual (Right Column, spans 2 rows) */
.visual-box {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  background: var(--bg-zinc);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.abstract-shape {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 150px;
  height: 150px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

.center-icon {
  position: absolute;
  color: var(--primary);
  width: 48px;
  height: 48px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.stat-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.stat-float strong {
  display: block;
  font-size: 24px;
  color: var(--primary);
}

/* Item 3: Feature List */
.feature-list {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.feature-list h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-list ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
}
.feature-list i {
  color: var(--primary);
  width: 20px;
}

/* Item 4: Status */
.status-box {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: var(--primary);
  color: #000;
}
.status-box p {
  color: #000;
  font-weight: 500;
}
.live-ind {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 12px;
}
.blink {
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

/* Section 1: Manifesto */
.bg-zinc {
  background: var(--bg-zinc);
}

.sec-head {
  margin-bottom: 60px;
  max-width: 800px;
}
.line {
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin: 20px 0;
}

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

.card-outline {
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: 0.3s;
}
.card-outline:hover {
  border-color: var(--primary);
  background: var(--bg-card);
}
.num {
  font-size: 40px;
  font-weight: 800;
  color: var(--border);
  display: block;
  margin-bottom: 20px;
}

/* Section 2: Tracks */
.flex-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

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

.track-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.track-card:hover {
  transform: translateY(-10px);
}

.tc-img {
  height: 200px;
  overflow: hidden;
}
.tc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.track-card:hover img {
  transform: scale(1.1);
}

.tc-content {
  padding: 32px;
}
.badge {
  background: var(--border);
  color: #fff;
  font-size: 10px;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 4px;
}
.track-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.track-card p {
  font-size: 14px;
  margin-bottom: 24px;
}

/* Platform */
.bg-darker {
  background: #050a14;
}
.split-rev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lime-list {
  margin-top: 30px;
}
.lime-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #fff;
}
.lime-list li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.screen-mockup {
  background: var(--bg-zinc);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.sm-head {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.sm-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.sm-body {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bar-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  border-bottom: 1px solid var(--border);
}
.bar {
  width: 40px;
  background: var(--border);
}
.bar.active {
  background: var(--primary);
}
.sm-msg {
  margin-top: 20px;
  font-family: monospace;
  color: var(--primary);
}

/* Quiz */
.quiz-box {
  background: linear-gradient(135deg, var(--bg-card), var(--bg));
  border: 1px solid var(--primary);
  padding: 60px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qb-content h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.qb-tags span {
  display: inline-block;
  color: var(--text-muted);
  margin-right: 12px;
  font-family: monospace;
}
.qb-act {
  text-align: right;
}
.note {
  font-size: 12px;
  margin-top: 10px;
  opacity: 0.7;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-box {
  background: var(--bg-card);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
}
.st-icon {
  display: inline-block;
  color: var(--primary);
  margin-bottom: 16px;
}
.stat-box strong {
  display: block;
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}
.mt-40 {
  margin-top: 40px;
}

/* Info Block */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ib-img img {
  border-radius: 12px;
  opacity: 0.8;
}

/* FAQ */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc-item {
  background: var(--bg-card);
  border-radius: 8px;
}
.acc-head {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.acc-body p {
  padding: 0 24px 24px;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.fg-info h2 {
  font-size: 40px;
  margin-bottom: 24px;
}
.contacts-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.c-item {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 18px;
}
.c-item i {
  color: var(--primary);
}

.fg-form {
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.inp-box {
  margin-bottom: 24px;
  position: relative;
}
.inp-box label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.inp-box input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 16px;
  color: #fff;
  font-family: var(--font);
}
.inp-box input:focus {
  outline: none;
  border-color: var(--primary);
}

.err {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #ef4444;
  font-size: 12px;
  display: none;
}
.inp-box.error input {
  border-color: #ef4444;
}
.inp-box.error .err {
  display: block;
}

.chk-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.chk-box label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.chk-box a {
  color: var(--primary);
  text-decoration: underline;
}
.chk-box input {
  min-width: 16px;
  margin-top: 3px;
}

/* Footer */
.footer {
  background: #000;
  padding: 80px 0 20px;
  border-top: 1px solid var(--border);
}
.f-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.f-addr {
  margin-top: 24px;
  font-style: normal;
  color: var(--text-muted);
}
.f-addr a {
  display: block;
  color: var(--primary);
  margin-top: 8px;
}
.f-col h4 {
  font-size: 14px;
  margin-bottom: 24px;
  color: #fff;
}
.f-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.f-col a:hover {
  color: var(--primary);
}
.f-btm {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Cookie */
.cookie-modal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  padding: 24px;
  z-index: 5000;
  display: none;
  max-width: 320px;
}
.cm-body p {
  margin-bottom: 16px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .desk-nav,
  .h-act {
    display: none;
  }
  .burger {
    display: block;
    margin-left: auto;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .main-title,
  .visual-box,
  .feature-list,
  .status-box {
    grid-column: auto;
    grid-row: auto;
  }
  .grid-3,
  .tracks-grid,
  .split-rev,
  .stats-grid,
  .info-block,
  .form-grid,
  .f-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .quiz-box {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .split-img {
    order: -1;
  }
  .flex-head {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .big {
    padding: 16px 32px;
    font-size: 16px;
  }
}
.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  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;
}

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

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

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

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
