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

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-light { background: #f8f9ff; }
.center { text-align: center; }
.mt-2 { margin-top: 32px; }

/* ========== NAVBAR ========== */
.navbar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.25rem; font-weight: 700; color: #2563eb; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.95rem; color: #444; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; }
.btn-nav { background: #2563eb; color: #fff !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; }
.btn-nav:hover { background: #1d4ed8; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ========== BUTTONS ========== */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem; transition: all 0.2s; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-outline { border: 2px solid #2563eb; color: #2563eb; }
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-white { background: #fff; color: #2563eb; font-weight: 700; }
.btn-white:hover { background: #f0f4ff; }

/* ========== HERO ========== */
.hero { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%); color: #fff; padding: 80px 0; }
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; margin-bottom: 20px; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.highlight { color: #fbbf24; }
.hero-text p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: #fbbf24; }
.stat span { font-size: 0.85rem; opacity: 0.8; }
.hero-img { flex-shrink: 0; }
.hero-card { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 48px; text-align: center; }
.hero-icon { font-size: 5rem; margin-bottom: 16px; }
.hero-card p { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.hero-card small { opacity: 0.75; }

/* ========== SECTION TITLES ========== */
.section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: #666; font-size: 1.05rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========== GRIDS ========== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ========== CARDS ========== */
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px 24px; text-align: center; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 8px 30px rgba(37,99,235,0.1); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: #666; font-size: 0.95rem; }

/* ========== PRODUCT CARDS ========== */
.product-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px; text-align: center; transition: all 0.2s; }
.product-card:hover { box-shadow: 0 8px 30px rgba(37,99,235,0.12); transform: translateY(-4px); }
.product-img { font-size: 4rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.product-card p { color: #666; font-size: 0.95rem; margin-bottom: 16px; }
.product-card a { color: #2563eb; font-weight: 600; }

/* ========== HOW IT WORKS ========== */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { flex: 1; min-width: 160px; text-align: center; padding: 24px; }
.step-num { width: 48px; height: 48px; background: #2563eb; color: #fff; border-radius: 50%; font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: #666; font-size: 0.9rem; }
.step-arrow { font-size: 2rem; color: #cbd5e1; align-self: center; padding-top: 0; }

/* ========== TESTIMONIALS ========== */
.testimonial { background: #fff; border-radius: 12px; padding: 32px; border-left: 4px solid #2563eb; }
.testimonial p { color: #444; font-style: italic; margin-bottom: 16px; }
.testimonial strong { color: #1a1a2e; font-size: 0.9rem; }

/* ========== CTA ========== */
.cta { background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); color: #fff; }
.cta h2 { font-size: 2rem; margin-bottom: 16px; }
.cta p { opacity: 0.9; margin-bottom: 32px; font-size: 1.05rem; }

/* ========== FOOTER ========== */
.footer { background: #1a1a2e; color: #aaa; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-col a, .footer-col p { display: block; margin-bottom: 8px; font-size: 0.9rem; color: #aaa; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2d2d4e; text-align: center; padding: 20px 0; font-size: 0.85rem; }

/* ========== PAGE HERO ========== */
.page-hero { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: #fff; padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { opacity: 0.85; font-size: 1.1rem; }

/* ========== PRODUCT DETAIL ========== */
.product-detail { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 40px; margin-bottom: 32px; display: flex; gap: 40px; align-items: flex-start; }
.product-detail-img { font-size: 6rem; flex-shrink: 0; }
.product-detail h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.product-detail p { color: #555; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.spec-table td { padding: 8px 12px; border: 1px solid #e5e7eb; font-size: 0.9rem; }
.spec-table td:first-child { background: #f8f9ff; font-weight: 600; width: 40%; }

/* ========== ABOUT ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { background: linear-gradient(135deg, #dbeafe, #ede9fe); border-radius: 16px; height: 360px; display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.about-text p { color: #555; margin-bottom: 16px; }
.cert-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.cert { background: #f0f4ff; border-radius: 8px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; color: #2563eb; }

/* ========== BLOG ========== */
.blog-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: all 0.2s; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(37,99,235,0.1); transform: translateY(-4px); }
.blog-img { background: linear-gradient(135deg, #dbeafe, #ede9fe); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-body { padding: 24px; }
.blog-tag { font-size: 0.75rem; background: #dbeafe; color: #2563eb; padding: 4px 10px; border-radius: 50px; font-weight: 600; }
.blog-body h3 { font-size: 1.1rem; font-weight: 700; margin: 12px 0 8px; }
.blog-body p { color: #666; font-size: 0.9rem; margin-bottom: 16px; }
.blog-body a { color: #2563eb; font-weight: 600; font-size: 0.9rem; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: #555; margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.9rem; color: #888; margin-bottom: 2px; }
.contact-item span { color: #1a1a2e; font-weight: 500; }
.contact-form { background: #f8f9ff; border-radius: 16px; padding: 40px; }
.contact-form h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: #444; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 0.95rem; font-family: inherit; outline: none; transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #2563eb; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; padding: 14px; background: #2563eb; color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: #1d4ed8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-img { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-detail { flex-direction: column; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eee; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
}
