@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Inter:wght@300;400;600;800&display=swap');

:root {
  /* Cyberpunk Colors */
  --bg-color: #07080a;
  --bg-gradient: radial-gradient(circle at top left, #121520, #07080a 70%);
  --text-primary: #e0e6ed;
  --text-secondary: #8c96a8;
  --accent-primary: #00FF41; /* Neon Green */
  --accent-secondary: #FF007F; /* Magenta */
  --accent-gradient: linear-gradient(135deg, #00FF41, #FF007F);
  
  --glass-bg: rgba(0, 255, 65, 0.02);
  --glass-border: rgba(0, 255, 65, 0.15);
  --glass-highlight: rgba(0, 255, 65, 0.08);
  
  /* Dimensions */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--bg-gradient);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background Grid (Cyberpunk style) */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -2;
}

body::after {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: var(--accent-primary);
  filter: blur(200px);
  z-index: -1;
  opacity: 0.07;
}

.bg-glow-right {
  position: absolute;
  bottom: 10%; right: -20%;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: var(--accent-secondary);
  filter: blur(200px);
  z-index: -1;
  opacity: 0.05;
}

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

a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.code-font {
  font-family: 'Fira Code', monospace;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(7, 8, 10, 0.85);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
  text-transform: uppercase;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: 4px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent-primary);
  color: #000;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: 'Fira Code', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-primary);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
  background: #00ff55;
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.6);
  color: #000;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-secondary:hover {
  background: rgba(255, 0, 127, 0.1);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
  color: var(--accent-secondary);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-container {
  position: relative;
  perspective: 1000px;
}

.hero-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 65, 0.2);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform var(--transition-normal);
  border: 2px solid rgba(0, 255, 65, 0.3);
}

.hero-image-container:hover .hero-image {
  transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 255, 65, 0.4);
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

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

.feature-card {
  background: rgba(10, 15, 20, 0.6);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent-primary);
  transition: height 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 255, 65, 0.05);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 50px;
  height: 50px;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Fira Code', monospace;
}

/* Footer */
footer {
  background: #040507;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: 'Fira Code', monospace;
  color: var(--text-primary);
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: 'Fira Code', monospace;
}

/* Content Pages */
.content-section {
  padding: 4rem 0;
}

.content-box {
  background: rgba(10, 15, 20, 0.8);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-box h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-primary);
}

.content-box h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
  padding-bottom: 0.5rem;
}

.content-box h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: var(--text-primary);
}

.content-box p {
  margin-bottom: 1.5rem;
}

.content-box ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.content-box li {
  margin-bottom: 0.5rem;
  position: relative;
}

.content-box li::before {
  content: '>';
  color: var(--accent-secondary);
  position: absolute;
  left: -1rem;
  font-family: 'Fira Code', monospace;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 2.5rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-right {
    position: fixed;
    top: 0; right: -100%;
    width: 250px; height: 100vh;
    background: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 6rem 2rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--accent-primary);
  }
  .nav-right.active {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .content-box {
    padding: 1.5rem;
  }
}
