/* InnovaGoods Zencare — Orange & Blue theme */
:root {
  --primary: #0d3b66;
  --primary-light: #1a5f9e;
  --accent: #e85d04;
  --accent-dark: #d00000;
  --accent-soft: #f48c06;
  --bg: #f0f5fa;
  --bg-alt: #e8f0f8;
  --text: #1a2332;
  --text-light: #4a5568;
  --white: #ffffff;
  --border: #c5d4e3;
  --success: #2e7d32;
  --danger: #c62828;
  --radius: 14px;
  --shadow: 0 10px 35px rgba(13, 59, 102, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(232, 93, 4, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(13, 59, 102, 0.07) 0%, transparent 50%),
    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='%230d3b66' 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");
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* HEADER + NAV */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(13, 59, 102, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 12px; flex-wrap: wrap;
}
.logo {
  font-weight: 800; font-size: 1.3rem; color: var(--primary);
  letter-spacing: -0.03em; white-space: nowrap;
}
.logo span { color: var(--accent); font-weight: 600; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a {
  padding: 8px 13px; font-size: 0.92rem; font-weight: 600;
  color: var(--primary); border-radius: 8px; transition: all 0.2s;
}
.nav-menu a:hover { background: var(--bg-alt); color: var(--accent); }

.header-phone { font-weight: 700; color: var(--primary); font-size: 0.95rem; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; box-shadow: 0 4px 15px rgba(232, 93, 4, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.45);
}
.btn-outline {
  background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* HERO */
.hero {
  padding: 56px 0 70px;
  background: linear-gradient(165deg, #fff 0%, var(--bg-alt) 60%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(232,93,4,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.hero-title {
  font-size: 2.6rem; line-height: 1.18; font-weight: 800;
  color: var(--primary); margin-bottom: 18px; letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.2rem; color: var(--text-light); margin-bottom: 30px; line-height: 1.55;
}
.hero-img-wrap { display: flex; justify-content: center; position: relative; }
.hero-img-wrap img {
  max-width: 340px;
  filter: drop-shadow(0 25px 50px rgba(13, 59, 102, 0.18));
  border-radius: 8px;
}

/* SECTIONS */
.section { padding: 70px 0; }
.section-title {
  font-size: 2.1rem; font-weight: 800; color: var(--primary);
  margin-bottom: 14px; text-align: center; letter-spacing: -0.02em;
}
.section-sub {
  text-align: center; color: var(--text-light); max-width: 660px;
  margin: 0 auto 44px; font-size: 1.08rem;
}

.problem { background: var(--white); }
.problem-list { display: grid; gap: 18px; max-width: 720px; margin: 0 auto; }
.problem-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; background: var(--bg); border-radius: var(--radius);
  border-left: 5px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.problem-item strong { display: block; margin-bottom: 4px; color: var(--primary); font-size: 1.1rem; }

.product-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center;
}
.product-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 18px; font-weight: 800; }
.product-text p { margin-bottom: 16px; color: var(--text-light); font-size: 1.05rem; }

.composition { background: var(--white); }
.composition img { box-shadow: var(--shadow); }

.ing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px;
}
.ing-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden;
}
.ing-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.ing-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(13, 59, 102, 0.15); }
.ing-card .ing-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-alt), #d6e6f5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
}
.ing-card h4 { color: var(--primary); margin-bottom: 6px; font-size: 1.2rem; font-weight: 700; }
.ing-card .dose {
  font-size: 0.88rem; color: var(--accent); font-weight: 700;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.03em;
}
.ing-card p { font-size: 0.98rem; color: var(--text-light); line-height: 1.55; }

