:root {
  /* Colors - World Class Palette */
  --deep-navy: #0a0f1c;
  --midnight: #050811;
  --liquid-gold: #bf953f;
  --soft-gold: #d4af37;
  --dark-gold: #996515;
  --gold-gradient: linear-gradient(
    135deg,
    #bf953f 0%,
    #f5d38b 50%,
    #af852f 100%
  );
  --white: #f8fafc;
  --grey-light: rgba(248, 250, 252, 0.7);
  --grey-dim: rgba(255, 255, 255, 0.1);

  /* Layout */
  --container-max: 1200px;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  background-color: var(--deep-navy);
  color: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family: "Outfit", sans-serif;
}

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

.gold-text {
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* --- NAVIGATION --- */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--liquid-gold);
}

.nav-actions {
  display: flex;
  gap: 15px;
}

/* --- BUTTONS --- */
.btn {
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--deep-navy);
  box-shadow: 0 4px 15px rgba(191, 149, 63, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(191, 149, 63, 0.5);
}

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

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  padding-top: 150px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(191, 149, 63, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(191, 149, 63, 0.1);
  border: 1px solid rgba(191, 149, 63, 0.2);
  border-radius: 50px;
  color: var(--liquid-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 18px;
  color: var(--grey-light);
  margin-bottom: 40px;
  max-width: 550px;
}

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

/* --- TECH CANVAS HERO --- */
.hero-visual {
  position: relative;
  height: 550px;
  overflow: visible;
  perspective: 1500px;
}

.tech-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: var(--midnight);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.hero-branding {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 20;
}

.brand-name {
  font-size: 32px;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  letter-spacing: -1px;
  color: var(--white);
}

.brand-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--grey-light);
  margin-top: 5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s infinite;
}

.ui-cluster {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateX(10deg) rotateY(-10deg);
  transition: 0.5s;
}

.glass-element {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ui-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.2);
}

.floating-data {
  position: absolute;
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 15;
  animation: float 5s ease-in-out infinite;
}

.dns-card {
  top: 15%;
  right: -20px;
  border-right: 4px solid var(--liquid-gold);
}
.lead-card {
  bottom: 15%;
  left: -20px;
  border-left: 4px solid var(--liquid-gold);
}

.data-text small {
  display: block;
  font-size: 10px;
  color: var(--grey-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-text strong {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: var(--white);
}

.icon-gold {
  color: var(--liquid-gold);
  font-size: 20px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* --- PRODUCT SLIDER (FB Section) --- */
.product-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
}

.p-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.p-slide.active {
  opacity: 1;
}

.p-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-slide-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  font-size: 10px;
  font-weight: 700;
  color: var(--liquid-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- PRODUCTS SECTION --- */
.products {
  padding: 120px 0;
  background-color: var(--midnight);
}

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

.section-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.tab-triggers {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.tab-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: var(--deep-navy);
  border-color: var(--liquid-gold);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.features-list {
  list-style: none;
  margin: 25px 0 35px;
}

.features-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glass-mockup {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.glass-mockup img {
  width: 100%;
  display: block;
}

/* --- FOOTER --- */
.main-footer {
  padding: 50px 0 20px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
}

.footer-links a {
  display: block;
  color: var(--grey-light);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: 0.3s;
}

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

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: 0.3s;
  text-decoration: none;
}

.social-icons i {
  font-size: 16px;
  color: var(--grey-light);
}

.social-icons a:hover {
  background: var(--liquid-gold);
  border-color: var(--liquid-gold);
}

.social-icons a:hover i {
  color: var(--deep-navy);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--grey-dim);
  font-size: 12px;
  color: var(--grey-dim);
}

/* --- ANIMATIONS --- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateX(5deg);
  }
  50% {
    transform: translateY(-20px) rotateX(-5deg);
  }
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 17, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: var(--deep-navy);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.video-card {
  max-width: 800px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}

.close-btn:hover {
  opacity: 1;
}

.lead-form {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lead-form input,
.lead-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
}

.full-width {
  width: 100%;
}

.cta-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.video-placeholder {
  text-align: center;
  color: var(--grey-light);
}

.icon-large {
  font-size: 50px;
  margin-bottom: 15px;
}

/* --- LOGIN MODAL REFINEMENT --- */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.icon-field {
  position: absolute;
  left: 15px;
  color: var(--liquid-gold);
  font-size: 14px;
  opacity: 0.7;
}

.input-group input {
  padding-left: 45px !important;
  width: 100%;
}

.login-footer {
  text-align: center;
  margin-top: 15px;
}

.login-footer a {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- SERVICES SECTION --- */
.services {
  padding: 120px 0;
  background: var(--deep-navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 20px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--liquid-gold);
  background: rgba(191, 149, 63, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.service-icon {
  font-size: 32px;
  color: var(--liquid-gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(191, 149, 63, 0.4));
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.6;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 120px 0;
  background: var(--midnight);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.glass-orb-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.glass-orb {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(191, 149, 63, 0.15) 0%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: 1;
}

.about-img {
  width: 100%;
  max-width: 450px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-text p {
  font-size: 16px;
  color: var(--grey-light);
  margin-bottom: 40px;
  max-width: 600px;
}

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

.stat-item {
  border-left: 2px solid var(--liquid-gold);
  padding-left: 25px;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  font-family: "Outfit", sans-serif;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--grey-dim);
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- COMPACT MODERN CONTACT --- */
.contact {
  padding: 80px 0;
  background: var(--deep-navy);
}

.contact-compact-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  padding: 60px;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.contact-header-minimal h2 {
  font-size: 36px;
  margin: 15px 0 10px;
}

.contact-header-minimal p {
  color: var(--grey-light);
  font-size: 14px;
  margin-bottom: 40px;
}

.contact-methods-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hub-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 20px;
  transition: 0.3s;
}

.hub-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hub-item i {
  font-size: 24px;
  color: var(--liquid-gold);
  opacity: 0.8;
}

.hub-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hub-text small {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--grey-light);
  letter-spacing: 2px;
}

.hub-text span {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

.contact-footer-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-footer-actions .btn {
  min-width: 220px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-content,
  .product-grid,
  .about-container,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    display: none;
  }
  .hero-text h1 {
    font-size: 42px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .cta-group,
  .cta-row {
    justify-content: center;
  }
  .features-list li {
    justify-content: center;
  }
  .about-image {
    order: 2;
  }
  .about-text {
    order: 1;
  }
  .stats-grid {
    justify-items: center;
  }
  .about-text p {
    margin: 0 auto 40px;
  }
  .contact-methods-hub {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .contact-compact-wrapper {
    padding: 30px;
  }
  .contact-footer-actions {
    flex-direction: column;
  }
}
