:root {
  --bg-dark: #050505;
  --bg-panel: #0a0a0a;
  --gold-primary: #d4af37;
  --gold-light: #f1d76e;
  --gold-dark: #aa8c2c;
  --neon-blue: #00f3ff;
  --text-main: #ffffff;
  --text-muted: #888888;
  --font-heading: "Cinzel", serif;
  --font-body: "Montserrat", sans-serif;
  --glass-bg: rgba(10, 10, 10, 0.85);
  --border-gold: 1px solid rgba(212, 175, 55, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  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 ease;
}

ul {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
}

.text-gold {
  color: var(--gold-primary);
  background: linear-gradient(
    45deg,
    var(--gold-dark),
    var(--gold-light),
    var(--gold-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
  color: var(--bg-dark);
}

.btn-gold:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-neon {
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.btn-neon:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

.btn-gold-outline {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 12px 30px;
}

.btn-gold-outline:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

.btn-gold-sm {
  background: var(--gold-primary);
  color: var(--bg-dark);
  padding: 8px 20px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo-gold {
  color: var(--gold-primary);
}

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

.nav-link {
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: var(--text-main);
  position: relative;
  padding-bottom: 5px;
}

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

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

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

.burger-btn span {
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-main);
  border-bottom: 1px solid transparent;
}

.mobile-nav-links a:hover {
  color: var(--gold-primary);
  border-bottom: 1px solid var(--gold-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(20, 20, 30, 0.5) 0%,
    var(--bg-dark) 80%
  );
  z-index: -1;
}

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

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hex-portal {
  width: 400px;
  height: 400px;
  border: 2px solid var(--gold-primary);
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 20s linear infinite;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
}

.hex-inner {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--neon-blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate-rev 15s linear infinite;
  box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.2);
}

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

@keyframes rotate-rev {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Sections General */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.title-line {
  width: 100px;
  height: 3px;
  background: var(--gold-primary);
  margin: 0 auto;
  box-shadow: 0 0 10px var(--gold-primary);
}

/* Vision Section */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.vision-card {
  background: var(--bg-panel);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 40px;
  text-align: center;
  transition: 0.4s;
}

.vision-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.vision-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* Tech Oasis */
.tech-oasis {
  position: relative;
  overflow: hidden;
}

.bg-dunes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 243, 255, 0.05) 10px,
    rgba(0, 243, 255, 0.05) 20px
  );
  z-index: -1;
}

.oasis-content {
  background: var(--glass-bg);
  border: 1px solid var(--neon-blue);
  padding: 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.1);
}

.oasis-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.oasis-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* Features Grid */
.features-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.gold-card {
  background: #0e0e0e;
  padding: 30px;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: 0.3s;
}

.card-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-primary);
  opacity: 0.3;
  transition: 0.3s;
}

.gold-card:hover .card-border {
  opacity: 1;
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
}

.gold-card i {
  color: var(--gold-primary);
  margin-bottom: 20px;
  width: 32px;
  height: 32px;
}

.gold-card h4 {
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.gold-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--gold-primary);
  opacity: 0.3;
}

.timeline-item {
  padding-left: 60px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.timeline-content {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.timeline-content h3 {
  color: var(--neon-blue);
  margin-bottom: 10px;
}

/* Info Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.panel-desc {
  max-width: 700px;
  margin: 30px auto;
  font-size: 1.1rem;
}

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

.faq-item {
  background: var(--bg-panel);
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 20px;
  transition: 0.3s;
}

.faq-question {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: 0.5s ease;
}

.faq-answer p {
  padding-bottom: 25px;
  color: var(--text-muted);
}

.faq-item.active {
  border-color: var(--gold-primary);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active i {
  transform: rotate(180deg);
  transition: 0.3s;
}

/* Contact Form */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-bg);
  padding: 50px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.form-border {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid var(--gold-primary);
  pointer-events: none;
}

.form-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.input-group {
  margin-bottom: 30px;
}

.input-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--gold-primary);
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-muted);
  color: var(--text-main);
  padding: 10px 0;
  font-size: 1.1rem;
  outline: none;
  transition: 0.3s;
}

.input-group input:focus {
  border-bottom-color: var(--gold-primary);
}

.checkbox-group {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.checkbox-group input {
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.full-width {
  width: 100%;
}

/* Footer */
.footer {
  background: #080808;
  padding: 80px 0 20px;
  border-top: 1px solid var(--gold-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer h4 {
  color: var(--gold-primary);
  margin-bottom: 25px;
  font-size: 1rem;
}

.footer p,
.links a {
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
  font-size: 0.9rem;
}

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

.footer-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-primary),
    transparent
  );
  width: 100%;
  margin-top: 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background: var(--bg-dark);
  padding: 5px; /* For border effect */
  z-index: 5000;
  display: none;
}

.cookie-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.cookie-content {
  background: var(--bg-panel);
  padding: 25px;
  position: relative;
  z-index: 2;
}

.cookie-content h3 {
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.cookie-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .section-title {
    display: flex;
    flex-wrap: wrap;
    font-size: 2.5rem;
    white-space: normal;
  }
  .burger-btn {
    display: flex;
  }
  .hero-content {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    white-space: normal;
    text-align: left;
    margin-bottom: 100px;
  }
  .hero-desc {
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    white-space: normal;
    margin-bottom: 100px;
  }
  .hero-text {
    order: 1;
  }
  .hero-visual {
    order: 0;
    margin-bottom: 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .features-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .features-wrapper {
    grid-template-columns: 1fr;
  }
  .panel-glow {
    display: none;
  }
}

.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;
}
