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

:root {
  --color-primary: #00f5ff;
  --color-primary-dark: #00d1d9;
  --color-secondary: #0f172a;
  --color-accent: #7c3aed;
  --color-accent-light: #8b5cf6;
  --color-text: #f8fafc;
  --color-text-dark: #0f172a;
  --color-text-muted: #a1a1aa;
  --color-bg: #020617;
  --color-bg-alt: #0f172a;
  --color-glass: rgba(15, 23, 42, 0.7);
  --color-glass-border: rgba(0, 245, 255, 0.2);
  
  --font-family: 'Space Grotesk', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
  --shadow-neon: 0 0 15px rgba(0, 245, 255, 0.3);
  
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: break-word;
  hyphens: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
  font-size: 1rem;
  min-height: 44px;
  min-width: 44px;
}

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

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

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: rgba(0, 245, 255, 0.1);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.btn-accent:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
}

.glass-card {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition-base);
}

.glass-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px);
}

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

.neon-border {
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-neon);
}

.section-padding {
  padding: var(--space-2xl) 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-lg);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-glass-border);
  height: 80px;
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

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

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

.nav-link:hover {
  color: var(--color-primary);
}

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

.nav-link.active {
  color: var(--color-primary);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.footer {
  background-color: var(--color-bg-alt);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-glass-border);
}

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

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: var(--space-sm);
  display: block;
  color: var(--color-text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.text-disabled {
  color: var(--color-text-muted) !important;
  opacity: 0.6;
}

/* Note: var(--color-text-muted) is #a1a1aa. 
   On #0f172a, contrast is 7.4:1. 
   With 0.6 opacity, it's roughly #6b7787. 
   Contrast of #6b7787 on #0f172a is ~3.7:1.
   Wait, if it's disabled text, sometimes lower contrast is accepted, 
   but the prompt says "FIX all HTML, CSS...".
   I will use 0.8 opacity to stay above 4.5:1 if possible, 
   or just no opacity. Let's use no opacity and a specific color.
*/
.text-disabled {
  color: #94a3b8 !important; /* slate-400: 6.1:1 on slate-900 */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-bg) 30%, transparent 100%);
  z-index: 1;
}

.input-group {
  margin-bottom: var(--space-md);
}

.input-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-text);
}

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

.input-field:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.2);
}

.error-message {
  color: #ff4d4d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-alt);
  border-top: 2px solid var(--color-primary);
  padding: var(--space-md);
  z-index: 2000;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.3);
}

.cookie-content {
  max-width: 800px;
}

.faq-item {
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255,255,255,0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  border: none;
  color: var(--color-text);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background: transparent;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  padding: var(--space-md);
  max-height: 500px;
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-2xl);
    transition: var(--transition-base);
    overflow-y: auto;
  }

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

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-overlay {
    background: rgba(2, 6, 23, 0.7);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.broken-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.broken-grid-item-1 {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.broken-grid-item-2 {
  grid-column: 7 / 13;
  grid-row: 2 / 4;
}

@media (max-width: 768px) {
  .broken-grid {
    display: block;
  }
  .broken-grid-item-1, .broken-grid-item-2 {
    margin-bottom: var(--space-lg);
  }
}
