/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #ffffff;
  transition: background 0.5s ease, color 0.5s ease;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: 48px; object-fit: contain; border-radius: 4px; }
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0f1b2d;
  transition: color 0.5s;
}
nav ul { display: flex; gap: 32px; }
nav ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  color: #4a5568;
  transition: color 0.3s;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #0f1b2d;
  transition: width 0.3s, background 0.5s;
}
nav ul li a:hover, nav ul li a.active { color: #0f1b2d; }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #0f1b2d; margin: 5px 0; transition: background 0.5s; }

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #0f1b2d 0%, #1a2d4a 50%, #0f1b2d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: background 0.5s;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
  animation: heroShimmer 20s linear infinite;
}
@keyframes heroShimmer { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  position: relative;
}
.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0.85;
  position: relative;
}
.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  background: #ffffff;
  color: #0f1b2d;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.5s, color 0.5s;
  position: relative;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== HERO SPLIT LAYOUT ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-split .hero-text h1 { font-size: 2.6rem; }
.hero-image {
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== BRAND SECTION ===== */
.brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.brand-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15,27,45,0.12);
}
.brand-text p {
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
  transition: color 0.5s;
}

@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-text h1 { font-size: 2rem; }
  .hero-image img { max-width: 280px; margin: 0 auto; }
  .brand-split { grid-template-columns: 1fr; gap: 32px; }
  .brand-image img { max-width: 320px; margin: 0 auto; }
  .brand-text .section-title { text-align: center !important; }
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: #f7f9fc; transition: background 0.5s; }
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f1b2d;
  transition: color 0.5s;
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 48px;
  transition: color 0.5s;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.5s, border-color 0.5s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,27,45,0.08); }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #eef2f7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background 0.5s;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; transition: color 0.5s; }

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.5s, border-color 0.5s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,27,45,0.08); }
.product-img {
  height: 200px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: background 0.5s;
}
.product-info { padding: 20px; }
.product-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.product-info p { font-size: 0.85rem; color: #64748b; margin-bottom: 12px; transition: color 0.5s; }
.product-cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f1b2d;
  padding: 8px 20px;
  border: 1.5px solid #0f1b2d;
  border-radius: 6px;
  transition: all 0.3s;
}
.product-cta:hover { background: #0f1b2d; color: #ffffff; }

/* ===== PRODUCT CATEGORIES ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.category-card:hover, .category-card.active {
  border-color: #0f1b2d;
  box-shadow: 0 4px 16px rgba(15,27,45,0.1);
}
.category-card .cat-icon { font-size: 36px; margin-bottom: 12px; }
.category-card h3 { font-size: 1rem; font-weight: 600; }
.category-card p { font-size: 0.8rem; color: #64748b; margin-top: 4px; }

/* ===== ABOUT PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; color: #0f1b2d; transition: color 0.5s; }
.about-text p { color: #4a5568; margin-bottom: 16px; font-size: 0.95rem; transition: color 0.5s; }
.about-visual {
  background: linear-gradient(135deg, #0f1b2d, #1a2d4a);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 72px;
  transition: background 0.5s;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.value-item { text-align: center; padding: 24px; }
.value-item .val-icon { font-size: 32px; margin-bottom: 12px; }
.value-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.value-item p { font-size: 0.85rem; color: #64748b; transition: color 0.5s; }

/* ===== STATS ===== */
.stats-bar {
  background: #0f1b2d;
  padding: 48px 0;
  color: #ffffff;
  transition: background 0.5s;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h3 { font-size: 2.2rem; font-weight: 800; }
.stat-item p { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }

/* ===== CONTACT ===== */
.contact-info {
  max-width: 560px;
  margin: 0 auto;
}
.contact-info h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; color: #0f1b2d; transition: color 0.5s; }
.contact-info p { color: #4a5568; margin-bottom: 24px; transition: color 0.5s; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #4a5568;
  transition: color 0.5s;
}
.contact-detail .cd-icon { font-size: 20px; width: 40px; height: 40px; background: #eef2f7; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: background 0.5s; }

/* ===== FOOTER ===== */
footer {
  background: #0a1120;
  color: #94a3b8;
  padding: 48px 0 24px;
  font-size: 0.85rem;
  transition: background 0.5s, color 0.5s;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand .logo-text { color: #ffffff; font-size: 1rem; margin-bottom: 8px; }
.footer-brand p { line-height: 1.6; }
.footer-col h4 { color: #ffffff; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  color: #64748b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav ul {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: 12px 0; display: block; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 64px 0 56px; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
