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

:root {
  --primary: #0a1a3a;
  --primary-light: #0f2450;
  --accent: #e85d2c;
  --accent-hover: #d04e20;
  --text: #1a1a2e;
  --text-light: #555;
  --bg: #ffffff;
  --bg-light: #f4f6f9;
  --gray: #e8ecf1;
  --border: #dde1e8;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --radius: 12px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo img { height: 40px; }

.nav { display: flex; gap: 6px; }

.nav-item {
  position: relative;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
}

.nav-item:hover { background: rgba(255,255,255,0.1); }

.nav-item .arrow { font-size: 10px; margin-left: 6px; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  transition: background 0.15s;
}

.dropdown a:hover { background: var(--bg-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2a5e 50%, #132e5a 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.03'%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");
  pointer-events: none;
}

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

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

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 8px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 16px;
  opacity: 0.75;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
  border: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,93,44,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* SECTIONS */
section { padding: 80px 0; }

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* STATS */
.stats {
  background: var(--bg-light);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-number .infinity {
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-top: 10px;
  font-weight: 600;
}

.stat-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

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

.product-card-img {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 1;
}

.product-card-body {
  padding: 20px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-specs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.product-card-specs div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dotted var(--gray);
}

.product-card-specs div:last-child {
  border-bottom: none;
}

.product-card-specs span:first-child {
  color: var(--text-light);
}

.product-card-specs span:last-child {
  color: var(--text);
  font-weight: 500;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.product-card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

/* REVIEWS */
.reviews {
  background: var(--bg-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 15px;
}

.review-product {
  font-size: 13px;
  color: var(--text-light);
}

/* VIDEO */
.video-section {
  background: var(--primary);
  color: #fff;
}

.video-section .section-label { color: var(--accent); }

.video-section .section-desc { color: rgba(255,255,255,0.7); }

.video-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.video-icon {
  font-size: 56px;
  color: var(--accent);
  margin-bottom: 16px;
}

.video-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.video-card p {
  opacity: 0.7;
  margin-bottom: 24px;
}

.video-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.2s;
}

.btn-video:hover {
  background: rgba(255,255,255,0.2);
}

.btn-video i { font-size: 18px; }

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.news-card:hover { box-shadow: var(--shadow); }

.news-card-img {
  height: 180px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.news-card-title {
  font-size: 16px;
  font-weight: 700;
}

/* FORM SECTION */
.form-section {
  background: var(--bg-light);
}

.form-wrapper {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-wrapper h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.form-wrapper p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,93,44,0.1);
}

.form-group .required {
  color: var(--accent);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s;
}

.btn-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(232,93,44,0.3);
}

.form-footer-text {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 16px;
}

.form-footer-text a {
  text-decoration: underline;
  color: var(--text-light);
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
}

.footer-socials a:hover { background: var(--accent); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  opacity: 0.6;
  padding: 4px 0;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 12px;
}

/* MOBILE */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  }
  .nav.open .nav-item { padding: 12px 0; }
  .dropdown {
    position: static;
    background: transparent;
    color: #fff;
    box-shadow: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-item:hover .dropdown { display: block; }
  .dropdown a:hover { background: rgba(255,255,255,0.05); }

  .hamburger { display: flex; }
  .header-phone { display: none; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

@media (max-width: 600px) {
  .hero { padding: 60px 0 50px; }
  section { padding: 50px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-wrapper { padding: 24px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }
}

/* PRODUCT PAGE */
.product-page {
  padding: 40px 0 80px;
}
.product-page-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.product-page-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
}
.product-page-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-page-info h1 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}
.product-page-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
}
.product-page-specs {
  margin-bottom: 24px;
}
.product-page-specs-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dotted var(--gray);
  font-size: 14px;
}
.product-page-specs-row:last-child {
  border-bottom: none;
}
.product-page-specs-label {
  color: var(--text-light);
}
.product-page-specs-value {
  font-weight: 600;
}
.product-page-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}
.product-page-features {
  margin-bottom: 24px;
}
.product-page-features h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-page-features ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}
.product-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-page-section {
  margin-bottom: 48px;
}
.product-page-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-page-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 800px;
}
.product-page-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}
.product-page-table tr {
  border-bottom: 1px dotted var(--gray);
}
.product-page-table td {
  padding: 10px 0;
  font-size: 14px;
}
.product-page-table td:first-child {
  color: var(--text-light);
  width: 40%;
}
.product-page-table td:last-child {
  font-weight: 600;
}
@media (max-width: 768px) {
  .product-page-header {
    grid-template-columns: 1fr;
  }
}
