:root {
  --primary-blue: #0a2463;
  --secondary-blue: #1e4d8b;
  --accent-blue: #3e7cb1;
  --light-blue: #5da2d5;
  --ocean-gradient-start: #0f3460;
  --ocean-gradient-end: #16537e;
  --text-dark: #1a1a2e;
  --text-light: #f5f5f5;
  --glass-white: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --spacing-unit: 8px;
  --radius-large: 24px;
  --transition-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--ocean-gradient-start) 0%, var(--ocean-gradient-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Liquid Glass Effect */
.glass {
  background: var(--glass-white);
  backdrop-filter: blur(20px) saturate(180%) brightness(110%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(110%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-large);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px) saturate(200%) brightness(115%);
  -webkit-backdrop-filter: blur(25px) saturate(200%) brightness(115%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-large);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  transition: all 0.3s var(--transition-smooth);
}

nav.scrolled {
  background: rgba(10, 36, 99, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
  transition: transform 0.3s var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
  border-radius: var(--radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
  border-radius: var(--radius-large);
  transition: all 0.3s var(--transition-smooth);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--glass-white);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--spacing-unit) * 15) calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 10);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--light-blue) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

.hero-content {
  max-width: 900px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: calc(var(--spacing-unit) * 3);
  line-height: 1.2;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: calc(var(--spacing-unit) * 5);
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  border-radius: var(--radius-large);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
  color: white;
  box-shadow: 0 8px 24px rgba(61, 124, 177, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(61, 124, 177, 0.5);
}

.btn-secondary {
  background: var(--glass-white);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 4);
}

.section {
  margin-bottom: calc(var(--spacing-unit) * 15);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 6);
}

.feature-card {
  padding: calc(var(--spacing-unit) * 4);
  transition: all 0.3s var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--light-blue));
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
  border-radius: var(--radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: calc(var(--spacing-unit) * 3);
  box-shadow: 0 8px 24px rgba(61, 124, 177, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 6);
}

.stat-card {
  text-align: center;
  padding: calc(var(--spacing-unit) * 4);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--light-blue);
  display: block;
  margin-bottom: calc(var(--spacing-unit) * 1);
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* Content Section */
.content-section {
  padding: calc(var(--spacing-unit) * 6);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.content-section h2 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.content-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  font-size: 1.05rem;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section li {
  color: rgba(255, 255, 255, 0.85);
  padding: calc(var(--spacing-unit) * 1.5) 0;
  padding-left: calc(var(--spacing-unit) * 4);
  position: relative;
  line-height: 1.8;
}

.content-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--light-blue);
  font-weight: bold;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 6);
}

.form-group {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-group label {
  display: block;
  color: var(--text-light);
  margin-bottom: calc(var(--spacing-unit) * 1);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: calc(var(--spacing-unit) * 2);
  border-radius: var(--radius-large);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(93, 162, 213, 0.2);
}

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

/* Footer */
footer {
  background: rgba(10, 36, 99, 0.95);
  backdrop-filter: blur(20px);
  padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4);
  color: var(--text-light);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 6);
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-section h3 {
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  color: var(--light-blue);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s var(--transition-smooth);
}

.footer-section a:hover {
  color: var(--light-blue);
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-top: calc(var(--spacing-unit) * 4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: calc(var(--spacing-unit) * 2);
  }
  
  .nav-links a {
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
    font-size: 0.9rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s var(--transition-smooth) forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: calc(var(--spacing-unit) * 4);
}

.mb-4 {
  margin-bottom: calc(var(--spacing-unit) * 4);
}
