:root {
  --bg: #0b0f14;
  --bg-alt: #0f1419;
  --bg-light: #1a1f27;
  --text: #e6eef6;
  --text-muted: #a0aab4;
  --accent: #00d2ff;
  --accent-hover: #00e5ff;
  --success: #4caf50;
  --error: #f44336;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 8px 32px rgba(0,210,255,0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(11,15,20,0.95), rgba(11,15,20,0.8));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent), #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(0,210,255,0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Language Selector */
.lang-selector {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}

.lang-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
}

.lang-link:hover,
.lang-link.active {
  color: var(--accent);
  background: rgba(0,210,255,0.1);
}

/* Hero Section */
.hero {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,210,255,0.03), rgba(0,210,255,0.01));
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.hero h1 {
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .cta {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,210,255,0.1), transparent);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card:hover::before {
  left: 100%;
}

.card h3 {
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Call-to-Action Button */
.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #00e5ff);
  color: #041019;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,210,255,0.3);
}

.cta:active {
  transform: scale(0.98);
}

/* Forms */
.form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

input[type=text],
input[type=email],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,210,255,0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Hidden honeypot field */
input[name=website] {
  display: none;
}

/* Messages */
.success {
  background: rgba(76,175,80,0.15);
  border-left: 4px solid var(--success);
  color: #90ee90;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.error {
  background: rgba(244,67,54,0.15);
  border-left: 4px solid var(--error);
  color: #ff6b6b;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(0,210,255,0.02), transparent);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-left {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-right {
  text-align: right;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
  margin-left: 1rem;
}

.site-footer a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Utility Classes */
.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    gap: 1rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .lang-selector {
    gap: 0.25rem;
  }

  .lang-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 1.5rem;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .site-footer a {
    margin: 0 0.5rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .container {
    padding: 1rem;
  }
}
