/* 
   KITIAMA - Premium Pink E-Commerce Design System
   Elegant | Modern | Soft Pink Theme
*/

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Pink Palette - Based on #fc7ab5 */
  --pink-bg: #FEF0F5;
  --pink-bg-light: #FFF7FA;
  --pink-bg-dark: #FEDEE9;
  --pink-accent: #fc7ab5;
  --pink-accent-dark: #e85c9a;
  --pink-button: #fc7ab5;
  --pink-button-hover: #e85c9a;
  --pink-text: #d44d85;

  /* Brand Pink Scale (for gradients) */
  --pink-50: #FFF7FA;
  --pink-100: #FEF0F5;
  --pink-200: #FEDEE9;
  --pink-300: #FDA8CC;
  --pink-400: #fc7ab5;
  --pink-500: #fc7ab5;
  --pink-600: #e85c9a;
  --pink-700: #d44d85;
  --pink-800: #b83d6d;
  --pink-900: #8c2e54;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #2C2C2C;

  /* Primary Colors */
  --primary: var(--pink-500);
  --primary-light: var(--pink-100);
  --primary-dark: var(--pink-700);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--pink-accent) 0%, var(--pink-accent-dark) 100%);
  --gradient-hero: linear-gradient(180deg, var(--pink-bg) 0%, var(--pink-bg-light) 100%);
  --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  --gradient-card: linear-gradient(180deg, var(--white) 0%, var(--pink-bg-light) 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-pink: 0 10px 40px -10px rgba(212, 145, 154, 0.4);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);

  /* Spacing */
  --container-max: 1320px;
  --section-py: clamp(60px, 10vw, 120px);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--gray-600);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.section {
  padding: var(--section-py) 0;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.gap-4 {
  gap: 32px;
}

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

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

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

@keyframes float {

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

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

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

.hover-lift {
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--pink-100);
  color: var(--pink-700);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px -10px rgba(249, 61, 124, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 2px solid var(--gray-200);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ===== HEADER ===== */
.announcement-bar {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  animation: fadeInDown 0.6s var(--ease-out);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--duration-normal) ease;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  transition: transform var(--duration-normal) var(--ease-out);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.main-nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 0;
  transition: color var(--duration-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--duration-normal) var(--ease-out);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) ease;
}

.mobile-toggle:hover {
  background: var(--gray-100);
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  position: relative;
  transition: background var(--duration-fast) ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  left: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 60px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, var(--pink-200) 0%, transparent 60%);
  opacity: 0.4;
  animation: pulse 8s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: slideInLeft 1s var(--ease-out);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pink-600);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--pink-200);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-visual {
  position: relative;
  z-index: 2;
  animation: slideInRight 1s var(--ease-out);
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.hero-image-container:hover img {
  transform: scale(1.05);
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}

.floating-card.top-left {
  top: -20px;
  left: -30px;
}

.floating-card.bottom-right {
  bottom: 30px;
  right: -40px;
  animation-delay: 1s;
}

.floating-icon {
  width: 48px;
  height: 48px;
  background: var(--pink-100);
  color: var(--pink-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--gray-900);
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===== CATEGORIES ===== */
.categories-section {
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
  z-index: 1;
  transition: opacity var(--duration-normal) ease;
}

.category-card:hover::before {
  opacity: 0.8;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(10px);
  transition: transform var(--duration-normal) var(--ease-out);
}

.category-card:hover .category-content {
  transform: translateY(0);
}

.category-content h3 {
  color: var(--white);
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.category-content span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.category-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translateX(20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Grid Spans */
.col-span-6 {
  grid-column: span 6;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-3 {
  grid-column: span 3;
}

.row-span-2 {
  grid-row: span 2;
}

/* ===== PRODUCTS ===== */
.products-section {
  background: var(--gray-50);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.products-header .section-header {
  text-align: left;
  margin-bottom: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--gray-100);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.product-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-fast) ease;
}

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

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-900);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===== HOW IT WORKS ===== */
.steps-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover {
  background: var(--pink-50);
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-pink);
  transition: transform var(--duration-normal) var(--ease-out);
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

.step-card h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features-section {
  background: var(--gradient-dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -50%;
  width: 200%;
  height: 300%;
  background: radial-gradient(circle, var(--pink-800) 0%, transparent 50%);
  opacity: 0.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.feature-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.feature-card h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--pink-50);
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: clamp(40px, 8vw, 80px);
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--pink-100);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--pink-100) 0%, transparent 50%);
  opacity: 0.5;
}

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

.cta-title {
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  padding-right: 48px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo img {
  height: 60px;
  border: 2px solid var(--white);
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all var(--duration-fast) ease;
}

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

.footer-col h5 {
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9375rem;
  padding: 8px 0;
  transition: all var(--duration-fast) ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .categories-grid {
    grid-auto-rows: 240px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
  }

  .col-span-6 {
    grid-column: span 6;
  }

  .col-span-4 {
    grid-column: span 3;
  }

  .col-span-3 {
    grid-column: span 3;
  }

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

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

  .steps-grid::before {
    display: none;
  }

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

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

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

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .col-span-6,
  .col-span-4,
  .col-span-3 {
    grid-column: span 1;
  }

  .row-span-2 {
    grid-row: span 1;
  }

  .products-header {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .products-header .section-header {
    text-align: center;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ===== LEGACY COMPAT ===== */
.page-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
}

.top-bar {
  background: var(--gradient-primary);
  color: white;
  padding: 10px;
  text-align: center;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-toggle {
  display: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.category-card-legacy {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}