:root {
  --navy: #0a1628;
  --navy-light: #12243e;
  --cyan: #00b4ff;
  --cyan-bright: #33c7ff;
  --blue: #0066ff;
  --purple: #6c5ce7;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --text: #e8eef7;
  --text-muted: #a8b8d0;
  --card-bg: rgba(18, 36, 62, 0.7);
  --glass: rgba(255, 255, 255, 0.05);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--cyan-bright);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 180, 255, 0.1);
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: white;
}

.logo img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.hero-image, .content-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  margin: 40px 0;
}

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

.location-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.location-card h3 {
  color: var(--cyan);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}

.legal-content h2 {
  color: white;
  margin: 40px 0 16px;
  font-size: 1.6rem;
}

.legal-content p, .legal-content li {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

/* Enhanced Mobile */
@media (max-width: 900px) {
  .logo img {
    height: 42px;
    max-width: 180px;
  }
  nav {
    height: 70px;
  }
  .hero {
    padding-top: 70px;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero-content {
    text-align: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .section-subtitle {
    margin-bottom: 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform 0.4s;
    border-bottom: 1px solid rgba(0, 180, 255, 0.1);
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .card {
    padding: 24px;
  }
  section {
    padding: 70px 0;
  }
  .cta {
    padding: 50px 20px;
  }
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 8px;
  background: var(--glass);
  padding: 4px;
  border-radius: 30px;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.lang-switch button.active,
.lang-switch button:hover {
  background: var(--cyan);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(ellipse at 70% 20%, rgba(0, 180, 255, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 30% 80%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
              var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.08), transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
}

.hero-content {
  max-width: 720px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 180, 255, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 180, 255, 0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--cyan);
  color: var(--navy);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 180, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: var(--shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: white;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Advantages */
.advantages {
  background: linear-gradient(180deg, transparent, rgba(0, 180, 255, 0.03), transparent);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--navy-light), #0d1f38);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 255, 0.15);
}

.cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Contact form */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: var(--glass);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
footer {
  background: #070f1c;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 180, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Page specific */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 180, 255, 0.12) 0%, transparent 60%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-content img {
    max-height: 280px;
    order: -1;
  }
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pillar {
  background: var(--glass);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 180, 255, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s;
    border-bottom: 1px solid rgba(0, 180, 255, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
