@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
  /* Core Colors */
  --primary-blue: #1E40AF;
  --emerald: #10B981;
  --deep-space: #0B1530;
  --pure-white: #FFFFFF;
  --teal: #2DD4BF;
  --mint: #5EEAD4;
  --saturn-blue: #3B92A8;
  --frost: #D7DCEA;

  /* Text Colors */
  --text-main: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  /* Gradients */
  --horizon-grad: linear-gradient(135deg, var(--primary-blue), var(--teal));
  --deep-current-grad: linear-gradient(135deg, var(--deep-space), var(--primary-blue), var(--saturn-blue));
  --growth-grad: linear-gradient(135deg, var(--emerald), var(--teal), var(--mint));

  /* UI Tokens */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--frost);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-space);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--horizon-grad);
  color: var(--pure-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.05);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 72px;
  width: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 160px 0 100px;
  background-color: var(--deep-space);
  color: var(--pure-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(11, 21, 48, 0.7) 0%, rgba(11, 21, 48, 0.2) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: var(--pure-white);
  font-size: 64px;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Trust Section */
.trust {
  background: var(--pure-white);
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--growth-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
}

.trust-text h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.trust-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--frost);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.feature-card .badge {
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-link:hover {
  color: var(--teal);
}

/* Call to Action */
.cta {
  background: var(--deep-current-grad);
  padding: 100px 0;
  text-align: center;
  color: var(--pure-white);
}

.cta h2 {
  color: var(--pure-white);
  font-size: 48px;
  margin-bottom: 24px;
}

.cta p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--pure-white);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col h5 {
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Contact Page */
.contact-page {
  padding: 160px 0 100px;
  background: var(--frost);
  min-height: 80vh;
}

.contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-header h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: rgba(30, 64, 175, 0.05);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 16px;
}

.contact-card a {
  color: var(--primary-blue);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--teal);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .logo img {
    height: 48px;
  }

  .nav-container {
    height: 64px;
  }

  .trust-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .nav-actions {
    display: none;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .feature-card {
    padding: 24px;
  }
}