/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #faf9f6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ========== Typography ========== */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { color: #555; }
.highlight { color: #2563eb; }

/* ========== Navigation ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: #666; transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #1a1a2e; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: #2563eb; border-radius: 1px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #1a1a2e; border-radius: 2px;
  transition: 0.3s;
}

/* ========== Page System ========== */
.page { display: none; }
.page.active { display: block; }

/* ========== Hero ========== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f0f4ff 0%, #faf9f6 50%, #fef9e7 100%);
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  max-width: 600px; margin: 0 auto 36px;
  font-size: 1.1rem; color: #666; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: #1a1a2e; color: #fff;
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #1a1a2e;
  border: 2px solid #1a1a2e;
}
.btn-outline:hover { background: #1a1a2e; color: #fff; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ========== Trust Bar ========== */
.trust-bar {
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}
.trust-bar .container {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; color: #555;
}
.trust-icon { font-size: 1.3rem; }

/* ========== Section ========== */
.section { padding: 80px 0; }
.section-title {
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: #888; margin-bottom: 48px; font-size: 1rem;
}

/* ========== Product Cards ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 16px; padding: 28px;
  border: 1px solid #eee;
  transition: all 0.25s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: #d0d0d0;
}
.product-card-img {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product-emoji { font-size: 3rem; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 0.85rem; font-weight: 600; color: #2563eb; margin-top: auto; }

/* ========== CTA Section ========== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #2563eb 100%);
  color: #fff;
  padding: 100px 0;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: #fff; color: #1a1a2e; }
.cta-section .btn-primary:hover { background: #eef; transform: translateY(-1px); }

/* ========== Footer ========== */
.footer { padding: 48px 0 24px; border-top: 1px solid #eee; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer h4 { font-size: 1rem; margin-bottom: 4px; }
.footer p { font-size: 0.85rem; color: #888; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.88rem; color: #666; }
.footer-links a:hover { color: #2563eb; }
.footer-copy { text-align: center; margin-top: 32px; font-size: 0.8rem; color: #aaa; }

/* ========== Page Titles ========== */
.page-title { margin-bottom: 8px; }
.page-sub { color: #888; margin-bottom: 48px; }

/* ========== Back Link ========== */
.back-link {
  display: inline-block; margin-bottom: 32px;
  font-size: 0.9rem; color: #2563eb; font-weight: 500;
}
.back-link:hover { text-decoration: underline; }

/* ========== Product Detail ========== */
.product-detail-header {
  margin-bottom: 40px;
}
.product-detail-header h1 { margin-bottom: 8px; }
.product-detail-header .product-detail-category {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: #2563eb;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}
.product-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-image {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.product-detail-body h2 {
  font-size: 1.1rem; margin-bottom: 16px; margin-top: 28px;
}
.product-detail-body ul {
  list-style: none; padding: 0;
}
.product-detail-body li {
  padding: 8px 0; border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem; color: #555;
  display: flex; align-items: center; gap: 10px;
}
.product-detail-body li::before {
  content: "✓"; color: #2563eb; font-weight: 700;
}
.product-detail-cta {
  margin-top: 32px;
}
@media (max-width: 700px) {
  .product-detail-body { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== About ========== */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin-bottom: 20px; font-size: 1.02rem; line-height: 1.8; }
.about-stats {
  background: #fff; border-radius: 16px; padding: 28px;
  border: 1px solid #eee;
  display: flex; flex-direction: column; gap: 20px;
}
.stat {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.95rem; font-weight: 500;
}
.stat-number { font-size: 1.8rem; }
@media (max-width: 700px) {
  .about-content { grid-template-columns: 1fr; }
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.contact-label {
  display: block; font-size: 0.85rem; color: #888; margin-bottom: 4px;
}
.contact-value { font-size: 1.05rem; font-weight: 500; }
.contact-note { margin-top: 16px; font-size: 0.82rem; color: #aaa; font-style: italic; }
.contact-form {
  background: #fff; border-radius: 16px; padding: 32px;
  border: 1px solid #eee;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid #ddd; font-size: 0.92rem; font-family: inherit;
  background: #faf9f6;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: #2563eb;
}
.form-disclaimer {
  font-size: 0.78rem; color: #aaa; text-align: center;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========== Mobile Nav ========== */
@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 24px;
    gap: 16px; border-bottom: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 100px 0 60px; }
  .section { padding: 48px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .trust-bar .container { gap: 20px; }
}