/* ====================================
   KAISY - Professional Vitrine CSS
   ==================================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #10b981;
  --accent: #f59e0b;
  --dark: #1f2937;
  --light: #f9fafb;
  --gray: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 13px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================
   Base Styles
   ==================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

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

/* ====================================
   Header & Navigation
   ==================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.site-header .container {
  padding: 0 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background: white;
  border-top: 1px solid var(--border);
  animation: slideDown 0.3s ease-out;
}

.nav-mobile.active {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ====================================
   Buttons
   ==================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

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

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

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

.btn-white:hover {
  background: transparent;
  color: white;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ====================================
   Hero Section
   ==================================== */

.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badges i {
  color: var(--secondary);
}

.hero-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* ====================================
   Animations
   ==================================== */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
}

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

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

.animate-pulse-2s {
  animation: pulse 2s infinite;
}

/* ====================================
   Features Section
   ==================================== */

.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
}

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

.feature-card {
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.95rem;
}

.feature-list i {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* ====================================
   Benefits Section
   ==================================== */

.benefits {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

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

.benefit-item {
  display: flex;
  gap: 25px;
  animation: fadeInUp 0.8s ease-out;
}

.benefit-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  flex-shrink: 0;
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.benefit-item p {
  color: var(--gray);
  line-height: 1.8;
}

/* ====================================
   How It Works Section
   ==================================== */

.how-it-works {
  padding: 100px 0;
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  display: flex;
  justify-content: center;
}

/* ====================================
   Pricing Section
   ==================================== */

.pricing {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

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

.pricing-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--secondary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-badge.featured {
  background: var(--primary);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0;
}

.price-currency {
  font-size: 0.9rem;
  color: var(--gray);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-description {
  color: var(--gray);
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray);
}

.pricing-features i {
  color: var(--secondary);
}

.pricing-card .btn-block {
  width: 100%;
}

.pricing-note {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  color: var(--gray);
}

/* ====================================
   Testimonials Section
   ==================================== */

.testimonials {
  padding: 100px 0;
  background: white;
}

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

.testimonial-card {
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition);
  animation: fadeInUp 0.8s ease-out;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.testimonial-stars i {
  color: var(--accent);
}

.testimonial-text {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: var(--dark);
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ====================================
   CTA Section
   ==================================== */

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

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* ====================================
   Footer
   ==================================== */

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

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

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: white;
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid,
  .benefits-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .step-arrow {
    transform: rotate(90deg);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card,
  .testimonial-card {
    padding: 25px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 0 30px;
  }

  .features,
  .benefits,
  .how-it-works,
  .pricing,
  .testimonials,
  .cta-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .features-grid,
  .benefits-grid,
  .testimonials-grid {
    gap: 20px;
  }

  .feature-card,
  .testimonial-card {
    padding: 20px;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .pricing-card {
    padding: 25px;
  }

  .price-amount {
    font-size: 2rem;
  }

  .benefit-item {
    gap: 15px;
  }

  .benefit-number {
    font-size: 2.5rem;
  }
}

/* ====================================
   Scrollbar Styling
   ==================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ====================================
   Print Styles
   ==================================== */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .btn {
    display: none;
  }
}
