/* HUMKO Landing Pages - Premium Design System */

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

:root {
  /* Color Palette - Bio-Tech Premium */
  --color-primary: hsl(155, 65%, 45%);
  --color-primary-light: hsl(155, 65%, 55%);
  --color-primary-dark: hsl(155, 65%, 35%);
  --color-secondary: hsl(215, 75%, 45%);
  --color-secondary-light: hsl(215, 75%, 55%);
  --color-accent: hsl(45, 95%, 55%);
  --color-accent-gold: hsl(38, 85%, 60%);
  
  /* Neutrals */
  --color-dark: hsl(220, 15%, 12%);
  --color-dark-soft: hsl(220, 12%, 18%);
  --color-gray: hsl(220, 10%, 45%);
  --color-gray-light: hsl(220, 10%, 65%);
  --color-light: hsl(220, 15%, 95%);
  --color-white: hsl(0, 0%, 100%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(155, 65%, 15%) 0%, hsl(215, 75%, 20%) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-gold: linear-gradient(135deg, var(--color-accent-gold) 0%, hsl(45, 95%, 65%) 100%);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 32px rgba(52, 211, 153, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
}

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

.text-light {
  color: var(--color-gray-light);
}

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

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

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

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-dark p {
  color: var(--color-gray-light);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

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

.btn-gold {
  background: var(--gradient-gold);
  color: var(--color-dark);
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(251, 191, 36, 0.4);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* === CARDS === */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.card-dark {
  background: var(--color-dark-soft);
  color: var(--color-white);
}

.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* === GRID === */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: var(--space-md);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-light);
  margin-bottom: var(--space-lg);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

/* === SPLIT SECTION === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .split, .split-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* === IMAGE STYLES === */
.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

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

/* === COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-light);
}

.comparison-table th {
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.comparison-table tr:hover {
  background: rgba(52, 211, 153, 0.05);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* === TESTIMONIAL === */
.testimonial {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
  transition: all var(--transition-normal);
}

.testimonial:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.testimonial-rating {
  color: var(--color-accent-gold);
  font-size: 1.25rem;
}

/* === STATS === */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.stat-item {
  padding: var(--space-md);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* === BADGES === */
.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: rgba(52, 211, 153, 0.2);
  color: var(--color-primary-dark);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.2);
  color: hsl(38, 85%, 40%);
}

.badge-info {
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-secondary-dark);
}

/* === ICONS === */
.icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-md);
}

.icon-box svg,
.icon-box i {
  font-size: 2rem;
  color: var(--color-white);
}

/* === FEATURE CARDS === */
.feature-card {
  text-align: center;
  padding: var(--space-md);
}

.feature-card h3 {
  color: var(--color-dark);
  margin-top: var(--space-sm);
}

.feature-card p {
  color: var(--color-gray);
}

/* === DATA ROOM / INFO BLOCKS === */
.data-block {
  background: var(--color-dark-soft);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.2);
  margin: var(--space-md) 0;
}

.data-block h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.data-block p,
.data-block li {
  color: var(--color-gray-light);
}

.data-block ul {
  list-style: none;
  padding-left: 0;
}

.data-block li::before {
  content: "✓ ";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: var(--space-xs);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--gradient-hero);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--color-light);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === PRODUCT CARDS === */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-content {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.product-tagline {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.product-description {
  color: var(--color-gray);
  margin-bottom: var(--space-md);
}

.product-features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.product-features li {
  padding: var(--space-xs) 0;
  color: var(--color-dark);
}

.product-features li::before {
  content: "✓ ";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: var(--space-xs);
}

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  top: 40px;
  right: -2rem;
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.3;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .process-step::after {
    display: none;
  }
}

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

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

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pb-xl { padding-bottom: var(--space-xl); }
.pt-xl { padding-top: var(--space-xl); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  section {
    padding: var(--space-lg) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 5rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
