/* ==================================================
   M3ALEMI LANDING PAGE — Premium Design System
   ================================================== */

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

:root {
  /* Brand Colors */
  --blue-50: #EBF1FF;
  --blue-100: #D6E4FF;
  --blue-200: #ADC8FF;
  --blue-300: #85ADFF;
  --blue-400: #5C91FF;
  --blue-500: #3478F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;

  --green-400: #34D399;
  --green-500: #10B981;
  --green-600: #059669;

  /* Accent colors for services */
  --orange-500: #F59E0B;
  --purple-500: #8B5CF6;
  --red-500: #EF4444;
  --teal-500: #14B8A6;
  --pink-500: #EC4899;
  --indigo-500: #6366F1;
  --cyan-500: #06B6D4;
  --brown-500: #A16207;
  --yellow-500: #EAB308;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --primary: var(--blue-600);
  --primary-dark: var(--blue-700);
  --primary-light: var(--blue-100);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --bg-white: #FFFFFF;
  --bg-light: var(--gray-50);
  --border-light: var(--gray-200);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.2);
  --shadow-blue-lg: 0 15px 40px rgba(37, 99, 235, 0.3);

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

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-tag-light {
  color: white;
  background: rgba(255,255,255,0.18);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-title-left {
  text-align: left;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
}

.btn-outline {
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  color: var(--blue-700);
  background: white;
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

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

/* ==================================================
   NAVBAR
   ================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  z-index: 10000;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  color: var(--blue-700);
  letter-spacing: -0.02em;
}

.dot {
  color: var(--green-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

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

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

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white !important;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-blue);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue-lg);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, #f0f5ff 0%, #dbeafe 30%, #bfdbfe 60%, #93c5fd 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-300);
  top: -200px;
  right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--blue-400);
  bottom: -100px;
  left: -100px;
  animation: float-slow 15s ease-in-out infinite reverse;
}
.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--green-400);
  top: 50%;
  left: 50%;
  animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.035em;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-700);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-phone-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-2xl);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}

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

/* Floating cards */
.hero-float {
  position: absolute;
  animation: float-card 5s ease-in-out infinite;
}

.hero-float-1 {
  top: 10%;
  left: -40px;
  animation-delay: 0s;
}
.hero-float-2 {
  bottom: 30%;
  right: -30px;
  animation-delay: 1.5s;
}
.hero-float-3 {
  bottom: 10%;
  left: -20px;
  animation-delay: 3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.float-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.float-icon {
  font-size: 1.25rem;
}

.float-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

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

/* ==================================================
   FEATURES SECTION
   ================================================== */
.features {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--bg-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.feature-card:hover::before {
  background: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-icon-blue { background: var(--blue-50); color: var(--blue-600); }
.feature-icon-green { background: #ECFDF5; color: var(--green-600); }
.feature-icon-orange { background: #FFF7ED; color: var(--orange-500); }
.feature-icon-purple { background: #F5F3FF; color: var(--purple-500); }
.feature-icon-red { background: #FEF2F2; color: var(--red-500); }
.feature-icon-teal { background: #F0FDFA; color: var(--teal-500); }

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================================================
   HOW IT WORKS
   ================================================== */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.steps-wrapper {
  position: relative;
}

.steps-line {
  display: none;
}

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

.step-card {
  text-align: center;
  position: relative;
  padding: 40px 30px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white;
  font-weight: 800;
  font-size: 0.9375rem;
  border-radius: 50%;
  box-shadow: var(--shadow-blue);
}

.step-icon-wrapper {
  margin-bottom: 24px;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 50%;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white;
  transform: scale(1.08);
}

.step-title {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================================================
   SERVICES SECTION
   ================================================== */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

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

.service-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.service-blue { background: #EFF6FF; color: var(--blue-600); }
.service-yellow { background: #FFFBEB; color: var(--yellow-500); }
.service-pink { background: #FDF2F8; color: var(--pink-500); }
.service-brown { background: #FEF3C7; color: var(--brown-500); }
.service-cyan { background: #ECFEFF; color: var(--cyan-500); }
.service-green { background: #ECFDF5; color: var(--green-500); }
.service-indigo { background: #EEF2FF; color: var(--indigo-500); }
.service-orange { background: #FFF7ED; color: var(--orange-500); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================================================
   APP SHOWCASE
   ================================================== */
.app-showcase {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

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

.app-showcase-visual {
  position: relative;
}

.app-showcase-img {
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  transition: var(--transition-slow);
}

.app-showcase-img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.app-showcase-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.app-features-list {
  list-style: none;
  margin-bottom: 36px;
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--green-500);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--gray-900);
  color: white;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
}

.store-btn:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.store-btn small {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.store-btn strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-btn-large {
  padding: 18px 32px;
}

.store-btn-large strong {
  font-size: 1.125rem;
}

/* ==================================================
   TESTIMONIALS
   ================================================== */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  background: var(--bg-white);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white;
  border: none;
}

.testimonial-featured .testimonial-text {
  color: rgba(255,255,255,0.95);
  font-size: 1.1875rem;
}

.testimonial-featured .testimonial-author span {
  color: rgba(255,255,255,0.7);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--blue-100);
  color: var(--blue-700);
  flex-shrink: 0;
}

.testimonial-featured .testimonial-avatar {
  background: rgba(255,255,255,0.2);
  color: white;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==================================================
   FOR ARTISANS
   ================================================== */
.for-artisans {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 50%, var(--blue-900) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.for-artisans::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.for-artisans::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

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

.artisans-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.artisans-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.artisans-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
}

.artisans-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.benefit:hover {
  background: rgba(255,255,255,0.18);
  transform: translateX(4px);
}

/* ==================================================
   DOWNLOAD SECTION
   ================================================== */
.download {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

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

.download-content {
  max-width: 600px;
  margin: 0 auto;
}

.download-logo {
  width: 120px;
  margin: 0 auto 32px;
}

.download-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.download-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

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

.footer-links-group h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links-group a {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer-links-group a:hover {
  color: white;
  padding-left: 6px;
}

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

/* ==================================================
   SCROLL ANIMATIONS (OBSERVE)
   ================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

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

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

  .hero-image {
    max-width: 340px;
  }

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

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

  .app-showcase-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .section-title-left {
    text-align: center;
  }

  .app-features-list li {
    justify-content: center;
  }

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

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

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

/* ---- MOBILE (768px) ---- */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  .container {
    padding: 0 20px;
  }

  /* — Nav — */
  .nav-logo-img {
    height: 32px !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
  }

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

  .nav-links .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 10000;
    position: relative;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* — Hero — */
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

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

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

  .hero-float {
    display: none;
  }

  .hero-image {
    max-width: 300px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-wave svg {
    height: 40px;
  }

  /* — Section Headers — */
  .section-header {
    margin-bottom: 40px;
  }

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

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

  /* — Features — */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .feature-card:hover {
    transform: none;
  }

  /* — How It Works — */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step-card {
    padding: 32px 24px;
  }

  .step-card:hover {
    transform: none;
  }

  /* — Services — */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 24px 16px;
  }

  .service-icon-wrap {
    width: 52px;
    height: 52px;
  }

  .service-card h3 {
    font-size: 0.9375rem;
  }

  .service-card p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .service-card:hover {
    transform: none;
  }

  /* — App Showcase — */
  .app-showcase-container {
    gap: 36px;
  }

  .app-showcase-img {
    max-width: 280px;
  }

  .app-showcase-desc {
    font-size: 1rem;
  }

  .app-features-list li {
    font-size: 0.9375rem;
    padding: 8px 0;
  }

  /* — Testimonials — */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-featured {
    grid-column: span 1;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .testimonial-card:hover {
    transform: none;
  }

  /* — For Artisans — */
  .artisans-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit {
    padding: 14px 16px;
    font-size: 0.875rem;
  }

  .artisans-title {
    font-size: 1.75rem;
  }

  .artisans-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  /* — Download — */
  .download-logo {
    width: 90px;
    margin-bottom: 24px;
  }

  .download-title {
    font-size: 1.75rem;
  }

  .download-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  /* — Footer — */
  .footer {
    padding: 56px 0 0;
  }

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

  .footer-logo-img {
    height: 32px !important;
  }

  .footer-tagline {
    font-size: 0.875rem;
  }

  .footer-links-group {
    text-align: center;
  }

  .footer-links-group h4 {
    margin-bottom: 12px;
  }

  .footer-links-group a {
    padding: 4px 0;
    font-size: 0.875rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8125rem;
  }

  /* — Buttons — */
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }

  .store-btn-large {
    padding: 14px 24px;
  }

  .store-btn-large strong {
    font-size: 1rem;
  }
}

/* ---- SMALL MOBILE (480px) ---- */
@media (max-width: 480px) {
  :root {
    --section-py: 56px;
  }

  .container {
    padding: 0 16px;
  }

  /* — Nav — */
  .nav-logo-img {
    height: 28px !important;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }

  /* — Hero — */
  .hero {
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 0.8125rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .hero-ctas {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image {
    max-width: 240px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.6875rem;
  }

  /* — Section Headers — */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 5px 14px;
  }

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

  /* — Features — */
  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-desc {
    font-size: 0.875rem;
  }

  /* — Steps — */
  .step-card {
    padding: 28px 20px;
  }

  .step-icon {
    width: 64px;
    height: 64px;
  }

  .step-title {
    font-size: 1.0625rem;
  }

  .step-desc {
    font-size: 0.875rem;
  }

  /* — Services — */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 20px 12px;
  }

  .service-icon-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 0.8125rem;
    margin-bottom: 4px;
  }

  .service-card p {
    font-size: 0.6875rem;
    display: none;
  }

  /* — App Showcase — */
  .app-showcase-img {
    max-width: 220px;
  }

  .app-showcase-desc {
    font-size: 0.9375rem;
  }

  /* — Testimonials — */
  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .testimonial-stars {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .testimonial-featured .testimonial-text {
    font-size: 1rem;
  }

  /* — For Artisans — */
  .artisans-title {
    font-size: 1.5rem;
  }

  .artisans-desc {
    font-size: 0.9375rem;
  }

  .benefit {
    padding: 12px 14px;
    font-size: 0.8125rem;
    gap: 10px;
  }

  /* — Store Buttons — */
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* — Download — */
  .download-logo {
    width: 72px;
    margin-bottom: 20px;
  }

  .download-title {
    font-size: 1.5rem;
  }

  .download-desc {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  /* — Footer — */
  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-logo-img {
    height: 26px !important;
  }

  .footer-tagline {
    font-size: 0.8125rem;
  }

  .footer-bottom {
    padding: 16px 0;
    font-size: 0.75rem;
  }
}
