/* CHANGE_FONT_HERE */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Unique Color Palette: Deep Space Neon */
  --bg-dark: #050a14;
  --bg-card: #0a1124;
  --primary: #00f2ea;
  --primary-hover: #00c2bb;
  --secondary: #ff0050;
  --text-main: #ffffff;
  --text-muted: #a0a8c0;
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(10, 17, 36, 0.7);

  --font-main: 'Space Grotesk', sans-serif;
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;

  --shadow-glow: 0 0 20px rgba(0, 242, 234, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-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%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
  background: rgba(0, 242, 234, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 0, 80, 0.1);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Hero Visualization */
.hero-visual {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.visual-card.main-card {
  width: 90%;
  height: 280px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--primary) 180deg, transparent 360deg);
  animation: rotate 10s linear infinite;
  opacity: 0.1;
}

.neural-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.2;
}

.visual-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.4rem 0.8rem;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 150px;
  height: 150px;
  background: var(--primary);
  top: -20px;
  left: -20px;
  opacity: 0.2;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  bottom: -40px;
  right: -20px;
  opacity: 0.15;
  animation-delay: -3s;
}

.stat-bubble {
  position: absolute;
  padding: 1rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.bubble-1 {
  top: 10%;
  left: -5%;
}

.bubble-2 {
  bottom: 10%;
  right: -5%;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Services / Features */
.section {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 234, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--glass);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-section {
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.checkbox-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.875rem;
}

.status-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: none;
}

.status-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.status-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Footer */
.footer {
  background: #020408;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  position: relative;
  border: 1px solid var(--border);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
}

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 400px;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1500;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-popup.show {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .burger {
    display: flex;
    z-index: 10000;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.4s ease;
    z-index: 9999;
    padding: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    font-size: 1.75rem;
    display: block;
    width: 100%;
    padding: 1rem;
    color: var(--text-main);
  }

  /* Burger Animation when active */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .cookie-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* Contact Icons */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Legal Pages Styling */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.legal-content h1 {
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--text-main), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-content h3,
.legal-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.75rem;
}

.legal-content strong {
  color: var(--text-main);
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.legal-content a:hover {
  text-shadow: 0 0 8px var(--primary);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 1.5rem;
  }

  .legal-content h1 {
    font-size: 2rem;
  }
}