/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: 'Noto Sans SC', -apple-system, sans-serif; color: #333; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

:root {
  --green: #2e7d32;
  --green-light: #4caf50;
  --green-dark: #1b5e20;
  --green-bg: #e8f5e9;
  --blue-dark: #1a237e;
  --gray-dark: #263238;
  --gray: #546e7a;
  --gray-light: #eceff1;
  --white: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Navbar === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px;
}
.logo-text { font-weight: 700; font-size: 18px; color: var(--gray-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--gray); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-dark); margin: 5px 0; transition: 0.3s; }

/* === Hero === */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b5e20 0%, #263238 50%, #1a237e 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: 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='%23ffffff' 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");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-content { position: relative; text-align: center; color: #fff; padding: 20px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 16px; letter-spacing: 2px; }
.hero-sub { display: block; font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 300; letter-spacing: 4px; margin-bottom: 8px; opacity: 0.8; }
.hero-desc { font-size: clamp(1rem, 2vw, 1.25rem); opacity: 0.85; margin-bottom: 40px; font-weight: 300; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 14px 36px; border-radius: 50px; font-size: 16px; font-weight: 500;
  transition: all 0.3s; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(46,125,50,0.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); text-align: center; font-size: 13px; }
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5); transform: rotate(45deg); margin: 10px auto 0; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(8px); } }

/* === Stats === */
.stats { background: var(--white); padding: 60px 0; border-bottom: 1px solid #eee; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--green); line-height: 1.2; }
.stat-unit { font-size: 1.2rem; font-weight: 500; }
.stat-label { font-size: 15px; color: var(--gray); margin-top: 6px; }

/* === Section Titles === */
.section-title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--gray-dark); margin-bottom: 12px; }
.section-title.light { color: var(--white); }
.section-subtitle { text-align: center; color: var(--gray); font-size: 16px; margin-bottom: 50px; }
.section-subtitle.light { color: rgba(255,255,255,0.75); }

/* === Services === */
.services { padding: 100px 0; background: var(--gray-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); padding: 40px 28px; border-radius: 16px; text-align: center;
  transition: all 0.3s; border: 1px solid #e0e0e0;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--green-light); }
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; color: var(--gray-dark); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* === Products === */
.products { padding: 100px 0; background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.product-card {
  border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.product-img { height: 220px; display: flex; align-items: center; justify-content: center; }
.product-placeholder { text-align: center; color: #fff; }
.product-placeholder span { font-size: 4rem; display: block; margin-bottom: 8px; }
.product-placeholder p { font-size: 14px; opacity: 0.8; }
.product-info { padding: 24px 28px 28px; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--gray-dark); }
.product-info p { font-size: 14px; color: var(--gray); margin-bottom: 14px; }
.product-tag {
  display: inline-block; padding: 4px 14px; background: var(--green-bg); color: var(--green);
  border-radius: 20px; font-size: 13px; font-weight: 500;
}

/* === Environmental === */
.environmental { padding: 100px 0; background: linear-gradient(135deg, #1b5e20, #263238); }
.env-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.env-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 20px;
  padding: 44px 36px; color: #fff; transition: all 0.3s;
}
.env-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.env-icon { margin-bottom: 20px; }
.env-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.env-card p { font-size: 15px; opacity: 0.85; line-height: 1.8; margin-bottom: 20px; }
.env-features { padding-left: 0; }
.env-features li { padding: 6px 0; font-size: 14px; opacity: 0.8; }
.env-features li::before { content: '✓ '; color: var(--green-light); font-weight: 700; }

/* === Innovation === */
.innovation { padding: 100px 0; background: var(--gray-light); }
.patent-showcase { text-align: center; margin-bottom: 50px; }
.patent-highlight {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--white); padding: 30px 50px; border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.patent-number { font-size: 4rem; font-weight: 900; color: var(--green); line-height: 1; }
.patent-text { text-align: left; }
.patent-text h3 { font-size: 1.3rem; color: var(--gray-dark); }
.patent-text p { font-size: 14px; color: var(--gray); }
.patents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.patent-card {
  background: var(--white); padding: 32px 24px; border-radius: 14px; text-align: center;
  border: 1px solid #e0e0e0; transition: all 0.3s;
}
.patent-card:hover { border-color: var(--green-light); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.patent-icon { font-size: 2.5rem; margin-bottom: 16px; }
.patent-card h4 { font-size: 1rem; color: var(--gray-dark); margin-bottom: 10px; }
.patent-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* === About === */
.about { padding: 100px 0; background: var(--white); }
.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.about-block { margin-bottom: 40px; }
.about-block h3 { font-size: 1.3rem; color: var(--green-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green-bg); }
.about-block p { font-size: 15px; color: #555; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--green-bg); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--green-bg);
}
.timeline-year { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.timeline-content h4 { font-size: 1rem; color: var(--gray-dark); margin-bottom: 4px; }
.timeline-content p { font-size: 14px; color: var(--gray); }

/* Info card */
.info-card { background: var(--gray-light); border-radius: 16px; padding: 32px; position: sticky; top: 90px; }
.info-card h3 { font-size: 1.2rem; color: var(--gray-dark); margin-bottom: 20px; }
.info-table { width: 100%; }
.info-table tr { border-bottom: 1px solid #ddd; }
.info-table td { padding: 12px 0; font-size: 14px; vertical-align: top; }
.info-table td:first-child { font-weight: 600; color: var(--gray-dark); width: 90px; white-space: nowrap; }
.info-table td:last-child { color: var(--gray); }

/* === Contact === */
.contact { padding: 100px 0; background: linear-gradient(135deg, #263238, #1a237e); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 28px; color: #fff; text-align: center; transition: 0.3s;
}
.contact-card:hover { background: rgba(255,255,255,0.12); }
.contact-icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { font-size: 14px; opacity: 0.8; }
.contact-map { border-radius: 16px; overflow: hidden; min-height: 300px; }
.map-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
}
.map-inner { text-align: center; color: var(--green-dark); }
.map-pin { font-size: 3rem; display: block; margin-bottom: 12px; }
.map-inner p { font-size: 1.2rem; font-weight: 600; }
.map-inner small { font-size: 14px; opacity: 0.7; }

/* === Footer === */
.footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--green-light); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 13px; opacity: 0.5; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-icon { width: 36px; height: 36px; font-size: 18px; }
.footer-logo .logo-text { color: #fff; }

/* === Animations === */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid, .patents-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 20px 24px; gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-120%); transition: transform 0.3s; z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 2rem; }
  .services-grid, .patents-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .patent-highlight { flex-direction: column; padding: 24px 32px; }
  .patent-text { text-align: center; }
}
@media (max-width: 480px) {
  .contact-info-cards { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 260px; text-align: center; }
}
