/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #f9fafb;
}

/* Utility Classes */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav .nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.nav-brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.logo-circle {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2563eb;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 4px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #2563eb;
}

.btn-download {
  background: transparent;
  color: white;
  border: 4px solid white;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.btn-download:hover {
  background: white;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0891b2 100%);
  color: white;
  text-align: center;
}

.hero-content {
  max-width: none;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-logo-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0;
}

.hero-logo-inline .logo-circle {
  width: 5rem;
  height: 5rem;
  font-size: 2.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-logo-inline h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.025em;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.5rem;
  max-width: none;
  margin: 0 auto 3rem;
  opacity: 0.9;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.hero-buttons .btn {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
  transform: scale(1.05);
}

/* Use Cases Section */
.section {
  padding: 6rem 0;
}

.section-white {
  background: white;
}

.section-blue {
  background: #eff6ff;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: #2563eb;
}

.section-subtitle {
  font-size: 1.5rem;
  text-align: center;
  color: #4b5563;
  margin-bottom: 4rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-cols-4 {
  grid-template-columns: repeat(1, 1fr);
}

.card {
  transition: all 0.3s;
}

.card-image {
  overflow: hidden;
  border-radius: 1rem;
  border: 3px solid #2563eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding-top: 1.5rem;
  text-align: center;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #4b5563;
  line-height: 1.75;
}

.solution-text {
  text-align: center;
  margin-top: 5rem;
}

.solution-text p {
  font-size: 2.25rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.5;
}

.solution-text span {
  font-size: 4.5rem;
  display: block;
  margin-top: 0.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: #4b5563;
  line-height: 1.75;
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: linear-gradient(to right, #2563eb, #0891b2);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
}

.cta-buttons .btn {
  padding: 1.5rem 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #172554;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

footer p {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0.5rem 0;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Privacy Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  margin: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-content h2 {
  color: #1e40af;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
}

.modal-content h3 {
  color: #1e40af;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.modal-content p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.modal-content ul {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.modal-content li {
  margin-bottom: 0.5rem;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.close-btn:hover {
  color: #374151;
}

/* Responsive Design */
@media (max-width: 767px) {
  .problems-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .solution-text span {
    font-size: 5rem;
  }
  
  .cta-title {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .logo-circle {
    width: 3rem;
    height: 3rem;
    font-size: 1.875rem;
  }
  
  .logo-text {
    font-size: 1.875rem;
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-logo .logo-circle {
    width: 10rem;
    height: 10rem;
    font-size: 5rem;
  }
  
  .hero h1 {
    font-size: 6rem;
  }
  
  .hero-subtitle {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .section-subtitle {
    font-size: 1.75rem;
  }
  
  .solution-text p {
    font-size: 3rem;
  }
  
  .solution-text span {
    font-size: 6rem;
  }
  
  .cta-title {
    font-size: 6rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.75rem;
  }
  
  .nav-links a:not(.btn) {
    display: none;
  }
  
  .hero-logo-inline {
    gap: 0.75rem;
    align-items: center;
  }
  
  .hero-logo-inline h1 {
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
  }
  
  .hero-logo-inline .logo-circle {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  .solution-text p {
    font-size: 1.5rem;
  }
  
  .solution-text span {
    font-size: 3rem;
  }
  
  .cta-title {
    font-size: 3rem;
  }
}
