/*
  Universal styling: CSS variables, reset, typography, layout utilities, and components.
  Mobile-first with progressive enhancements.
*/

:root {
  /* Color system */
  --color-bg: #ffffff;
  --color-surface: #f8fafc; /* subtle background */
  --color-text: #0f172a; /* slate-900 */
  --color-text-muted: #475569; /* slate-600 */
  --color-primary: #203f30; /* sky-500 */
  --color-primary-600: #3f624a; /* sky-600 */
  --color-secondary: #f59e0b; /* amber-500 */
  --color-border: #e2e8f0; /* slate-200 */
  --color-success: #16a34a;
  --color-danger: #ef4444;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Radius & shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Reset / Normalize */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Layout utilities */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.section { padding: var(--space-12) 0; }
.section--alt { background: var(--color-surface); }
.section-header { margin-bottom: var(--space-8); text-align: center; }

@media (max-width: 767px) {
  .section {
    padding: var(--space-10) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-6);
    padding: 0 var(--space-2);
  }
  
  .section-header h1 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
  }
}

/* Logo styling */
.logo-image {
  height: 40px;
  width: auto;
  max-width: 200px;
}

/* Hero image styling */
.hero-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for logo and hero image */
@media (max-width: 768px) {
  .logo-image {
    height: 35px;
  }
  
  .hero-image {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 30px;
  }
  
  .hero-image {
    max-width: 300px;
  }
}

@media (max-width: 320px) {
  .logo-image {
    height: 25px;
  }
  
  .hero-image {
    max-width: 250px;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.site-header .header-inner {
  width: min(1400px, 98%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  gap: var(--space-6);
}

.logo { 
  font-weight: 700; 
  letter-spacing: -0.02em;
  font-size: var(--text-xl);
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--color-primary-600);
}

.nav-toggle { 
  display: inline-flex; 
  flex-direction: column; 
  gap: 3px; 
  padding: 10px; 
  border-radius: var(--radius-sm); 
  border: 1px solid var(--color-border); 
  background: transparent;
}

.nav-toggle:focus-visible { 
  outline: 2px solid var(--color-primary); 
  outline-offset: 2px; 
}

.nav-toggle__bar { 
  width: 22px; 
  height: 2px; 
  background: var(--color-text); 
  transition: transform .2s ease, opacity .2s ease; 
}
/* Hamburger to X */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.header-inner { position: relative; }
/* Mobile dropdown: full viewport width */
.site-nav { 
  display: none; 
  position: fixed; 
  top: var(--header-h, 70px); 
  left: 0; 
  right: 0; 
  background: #ffffff;
  border-bottom: 1px solid var(--color-border); 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); 
  z-index: 40; 
  height: calc(100vh - var(--header-h, 70px)); 
  overflow: auto; 
  -webkit-overflow-scrolling: touch;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.site-nav.open { display: block; }

.nav-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  flex-direction: column; 
  gap: var(--space-1); 
}

.site-nav.open .nav-list { 
  padding: var(--space-4);
  gap: var(--space-2);
  align-items: center;
}

.site-nav.open .nav-item:has(.btn) {
  margin-top: var(--space-2);
  width: 100%;
  display: flex;
  justify-content: center;
}

.site-nav.open .nav-item .btn {
  width: 100%;
  max-width: 300px;
  margin-left: 0;
  margin-top: var(--space-1);
}

.site-nav.open .nav-item > a {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: transparent;
  transition: all 0.3s ease;
}

.site-nav.open .nav-item > a:hover {
  background: rgba(32, 63, 48, 0.08);
  color: var(--color-primary);
}
.nav-item > a, .dropdown-toggle { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  padding: var(--space-2) var(--space-4); 
  border-radius: var(--radius-md); 
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--color-text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-item > a:hover {
  color: var(--color-primary);
  background: rgba(32, 63, 48, 0.05);
}
.has-dropdown { position: relative; }
.dropdown-toggle { border: 1px solid transparent; background: transparent; cursor: pointer; }
.dropdown-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.chevron { transition: transform .2s ease; }
.dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.dropdown-menu { display: none; position: static; list-style: none; margin: 0; padding: var(--space-2) 0; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.dropdown-menu.open { display: block; }
.dropdown-link { display: block; padding: 8px 12px; }
.dropdown-link:hover { background: var(--color-surface); }

/* Hero */
.hero { padding: var(--space-12) 0; background: linear-gradient(180deg, #f1ebdd, #ffffff); }
.hero-inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: var(--space-8); }
.hero-copy h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.15; margin: 0 0 var(--space-3) 0; }
.hero-copy p { color: var(--color-text-muted); margin: 0 0 var(--space-6) 0; }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero-media { display: none; }
.hero-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-md); font-weight: 600; }

/* Products showcase */
.products-showcase { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: center; }
.products-image { position: relative; }
.products-image-large {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.products-cta { text-align: center; }
.products-cta h3 { margin: 0 0 var(--space-3) 0; font-size: var(--text-2xl); }
.products-cta p { margin: 0 0 var(--space-6) 0; color: var(--color-text-muted); max-width: 500px; margin-left: auto; margin-right: auto; }

/* Modern Products Section */
.products-section {
  padding: var(--space-16) 0 var(--space-10) 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Ensure products section starts with same color as hero ends */
body.index-page .products-section {
  background: #ffffff;
}

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

.products-header {
  margin-bottom: var(--space-12);
}

.products-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, #203f30 0%, #3f624a 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.products-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: var(--space-4) auto 0;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #f1f5f9;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(32, 63, 48, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(32, 63, 48, 0.2);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-content {
  padding: var(--space-6);
  position: relative;
  z-index: 1;
}

.product-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.02em;
}

.product-card-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-4) 0;
}

