/* Al Kamruddin Agro Food - Premium B2B Bioactive Ingredients Design System */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables - Core Palette */
:root {
  /* Core Palette - Scientific & Premium */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(220, 25%, 10%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 25%, 10%);
  
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(220, 25%, 10%);
  
  /* Primary - Deep Slate/Charcoal for authority */
  --primary: hsl(220, 20%, 18%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  /* Secondary - Light gray for subtle backgrounds */
  --secondary: hsl(210, 15%, 95%);
  --secondary-foreground: hsl(220, 20%, 18%);
  
  /* Muted - Soft gray tones */
  --muted: hsl(210, 15%, 93%);
  --muted-foreground: hsl(220, 10%, 45%);
  
  /* Accent - Teal/Cyan for scientific credibility */
  --accent: hsl(185, 65%, 35%);
  --accent-foreground: hsl(0, 0%, 100%);
  --accent-soft: hsl(185, 50%, 92%);
  --accent-glow: hsl(185, 70%, 45%);
  
  /* Warm accent - Amber/Gold for premium feel */
  --warm: hsl(38, 85%, 55%);
  --warm-foreground: hsl(220, 25%, 10%);
  --warm-soft: hsl(38, 60%, 94%);
  
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  
  --border: hsl(210, 20%, 88%);
  --input: hsl(210, 20%, 88%);
  --ring: hsl(185, 65%, 35%);
  
  --radius: 0.625rem;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(220, 20%, 18%) 0%, hsl(220, 25%, 25%) 50%, hsl(185, 40%, 25%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(185, 65%, 35%) 0%, hsl(185, 70%, 45%) 100%);
  --gradient-warm: linear-gradient(135deg, hsl(38, 85%, 55%) 0%, hsl(38, 90%, 65%) 100%);
  --gradient-surface: linear-gradient(180deg, hsl(210, 20%, 98%) 0%, hsl(210, 15%, 95%) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(220, 25%, 10% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(220, 25%, 10% / 0.08), 0 2px 4px -2px hsl(220, 25%, 10% / 0.05);
  --shadow-lg: 0 10px 15px -3px hsl(220, 25%, 10% / 0.08), 0 4px 6px -4px hsl(220, 25%, 10% / 0.04);
  --shadow-xl: 0 20px 25px -5px hsl(220, 25%, 10% / 0.08), 0 8px 10px -6px hsl(220, 25%, 10% / 0.03);
  --shadow-glow: 0 0 40px hsl(185, 65%, 35% / 0.15);
  --shadow-card: 0 4px 20px hsl(220, 25%, 10% / 0.06);
  
  /* Alternating section backgrounds (A = base, B = alternate) */
  --section-bg-a: hsl(185.7, 51.2%, 92%);
  --section-bg-b: hsl(0, 0%, 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Container & Layout */
.container-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-section {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-section {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* Navbar - Modern Design */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220, 220, 220, 0.2);
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(220, 220, 220, 0.3);
  padding: 0.75rem 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  position: relative;
  flex-wrap: nowrap;
  overflow: visible;
  max-width: 100%;
}

.navbar-content > * {
  flex-shrink: 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.2s ease;
  padding: 0.25rem 0;
}

.navbar-logo:hover {
  transform: translateY(-1px);
}

.navbar-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.navbar-logo:hover img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.navbar-brand-text {
  display: none;
}

@media (min-width: 768px) {
  .navbar-brand-text {
    display: block;
  }
  
  .navbar-brand-text .brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(185, 65%, 35%);
    line-height: 1.2;
    margin-bottom: 0.125rem;
    letter-spacing: -0.01em;
  }
  
  .navbar-brand-text .brand-tagline {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
}

.navbar-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(220, 220, 220, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 0.75rem;
  z-index: 999;
  width: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: slideDown 0.3s ease-out;
}

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

.navbar-nav.mobile-open {
  display: flex;
  visibility: visible;
  opacity: 1;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    backdrop-filter: none;
    border-top: none;
    box-shadow: none;
    padding: 0;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
    max-width: none;
    width: auto;
    max-height: none;
    overflow: visible;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none;
  }
  
  .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
  }
  
  .navbar-nav .relative {
    display: inline-flex;
    align-items: center;
  }
  
  .navbar-nav a,
  .navbar-nav button {
    visibility: visible;
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .navbar-nav {
    gap: 2.5rem;
  }
}

/* Mobile Menu Button - Modern Design */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(220, 220, 220, 0.3);
  border-radius: 0.75rem;
  cursor: pointer;
  padding: 0;
  color: var(--foreground);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  z-index: 1;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: hsl(185, 65%, 35%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.mobile-menu-btn:active {
  transform: translateY(0);
}

.mobile-menu-btn svg {
  width: 1.375rem;
  height: 1.375rem;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Nav Links */
@media (max-width: 767px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: var(--secondary);
  }
  
  .navbar-nav .relative {
    width: 100%;
    position: relative;
  }
  
  #products-dropdown-wrapper {
    width: 100%;
    position: relative;
  }
  
  .navbar-nav .products-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(220, 220, 220, 0.3);
    border-radius: 0.75rem;
    transform: translateY(-0.5rem);
    display: none !important;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.5rem;
    max-height: none;
    overflow: visible;
    z-index: 1000;
  }
  
  .navbar-nav .products-dropdown-menu.show {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .navbar-nav .products-dropdown-menu.show .dropdown-item {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 0.75rem !important;
    margin-bottom: 0.25rem;
    background-color: transparent;
    border-radius: 0.5rem;
  }
  
  .navbar-nav .products-dropdown-menu.show .dropdown-item:last-child {
    margin-bottom: 0;
  }
  
  .navbar-nav .products-dropdown-menu.show .dropdown-item p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
  
  #products-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: none;
  }
  
  #products-dropdown-btn:active {
    background-color: rgba(185, 65%, 35%, 0.05);
  }
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  visibility: visible;
  opacity: 1;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.nav-link:hover {
  color: hsl(185, 65%, 35%);
  background-color: rgba(185, 65%, 35%, 0.05);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, hsl(185, 65%, 35%), hsl(185, 65%, 45%));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: calc(100% - 1.5rem);
}

.nav-link.active {
  color: hsl(185, 65%, 35%);
  font-weight: 600;
}

.nav-link.active::after {
  width: calc(100% - 1.5rem);
}

/* Products Dropdown - Exact CSS from React Component */
.relative {
  position: relative;
}

#products-dropdown-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.products-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 18rem;
  background-color: var(--card);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 0.5rem;
  z-index: 1000;
  display: none !important;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out, transform 0.2s ease-out;
  transform: translateY(-0.5rem);
  overflow: visible;
  gap: 0.25rem;
}

.products-dropdown-menu.show {
  display: flex !important;
  flex-direction: column !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  min-height: auto !important;
  max-height: none !important;
  height: auto !important;
}

.products-dropdown-menu.show .dropdown-item {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  width: 100% !important;
  padding: 0.75rem !important;
  margin-bottom: 0 !important;
  text-decoration: none;
  color: inherit;
}

.products-dropdown-menu.show .dropdown-item:not(:last-child) {
  margin-bottom: 0.25rem;
}

.products-dropdown-menu.show .dropdown-item p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

@media (min-width: 640px) {
  .products-dropdown-menu {
    width: 18rem;
  }
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(0.625rem); /* y: 10 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  color: var(--foreground);
  min-height: auto;
  height: auto;
  overflow: visible;
  visibility: visible;
  opacity: 1;
}

.dropdown-item:hover {
  background-color: var(--secondary);
}

.dropdown-item-title {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  display: block;
  line-height: 1.4;
}

.dropdown-item-tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: block;
  line-height: 1.3;
}

#products-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

#products-chevron {
  transition: transform 0.2s ease;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

#products-chevron.rotated {
  transform: rotate(180deg);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 1;
}

.navbar-actions .btn {
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar-actions .btn:active {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .navbar-actions {
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .navbar-actions {
    gap: 1.25rem;
  }
}

/* Fix navbar alignment on mobile */
@media (max-width: 767px) {
  .navbar {
    padding: 0.875rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.625rem 0;
  }
  
  .navbar-content {
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: center;
    min-height: 3.5rem;
  }
  
  .navbar-logo {
    gap: 0.5rem;
  }
  
  .navbar-logo img {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .navbar-actions {
    order: 3;
    margin-left: auto;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  
  .navbar-actions .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    height: 2.25rem;
    white-space: nowrap;
    min-width: auto;
  }
  
  .navbar-actions .btn-ghost {
    display: none;
  }
  
  .mobile-menu-btn {
    order: 2;
    margin-left: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }
  
  .mobile-menu-btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .navbar-nav {
    order: 4;
    margin-top: 0.75rem;
  }
  
  .container-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 479px) {
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.5rem 0;
  }
  
  .navbar-content {
    gap: 0.5rem;
    min-height: 3rem;
  }
  
  .navbar-logo img {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .navbar-actions {
    gap: 0.375rem;
  }
  
  .navbar-actions .btn {
    padding: 0.4375rem 0.75rem;
    font-size: 0.75rem;
    height: 2rem;
  }
  
  .mobile-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
    margin-left: 0.375rem;
  }
  
  .mobile-menu-btn svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  
  .container-section {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
}

/* Buttons - Exact CSS from React Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  background-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: hsl(220, 20%, 18%, 0.9);
}

.btn-hero {
  background-color: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
}

.btn-hero:hover {
  background-color: hsl(0, 0%, 100%, 0.9);
  box-shadow: var(--shadow-xl);
}

.btn-hero-outline {
  border: 2px solid hsl(0, 0%, 100%, 0.3);
  background-color: hsl(0, 0%, 100%, 0.1);
  color: white;
  backdrop-filter: blur(4px);
  font-weight: 500;
}

.btn-hero-outline:hover {
  background-color: hsl(0, 0%, 100%, 0.2);
  border-color: hsl(0, 0%, 100%, 0.5);
}

.btn-outline {
  border: 1px solid var(--input);
  background-color: var(--background);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-ghost {
  background-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.92;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsl(0, 0%, 100%, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(0, 0%, 100%, 0.2);
  color: hsl(0, 0%, 100%, 0.9);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title .accent-text {
  color: var(--accent-glow);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(0, 0%, 100%, 0.8);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-trust {
    gap: 2.5rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-glow);
}

.trust-text {
  color: white;
}

.trust-text .title {
  font-weight: 500;
  font-size: 0.875rem;
}

.trust-text .subtitle {
  color: hsl(0, 0%, 100%, 0.6);
  font-size: 0.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: hsl(0, 0%, 100%, 0.6);
  cursor: pointer;
  transition: color 0.2s ease;
}

.hero-scroll:hover {
  color: white;
}

.hero-scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll-icon {
  width: 1.25rem;
  height: 1.25rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

/* Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-badge svg {
  width: 1rem;
  height: 1rem;
}

/* Section Headings */
.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 3rem;
  }
}

.section-heading .accent-text {
  color: var(--accent);
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.section-center {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

/* About Section */
.about-section {
  background-color: var(--section-bg-a);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

.advantages-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.advantage-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.advantage-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: hsl(185, 65%, 35%, 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.advantage-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Innovative Badge System */
.advantage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(10, 93, 44, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.advantage-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.advantage-card:hover .advantage-badge {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(10, 93, 44, 0.3);
}

.advantage-card:hover .advantage-badge::before {
  opacity: 1;
  animation: shine 0.8s ease;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.advantage-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.advantage-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  position: relative;
  margin-bottom: 0;
}

.advantage-description + .read-more-btn {
  margin-top: 0.75rem;
}

/* Text truncation for long paragraphs */
.text-collapsible {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.text-collapsible.collapsed {
  overflow: hidden;
}

.text-collapsible.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5em;
  background: linear-gradient(to bottom, transparent, var(--card));
  pointer-events: none;
  z-index: 1;
}

.text-collapsible.expanded {
  max-height: none !important;
}

.text-collapsible.expanded::after {
  display: none;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 0.375rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  align-self: flex-start;
  font-family: inherit;
}

.read-more-btn:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.read-more-btn:active {
  transform: translateY(0);
}

.read-more-btn svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.read-more-btn.expanded svg {
  transform: rotate(180deg);
}

.about-info-box {
  background-color: hsl(210, 15%, 95%, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.about-info-box h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.about-info-box p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Products Section */
.products-section {
  background-color: var(--section-bg-b);
}

.products-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    gap: 2rem;
  }
}

.product-card {
  background-color: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.25rem);
}

/* Additional Hover Effects */
.hover\:bg-secondary:hover {
  background-color: var(--secondary);
}

.hover\:bg-accent:hover {
  background-color: var(--accent);
}

.hover\:bg-accent\/20:hover {
  background-color: hsl(185, 65%, 35%, 0.2);
}

.hover\:text-accent:hover {
  color: var(--accent);
}

.hover\:text-white:hover {
  color: white;
}

.hover\:text-primary-foreground:hover {
  color: var(--primary-foreground);
}

.hover\:border-accent\/30:hover {
  border-color: hsl(185, 65%, 35%, 0.3);
}

.hover\:border-white\/50:hover {
  border-color: hsl(0, 0%, 100%, 0.5);
}

.hover\:shadow-lg:hover {
  box-shadow: var(--shadow-lg);
}

.hover\:shadow-xl:hover {
  box-shadow: var(--shadow-xl);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.product-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-gradient {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.product-icon-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(0, 0%, 100%, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.product-icon-wrapper svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content .btn {
  margin-top: auto;
}

.product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: var(--accent);
}

.product-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.product-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  position: relative;
  flex-grow: 1;
}

.product-description + .read-more-btn {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

/* Solution Section */
.solution-section {
  background-color: var(--section-bg-a);
}

.solution-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.solution-image-wrapper {
  position: relative;
  order: 2;
}

@media (min-width: 1024px) {
  .solution-image-wrapper {
    order: 1;
  }
}

.solution-image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.solution-image img {
  width: 100%;
  height: auto;
}

.solution-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(220, 20%, 18%, 0.6), transparent);
}

.solution-image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .solution-image-text {
    padding: 2rem;
  }
}

.solution-image-text p {
  color: white;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.solution-image-text .subtitle {
  color: hsl(0, 0%, 100%, 0.8);
}

.solution-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .solution-badge {
    top: 2rem;
    right: -2rem;
  }
}

.solution-badge p {
  font-weight: 600;
  font-size: 0.875rem;
}

.solution-content {
  order: 1;
}

@media (min-width: 1024px) {
  .solution-content {
    order: 2;
  }
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: hsl(210, 15%, 95%, 0.5);
  transition: background-color 0.2s ease;
}

.solution-item:hover {
  background-color: var(--secondary);
}

.solution-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsl(185, 65%, 35%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.solution-item:hover .solution-item-icon {
  background-color: hsl(185, 65%, 35%, 0.2);
}

.solution-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.solution-item-text h4 {
  font-weight: 600;
  color: var(--foreground);
}

.solution-item-text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  position: relative;
  margin-bottom: 0;
}

.solution-item-text p + .read-more-btn {
  margin-top: 0.5rem;
}

/* Partners Section */
.partners-section {
  background-color: var(--section-bg-b);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.partner-logo-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.partner-logo-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: hsl(185, 65%, 35%, 0.3);
}

.partner-logo-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(185, 65%, 35%, 0.2), hsl(220, 20%, 18%, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.partner-logo-icon span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.partner-logo-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--foreground);
}

.partner-logo-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.partners-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.partner-card:hover {
  border-color: hsl(185, 65%, 35%, 0.3);
  box-shadow: var(--shadow-lg);
}

.partner-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: hsl(185, 65%, 35%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-icon {
  transform: scale(1.1);
  background-color: hsl(185, 65%, 35%, 0.2);
}

.partner-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.partner-card h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.partner-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Why Us Section */
.whyus-section {
  background-color: var(--section-bg-a);
}

.whyus-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .whyus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .whyus-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reason-card {
  position: relative;
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.reason-card:hover {
  border-color: hsl(185, 65%, 35%, 0.3);
  box-shadow: var(--shadow-xl);
}

.reason-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(185, 65%, 35%, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.reason-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(185, 65%, 35%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.reason-card:hover .reason-icon {
  transform: scale(1.1);
}

.reason-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.reason-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.reason-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  margin-bottom: 0;
}

.reason-description + .read-more-btn {
  margin-top: 0.75rem;
  z-index: 2;
  position: relative;
}

.reason-card {
  display: flex;
  flex-direction: column;
}

.reason-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: hsl(185, 65%, 35%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.reason-card:hover .reason-check {
  opacity: 1;
}

.reason-check svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--accent);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 8rem 0;
  }
}

.cta-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-title .accent-text {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent-glow);
}

.cta-description {
  font-size: 1.125rem;
  color: hsl(0, 0%, 100%, 0.8);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-content {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .footer-content {
    padding: 5rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background-color: white;
}

.footer-brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.footer-description {
  color: hsl(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.footer-section h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: hsl(0, 0%, 100%, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-contact span {
  color: hsl(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.footer-social a:hover {
  background-color: hsl(0, 0%, 100%, 0.2);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(0, 0%, 100%, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  color: hsl(0, 0%, 100%, 0.5);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: hsl(0, 0%, 100%, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--primary-foreground);
}

/* Utility Classes */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: var(--gradient-accent);
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

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

/* Responsive Utilities */
.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

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

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

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

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

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-10 {
  gap: 2.5rem;
}

/* Grid Utilities */
.grid {
  display: grid;
}

/* Application Cards Grid - Product Detail Pages */
.grid.grid-cols-1.sm\:grid-cols-2,
.grid.grid-cols-1 {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .grid.sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Application Card Styling - Innovative Design */
.grid .bg-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card) 0%, hsl(210, 20%, 99%) 100%);
}

/* Innovative gradient border effect */
.grid .bg-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-glow) 50%, transparent 100%);
  border-radius: 1rem 1rem 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.grid .bg-card:hover::after {
  opacity: 1;
}

/* Card content wrapper */
.grid .bg-card > div:first-child {
  position: relative;
  z-index: 1;
}

.grid .bg-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(10, 93, 44, 0.15), 0 4px 16px rgba(10, 93, 44, 0.1);
  border-color: hsl(185, 65%, 35%, 0.4);
}

.grid .bg-card svg {
  transition: all 0.3s ease;
}

.grid .bg-card:hover svg {
  transform: scale(1.15) rotate(5deg);
  color: var(--accent-glow);
}

.grid .bg-card h4 {
  margin-top: 0;
  transition: color 0.3s ease;
}

.grid .bg-card:hover h4 {
  color: var(--accent);
}

.grid .bg-card ul {
  flex-grow: 1;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Innovative list item styling */
.grid .bg-card li {
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.grid .bg-card li:hover {
  background-color: var(--accent-soft);
  transform: translateX(4px);
}

.grid .bg-card li svg {
  transition: all 0.2s ease;
}

.grid .bg-card li:hover svg {
  transform: scale(1.2);
  color: var(--accent-glow);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:gap-8 {
    gap: 2rem;
  }
  
  .lg\:gap-10 {
    gap: 2.5rem;
  }
  
  .lg\:gap-16 {
    gap: 4rem;
  }
  
  .lg\:gap-20 {
    gap: 5rem;
  }
}

/* Spacing Utilities */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.75;
}

/* Width & Max-Width */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.w-full {
  width: 100%;
}

/* Position Utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Object Fit */
.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

/* Backdrop Filter */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

/* Opacity */
.opacity-5 {
  opacity: 0.05;
}

.opacity-70 {
  opacity: 0.7;
}

/* Transform */
.-translate-y-1 {
  transform: translateY(-0.25rem);
}

.translate-x-1 {
  transform: translateX(0.25rem);
}

/* Transition */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

/* Group Hover */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

/* Inline Flex */
.inline-flex {
  display: inline-flex;
}

/* Block */
.block {
  display: block;
}

/* Inline Block */
.inline-block {
  display: inline-block;
}

/* Margin Utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

/* Padding Utilities */
.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-0 {
  padding-top: 0;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

/* Border Radius */
.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-lg {
  border-radius: calc(var(--radius) - 4px);
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Border */
.border {
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
}

.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: var(--border);
}

/* Background Colors */
.bg-background {
  background-color: var(--background);
}

.bg-card {
  background-color: var(--card);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-secondary\/30 {
  background-color: hsl(210, 15%, 95%, 0.3);
}

.bg-secondary\/50 {
  background-color: hsl(210, 15%, 95%, 0.5);
}

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

.bg-accent {
  background-color: var(--accent);
}

.bg-accent\/10 {
  background-color: hsl(185, 65%, 35%, 0.1);
}

.bg-accent\/20 {
  background-color: hsl(185, 65%, 35%, 0.2);
}

.bg-accent\/5 {
  background-color: hsl(185, 65%, 35%, 0.05);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-white {
  background-color: white;
}

.bg-white\/10 {
  background-color: hsl(0, 0%, 100%, 0.1);
}

.bg-white\/20 {
  background-color: hsl(0, 0%, 100%, 0.2);
}

.bg-white\/90 {
  background-color: hsl(0, 0%, 100%, 0.9);
}

.bg-transparent {
  background-color: transparent;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-primary\/60 {
  --tw-gradient-from: hsl(220, 20%, 18%, 0.6);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsl(220, 20%, 18%, 0));
}

.from-teal-500\/20 {
  --tw-gradient-from: hsl(185, 65%, 35%, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsl(185, 65%, 35%, 0));
}

.from-blue-500\/20 {
  --tw-gradient-from: hsl(217, 91%, 60%, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsl(217, 91%, 60%, 0));
}

.from-amber-500\/20 {
  --tw-gradient-from: hsl(38, 92%, 50%, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsl(38, 92%, 50%, 0));
}

.from-purple-500\/20 {
  --tw-gradient-from: hsl(262, 83%, 58%, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsl(262, 83%, 58%, 0));
}

.to-cyan-500\/20 {
  --tw-gradient-to: hsl(185, 70%, 45%, 0.2);
}

.to-indigo-500\/20 {
  --tw-gradient-to: hsl(239, 84%, 67%, 0.2);
}

.to-orange-500\/20 {
  --tw-gradient-to: hsl(25, 95%, 53%, 0.2);
}

.to-pink-500\/20 {
  --tw-gradient-to: hsl(330, 81%, 60%, 0.2);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

/* Text Colors */
.text-white {
  color: white;
}

.text-white\/60 {
  color: hsl(0, 0%, 100%, 0.6);
}

.text-white\/70 {
  color: hsl(0, 0%, 100%, 0.7);
}

.text-white\/80 {
  color: hsl(0, 0%, 100%, 0.8);
}

.text-white\/90 {
  color: hsl(0, 0%, 100%, 0.9);
}

.text-foreground {
  color: var(--foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-primary-foreground\/50 {
  color: hsl(0, 0%, 100%, 0.5);
}

.text-primary-foreground\/70 {
  color: hsl(0, 0%, 100%, 0.7);
}

.text-accent {
  color: var(--accent);
}

.text-accent-glow {
  color: var(--accent-glow);
}

/* Height & Width */
.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-48 {
  height: 12rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-64 {
  width: 16rem;
}

.w-72 {
  width: 18rem;
}

.min-w-\[200px\] {
  min-width: 200px;
}

/* Min Height */
.min-h-screen {
  min-height: 100vh;
}

/* Flex Shrink */
.flex-shrink-0 {
  flex-shrink: 0;
}

/* Whitespace */
.whitespace-nowrap {
  white-space: nowrap;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Additional Responsive Utilities */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:text-sm {
    font-size: 0.875rem;
  }
  
  .sm\:text-xl {
    font-size: 1.25rem;
  }
  
  .sm\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .sm\:gap-4 {
    gap: 1rem;
  }
  
  .sm\:rounded-lg {
    border-radius: calc(var(--radius) - 4px);
  }
}

@media (min-width: 768px) {
  .md\:text-base {
    font-size: 1rem;
  }
  
  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .md\:gap-6 {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  
  .lg\:text-5xl {
    font-size: 3rem;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .xl\:text-7xl {
    font-size: 4.5rem;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* UI Components - Card */
.card {
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--card-foreground);
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card-content {
  padding: 1.5rem;
  padding-top: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  padding-top: 0;
}

/* UI Components - Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.badge:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--ring-offset);
}

.badge-default {
  border-color: transparent;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.badge-default:hover {
  background-color: hsl(220, 20%, 18%, 0.8);
}

.badge-secondary {
  border-color: transparent;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-secondary:hover {
  background-color: hsl(210, 15%, 95%, 0.8);
}

.badge-destructive {
  border-color: transparent;
  background-color: var(--destructive);
  color: var(--destructive-foreground);
}

.badge-destructive:hover {
  background-color: hsl(0, 84%, 60%, 0.8);
}

.badge-outline {
  color: var(--foreground);
  border-color: var(--border);
}

/* UI Components - Input */
.input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  transition: all 0.2s ease;
}

.input::placeholder {
  color: var(--muted-foreground);
}

.input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--ring-offset);
}

.input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.input[type="file"] {
  border: 0;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.input[type="file"]::file-selector-button {
  border: 0;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .input {
    font-size: 0.875rem;
  }
}

/* UI Components - Label */
.label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.label:has(+ input:disabled),
.label:has(+ select:disabled),
.label:has(+ textarea:disabled) {
  cursor: not-allowed;
  opacity: 0.7;
}

/* UI Components - Dialog/Modal */
.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: hsl(0, 0%, 0%, 0.8);
}

.dialog-overlay[data-state="open"] {
  animation: fadeIn 0.15s ease-out;
}

.dialog-overlay[data-state="closed"] {
  animation: fadeOut 0.15s ease-out;
}

.dialog-content {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  display: grid;
  width: 100%;
  max-width: 32rem;
  transform: translate(-50%, -50%);
  gap: 1rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s ease;
}

.dialog-content[data-state="open"] {
  animation: dialogIn 0.2s ease-out;
}

.dialog-content[data-state="closed"] {
  animation: dialogOut 0.2s ease-out;
}

@media (min-width: 640px) {
  .dialog-content {
    border-radius: calc(var(--radius) - 2px);
  }
}

.dialog-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: calc(var(--radius) - 4px);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.dialog-close:hover {
  opacity: 1;
}

.dialog-close:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--ring-offset);
}

.dialog-close:disabled {
  pointer-events: none;
}

.dialog-close svg {
  width: 1rem;
  height: 1rem;
}

.dialog-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: center;
}

@media (min-width: 640px) {
  .dialog-header {
    text-align: left;
  }
}

.dialog-footer {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .dialog-footer {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.5rem;
  }
}

.dialog-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.dialog-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Dialog Animations */
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes dialogOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.95);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Additional Button Variants - Exact from React Component */
.btn-default {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-default:hover {
  background-color: hsl(220, 20%, 18%, 0.9);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: hsl(210, 15%, 95%, 0.8);
}

.btn-destructive {
  background-color: var(--destructive);
  color: var(--destructive-foreground);
}

.btn-destructive:hover {
  background-color: hsl(0, 84%, 60%, 0.9);
}

.btn-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-md);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: hsl(185, 65%, 35%, 0.9);
  box-shadow: var(--shadow-lg);
}

.btn-icon {
  height: 2.5rem;
  width: 2.5rem;
  padding: 0;
}

/* Ring Offset for Focus States */
:root {
  --ring-offset: hsl(210, 20%, 98%);
}

/* Additional Utility Classes */
.ring-offset-background {
  --ring-offset-color: var(--ring-offset);
}

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.form-error {
  font-size: 0.875rem;
  color: var(--destructive);
}

.form-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Separator - Exact CSS from React Component */
.separator {
  flex-shrink: 0;
  background-color: var(--border);
}

.separator-horizontal {
  height: 1px;
  width: 100%;
}

.separator-vertical {
  width: 1px;
  height: 100%;
}

/* Skeleton Loading - Exact CSS from React Component */
.skeleton {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--muted);
}

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

/* Tooltip - Exact CSS from React Component */
.tooltip-content {
  z-index: 50;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background-color: var(--popover);
  color: var(--popover-foreground);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  animation: tooltipIn 0.15s ease-out;
}

.tooltip-content[data-state="closed"] {
  animation: tooltipOut 0.15s ease-out;
}

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

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-foreground);
  border-radius: 4px;
}

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

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-scroll {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Contact Form Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  border: 1px solid var(--border);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  color: var(--muted-foreground);
}

.modal-close:hover {
  background-color: var(--secondary);
  color: var(--foreground);
}

.modal-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-label.required::after {
  content: " *";
  color: var(--destructive);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px hsl(185, 65%, 35% / 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--destructive);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: var(--destructive);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-submit {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.form-submit:hover {
  background: var(--accent-glow);
}

.form-submit:active {
  transform: scale(0.98);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-cancel {
  padding: 0.75rem 1.5rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-cancel:hover {
  background-color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background-color: hsl(142, 76%, 36% / 0.1);
  border: 1px solid hsl(142, 76%, 36%);
  border-radius: 0.5rem;
  color: hsl(142, 76%, 36%);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.form-success.active {
  display: block;
}

@media (max-width: 640px) {
  .modal-content {
    max-width: 100%;
    border-radius: 1rem 1rem 0 0;
    margin-top: auto;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-submit,
  .form-cancel {
    width: 100%;
  }
}

/* Additional Mobile Responsive Improvements */
@media (max-width: 767px) {
  /* Typography */
  .hero-title {
    font-size: 1.875rem !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .section-heading {
    font-size: 1.5rem !important;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  /* Buttons */
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  /* Cards */
  .product-card,
  .partner-card,
  .advantage-card,
  .reason-card {
    padding: 1rem;
  }
  
  /* Grids */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .whyus-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* CTA Section */
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  /* Section Padding */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Container */
  .container-section {
    padding: 0 1rem;
  }
  
  /* Partners Logos */
  .partners-logos {
    flex-direction: column;
    gap: 1rem;
  }
  
  .partner-logo-card {
    width: 100%;
  }
  
  /* Solution Grid */
  .solution-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-image-wrapper {
    order: 1;
  }
  
  .solution-content {
    order: 2;
  }
  
  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .whyus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
}

/* Small Mobile Devices */
@media (max-width: 374px) {
  .hero-title {
    font-size: 1.5rem !important;
  }
  
  .section-heading {
    font-size: 1.25rem !important;
  }
  
  .navbar-logo img {
    width: 2rem;
    height: 2rem;
  }
  
  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