.quality {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
  text-align: center;
}
.certificate {
  max-width: 440px; margin: 32px auto 0; border: 3px solid var(--primary);
  border-radius: 12px; padding: 36px 28px;
  background: linear-gradient(145deg, #fff, #f0f7ff);
  position: relative; box-shadow: var(--shadow);
}
.certificate::before {
  content: "✓"; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; box-shadow: 0 4px 12px rgba(232, 93, 4, 0.4);
}
.certificate h4 { color: var(--primary); margin-bottom: 10px; font-size: 1.25rem; }
.certificate p { font-size: 1rem; color: var(--text-light); }

.packages { background: var(--bg); }
.pkg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 920px; margin: 0 auto;
}
.pkg-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 22px;
  text-align: center; border: 2px solid var(--border);
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pkg-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.18);
  transform: scale(1.03);
}
.pkg-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; font-size: 0.78rem; font-weight: 800;
  padding: 5px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
}
.pkg-name { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.pkg-price { font-size: 2.3rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.pkg-unit { font-size: 0.9rem; color: var(--text-light); margin-bottom: 6px; }
.pkg-save { color: var(--success); font-weight: 700; font-size: 0.95rem; margin-bottom: 20px; }

.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 0; background: none; border: none;
  font-size: 1.12rem; font-weight: 700; color: var(--primary); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 400; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 0 20px; color: var(--text-light); font-size: 1.02rem; line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

.order-form-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 100%);
  padding: 70px 0;
}
.form-wrap {
  max-width: 500px; margin: 0 auto; background: var(--white);
  padding: 40px 32px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-wrap h2 { text-align: center; color: var(--primary); margin-bottom: 8px; font-size: 1.7rem; font-weight: 800; }
.form-note { text-align: center; font-size: 0.95rem; color: var(--text-light); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.95rem; color: var(--primary); }
.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%; padding: 15px 16px; border: 2px solid var(--border);
  border-radius: 10px; font-size: 1.05rem; background: #fff; transition: border-color 0.2s;
}
.form-group input:focus { outline: none; border-color: var(--accent); }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 5px; display: none; }
.form-group.error input { border-color: var(--danger); }
.form-group.error .form-error { display: block; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; font-size: 0.9rem; }
.form-check input { margin-top: 4px; accent-color: var(--accent); }
.form-submit { width: 100%; }
.form-pay-note { text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--text-light); }

.footer {
  background: var(--primary); color: #b8cce0; padding: 55px 0 32px; font-size: 0.95rem;
}
.footer a { color: #e0ebf5; }
.footer a:hover { color: var(--accent-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px;
  font-size: 0.82rem; line-height: 1.55; color: #8aa4c0;
}
.footer-bottom p { margin-bottom: 12px; }

.thankyou { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.thankyou-box h1 { color: var(--primary); margin-bottom: 12px; font-size: 2rem; }

.text-center { text-align: center; }
.mt-20 { margin-top: 24px; }
.mb-20 { margin-bottom: 20px; }

.nav-toggle {
  display: none; background: none; border: none; font-size: 1.6rem;
  color: var(--primary); cursor: pointer; padding: 4px 8px;
}

@media (max-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "logo toggle btn"
      "menu menu menu";
    align-items: center;
    gap: 8px 12px;
  }
  .logo { grid-area: logo; }
  .nav-toggle { grid-area: toggle; display: block; }
  .header-inner > .btn { grid-area: btn; padding: 10px 18px; font-size: 0.88rem; }
  .header-phone { display: none; }

  .nav-menu {
    grid-area: menu;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: 1rem;
    border-radius: 0;
  }
  .nav-menu a:hover {
    background: var(--bg-alt);
  }
}
@media (max-width: 768px) {
  .hero-grid, .product-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-title { font-size: 1.95rem; }
  .hero-sub { font-size: 1.08rem; }
  .hero-img-wrap img { max-width: 260px; margin: 0 auto; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 360px; }
  .pkg-card.recommended { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.65rem; }
  .form-wrap { padding: 32px 22px; }
}
@media (max-width: 390px) {
  .hero-title { font-size: 1.7rem; }
  .btn-lg { padding: 15px 28px; font-size: 1rem; }
  body { font-size: 16px; }
}
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .form-wrap { padding: 28px 16px; }
}