.product-card-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  border-radius: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.products-cta-section {
  background: linear-gradient(135deg, #203f30 0%, #2d4a38 100%);
  border-radius: 24px;
  padding: var(--space-12) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(32, 63, 48, 0.2);
}

.products-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.products-cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.products-cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.02em;
}

.products-cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 var(--space-6) 0;
}

.products-cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.products-cta-buttons .btn--primary {
  background: #ffffff;
  color: #203f30;
  border-color: #ffffff;
}

.products-cta-buttons .btn--primary:hover {
  background: #f8fafc;
  transform: translateX(2px) translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.products-cta-buttons .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.products-cta-buttons .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.products-view-all {
  text-align: center;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.products-view-all .btn {
  min-width: 220px;
}

/* Modern How It Works Section */
.how-it-works-section {
  padding: var(--space-10) 0 var(--space-16) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.02) 0%, rgba(32, 63, 48, 0.02) 100%);
  pointer-events: none;
  z-index: 0;
}

.how-it-works-section .container {
  position: relative;
  z-index: 1;
}

.how-it-works-header {
  margin-bottom: var(--space-12);
}

.how-it-works-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.how-it-works-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: var(--space-4) auto 0;
  line-height: 1.7;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.work-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #f1f5f9;
  position: relative;
  display: flex;
  flex-direction: column;
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(32, 63, 48, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

.work-card:hover::before {
  opacity: 1;
}

.work-card-number {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: transform 0.3s ease;
}

.work-card:hover .work-card-number {
  transform: scale(1.1) rotate(5deg);
}

.work-card-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-image img {
  transform: scale(1.08);
}

.work-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-content {
  padding: var(--space-6);
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.02em;
}

.work-card-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.how-it-works-cta {
  text-align: center;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.how-it-works-cta .btn {
  min-width: 220px;
}

/* How it works - Legacy styles (keeping for compatibility) */
.how-it-works { display: grid; grid-template-columns: 1fr; gap: var(--space-8); margin-bottom: var(--space-8); }
.work-step { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: center; }
.work-image { position: relative; }
.work-visual-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.product-visual {
  height: 200px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.product-visual--1 {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}
.product-visual--1::before {
  content: "Kakburkar";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-lg);
}
.product-visual--2 {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.product-visual--2::before {
  content: "Online försäljning";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-lg);
}
.product-visual--3 {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.product-visual--3::before {
  content: "Leverans & framgång";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-lg);
}
.work-content h3 { margin: 0 0 var(--space-2) 0; font-size: var(--text-xl); }
.work-content p { margin: 0; color: var(--color-text-muted); }
.work-cta { text-align: center; }

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  font-weight: 600; 
  padding: 10px 14px; 
  border-radius: var(--radius-md); 
  border: 1px solid transparent; 
  cursor: pointer; 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.btn:hover::before {
  left: 100%;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:active { transform: translateY(1px); }

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

.btn--primary:hover { 
  background: var(--color-primary-600);
  transform: translateX(2px);
}

.btn--secondary { 
  background: #fff; 
  border-color: var(--color-border); 
}

.btn--secondary:hover { 
  background: var(--color-surface);
  transform: translateX(2px);
}

.btn--ghost { 
  background: transparent; 
  border-color: var(--color-border); 
}



.btn--ghost:hover { 
  background: var(--color-surface);
  transform: translateX(2px);
  color: black;
}


.btn--sm { padding: 8px 12px; font-size: var(--text-sm); }
.btn--lg { padding: 12px 18px; font-size: var(--text-lg); }

/* Footer */
.site-footer { 
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%); 
  color: #a1a1aa; /* zinc-400 */
  border-top: 0;
  padding-top: var(--space-16);
}
.footer-inner { 
  display: grid; 
  gap: var(--space-16); 
  grid-template-columns: 1fr; 
  padding: var(--space-32) 0; 
}
.footer-brand .logo { 
  display: inline-block; 
  margin-bottom: var(--space-6); 
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 700;
}
.footer-brand p { 
  margin: 0 0 var(--space-8) 0; 
  color: #71717a; /* zinc-500 */
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 500px;
}
.footer-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-nav { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: var(--space-8); 
}
.footer-section h4 {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 0 0 var(--space-4) 0;
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-section a {
  color: #a1a1aa; /* zinc-400 */
  font-size: var(--text-xs);
  padding: var(--space-2) 0;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
}
.footer-section a:hover { 
  color: #fff; 
  background: rgba(255, 255, 255, 0.05);
  padding-left: var(--space-2);
}
.footer-bottom { 
  padding: var(--space-16) 0;
  color: #71717a; /* zinc-500 */
  font-size: var(--text-xs);
}

/* Footer responsive styles for small screens */
@media (max-width: 767px) {
  .footer-nav { 
    grid-template-columns: 1fr; 
    gap: var(--space-6); 
  }
  .footer-inner {
    padding: var(--space-12) 0;
    gap: var(--space-12);
  }
  .site-footer .container {
    width: min(1100px, 95%);
    padding: 0 var(--space-4);
  }
  .footer-bottom { 
    margin-top: 2rem;
    padding-bottom: var(--space-12);
  }
  .site-footer {
    padding-bottom: var(--space-8);
  }
}

@media (max-width: 350px) {
  .site-footer {
    padding-top: var(--space-12);
    overflow-x: hidden;
  }
  .site-footer .container {
    width: 100%;
    max-width: 100%;
    padding: 0 var(--space-3);
    box-sizing: border-box;
  }
  .footer-inner {
    padding: var(--space-8) 0;
    gap: var(--space-8);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-section a {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .footer-brand {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-brand p {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .footer-cta {
    flex-direction: column;
    width: 100%;
  }
  .footer-cta .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-bottom {
    padding: var(--space-8) 0 var(--space-20) 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-footer {
    padding-bottom: var(--space-12);
  }
  .footer-bottom small {
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.65rem;
    line-height: 1.4;
  }
  .footer-section svg {
    max-width: 24px;
    height: auto;
  }
}

/* Disable background scroll when menu is open on mobile */
body.no-scroll { overflow: hidden; }

/* Media queries */
@media (max-width: 400px) {
  .page-content .container {
    width: 95%;
    padding: 0 var(--space-2);
  }
  .form-card {
    padding: var(--space-4);
    margin: 0;
    border-radius: var(--radius-md);
  }
  .form-card h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
  }
  .form-group textarea {
    min-height: 80px;
  }
  .info-card {
    padding: var(--space-4);
    margin: 0 0 var(--space-4) 0;
    border-radius: var(--radius-md);
  }
  .info-card h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
  }
  .step-item {
    gap: var(--space-2);
  }
  .step-number {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
  }
  .step-item p {
    font-size: var(--text-xs);
  }
  .page-hero {
    padding: var(--space-8) 0 var(--space-6) 0;
  }
  .page-hero-content h1 {
    font-size: var(--text-2xl);
  }
  .page-hero-content p {
    font-size: var(--text-base);
  }
  .btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }
  .btn--lg {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }
  .checkbox-group {
    flex-direction: column;
    gap: var(--space-2);
  }
  .checkbox-label {
    font-size: var(--text-xs);
    line-height: 1.4;
  }
}

@media (max-width: 767px) {
  .site-header .header-inner {
    width: min(1100px, 92%);
  }
  
  /* Products Page Mobile */
  .products-page-section {
    padding: var(--space-12) 0;
  }
  
  .products-page-section .container {
    gap: var(--space-12);
  }
  
  .product-item {
    margin-bottom: var(--space-12);
  }
  
  .product-item-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
  }
  
  .product-item-content {
    gap: var(--space-6);
  }
  
  .product-item-image {
    min-height: 300px;
  }
  
  .product-item-image img {
    min-height: 300px;
  }
  
  .product-item-text {
    gap: var(--space-4);
  }
  
  .product-item-short {
    font-size: var(--text-lg);
  }
  
  .product-item-info {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }
  
  .product-item-description h3 {
    font-size: var(--text-lg);
  }
  
  
  .section--alt.products-cta-section {
    padding: var(--space-10) var(--space-4);
    border-radius: 0;
  }
  
  .products-cta-section .products-cta-content h2 {
    font-size: var(--text-2xl);
  }
  
  .products-cta-section .products-cta-content p {
    font-size: var(--text-base);
  }
  
  .products-cta-section .products-cta-buttons {
    flex-direction: column;
  }
  
  .products-cta-section .products-cta-buttons .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .site-nav { 
    display: block !important; 
    position: static; 
    top: auto; 
    left: auto; 
    right: auto; 
    background: transparent; 
    border: 0; 
    box-shadow: none; 
    height: auto; 
    overflow: visible; 
  }
  .nav-toggle { display: none; }
  .nav-list { 
    flex-direction: row; 
    gap: var(--space-1);
    align-items: center;
  }
  .dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; }
  
  /* Navbar buttons styling */
  .nav-item .btn {
    margin-left: var(--space-3);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    box-shadow: none;
    background: transparent !important;
    overflow: visible;
  }
  
  .nav-item .btn::before {
    display: none;
  }
  
  .nav-item .btn--primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: transparent !important;
  }
  
  .nav-item .btn--primary:hover {
    background: rgba(32, 63, 48, 0.1) !important;
    border-color: var(--color-primary);
    color: var(--color-primary-600);
    transform: translateX(2px);
  }
  
  .nav-item .btn--ghost {
    background: transparent !important;
    border-color: var(--color-border);
    color: var(--color-text);
  }
  
  .nav-item .btn--ghost:hover {
    background: rgba(248, 250, 252, 0.6) !important;
    border-color: var(--color-border);
    transform: translateX(2px);
  }
  
  .nav-item > a:not(.btn) {
    padding: var(--space-2) var(--space-4);
  }
  
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .hero-media { display: block; }
  .products-showcase { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  .products-visual { height: 400px; }
  .products-cta { text-align: left; }
  
  /* Modern Products Section - Tablet and Desktop */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
  
  .product-card-image {
    height: 320px;
  }
  
  .products-cta-section {
    padding: var(--space-16) var(--space-10);
  }
  
  /* Products Page - Tablet and Desktop */
  .product-item-content {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-10);
  }
  
  .product-item-image {
    min-height: 450px;
  }
  
  .product-item-image img {
    max-height: 550px;
  }
  
  .product-item--reverse .product-item-content {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .product-item--reverse .product-item-image {
    order: 2;
  }
  
  .product-item--reverse .product-item-text {
    order: 1;
  }
  
  .products-cta-content h2 {
    font-size: var(--text-3xl);
  }
  
  /* Modern How It Works Section - Tablet */
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
  
  .work-card-image {
    height: 280px;
  }
  
  .how-it-works-grid .work-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  /* Modern Products Section - Desktop */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
  
  .product-card-image {
    height: 240px;
  }
  
  .products-section {
    padding: var(--space-20) 0 var(--space-12) 0;
  }
  
  /* Products Page Desktop */
  .product-item-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-10);
  }
  
  .product-item-content {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-12);
  }
  
  .product-item-image {
    min-height: 500px;
  }
  
  .product-item-image img {
    min-height: 500px;
  }
  
  .product-item-text {
    padding: var(--space-4) 0;
  }
  
  .product-item--reverse .product-item-content {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .product-item--reverse .product-item-image {
    order: 2;
  }
  
  .product-item--reverse .product-item-text {
    order: 1;
  }
  
  /* Modern How It Works Section - Desktop */
  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  .how-it-works-grid .work-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
  
  .work-card-image {
    height: 300px;
  }
  
  .how-it-works-section {
    padding: var(--space-12) 0 var(--space-20) 0;
  }
}

/* Page-specific styles */
.page-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: var(--space-16) 0 var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}
.page-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero-content h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 var(--space-4) 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-hero-content p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin: 0;
  line-height: 1.7;
}

