/* ================================================
   LEGITA - Legalitas Kita, Usaha Kita
   Design System & Styles
   ================================================ */

/* ========== CSS Variables / Design Tokens ========== */
:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-white: #ffffff;
  --color-white-rgb: 255, 255, 255;
  --color-light-gray: #f5f5f5;
  --color-border: #e0e0e0;
  --color-accent-red: #e74c3c;
  --color-accent-gold: #d4af37;
  --color-text-muted: #666666;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========== Dark Mode Variables ========== */
[data-theme='dark'] {
  --color-primary-rgb: 255, 255, 255;
  --color-primary: #f5f5f5;
  --color-white: #0f0f0f;
  --color-white-rgb: 15, 15, 15;
  --color-light-gray: #1a1a1a;
  --color-border: #333333;
  --color-text-muted: #aaaaaa;

  /* Shadows - softer and less opaque in dark mode */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ========== Section Badge ========== */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  color: var(--color-accent-gold);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-normal);
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--color-accent-gold);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--color-white-rgb), 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-image {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
  /* Always white for logo contrast unless transparent */
  border: 2px solid var(--color-accent-gold);
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  display: block;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

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

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-normal);
}

.nav-cta:hover {
  background: var(--color-accent-gold);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========== Theme Toggle ========== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-light-gray);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-normal);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.theme-toggle:hover {
  background: var(--color-border);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.theme-toggle .sun-icon {
  opacity: 0;
  transform: translateY(20px) rotate(90deg);
}

.theme-toggle .moon-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

[data-theme='dark'] .sun-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

[data-theme='dark'] .moon-icon {
  opacity: 0;
  transform: translateY(-20px) rotate(-90deg);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}

.slides-container {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 6s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.slide-content {
  position: relative;
  z-index: 20;
  max-width: 600px;
  color: #ffffff;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.5s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h1 {
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.slide-content h1 span {
  background: linear-gradient(135deg, var(--color-accent-gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.slide-content .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.slide-content .btn-outline:hover {
  background: #ffffff;
  color: #1a1a1a;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 30;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
}

.nav-dot.active {
  background: var(--color-accent-gold);
  width: 32px;
  border-radius: var(--radius-full);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 30;
  transition: var(--transition-normal);
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent-gold);
}

.slider-btn.prev {
  left: var(--space-md);
}

.slider-btn.next {
  right: var(--space-md);
}

/* ========== About Us Section ========== */
.about {
  background: var(--color-white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-accent-gold);
  border-radius: var(--radius-lg);
  transform: translate(-15px, 15px);
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content h2 span {
  color: var(--color-accent-gold);
}

.about-content p {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.about-checklist {
  margin: var(--space-lg) 0;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-primary);
}

.about-checklist li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-accent-gold);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.75rem;
}

/* ========== Section Common ========== */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

/* ========== Services Section ========== */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--color-light-gray);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.service-card:hover {
  background: var(--color-accent-gold);
  color: #1a1a1a;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover p {
  color: rgba(0, 0, 0, 0.7);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 2rem;
  transition: var(--transition-normal);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

@media (prefers-color-scheme: dark) {
  .service-icon {
    background: #ffffff;
    /* Keep white for icons that might have white backgrounds */
  }
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover .service-icon {
  background: var(--color-white);
  border-color: var(--color-accent-gold);
  transform: scale(1.1);
}

.service-card h4 {
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ========== Pricing Section ========== */
.pricing {
  background: var(--color-light-gray);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  background: var(--color-white);
  padding: var(--space-xs);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-tab {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: var(--transition-fast);
  color: var(--color-primary);
}

.pricing-tab.active {
  background: var(--color-primary);
  color: var(--color-white) !important;
}

.pricing-tab:hover:not(.active) {
  background: var(--color-light-gray);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

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

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

.pricing-card.premium {
  background: var(--color-primary);
  color: var(--color-white);
}

.pricing-card.premium p {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-badge.basic {
  background: var(--color-light-gray);
  color: var(--color-primary);
}

.pricing-badge.professional {
  background: var(--color-primary);
  color: var(--color-white);
}

.pricing-badge.ultimate {
  background: var(--color-accent-gold);
  color: var(--color-primary);
}

.pricing-badge.recommended {
  background: var(--color-accent-gold);
  color: #1a1a1a;
  border: 1px solid var(--color-accent-gold);
}

.pricing-header {
  padding-top: var(--space-xl);
  margin-bottom: var(--space-xs);
}

.pricing-header h3 {
  margin-bottom: var(--space-xs);
}

.pricing-header p {
  font-size: 0.875rem;
}

.pricing-features {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  flex: 1;
}

.pricing-card.premium .pricing-features {
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

.pricing-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-card.premium .pricing-features li::before {
  color: var(--color-accent-gold);
}

.pricing-price {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.pricing-card.premium .pricing-price {
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  display: block;
}

.pricing-price .promo {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-white);
  background: var(--color-accent-gold);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}

.pricing-cta {
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: var(--transition-normal);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  margin-top: auto;
}

.pricing-cta:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.pricing-card.premium .pricing-cta {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.pricing-card.premium .pricing-cta:hover {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

/* ========== FAQ Section ========== */
.faq {
  background: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition-fast);
  color: var(--color-primary);
}

.faq-question:hover {
  color: var(--color-accent-gold);
}

.faq-number {
  color: var(--color-text-muted);
  margin-right: var(--space-sm);
  font-weight: 400;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-md);
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ========== CTA Section ========== */
.cta {
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta h2 {
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.cta .btn-primary {
  background: #ffffff;
  color: #1a1a1a;
}

.cta .btn-primary:hover {
  background: var(--color-accent-gold);
  color: #1a1a1a;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: var(--space-3xl) 0 var(--space-lg);
}

@media (prefers-color-scheme: light) {
  .footer {
    background: #0a0a0a;
    color: var(--color-white);
  }
}

/* Explicitly for light theme data attribute to match original design */
[data-theme='light'] .footer {
  background: #0a0a0a;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand .logo-icon {
  background: var(--color-white);
  color: var(--color-primary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary);
}

.footer-column h4 {
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========== WhatsApp Button ========== */
.whatsapp-btn {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-normal);
  animation: bounce 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ========== Reveal Animation State ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-cards {
    transform: none;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .nav {
    gap: var(--space-sm);
  }

  .slider-btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-3xl);
  }

  .hero-cards {
    display: none;
  }

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

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

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

  .footer-brand .logo {
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ========== Mobile Menu ========== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px var(--space-md) var(--space-md);
  transform: translateX(100%);
  transition: var(--transition-normal);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}