﻿/* =============================================
   yoyang TECH - Landing Pages Style
   Plan A: Light Industrial Professional Theme
   ============================================= */

:root {
  --primary: #1E4D8C;
  --primary-dark: #163A6B;
  --accent: #00A67E;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;
  --card: #FFFFFF;
  --text: #1A2B3C;
  --text-2: #5A6B7B;
  --text-muted: #8A9BAC;
  --border: #E3E8EF;
  --shadow: 0 2px 12px rgba(26,43,60,0.06);
  --shadow-md: 0 4px 20px rgba(26,43,60,0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  padding: 0 40px; display: flex; justify-content: space-between;
  align-items: center; height: 64px; border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--text-2); font-size: 0.88rem; font-weight: 500; transition: color 0.3s; text-decoration: none; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  padding: 8px 18px !important; background: var(--primary) !important;
  color: #fff !important; border-radius: 6px; transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; text-decoration: none !important; }

/* Hero */
.lp-hero {
  position: relative; padding-top: 64px;
  min-height: 70vh; display: flex; align-items: center;
  background: linear-gradient(155deg, #1E4D8C 0%, #163A6B 100%);
  overflow: hidden;
}
.lp-hero-bg { position: absolute; inset: 0; }
.lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.1; }
.lp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,58,107,0.88) 0%, rgba(30,77,140,0.75) 100%); }
.lp-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 50px 40px; width: 100%; }
.hero-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; color: rgba(255,255,255,0.95); font-size: 0.72rem; font-weight: 600;
  margin-bottom: 16px;
}
.lp-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.lp-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 540px; line-height: 1.7; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; background: #fff; color: var(--primary);
  border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  transition: all 0.3s; text-decoration: none; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--bg-alt); transform: translateY(-1px); text-decoration: none; }
.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; background: var(--accent); color: #fff;
  border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  transition: all 0.3s; text-decoration: none; border: none; cursor: pointer;
}
.btn-accent:hover { background: #008c6a; transform: translateY(-1px); text-decoration: none; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s; text-decoration: none;
}
.btn-outline:hover { border-color: #fff; text-decoration: none; }

/* Hero specs bar */
.specs-bar {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.spec-item { text-align: center; }
.spec-val { font-size: 1.4rem; font-weight: 800; color: #fff; }
.spec-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* Section */
.section { padding: 70px 40px; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-tag {
  display: inline-block; padding: 4px 12px;
  background: rgba(30,77,140,0.08); border: 1px solid rgba(30,77,140,0.15);
  border-radius: 4px; color: var(--primary);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.section-header h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.section-header p { color: var(--text-2); font-size: 0.95rem; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.4rem; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem;
  box-shadow: var(--shadow); transition: all 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px; height: 48px; margin-bottom: 1rem;
  background: rgba(30,77,140,0.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; }
.card h3 { font-size: 1rem; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 0.88rem; line-height: 1.7; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.specs-table th, .specs-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.specs-table th { background: var(--bg-alt); color: var(--text-2); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.specs-table td { color: var(--text); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: var(--bg-alt); }

/* Applications */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.2rem; }
.app-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px;
}
.app-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.app-item span { font-size: 0.9rem; font-weight: 500; }

/* Cert row */
.cert-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cert-badge {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
}
.cert-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* CTA section */
.cta-section {
  background: linear-gradient(155deg, #1E4D8C 0%, #163A6B 100%);
  padding: 60px 40px; text-align: center;
  border-radius: 16px; margin: 0 40px 60px;
}
.cta-section h2 { font-size: 1.7rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 24px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q { padding: 1rem 1.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.92rem; }
.faq-q .icon { color: var(--text-muted); transition: all 0.3s; font-style: normal; }
.faq-item.active .faq-q .icon { transform: rotate(45deg); color: var(--primary); }
.faq-a { display: none; padding: 0 1.4rem 1rem; color: var(--text-2); font-size: 0.88rem; line-height: 1.7; }
.faq-item.active .faq-a { display: block; }

/* Contact strip */
.contact-strip { background: var(--card); border-top: 1px solid var(--border); padding: 40px; }
.contact-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.contact-info { display: flex; flex-wrap: wrap; gap: 2rem; }
.contact-chip { display: flex; align-items: center; gap: 10px; }
.contact-chip-icon { width: 40px; height: 40px; background: rgba(30,77,140,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.contact-chip-text h4 { font-size: 0.72rem; color: var(--text-2); font-weight: 500; margin-bottom: 2px; }
.contact-chip-text p, .contact-chip-text a { font-size: 0.92rem; font-weight: 600; color: var(--primary); text-decoration: none; }

/* Footer */
.footer { background: #163A6B; color: #fff; padding: 2.5rem 40px 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-brand h3 { font-size: 1.1rem; margin-bottom: 6px; }
.footer-brand h3 span { color: #5CA8E0; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.82rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 54px; height: 54px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); text-decoration: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 50px 20px; }
  .lp-hero-content { padding: 40px 20px; }
  .lp-hero h1 { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; }
  .specs-bar { gap: 1.2rem; }
  .cta-section { margin: 0 20px 40px; padding: 40px 20px; }
  .footer { padding: 2rem 20px 1rem; }
  .contact-strip { padding: 30px 20px; }
  .contact-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

