/* YEBO Landing Page Styles */

/* CSS Variables for Brand Colors */
:root {
  --yebo-blue: #1E40AF;
  --yebo-yellow: #F0C345;
  --yebo-green: #10B981;
  --yebo-white: #FFFFFF;
  --yebo-black: #000000;
  --yebo-light-gray: #F3F4F6;
  --yebo-dark-gray: #1F2937;
  --yebo-border-gray: #E5E7EB;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Poppins', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--yebo-dark-gray);
  background: var(--yebo-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--yebo-blue);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

a {
  color: var(--yebo-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--yebo-yellow);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  background: var(--yebo-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--yebo-blue);
}

.logo-y {
  color: var(--yebo-yellow);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--yebo-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--yebo-yellow);
  color: var(--yebo-blue);
}

.btn-primary:hover {
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

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

.btn-secondary:hover {
  background: var(--yebo-blue);
  color: var(--yebo-white);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--yebo-blue) 0%, #3B82F6 100%);
  color: var(--yebo-white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--yebo-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .highlight {
  color: var(--yebo-yellow);
  font-weight: 800;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-badge {
  margin-top: 2rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--yebo-blue);
}

.section-gray {
  background: var(--yebo-light-gray);
}

.section-blue {
  background: linear-gradient(135deg, var(--yebo-blue) 0%, #3B82F6 100%);
  color: var(--yebo-white);
}

.section-blue h2,
.section-blue h3 {
  color: var(--yebo-white);
}

.section-blue p {
  color: var(--yebo-white);
  opacity: 0.95;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
  background: var(--yebo-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

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

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--yebo-blue);
}

.card p {
  font-size: 1.125rem;
  color: var(--yebo-dark-gray);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: var(--yebo-yellow);
  color: var(--yebo-blue);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 3rem;
  margin-bottom: 1rem;
}

.step-icon {
  font-size: 3rem;
  color: var(--yebo-blue);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial {
  background: var(--yebo-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--yebo-dark-gray);
}

.testimonial-author {
  font-weight: 700;
  color: var(--yebo-blue);
}

.testimonial-location {
  color: #6B7280;
  font-size: 1rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--yebo-yellow);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--yebo-white);
  opacity: 0.9;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--yebo-white);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--yebo-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--yebo-light-gray);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: var(--yebo-yellow);
  color: var(--yebo-blue);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--yebo-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--yebo-blue);
}

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

.qr-code {
  width: 200px;
  height: 200px;
  background: var(--yebo-white);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--yebo-dark-gray);
  padding: 1rem;
}

/* Footer */
.footer {
  background: var(--yebo-blue);
  color: var(--yebo-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--yebo-yellow);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--yebo-white);
  opacity: 0.9;
  font-size: 1rem;
}

.footer-section a:hover {
  color: var(--yebo-yellow);
  opacity: 1;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--yebo-yellow);
  color: var(--yebo-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--yebo-white);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 3rem;
  color: var(--yebo-blue);
  margin-bottom: 1rem;
}

.contact-badge {
  display: inline-block;
  background: var(--yebo-yellow);
  color: var(--yebo-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--yebo-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

.pulse {
  animation: pulse 2s infinite;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.checkmark {
  color: var(--yebo-green);
  font-weight: 700;
}
