/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary: #0071e3;
  --primary-light: #0091ff;
  --primary-dark: #0058b3;
  --secondary: #2c2c2e;
  --accent: #f56300;
  --success: #34c759;
  --warning: #ffcc00;
  --error: #ff3b30;
  --neutral-100: #f5f5f7;
  --neutral-200: #e5e5ea;
  --neutral-300: #d1d1d6;
  --neutral-400: #a0a0a5;
  --neutral-500: #8e8e93;
  --neutral-600: #636366;
  --neutral-700: #48484a;
  --neutral-800: #2c2c2e;
  --neutral-900: #1c1c1e;
  
  /* Spacing */
  --space-2: 0.125rem; /* 2px */
  --space-4: 0.25rem;  /* 4px */
  --space-8: 0.5rem;   /* 8px */
  --space-12: 0.75rem; /* 12px */
  --space-16: 1rem;    /* 16px */
  --space-24: 1.5rem;  /* 24px */
  --space-32: 2rem;    /* 32px */
  --space-40: 2.5rem;  /* 40px */
  --space-48: 3rem;    /* 48px */
  --space-64: 4rem;    /* 64px */
  --space-80: 5rem;    /* 80px */
  --space-96: 6rem;    /* 96px */
  --space-128: 8rem;   /* 128px */
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-heading: 'Epilogue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --line-height-body: 1.5;
  --line-height-heading: 1.2;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-body);
  color: var(--neutral-900);
  background-color: var(--neutral-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-16);
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-12) var(--space-24);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(0, 113, 227, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  line-height: var(--line-height-heading);
  font-weight: 500;
  margin-bottom: var(--space-16);
  color: var(--neutral-900);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.75rem;
}

h3 {
  font-size: 2.75rem;
}

p {
  margin-bottom: var(--space-16);
}

/* Section Styles */
section {
  padding: var(--space-80) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-48);
}

.section-title h2 {
  margin-bottom: var(--space-16);
}

.section-title p {
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-16) var(--space-16);
}

.logo {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: var(--space-24);
}

.nav-menu a {
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-900);
  z-index: 1001;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--space-80) + 60px); /* Account for fixed header */
  padding-bottom: var(--space-80);
  background-color: white;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-32);
}

.hero-content {
  flex: 1;
}

.hero-tagline {
  font-family: var(--font-family-heading);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-16);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--space-16);
}

.hero-subtitle {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  color: var(--neutral-700);
  margin-bottom: var(--space-24);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0);
}

/* Features Section */
.features {
  background-color: var(--neutral-100);
  padding: var(--space-96) 0;
}

.features-container {
  display: flex;
  align-items: center;
  gap: var(--space-48);
}

.features-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 90%;
}

.features-content {
  flex: 1;
}

.feature-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.feature-item {
  display: flex;
  gap: var(--space-16);
}

.feature-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 113, 227, 0.1);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
}

.feature-item-content p {
  color: var(--neutral-600);
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  position: relative;
  padding: var(--space-96) 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/3184430/pexels-photo-3184430.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: var(--space-24);
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: var(--space-32);
  opacity: 0.9;
}

/* Testimonial Section */
.testimonials {
  background-color: white;
  padding: var(--space-96) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  padding: var(--space-40);
  border-radius: 16px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--neutral-800);
  position: relative;
  padding: 0 var(--space-24);
  margin-bottom: var(--space-32);
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  opacity: 0.3;
}

.testimonial-quote::before {
  top: -20px;
  left: 0;
}

.testimonial-quote::after {
  bottom: -40px;
  right: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-16);
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-name {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.testimonial-author-position {
  color: var(--neutral-600);
  margin-bottom: var(--space-16);
}

.testimonial-rating {
  color: var(--warning);
  font-size: 1.5rem;
  display: flex;
  gap: 4px;
  justify-content: center;
}

/* Partners Section */
.partners {
  background-color: var(--neutral-100);
  padding: var(--space-80) 0;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-48);
}

.partner-logo {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Footer */
footer {
  background-color: var(--neutral-900);
  color: var(--neutral-100);
  padding: var(--space-64) 0 var(--space-32);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-32);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  grid-column: 1;
  margin-bottom: var(--space-32);
}

.footer-columns {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
}

.footer-brand h3 {
  color: white;
  margin-bottom: var(--space-16);
}

.footer-brand p {
  color: var(--neutral-400);
  margin-bottom: var(--space-24);
}

.footer-column h4 {
  color: white;
  margin-bottom: var(--space-16);
  font-size: 1.125rem;
}

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

.footer-links li {
  margin-bottom: var(--space-8);
}

.footer-links a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: var(--space-48);
  padding-top: var(--space-24);
  border-top: 1px solid var(--neutral-700);
  text-align: center;
  color: var(--neutral-500);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-16);
}

.social-links a {
  color: var(--neutral-400);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .features-container {
    flex-direction: column;
  }
  
  .features-image {
    order: -1;
    margin-bottom: var(--space-32);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }
  
  .footer-brand {
    grid-column: 1;
    text-align: left;
  }
  
  .footer-columns {
    grid-column: 1;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  h3 {
    font-size: 2rem;
  }
  
  section {
    padding: var(--space-64) 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-24);
    transition: right 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 0 0 var(--space-16) 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: var(--space-8) var(--space-16);
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: -1;
  }
  
  .hero-image {
    margin-top: var(--space-32);
  }
  
  .cta h2 {
    font-size: 2rem;
  }
  
  .testimonial-quote {
    font-size: 1.25rem;
  }
  
  .partners-logos {
    gap: var(--space-24);
  }
  
  .partner-logo {
    width: 120px;
    height: 60px;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: left;
    gap: var(--space-32);
  }

  .footer-column {
    text-align: left;
  }

  .footer-links {
    text-align: left;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    padding: 0 var(--space-16);
  }

  .testimonial-card {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .testimonial-card {
    padding: var(--space-24);
  }
}