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

:root {
  --primary: #000;
  --primary-hover: #333;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --text: #1d1d1f;
  --text-secondary: #86868b;
  --text-light: #a1a1a6;
  --bg: #fff;
  --bg-secondary: #f5f5f7;
  --bg-dark: #1d1d1f;
  --border: #d2d2d7;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  max-width: 1080px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.logo-icon {
  color: var(--accent);
}

.logo-text {
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--accent);
  background: rgba(0,113,227,0.1);
}

/* Page */
.page {
  display: none;
  padding-top: 48px;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* Hero Section */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0px) brightness(0.7);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  color: #fff;
}

.hero-title {
  font-size: clamp(56px, 11vw, 96px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  font-size: 14px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* Stats Bar */
.stats-bar {
  background: var(--bg-dark);
  padding: 48px 0;
}

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

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

.stat-num {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.stat-text {
  font-size: 14px;
  color: var(--text-light);
}

/* Products Section */
.products-section {
  padding: 96px 0 64px;
  background: var(--bg);
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-desc {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 48px;
}

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

.featured-card,
.product-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover,
.product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.featured-card img,
.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.featured-card-content,
.product-card-content {
  padding: 28px;
}

.featured-card h3,
.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.featured-card p,
.product-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.featured-card .price,
.product-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.view-more {
  text-align: center;
  margin-top: 16px;
}

/* Features Section */
.features-section {
  padding: 64px 0 96px;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--bg-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Detail Page */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 32px;
  transition: all 0.3s;
  color: var(--text);
  font-size: 14px;
}

.btn-back:hover {
  background: var(--border);
}

.detail-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 80px;
}

.detail-media {
  background: var(--bg-secondary);
  border-radius: 24px;
  overflow: hidden;
}

.detail-media img,
.detail-media video {
  width: 100%;
  display: block;
}

.detail-media video {
  max-height: 560px;
  object-fit: contain;
  background: #000;
}

.detail-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.detail-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
}

.detail-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 15px;
}

.detail-features h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-features li {
  background: var(--bg-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Contact Page */
.page-header-section {
  padding: 64px 0 48px;
  background: var(--bg-secondary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 80px;
}

.contact-info {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #e0e0e0;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #444;
}

.contact-info strong {
  color: var(--text);
  min-width: 70px;
}

.contact-info .icon {
  width: 36px;
  height: 36px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.message-form {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 24px;
}

.message-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}

.message-form .btn-primary {
  width: 100%;
}

/* Footer */
footer {
  background: var(--bg-dark);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.footer-brand .logo-icon {
  color: #fff;
}

footer p {
  color: var(--text-light);
  font-size: 12px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg);
  padding: 40px;
  border-radius: 20px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
}

.close:hover {
  color: var(--text);
}

.placeholder-img {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-light);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    padding: 0 16px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-num {
    font-size: 36px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
}