:root {
  --primary: #007A5E; /* Hoa Sen Green */
  --primary-light: #00A67E;
  --secondary: #F39C12; /* Golden Orange */
  --dark: #1F2937;
  --gray: #6B7280;
  --light-gray: #F3F4F6;
  --white: #FFFFFF;
  --bg: #FAFAFA;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px -10px rgba(0, 122, 94, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--dark);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
.section-tag {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 122, 94, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 122, 94, 0.4);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.full-width {
  width: 100%;
}

/* NAVBAR */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

#navbar.scrolled {
  padding: 0.8rem 0;
  box-shadow: var(--shadow);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo span.logo-text span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary);
}

.nav-links li a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,122,94,0.2);
}
.btn-nav::after { display: none; }
.btn-nav:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 50px;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(0, 166, 126, 0.1), transparent 50%),
              radial-gradient(circle at bottom left, rgba(243, 156, 18, 0.1), transparent 50%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 122, 94, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  animation: slideDown 0.8s ease-out;
}

#hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
  animation: slideUp 0.8s ease-out 0.2s both;
}

.highlight {
  color: var(--primary);
  position: relative;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 30%;
  background: rgba(243, 156, 18, 0.3);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: slideUp 0.8s ease-out 0.8s both;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat span:last-child {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.3rem;
}

.stat-divider {
  width: 2px;
  background: rgba(0,0,0,0.1);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: fadeIn 1s ease-out 0.5s both;
}

.img-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
}

#heroImg {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: var(--transition);
}

#heroImg:hover {
  transform: rotate(0) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* ABOUT */
#about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.about-motto {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 122, 94, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.h-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* PRODUCTS */
#products {
  padding: 100px 0;
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(0, 122, 94, 0.05);
  border-radius: 50%;
  transition: var(--transition);
}

.product-card:hover .product-icon {
  transform: scale(1.1);
  background: rgba(0, 122, 94, 0.1);
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.product-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(243, 156, 18, 0.1);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* WHY US */
#why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.why-card {
  position: relative;
  padding: 2rem;
  background: var(--bg);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  z-index: 1;
}

.why-card:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.why-number {
  position: absolute;
  top: -20px;
  right: 10px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0,0,0,0.03);
  z-index: -1;
  transition: var(--transition);
}

.why-card:hover .why-number {
  color: rgba(255,255,255,0.1);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.why-card p {
  color: var(--gray);
  font-size: 0.95rem;
  transition: var(--transition);
}

.why-card:hover h3,
.why-card:hover p {
  color: var(--white);
}

/* SHOWCASE */
#showcase {
  padding: 100px 0;
  background: var(--primary);
  color: var(--white);
}

.showcase-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.showcase-img-wrap {
  flex: 1;
  position: relative;
}

.showcase-img-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.showcase-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow);
  animation: bounce 2s infinite;
}

.showcase-content {
  flex: 1;
}

.showcase-content .section-tag {
  color: var(--secondary);
  text-align: left;
}

.showcase-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.showcase-content h2 span {
  color: var(--secondary);
}

.feature-list {
  margin-bottom: 2.5rem;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-content .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.showcase-content .btn-primary:hover {
  background: var(--secondary);
  color: var(--white);
}

/* CONTACT */
#contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-info {
  background: var(--gradient);
  color: var(--white);
  padding: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.c-icon {
  font-size: 1.8rem;
  background: rgba(255,255,255,0.2);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.contact-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-item a {
  opacity: 0.9;
  transition: var(--transition);
}

.contact-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.contact-item span {
  opacity: 0.9;
  line-height: 1.5;
  display: block;
}

.contact-form {
  padding: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,122,94,0.1);
  background: var(--white);
}

.form-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--primary);
}

/* FOOTER */
#footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-icon {
  font-size: 2rem;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  margin-left: 0.5rem;
}

.footer-brand .logo-text span {
  color: var(--secondary);
}

.footer-brand p {
  color: #9CA3AF;
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-links h4,
.footer-products h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after,
.footer-products h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul li,
.footer-products ul li {
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-products li {
  color: #9CA3AF;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #6B7280;
  display: flex;
  justify-content: space-between;
}

.footer-bottom a {
  color: var(--primary-light);
}

/* FAB Call */
.fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 99;
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.fab:hover {
  transform: scale(1.1);
  background: var(--primary-light);
}

/* Animations */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 122, 94, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0, 122, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 122, 94, 0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #hero h1 { font-size: 3rem; }
  .about-grid { gap: 2rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .showcase-inner { flex-direction: column; text-align: center; }
  .showcase-content .section-tag { text-align: center; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
  #hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-cta, .hero-stats { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 2rem; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  #hero h1 { font-size: 2.2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 100%; height: 2px; }
}
