/* ============================================================================
   YAKKAI HOMEPAGE STYLES
   Modern, Professional, Mobile-First Design
============================================================================ */

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

:root {
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --success: #27ae60;
  --dark: #2c3e50;
  --gray: #7f8c8d;
  --light-gray: #ecf0f1;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================================
   NAVIGATION
============================================================================ */

.navbar {
  background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:not(.disabled):hover {
  color: #3498db;
}

.nav-links a:not(.disabled)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: width 0.3s ease;
}

.nav-links a:not(.disabled):hover::after {
  width: 100%;
}

.nav-links a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================================
   HERO SECTION
============================================================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

/* ============================================================================
   BUTTONS
============================================================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-disabled {
  background: var(--light-gray);
  color: var(--gray);
  cursor: not-allowed;
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

/* ============================================================================
   SERVICES SECTION
============================================================================ */

.services {
  padding: 100px 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card.active {
  border-color: var(--success);
}

.service-card.active:hover {
  box-shadow: 0 12px 32px rgba(39, 174, 96, 0.3);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gray);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.live {
  background: var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
  }
}

.icon {
  font-size: 72px;
  margin-bottom: 24px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--dark);
  font-weight: 700;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 15px;
}

.features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.features li {
  padding: 8px 0;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
}

/* ============================================================================
   ABOUT SECTION
============================================================================ */

.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  text-align: center;
  padding: 30px 20px;
}

.about-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.about-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 700;
}

.about-card p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 14px;
}

/* ============================================================================
   CTA SECTION
============================================================================ */

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* ============================================================================
   FOOTER
============================================================================ */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-section p {
  color: var(--light-gray);
  opacity: 0.9;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0.9;
}

.footer-section ul li a:hover {
  color: #3498db;
  opacity: 1;
}

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

.footer-bottom p {
  color: var(--light-gray);
  opacity: 0.8;
  font-size: 14px;
}

/* ============================================================================
   RESPONSIVE DESIGN
============================================================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .nav-links {
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .features {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .services {
    padding: 60px 0;
  }

  .about {
    padding: 60px 0;
  }

  .logo h1 {
    font-size: 22px;
  }

  .nav-links a {
    font-size: 14px;
  }
}
