/* === Base Reset & Variables === */
:root {
  --primary: #0f4c75;
  --primary-light: #1b6ca8;
  --primary-dark: #082a42;
  --accent: #e8730c;
  --accent-hover: #cf6509;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-light: #f7f9fc;
  --bg-dark: #eef2f7;
  --border: #e2e8f0;
  --success: #16a34a;
  --max-width: 1140px;
  --header-height: 64px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Placeholder Images === */
.ph {
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}
.ph-label {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ph-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.ph-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  max-width: 280px;
}
.ph-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  opacity: 0.4;
}

/* === Header === */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary-light); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* === Hero === */
.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .ph {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: rgba(255,255,255,0.5);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,42,66,0.92) 0%, rgba(15,76,117,0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-item h4,
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.hero-stat-item p {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 2px;
  margin-bottom: 0;
}
.hero-image .ph {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}
.hero-image .ph-label { background: rgba(255,255,255,0.2); }
.hero-image .ph-title { color: rgba(255,255,255,0.8); }
.hero-image .ph-desc { color: rgba(255,255,255,0.5); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,115,12,0.3); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f8f9fa; color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* === Trust Bar === */
.trust-bar {
  background: var(--bg);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-light); font-weight: 500; }
.trust-icon { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* === Sections === */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 1.9rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; letter-spacing: -0.3px; }
.section-title p { color: var(--text-light); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

/* === Product Grid === */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 1px solid var(--border); }
.product-card .ph { aspect-ratio: 1; border: none; border-radius: 0; border-bottom: 1px solid var(--border); }
.product-info { padding: 16px; }
.product-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.product-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-specs { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; }
.product-specs span { display: inline-block; margin-right: 12px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-moq { font-size: 0.78rem; color: var(--text-muted); }
.product-link { font-size: 0.82rem; font-weight: 600; color: var(--accent); }

/* === Process Steps === */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.process-step {
  text-align: center;
  padding: 24px 12px;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--border);
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 auto 10px;
}
.process-step h3, .process-step h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.process-step p { font-size: 0.75rem; color: var(--text-light); }

/* === Application Cards === */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.app-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.app-card .ph { aspect-ratio: 3/2; border: none; border-radius: 0; }
.app-card-text {
  padding: 16px;
}
.app-card-text h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.app-card-text p { font-size: 0.8rem; color: var(--text-light); }

/* === Cert Bar === */
.cert-bar {
  padding: 48px 0;
  text-align: center;
}
.cert-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cert-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--primary);
  text-align: center;
  line-height: 1.1;
}
.cert-item span { font-size: 0.75rem; color: var(--text-light); }

/* === Case Studies === */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.case-card .ph { aspect-ratio: 16/10; border: none; border-radius: 0; border-bottom: 1px solid var(--border); }
.case-card-text { padding: 16px; }
.case-card-text h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.case-card-text p { font-size: 0.8rem; color: var(--text-light); }

/* === Features Grid === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.feature-card { padding: 28px 20px; text-align: center; }
.feature-icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  background: var(--bg-light); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--primary-light); }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--primary-dark); }
.feature-card p { font-size: 0.85rem; color: var(--text-light); }

/* === Stats === */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3, .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; display: block; }
.stat-item p { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}
.cta-banner h2 { font-size: 1.8rem; margin-bottom: 10px; font-weight: 700; }
.cta-banner p { opacity: 0.85; margin-bottom: 24px; font-size: 1rem; }

/* === Contact / Form === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2, .contact-info h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary-dark); }
.contact-detail { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-detail svg { width: 18px; height: 18px; fill: var(--primary-light); flex-shrink: 0; margin-top: 3px; }
.contact-detail strong { display: block; font-size: 0.9rem; margin-bottom: 1px; }
.contact-detail span { color: var(--text-light); font-size: 0.85rem; }

.inquiry-form { background: var(--bg); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.inquiry-form h2, .inquiry-form h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary-dark); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 4px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(27,108,168,0.08);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 13px; background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.form-submit:hover { background: var(--accent-hover); }

.offer-box {
  margin-top: 20px; padding: 16px; background: var(--bg-light); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.offer-box h4 { font-size: 0.9rem; margin-bottom: 8px; color: var(--primary-dark); }
.offer-box ul { padding-left: 18px; list-style: disc; }
.offer-box li { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }

/* === Page Header === */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 44px 0; text-align: center;
}
.page-header h1 { font-size: 2rem; margin-bottom: 6px; }
.page-header p { opacity: 0.85; font-size: 0.95rem; }

/* === Product Filter === */
.product-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.filter-btn {
  padding: 7px 16px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg); cursor: pointer; font-size: 0.82rem; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* === About === */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-content img { width: 100%; border-radius: var(--radius-lg); }
.about-content h2 { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 14px; }
.about-content p { color: var(--text-light); margin-bottom: 10px; font-size: 0.92rem; }
.about-list li { padding: 8px 0 8px 20px; position: relative; font-size: 0.9rem; }
.about-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

/* === Footer === */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 0.3px; }
.footer-col p { font-size: 0.82rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* === WhatsApp Float === */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; padding: 12px 20px;
  border-radius: 28px; font-weight: 600; font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.2s;
}
.wa-float:hover { transform: translateY(-2px); color: #fff; }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

/* === Responsive === */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero h1, .hero-text h1 { font-size: 1.9rem; }
  .hero { padding: 50px 0 60px; }
  .section { padding: 48px 0; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.5rem; }
  .section-title h2 { font-size: 1.4rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
}
