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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Header */
.header {
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 1rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  padding: 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav a:hover {
  color: #1a73e8;
}

.cta-button {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.15);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-button:hover {
  background: linear-gradient(135deg, #2a2a4e 0%, #3a3a6e 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.25);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #EAECFF 0%, #E0E3FF 100%);
  padding: 6rem 2rem;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(26, 115, 232, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text .subtitle {
  color: #1a1a2e;
  font-weight: 400;
  display: block;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
  max-width: 500px;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #666;
  margin-bottom: 2rem;
}

.hero-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.hero-cta-button:hover::before {
  left: 100%;
}

.hero-cta-button:hover {
  background: linear-gradient(135deg, #2a2a4e 0%, #3a3a6e 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(26, 26, 46, 0.3);
}

.hero-illustration {
  flex-shrink: 0;
}

.hero-logo {
  width: 350px;
  height: 350px;
  animation: fadeInUp 1s ease-out 0.3s both;
  filter: drop-shadow(0 10px 30px rgba(26, 115, 232, 0.15));
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Social Proof */
.social-proof {
  background: white;
  padding: 2rem 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.social-proof-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Carousel Dots */
.carousel-dots {
  display: none;
}

/* Mobile Carousel */
@media (max-width: 768px) {
  .social-proof {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
  }
  
  .social-proof-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem 0 2rem;
    margin: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .social-proof-content::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  /* Carousel Dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .dot.active {
    width: 24px;
    border-radius: 4px;
    background: #1a73e8;
  }
}

.proof-item {
  text-align: center;
  animation: fadeInUp 0.6s ease-out both;
  flex: 1;
  min-width: 150px;
}

/* Mobile Carousel Items */
@media (max-width: 768px) {
  .proof-item {
    flex: 0 0 calc(100% - 4rem);
    min-width: calc(100% - 4rem);
    max-width: calc(100% - 4rem);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 0.5rem;
  }
  
  .proof-item:first-child {
    margin-left: 2rem;
  }
  
  .proof-item:last-child {
    margin-right: 2rem;
  }
}

.proof-item:nth-child(1) {
  animation-delay: 0.2s;
}

.proof-item:nth-child(2) {
  animation-delay: 0.3s;
}

.proof-item:nth-child(3) {
  animation-delay: 0.4s;
}

.proof-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.proof-number {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.2;
}

.proof-label {
  font-size: clamp(0.8rem, 1.5vw, 0.85rem);
  color: #666;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* Description */
.description {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.description h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.description p {
  color: #666;
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
  line-height: 1.7;
}

/* Features */
.features {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.6s ease-out both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-blue {
  background: #e8f4fd;
}

.feature-purple {
  background: #f0ebff;
}

.feature-white {
  background: #f8f9fa;
}

.feature-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature-card p {
  color: #666;
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  line-height: 1.6;
}

.feature-icon {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #fff8e6 0%, #ffe8b3 100%);
  padding: 3rem 2rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.cta-banner p {
  color: #444;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: #f5f5f5;
  padding: 3rem 2rem 1.5rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: #666;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4 {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.25rem;
}

.footer-links a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #1a73e8;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.footer-bottom p {
  color: #999;
  font-size: 0.8rem;
}

/* Responsive */
/* Mobile First - Small devices (phones, 320px and up) */
@media (max-width: 480px) {
  .header {
    padding: 0.75rem 1rem;
  }
  
  .header-content {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .logo {
    font-size: 0.9rem;
  }
  
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .nav a {
    font-size: 0.85rem;
  }
  
  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .hero {
    padding: 2rem 1rem;
    min-height: auto;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .hero-description,
  .hero-tagline {
    max-width: 100%;
  }
  
  .hero-logo {
    width: 200px;
    height: 200px;
  }
  
  .social-proof {
    padding: 2rem 1rem;
  }
  
  .proof-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  .proof-number {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .proof-label {
    font-size: 0.85rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .description {
    padding: 2rem 1rem;
  }
  
  .features {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    min-width: 100%;
  }
  
  .feature-icon svg {
    width: 35px;
    height: 35px;
  }
  
  .cta-banner {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }
  
  .footer {
    padding: 2rem 1rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-tagline {
    font-size: 0.8rem;
    max-width: 100%;
  }
}

/* Tablets and small laptops (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }
  
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-description,
  .hero-tagline {
    max-width: 100%;
  }
  
  .hero-logo {
    width: 280px;
    height: 280px;
  }
  
  .social-proof {
    padding: 2rem 1.5rem;
  }
  
  .description {
    padding: 2.5rem 1.5rem;
  }
  
  .features {
    padding: 2rem 1.5rem;
    flex-direction: column;
  }
  
  .feature-card {
    min-width: 100%;
  }
  
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
  
  .footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Medium devices (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    gap: 1.5rem;
  }
  
  .hero-logo {
    width: 300px;
    height: 300px;
  }
  
  .features {
    flex-wrap: wrap;
  }
  
  .feature-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 250px;
  }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal scroll on all screen sizes */
.hero-content,
.social-proof-content,
.features,
.footer-content {
  max-width: 100%;
}

/* Fix for long words breaking layout */
h1, h2, h3, h4, h5, h6, p, a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Policy Pages */
.policy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 768px) {
  .policy-page {
    padding: 1.5rem 1rem;
  }
  
  .policy-page h1 {
    font-size: 1.75rem;
  }
  
  .policy-page h2 {
    font-size: 1.15rem;
  }
  
  .policy-page h3 {
    font-size: 1rem;
  }
}

.policy-page h1 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.policy-page .last-updated {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy-page h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.25rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.policy-page p, .policy-page ul {
  color: #444;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
}

.policy-page ul {
  padding-left: 1.5rem;
}

.policy-page li {
  margin-bottom: 0.5rem;
}