/* Products Page Styles */
.products-page-section {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.products-page-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.product-item {
  margin-bottom: var(--space-16);
}

.product-item:last-child {
  margin-bottom: 0;
}

.product-item-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-8) 0;
  letter-spacing: -0.02em;
  text-align: center;
}

.product-item-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .product-item-content {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-10);
  }
  
  .product-item--reverse .product-item-content {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .product-item--reverse .product-item-image {
    order: 2;
  }
  
  .product-item--reverse .product-item-text {
    order: 1;
  }
}


.product-item-image {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  background: transparent;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-item-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item:hover .product-item-image img {
  transform: scale(1.05);
}

.product-item-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  z-index: 2;
}

.product-item-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.product-item-short {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

.product-item-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.product-info-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.product-info-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.product-info-value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 600;
}

.product-item-description {
  margin-top: var(--space-2);
}

.product-item-description h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.01em;
}

.product-item-description p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 var(--space-4) 0;
}

.product-item-description p:last-child {
  margin-bottom: 0;
}

/* Products Page CTA Section */
.section--alt.products-cta-section {
  background: linear-gradient(135deg, #203f30 0%, #2d4a38 100%);
  border-radius: 0;
  padding: var(--space-12) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(32, 63, 48, 0.2);
}

.section--alt.products-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.products-cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.products-cta-section .products-cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.02em;
}

