/* ===== UTILITY ===== */
.section { padding: 80px 0; }

/* ===== HERO ===== */
.hero {
  padding-top: 160px; padding-bottom: 80px;
  background: var(--gradient-hero); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,80,80,.06) 0%, transparent 70%);
}
.hero .container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; font-size: 13px;
  background: var(--primary-light); color: var(--primary); font-weight: 600;
  margin-bottom: 24px; border: 1px solid rgba(238,80,80,.15);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
.hero h1 { font-size: 48px; line-height: 1.2; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); }
.hero p { font-size: 18px; color: var(--text-mid); margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 24px; }
.hero-trust { font-size: 13px; color: var(--text-light); }
.hero-visual { flex: 1; max-width: 480px; position: relative; }
.hero-card {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-hover); border: 1px solid var(--border);
}
.hero-card .code-block {
  background: #1a1a2e; border-radius: 10px; padding: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #e9f0fc;
  overflow-x: auto; line-height: 1.8;
}
.code-block .kw { color: #ee5050; }
.code-block .str { color: #ee9250; }
.code-block .key { color: #63b1bd; }
.hero-card .card-label { font-size: 12px; color: var(--text-light); margin-bottom: 8px; font-weight: 500; }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 48px 0; border-bottom: 1px solid var(--border); }
.trust-stats { display: flex; justify-content: center; gap: 60px; }
.trust-stat { text-align: center; }
.trust-stat .num { font-size: 36px; font-weight: 700; }
.trust-stat .label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ===== PRODUCTS ===== */
.products { background: var(--bg-gray); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header .overline { font-size: 13px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--text-mid); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: 12px; padding: 32px 24px;
  border: 1px solid var(--border); transition: all .3s ease; cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(238,80,80,.15); }
.product-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
}
.product-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { padding: 32px; border-radius: 12px; background: #fff; border: 1px solid var(--border); transition: all .3s ease; }
.feature-card:hover { box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff; font-size: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-gray); }
.steps { display: flex; gap: 32px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 40px; left: 80px; right: 80px;
  height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .2;
}
.step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff; font-size: 20px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(238,80,80,.25);
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-mid); max-width: 260px; margin: 0 auto; }

/* ===== COVERAGE MAP ===== */
.coverage { background: var(--bg-warm); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coverage-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  background: #fff; border-radius: 10px; border: 1px solid var(--border);
}
.coverage-flag { font-size: 28px; }
.coverage-item h4 { font-size: 15px; font-weight: 600; }
.coverage-item p { font-size: 13px; color: var(--text-light); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.pricing-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  border: 1px solid var(--border); transition: all .3s ease; position: relative;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 8px 32px rgba(238,80,80,.15); }
.pricing-card.featured::before {
  content: 'Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: #fff; padding: 4px 16px;
  border-radius: 100px; font-size: 12px; font-weight: 600;
}
.pricing-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.pricing-card .price { font-size: 36px; font-weight: 700; margin-bottom: 4px; }
.pricing-card .price span { font-size: 16px; color: var(--text-light); font-weight: 400; }
.pricing-card .price-note { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.pricing-card ul { margin-bottom: 28px; }
.pricing-card li { padding: 8px 0; font-size: 14px; color: var(--text-mid); border-bottom: 1px solid #f5f7fa; display: flex; align-items: center; gap: 8px; }
.pricing-card li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ===== DEV SECTION ===== */
.dev-section { background: #1a1a2e; color: #fff; }
.dev-section .section-header h2 { color: #fff; }
.dev-section .section-header p { color: rgba(255,255,255,.6); }
.dev-content { display: flex; gap: 48px; align-items: center; }
.dev-text { flex: 1; }
.dev-text h3 { font-size: 24px; margin-bottom: 16px; }
.dev-text p { color: rgba(255,255,255,.7); margin-bottom: 24px; line-height: 1.7; }
.dev-text .lang-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.dev-text .lang-tab { padding: 6px 14px; border-radius: 8px; font-size: 13px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); cursor: pointer; transition: all .2s; }
.dev-text .lang-tab.active { background: var(--primary); color: #fff; }
.code-panel { flex: 1; max-width: 520px; }
.code-panel pre { background: rgba(255,255,255,.06); border-radius: 12px; padding: 24px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.8; overflow-x: auto; color: #e9f0fc; }
.code-panel .comment { color: #737e97; }
.code-panel .string { color: var(--accent); }
.code-panel .keyword { color: #ee5050; }
.code-panel .func { color: #63b1bd; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-gray); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid var(--border); }
.testimonial-card .stars { color: #ee9250; font-size: 14px; margin-bottom: 16px; }
.testimonial-card blockquote { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 14px; }
.testimonial-card .author-info .name { font-size: 14px; font-weight: 600; }
.testimonial-card .author-info .role { font-size: 12px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { padding: 20px 0; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color .2s; }
.faq-q:hover { color: var(--primary); }
.faq-q .arrow { transition: transform .3s; font-size: 18px; color: var(--text-light); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--gradient-primary); padding: 80px 0; text-align: center; color: #fff; }
.cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: .9; margin-bottom: 32px; }
.cta-section .btn-white { padding: 14px 36px; font-size: 16px; }
.cta-section .btn-outline-white { padding: 12px 36px; font-size: 16px; border-color: #fff; color: #fff; }
.cta-section .btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .product-grid, .features-grid, .pricing-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 835px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero { padding-top: 120px; padding-bottom: 48px; }
  .hero h1 { font-size: 32px; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .trust-stats { flex-wrap: wrap; gap: 32px; }
  .product-grid, .features-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .steps::before { display: none; }
  .dev-content { flex-direction: column; }
  .coverage-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }
  .section { padding: 48px 0; }
  .cta-section h2 { font-size: 28px; }
  .cta-section p { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; padding-bottom: 36px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-visual { display: none; }
  .trust-stats { flex-direction: column; gap: 20px; }
  .trust-stat .num { font-size: 28px; }
  .product-grid, .features-grid { gap: 16px; }
  .coverage-item { padding: 16px; }
  .testimonial-card { padding: 20px; }
  .section-header h2 { font-size: 24px; }
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 24px; }
  .faq-q { font-size: 15px; padding: 16px 0; }
}
