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

:root {
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-color: #06b6d4;
  --accent-secondary: #8b5cf6;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --spacing-unit: 8px;
  --border-radius: 12px;
  --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);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: calc(var(--spacing-unit) * 2);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-color);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--primary-color);
}

h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
}

p {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 400;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

a:hover {
  color: var(--accent-secondary);
  transform: translateY(-1px);
}

button {
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

button:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: calc(var(--spacing-unit) * 2) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.logo-svg {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
  box-shadow: var(--shadow-lg);
}

.nav-links {
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: white;
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-1px);
}

footer {
  background: var(--bg-gradient);
  color: white;
  padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 12);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: calc(var(--spacing-unit) * 6);
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-size: 18px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 1);
}

.footer-links a,
.footer-contact p,
.footer-contact a {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-color);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 1);
}

.footer-contact p {
  margin: 0;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: calc(var(--spacing-unit) * 4);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

section {
  padding: calc(var(--spacing-unit) * 12) 0;
}

.hero {
  background: var(--bg-gradient);
  color: white;
  padding: calc(var(--spacing-unit) * 20) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 4);
  background: linear-gradient(135deg, white 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto calc(var(--spacing-unit) * 6);
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: calc(var(--spacing-unit) * 3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: calc(var(--spacing-unit) * 6);
}

.block-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.block-title h2 {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.block-title p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 400;
}

.image-container {
  margin: calc(var(--spacing-unit) * 6) 0;
}

.feature-image {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

.block-item {
  background: var(--bg-white);
  padding: calc(var(--spacing-unit) * 5);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.block-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.block-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.block-item:hover::before {
  transform: scaleX(1);
}

.block-item h3 {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-size: 1.375rem;
  font-weight: 700;
}

.block-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.icon {
  width: 64px;
  height: 64px;
  margin-bottom: calc(var(--spacing-unit) * 3);
  filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.2));
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

.product-content {
  padding: calc(var(--spacing-unit) * 4);
  position: relative;
  z-index: 1;
}

.product-content h3 {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-weight: 700;
}

.product-content p {
  font-size: 14px;
  margin-bottom: calc(var(--spacing-unit) * 4);
  line-height: 1.6;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: calc(var(--spacing-unit) * 2) 0;
}

.product-action {
  display: flex;
  gap: calc(var(--spacing-unit) * 1.5);
  justify-content: center;
  flex-wrap: wrap;
}

.product-action button {
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2.5);
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 120px;
}

.contacts-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f1f5f9 100%);
  padding: calc(var(--spacing-unit) * 12) 0;
  position: relative;
}

.contacts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

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

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 5);
}

.contact-item {
  background: var(--bg-white);
  padding: calc(var(--spacing-unit) * 5);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.contact-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto calc(var(--spacing-unit) * 3);
  filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.3));
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-weight: 700;
}

.contact-item p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.contact-item a {
  display: inline-block;
  margin-top: calc(var(--spacing-unit) * 2);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: calc(var(--spacing-unit) * 6);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-header {
  background: var(--bg-gradient);
  color: white;
  text-align: center;
  padding: calc(var(--spacing-unit) * 16) 0;
  position: relative;
  overflow: hidden;
}

.about-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.about-header > .container {
  position: relative;
  z-index: 1;
}

.about-header h1 {
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 3);
  background: linear-gradient(135deg, white 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.about-blocks {
  padding: calc(var(--spacing-unit) * 12) 0;
}

.about-block {
  background: var(--bg-white);
  padding: calc(var(--spacing-unit) * 6);
  border-radius: var(--border-radius);
  margin-bottom: calc(var(--spacing-unit) * 5);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.about-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
}

.about-block h2 {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-weight: 700;
}

.about-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.policy-page {
  padding: calc(var(--spacing-unit) * 12) 0;
}

.policy-header {
  background: var(--bg-gradient);
  color: white;
  text-align: center;
  padding: calc(var(--spacing-unit) * 16) 0;
  position: relative;
  overflow: hidden;
}

.policy-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.policy-header > .container {
  position: relative;
  z-index: 1;
}

.policy-header h1 {
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 3);
  background: linear-gradient(135deg, white 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  font-weight: 400;
}

.policy-content {
  background: var(--bg-white);
  padding: calc(var(--spacing-unit) * 6);
  border-radius: var(--border-radius);
  min-height: 300px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 calc(var(--spacing-unit) * 2);
  }
  
  .block-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: calc(var(--spacing-unit) * 8) 0;
  }

  .hero {
    padding: calc(var(--spacing-unit) * 12) 0;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .header-content {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
    min-height: auto;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 4);
    text-align: center;
  }

  .block-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 3);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 3);
  }

  .block-item {
    padding: calc(var(--spacing-unit) * 4);
  }

  .about-block {
    padding: calc(var(--spacing-unit) * 4);
  }

  .policy-content {
    padding: calc(var(--spacing-unit) * 4);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions button {
    width: 100%;
    max-width: 300px;
  }

  .feature-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--spacing-unit) * 8) 0;
  }

  .about-header,
  .policy-header {
    padding: calc(var(--spacing-unit) * 10) 0;
  }

  .block-item,
  .contact-item {
    padding: calc(var(--spacing-unit) * 3);
  }

  .product-action {
    flex-direction: column;
  }

  .product-action button {
    flex: none;
  }

  .feature-image {
    height: 200px;
  }
}

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

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

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-secondary: #000000;
  }
}

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