:root {
  --bg: #f6f8ff;
  --white: #ffffff;
  --dark: #122a42;
  --dark-soft: #2a3d54;
  --primary: #1a73e8;
  --primary-dark: #0c5dc8;
  --accent: #30c58f;
  --accent-dark: #1e9c75;
  --border: #e6e9f0;
  --shadow: 0 14px 35px rgba(17, 35, 62, 0.14);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Alef', sans-serif;
  color: #1e2f4f;
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, 90vw);
  margin: 0 auto;
}

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.top-bar {
  background: #e6f2ff;
  color: #1f4f76;
  font-size: 0.86rem;
  padding: 6px 0;
}

.top-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drop-tag {
  font-weight: 700;
}

.quick-links a {
  margin-left: 16px;
  color: #11539d;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #2258a8;
}

.main-nav {
  display: flex;
  gap: 14px;
}

.main-nav a {
  font-weight: 600;
  color: #334e6f;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: #eff6ff;
  color: var(--primary);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.icon-btn {
  height: 36px;
  width: 36px;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  border: 1px solid #d2e2f1;
  color: #2a4671;
}

.mobile-menu-btn {
  display: none;
  border: 1px solid #d2e2f1;
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--white);
  color: #2a4671;
  font-size: 1.2rem;
}

.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  inset: 0;
  position: absolute;
  background: linear-gradient(120deg, rgba(7, 25, 46, 0.65), rgba(22, 65, 118, 0.65));
}

.hero-content {
  position: relative;
  max-width: 640px;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 900;
}

.hero p {
  margin: 0 0 18px;
  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  opacity: 0.95;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: var(--dark);
}

.categories-grid,
.products-grid,
.feature-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

.categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.category-card,
.product-card,
.feature-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover,
.product-card:hover,
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(17, 35, 62, 0.18);
}

.category-card img,
.product-card img,
.feature-box img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 160px;
}

.category-card h3,
.product-card h3,
.feature-box h3 {
  margin: 12px 14px 8px;
  font-size: 1.1rem;
}

.category-card p,
.product-card p,
.feature-box p {
  margin: 0 14px 14px;
  color: #5f6f86;
  font-size: 0.9rem;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card .price {
  margin: 0 14px;
  font-weight: 800;
  color: #0f3e7b;
}

.old-price {
  text-decoration: line-through;
  color: #8a97ab;
  margin-left: 5px;
  font-weight: 500;
}

.product-card .btn {
  margin: 10px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-box {
  padding: 20px;
  text-align: center;
}

.feature-box img {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}

.newsletter-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 30px;
}

.newsletter-form {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1 1 230px;
  min-width: 170px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #cddee6;
  font-size: 0.95rem;
}

.site-footer {
  background: #0f1d35;
  color: #d0d9e9;
  padding: 40px 0 20px;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
}

.footer-col a {
  display: inline-block;
  color: #b7c7e1;
  margin: 6px 0;
  font-size: 0.95rem;
}

.social-icons a {
  margin-left: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #94a5c0;
}

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .header-main {
    flex-wrap: wrap;
    gap: 8px;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding: 12px 0;
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 10px;
    flex-direction: column;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    padding: 8px 12px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    min-height: 55vh;
  }
}

@media (max-width: 640px) {
  .top-left {
    flex-direction: column;
    gap: 6px;
  }

  .header-actions {
    order: 2;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .feature-grid,
  .products-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }
}