.products-cta-section .products-cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 var(--space-6) 0;
}

.products-cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.products-cta-section .products-cta-buttons .btn--primary {
  background: #ffffff;
  color: #203f30;
  border-color: #ffffff;
}

.products-cta-section .products-cta-buttons .btn--primary:hover {
  background: #f8fafc;
  transform: translateX(2px) translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.products-cta-section .products-cta-buttons .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.products-cta-section .products-cta-buttons .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.page-content {
  padding: var(--space-12) 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

/* Info cards */
.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}
.info-card h2 {
  margin: 0 0 var(--space-6) 0;
  font-size: var(--text-2xl);
  color: var(--color-text);
}

.steps-list {
  display: grid;
  gap: var(--space-4);
}
.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
}
.step-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Form styles */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: var(--space-8);
}
.content-info, .content-form, .form-card, .contact-form { min-width: 0; }
.form-card { width: 100%; }
.contact-form { width: 100%; }
.form-card h2 {
  margin: 0 0 var(--space-6) 0;
  font-size: var(--text-2xl);
  color: var(--color-text);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  min-width: 0; /* allow children to shrink */
}
.form-group label {
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-sm);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: block;
}
.form-group select { min-width: 0; max-width: 100%; }
.form-group textarea { max-width: 100%; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-help {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Authentication Styles */
.auth-container {
  max-width: 400px;
  margin: 0 auto;
}

.auth-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.auth-card h2 {
  margin-bottom: var(--space-6);
  text-align: center;
}

.auth-form {
  margin-bottom: var(--space-6);
}

.auth-submit {
  width: 100%;
  margin-bottom: var(--space-4);
  margin-top: var(--space-4);
}

.auth-links {
  text-align: center;
  font-size: var(--text-sm);
}

.auth-links p {
  margin-bottom: var(--space-2);
}

.auth-links a {
  color: var(--color-primary);
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-message {
  padding: var(--space-3);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.auth-message--success {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.auth-message--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.auth-message--info {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Dashboard Styles */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Dashboard Hero */
.dashboard-hero {
  background: linear-gradient(135deg, #203f30 0%, #3f624a 100%);
  color: white;
  padding: var(--space-12) 0;
}

.dashboard-hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}

.hero-info h1 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--text-4xl);
  font-weight: 700;
  color: white;
}

.hero-info p {
  margin: 0;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

/* Dashboard Layout */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
}

.action-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.action-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.action-card.primary {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #203f30;
}

.action-card .action-icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.action-card h3 {
  margin: 0 0 var(--space-2) 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
}

.action-card p {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  text-align: center;
  padding: var(--space-3);
  background: var(--color-gray-50);
  border-radius: var(--radius);
}

.stat-card .number {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.stat-card .label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Orders Section */
.orders-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}

.section-header h2 {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: 600;
}

.section-actions {
  display: flex;
  gap: var(--space-2);
}

/* Sidebar Cards */
.status-card,
.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.status-card h3,
.info-card h3 {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
}

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

.status-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.status-message {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.dashboard-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.dashboard-card h3 {
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.status-card {
  grid-column: 1 / -1;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-gray-50);
  border-radius: var(--radius);
}

.status-badge {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-reviewing {
  background: #dbeafe;
  color: #1e40af;
}

.status-approved {
  background: #d1fae5;
  color: #065f46;
}

.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-completed {
  background: #e0e7ff;
  color: #3730a3;
}

.status-message {
  margin: 0;
  color: var(--color-text-muted);
}

.application-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: var(--color-text-muted);
}

.detail-value {
  color: var(--color-text);
  text-align: right;
}

.no-application {
  text-align: center;
  padding: var(--space-8);
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.step-icon {
  font-size: var(--space-6);
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}

.step-content p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.contact-info {
  margin-bottom: var(--space-4);
}

.contact-info p {
  margin-bottom: var(--space-2);
}

/* Personal Link Styles */
.personal-link-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #0ea5e9;
}

.personal-link-info p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.link-container {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.link-input {
  flex: 1;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-family: monospace;
  font-size: var(--text-sm);
}

.link-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.link-help {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

/* Orders Styles */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.order-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}

.order-info h4 {
  margin: 0 0 var(--space-1) 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
}

.order-date {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.order-status {
  flex-shrink: 0;
}

.order-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.customer-info p {
  margin: 0 0 var(--space-2) 0;
  color: var(--color-text);
}

.customer-info p:last-child {
  margin-bottom: 0;
}

.order-items h5 {
  margin: 0 0 var(--space-3) 0;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 600;
}

.order-items ul {
  margin: 0 0 var(--space-4) 0;
  padding-left: var(--space-5);
  color: var(--color-text);
}

.order-items li {
  margin-bottom: var(--space-1);
}

.order-total {
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
}

.order-special-requests {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #fef3c7;
  border-radius: var(--radius);
  border-left: 4px solid #f59e0b;
  grid-column: 1 / -1;
}

.order-special-requests h5 {
  margin: 0 0 var(--space-2) 0;
  color: #92400e;
  font-size: var(--text-base);
  font-weight: 600;
}

.order-special-requests p {
  margin: 0;
  color: #78350f;
  font-size: var(--text-sm);
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.no-orders {
  text-align: center;
  padding: var(--space-8);
  color: var(--color-text-muted);
}

.no-orders p {
  margin: 0;
  font-size: var(--text-base);
}

/* Order Status Colors */
.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-confirmed {
  background: #dbeafe;
  color: #1e40af;
}

.status-shipped {
  background: #d1fae5;
  color: #065f46;
}

.status-delivered {
  background: #dcfce7;
  color: #166534;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.status-sent {
  background: #dbeafe;
  color: #1e40af;
}

/* Link Deleted Message */
.link-deleted-message {
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
}

.link-deleted-message h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: 1.125rem;
}

.link-deleted-message .text-muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* User Info */
.user-info {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-color);
}

.user-info .text-muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Session Status */
.session-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .order-details {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .order-header {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .order-status {
    align-self: flex-start;
  }
}

.user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.user-name {
  font-weight: 500;
  color: var(--color-text);
}

.loading-state {
  text-align: center;
  padding: var(--space-12);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-4);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-state {
  text-align: center;
  padding: var(--space-12);
}

.error-message {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.error-message h3 {
  color: #dc2626;
  margin-bottom: var(--space-4);
}

.error-message p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-card {
    padding: var(--space-6);
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .status-indicator {
    flex-direction: column;
    text-align: center;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  
  .detail-value {
    text-align: left;
  }
  
  .user-menu {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .link-container {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .link-input {
    font-size: var(--text-xs);
  }
}

/* Order Page Styles */
.order-container {
  max-width: 800px;
  margin: 0 auto;
}

.order-form-container {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.order-info {
  text-align: center;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.order-info h2 {
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.order-info p {
  color: var(--color-text-muted);
}

.product-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.product-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.product-name {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
}

.product-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--text-xl);
  white-space: nowrap;
}

.product-description {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.product-quantity {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quantity-label {
  font-weight: 500;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-input {
  width: 60px;
  height: 36px;
  padding: 0 var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: var(--text-base);
}


.quantity-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.order-submit {
  width: 100%;
  margin-top: var(--space-6);
}

.order-message {
  padding: var(--space-3);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.order-message--success {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.order-message--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.order-message--info {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Responsive adjustments for order page */
@media (max-width: 768px) {
  .order-form-container {
    padding: var(--space-6);
  }
  
  .product-selection {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .product-header {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3);
  }
  
  .product-image {
    width: 50px;
    height: 50px;
  }
  
  .product-price {
    font-size: var(--text-lg);
  }
  
  .quantity-controls {
    justify-content: flex-start;
  }
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3);
  min-width: 0;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: 1.5;
  min-width: 0;
  flex: 1;
}
.checkbox-text {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.checkbox-label input[type="checkbox"] {
  display: none;
}
.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
}
.checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-2);
}

/* Form messages */
.form-message {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}
.form-message--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-message--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.form-message--info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dashboard Mobile Responsive */
@media (max-width: 768px) {
  .dashboard-hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .dashboard-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  
  .section-actions {
    align-self: flex-end;
  }
}

/* Dashboard Small Mobile Responsive */
@media (max-width: 450px) {
  .dashboard-hero {
    padding: var(--space-8) 0;
  }
  
  .dashboard-hero-content {
    gap: var(--space-4);
  }
  
  .hero-info h1 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-1);
  }
  
  .hero-info p {
    font-size: var(--text-base);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }
  
  .stat-item {
    padding: var(--space-3);
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .stat-number {
    font-size: var(--text-xl);
  }
  
  .stat-label {
    font-size: var(--text-xs);
  }
  
  .dashboard-layout {
    margin-top: var(--space-6);
  }
  
  .action-card {
    padding: var(--space-4);
  }
  
  .action-card h3 {
    font-size: var(--text-base);
  }
  
  .action-card p {
    font-size: var(--text-xs);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  
  .stat-card {
    padding: var(--space-2);
  }
  
  .stat-card .number {
    font-size: var(--text-lg);
  }
  
  .stat-card .label {
    font-size: var(--text-xs);
  }
  
  .orders-section {
    padding: var(--space-4);
  }
  
  .section-header h2 {
    font-size: var(--text-lg);
  }
  
  .status-card,
  .info-card {
    padding: var(--space-4);
  }
  
  .status-card h3,
  .info-card h3 {
    font-size: var(--text-base);
  }
}

/* Order Actions */
.order-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.order-actions .btn {
  width: 100%;
  justify-content: center;
}

.order-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .order-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

/* Send All Orders Button */
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.btn--lg:disabled {
  background-color: #9ca3af !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.section-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn--lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* No Orders Message */
.no-orders {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: var(--space-8);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
}

/* Delete Account Section */
.delete-account-section {
  background: #fef2f2;
  border-top: 1px solid #fecaca;
  padding: 3rem 0;
}

.delete-account-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 2px solid #fecaca;
  max-width: 500px;
  margin: 0 auto;
}

.delete-account-card h3 {
  color: #dc2626;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.delete-account-card p {
  color: #7f1d1d;
  margin-bottom: 2rem;
  font-weight: 500;
}

.delete-form .form-group {
  margin-bottom: 1.5rem;
}

.delete-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.delete-form input[type="email"],
.delete-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #fecaca;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.delete-form input[type="email"]:focus,
.delete-form input[type="password"]:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn--danger {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn--danger:hover:not(:disabled) {
  background: #b91c1c;
  transform: translateY(-1px);
}

.btn--danger:disabled {
  background: #9ca3af;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.6;
}

.status-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.status-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.status-message.warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

@media (max-width: 768px) {
  .delete-account-section {
    padding: 2rem 0;
  }
  
  .delete-account-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}

/* Notification System */
.notification-container {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  pointer-events: none;
  max-width: calc(100% - var(--space-12));
}

.notification {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 340px;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  opacity: 0;
  transform: translateX(420px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.notification--show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.notification--removing {
  opacity: 0;
  transform: translateX(420px) scale(0.95);
}

.notification-content {
  display: flex;
  align-items: center;
  flex: 1;
}

.notification-message {
  font-size: 15px;
  line-height: 1.6;
  color: #1f2937;
  font-weight: 500;
  flex: 1;
  letter-spacing: -0.01em;
  padding-left: var(--space-3);
}

.notification-close {
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}

.notification-close:hover {
  background: #f3f4f6;
  color: #1f2937;
  opacity: 1;
  transform: scale(1.1);
}

.notification-close:active {
  transform: scale(0.95);
}

/* Notification Types */
.notification--success {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border-left: 5px solid #10b981;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15), 0 2px 8px rgba(16, 185, 129, 0.1);
}

.notification--success .notification-message {
  color: #065f46;
}

.notification--error {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  border-left: 5px solid #ef4444;
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.15), 0 2px 8px rgba(239, 68, 68, 0.1);
}

.notification--error .notification-message {
  color: #991b1b;
}

.notification--warning {
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
  border-left: 5px solid #f59e0b;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15), 0 2px 8px rgba(245, 158, 11, 0.1);
}

.notification--warning .notification-message {
  color: #92400e;
}

.notification--info {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-left: 5px solid var(--color-primary);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(59, 130, 246, 0.1);
}

.notification--info .notification-message {
  color: #1e40af;
}

/* Confirm Dialog */
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-overlay--show {
  opacity: 1;
}

.confirm-dialog {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  width: 100%;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.confirm-overlay--show .confirm-dialog {
  transform: scale(1) translateY(0);
}

.confirm-content {
  padding: var(--space-8) var(--space-8) var(--space-7);
}

.confirm-message {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #1f2937;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 20px 20px;
}

.confirm-actions {
  display: flex;
  gap: var(--space-3);
  padding: 20px 20px;
  border-top: 1px solid #e5e7eb;
  justify-content: flex-end;
  background: #f9fafb;
}

.confirm-actions .btn {
  min-width: 110px;
  padding: var(--space-3) var(--space-5);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive Products Section - Mobile */
@media (max-width: 767px) {
  .products-section {
    padding: var(--space-16) 0 var(--space-8) 0;
  }
  
  .products-header {
    margin-bottom: var(--space-10);
    padding: 0 var(--space-2);
  }
  
  .products-header h1 {
    margin-bottom: var(--space-4);
  }
  
  .products-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-3);
  }
  
  .products-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-2);
  }
  
  .products-grid {
    gap: var(--space-6);
    margin-bottom: var(--space-16);
    padding: 0 var(--space-2);
  }
  
  .product-card {
    margin-bottom: var(--space-2);
  }
  
  .product-card-image {
    height: 240px;
  }
  
  .product-card-content {
    padding: var(--space-6);
  }
  
  .products-view-all {
    margin-top: var(--space-10);
    padding-top: var(--space-10);
    padding: var(--space-10) var(--space-2) 0;
  }
  
  .products-view-all .btn {
    width: 100%;
    padding: var(--space-4) var(--space-6);
  }
  
  .products-cta-section {
    padding: var(--space-12) var(--space-6);
    border-radius: 0;
  }
  
  .products-cta-content {
    padding: 0;
  }
  
  .products-cta-content h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
  }
  
  .products-cta-content p {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }
  
  .products-cta-buttons {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .products-cta-buttons .btn {
    width: 100%;
    padding: var(--space-4) var(--space-6);
  }
  
  /* Modern How It Works Section - Mobile */
  .how-it-works-section {
    padding: var(--space-8) 0 var(--space-16) 0;
  }
  
  .how-it-works-header {
    margin-bottom: var(--space-10);
    padding: 0 var(--space-2);
  }
  
  .how-it-works-header h1 {
    margin-bottom: var(--space-4);
  }
  
  .how-it-works-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-3);
  }
  
  .how-it-works-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-2);
  }
  
  .how-it-works-grid {
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    padding: 0 var(--space-2);
  }
  
  .work-card {
    margin-bottom: var(--space-2);
  }
  
  .work-card-image {
    height: 260px;
  }
  
  .work-card-number {
    width: 44px;
    height: 44px;
    font-size: var(--text-lg);
    top: var(--space-4);
    left: var(--space-4);
  }
  
  .work-card-content {
    padding: var(--space-6);
  }
  
  .work-card-title {
    margin-bottom: var(--space-3);
  }
  
  .how-it-works-cta {
    margin-top: var(--space-10);
    padding-top: var(--space-10);
    padding: var(--space-10) var(--space-2) 0;
  }
  
  .how-it-works-cta .btn {
    min-width: auto;
    width: 100%;
    padding: var(--space-4) var(--space-6);
  }
}

/* Responsive Notifications */
@media (max-width: 768px) {
  .notification-container {
    top: var(--space-3);
    right: var(--space-3);
    left: var(--space-3);
    max-width: none;
  }

  .notification {
    min-width: auto;
    max-width: none;
    width: 100%;
    transform: translateY(-100px) scale(0.95);
    border-radius: 0;
  }

  .notification--show {
    transform: translateY(0) scale(1);
  }

  .notification--removing {
    transform: translateY(-100px) scale(0.95);
  }

  .confirm-dialog {
    max-width: none;
    margin: var(--space-4);
  }

  .confirm-content {
    padding: var(--space-6);
  }

  .confirm-message {
    font-size: 16px;
  }

  .confirm-actions {
    flex-direction: column-reverse;
    padding: var(--space-4);
  }

  .confirm-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .notification-container {
    top: var(--space-2);
    right: var(--space-2);
    left: var(--space-2);
  }

  .notification {
    padding: var(--space-3) var(--space-4);
  }

  .notification-message {
    font-size: var(--text-sm);
  }

  .confirm-content {
    padding: var(--space-5);
  }

  .confirm-message {
    font-size: 15px;
  }
}


