/* ==========================================================================
   ZYGAKOMP - Refined Technical Design System
   Mobile-First | Semantic | Accessible | Performance-Optimized
   ========================================================================== */

/* CSS Custom Properties - Design Tokens
   ========================================================================== */
:root {
  /* Colors - Gamma Style (Lighter Blues) */
  --color-primary-50: #f0f9ff;
  --color-primary-100: #e0f2fe;
  --color-primary-200: #bae6fd;
  --color-primary-500: #0ea5e9;
  --color-primary-600: #0284c7;
  --color-primary-700: #0369a1;
  --color-primary-900: #0c4a6e;
  
  /* Accent - Amber for CTAs */
  --color-accent-400: #fbbf24;
  --color-accent-500: #f59e0b;
  --color-accent-600: #d97706;
  
  /* Neutrals - Warm Grays */
  --color-neutral-50: #fafaf9;
  --color-neutral-100: #f5f5f4;
  --color-neutral-200: #e7e5e4;
  --color-neutral-300: #d6d3d1;
  --color-neutral-400: #a8a29e;
  --color-neutral-500: #78716c;
  --color-neutral-600: #57534e;
  --color-neutral-700: #44403c;
  --color-neutral-800: #292524;
  --color-neutral-900: #1c1917;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  
  /* Typography Scale - Fluid with clamp() */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --font-size-3xl: clamp(1.875rem, 1.65rem + 1.125vw, 2.5rem);
  --font-size-4xl: clamp(2.25rem, 1.95rem + 1.5vw, 3rem);
  
  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 6rem;     /* 96px */
  --space-16: 8rem;     /* 128px */
  
  /* Layout */
  --container-max: 1200px;
  --container-padding: var(--space-5);
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows - Subtle depth */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-4);
  max-width: 100ch;
}

a {
  color: var(--color-primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-700);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

/* Layout Components
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}

/* Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  gap: var(--space-4);
}

.site-logo {
  max-width: 200px;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .site-logo {
    max-width: 280px;
  }
}

.header-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
}

@media (min-width: 640px) {
  .header-contact {
    flex-direction: row;
    gap: var(--space-4);
  }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: #e2e8f0;
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .contact-link {
    font-size: var(--font-size-base);
  }
}

.contact-link:hover {
  color: var(--color-primary-600);
  text-decoration: none;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

.hero-title {
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: #cbd5e1;
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
  max-width: none;
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
  text-align: left;
}

@media (min-width: 640px) {
  .hero-features {
    gap: var(--space-4);
  }
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: #e2e8f0;
}

@media (min-width: 640px) {
  .hero-features li {
    font-size: var(--font-size-base);
  }
}

.hero-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--color-primary-500);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

/* Cards & CTA Sections
   ========================================================================== */
.cards-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

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

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

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--border-radius-xl);
  padding: var(--space-6);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .card {
    padding: var(--space-8);
  }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.5);
  border-color: rgba(14, 165, 233, 0.5);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
}

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

.card-content {
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.card-address,
.card-phone {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}

.card-info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-phone a {
  color: var(--color-primary-600);
  font-weight: 600;
}

/* Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--font-size-base);
  border-radius: var(--border-radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-500), var(--color-accent-600));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-400), var(--color-accent-500));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--color-primary-50);
  text-decoration: none;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Content Sections
   ========================================================================== */
.content-section {
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--border-radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

@media (min-width: 768px) {
  .content-section {
    padding: var(--space-8);
  }
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-lg);
  color: #cbd5e1;
  margin-bottom: var(--space-8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Grid (About, Services)
   ========================================================================== */
.feature-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

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

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

.feature-item {
  text-align: center;
  padding: var(--space-5);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: white;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

.feature-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

.feature-description {
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}

/* Price Table
   ========================================================================== */
.price-table {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

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

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

.price-item {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-base);
}

.price-item:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--color-primary-500);
  transform: translateY(-2px);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary-600);
  margin-bottom: var(--space-2);
}

.price-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: #ffffff;
}

.price-description {
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}

.price-disclaimer {
  font-size: var(--font-size-xs);
  color: #94a3b8;
  text-align: center;
  margin-top: var(--space-6);
  font-style: italic;
}

/* List Styles
   ========================================================================== */
.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-base);
}

.styled-list li::before {
  content: "→";
  color: var(--color-primary-500);
  font-weight: bold;
  flex-shrink: 0;
}

/* Footer
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-copyright {
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-5);
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #cbd5e1;
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

.footer-icon {
  width: 20px;
  height: 20px;
}

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

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

/* Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary-600); }
.text-accent { color: var(--color-accent-500); }
.text-muted { color: #94a3b8; }

.bg-light { background-color: rgba(30, 41, 59, 0.3); }
.bg-white { background-color: rgba(30, 41, 59, 0.5); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* Accessibility
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print Styles
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    text-decoration: underline;
  }
}
