/* THEME: Cyber-Glass Neon
    PALETTE: Dark Violet (#050511), Neon Cyan (#00f0ff), Deep Purple (#7000ff)
    FONT: 'Rajdhani' (Headers), 'Inter' (Body)
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Rajdhani:wght@500;700&display=swap");

:root {
  --bg-core: #050511;
  --bg-surface: #0a0a1a;
  --primary: #00f0ff;
  --secondary: #7000ff;
  --text-main: #e0e0ff;
  --text-muted: #8a8ab5;
  --glass: rgba(255, 255, 255, 0.03);
  --border: rgba(0, 240, 255, 0.1);
  --font-head: "Rajdhani", sans-serif;
  --font-body: "Inter", sans-serif;
  --pad-section: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HEADER: Glass Bar Overlay */
.glass-header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 70px;
  background: rgba(10, 10, 26, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-inner {
  width: 100%;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.desktop-nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.bar {
  width: 30px;
  height: 2px;
  background: var(--primary);
}

/* MOBILE MENU */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-core);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

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

.mobile-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin: 20px 0;
  color: var(--text-main);
  text-align: center;
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.close-menu svg {
  width: 40px;
  height: 40px;
}

/* HERO: Brutal Layout */
.hero-brutal {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5vw;
  overflow: hidden;
}

.hero-graphic {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at center, #1a1a3a, #050511);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.glass-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
  width: 300px;
  height: 500px;
  right: 10%;
  top: 20%;
  transform: rotate(15deg);
}

.shape-2 {
  width: 200px;
  height: 200px;
  right: 30%;
  bottom: 10%;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--secondary), transparent);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 50px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: 2rem;
  color: #fff;
}

.outline-text {
  -webkit-text-stroke: 1px var(--primary);
  color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 3rem;
  border-left: 2px solid var(--secondary);
  padding-left: 20px;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.btn-neon {
  padding: 15px 40px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  transition: 0.3s;
}

.btn-neon:hover {
  background: #fff;
  box-shadow: 0 0 20px var(--primary);
}

.btn-ghost {
  padding: 15px 40px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-muted);
  text-transform: uppercase;
}

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

/* UTILS */
.section-pad {
  padding: var(--pad-section) 0;
  position: relative;
}
.text-center {
  text-align: center;
}

/* SEC 1: Grid */
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
}

.intro-text h2 {
  font-family: var(--font-head);
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-glass {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.4s;
}

.card-glass:hover {
  transform: translateY(-10px);
  background: rgba(0, 240, 255, 0.05);
}

.icon-xl {
  width: 40px;
  height: 40px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.card-glass h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* SEC 2: Impact */
.impact-zone {
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.massive-type {
  font-family: var(--font-head);
  font-size: clamp(4rem, 15vw, 15rem);
  opacity: 0.1;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 0;
}

.impact-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(5, 5, 17, 0.8);
  backdrop-filter: blur(5px);
  padding: 30px;
  border: 1px solid var(--border);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 700;
}

/* SEC 3: Zigzag */
.zigzag-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

.zigzag-content {
  flex: 1;
}
.zigzag-content h3 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.zigzag-img {
  flex: 1;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.abstract-cube,
.abstract-sphere {
  width: 200px;
  height: 200px;
  border: 2px solid var(--primary);
  position: relative;
}

.abstract-cube {
  transform: rotate(45deg);
  animation: spin 10s infinite linear;
}
.abstract-sphere {
  border-radius: 50%;
  border-color: var(--secondary);
  animation: pulse 4s infinite;
}

/* SEC 4: Scroll Deck */
.scroll-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.deck-card {
  background: linear-gradient(180deg, var(--bg-surface), transparent);
  padding: 30px;
  border-top: 2px solid var(--text-muted);
  transition: 0.3s;
}

.deck-card:hover {
  border-color: var(--primary);
}

.card-num {
  font-size: 3rem;
  font-family: var(--font-head);
  color: rgba(255, 255, 255, 0.1);
  display: block;
  margin-bottom: 10px;
}

/* SEC 5: Minimal */
.minimal-zone {
  background: var(--bg-surface);
}
.minimal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  padding: 60px;
  position: relative;
}

.quote-icon {
  width: 50px;
  height: 50px;
  color: var(--primary);
  margin-bottom: 30px;
}

.quote-text {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
}
.quote-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* SEC 6: Geo Grid */
.geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 400px 400px;
}

.geo-box {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-image: url("./images/robot-construct.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
}

.geo-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 17, 0.5);
  z-index: 0;
}

.geo-box > * {
  position: relative;
  z-index: 1;
}

.text-box {
  background-image: url("./images/robot-construct.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
}
.text-box-2 {
  background-image: url("./images/2907.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
}
.link-simple {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  margin-top: 20px;
  border: 1px solid var(--primary);
}
.visual-box {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
.visual-box-2 {
  background: var(--primary);
  opacity: 0.05;
}

.btn-neon-small {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.dot {
  width: 15px;
  height: 15px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--primary);
}

.content {
  width: 45%;
  background: var(--glass);
  padding: 20px;
  border: 1px solid var(--border);
}

.timeline-item:nth-child(odd) .content {
  margin-right: auto;
  text-align: right;
}
.timeline-item:nth-child(even) .content {
  margin-left: auto;
}

/* FAQ */
.faq-style-neon .accordion-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 0;
  color: var(--text-main);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.accordion-item.active .accordion-body {
  padding-bottom: 25px;
}
.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

/* FORM */
.form-zone-cyber {
  background: #080816;
}
.form-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.form-visual h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: var(--font-head);
}
.visual-decor {
  width: 100%;
  height: 200px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 240, 255, 0.05) 10px,
    rgba(0, 240, 255, 0.05) 20px
  );
  margin-top: 40px;
  border: 1px solid var(--border);
}

.cyber-form {
  background: var(--glass);
  padding: 40px;
  border: 1px solid var(--border);
}

.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.input-wrapper i {
  position: absolute;
  left: 15px;
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.input-wrapper input,
#captchaInput {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 12px 15px 12px 45px;
  color: #fff;
  font-family: "Courier New", monospace;
}

#captchaInput {
  padding-left: 15px;
}

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

.checkbox-wrapper label a {
  color: var(--primary);
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--secondary);
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: var(--primary);
  color: #000;
}

/* FOOTER */
.footer-matrix {
  background: #020205;
  padding: 80px 0 20px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.footer-address p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.links-col ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.links-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.links-col a:hover {
  color: var(--primary);
}
.links-col h5 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #111;
  color: #444;
  font-size: 0.8rem;
}

/* COOKIES */
.cookie-box {
  position: fixed;
  bottom: -100px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid var(--primary);
  padding: 20px;
  z-index: 9999;
  transition: 0.5s;
}

.cookie-box.show {
  bottom: 20px;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.cookie-inner p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cookie-inner button {
  background: var(--primary);
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: 700;
}

/* ANIM */
@keyframes spin {
  100% {
    transform: rotate(405deg);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(112, 0, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(112, 0, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(112, 0, 255, 0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .zigzag-row {
    flex-direction: column !important;
  }
  .scroll-deck {
    grid-template-columns: 1fr;
  }
  .geo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .geo-box {
    height: 300px;
  }
  .form-container-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .hero-graphic {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
    background: linear-gradient(to top, #1a1a3a, #050511);
  }
  .hero-brutal {
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .links-col ul {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 2rem !important;
  }
  h1 {
    font-size: 3rem !important;
  }
  h3 {
    font-size: 2rem !important;
  }
}

.pages {
  padding: 120px 0;
}

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

.pages h1 {
  font-size: 40px !important;
  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;
}
