/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1A1A2E;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  animation: pageIn 0.4s ease forwards;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== PAGE LOAD FADE ===== */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== VARIABLES ===== */
:root {
  --primary: #003049;
  --primary-dark: #001F30;
  --teal: #00697B;
  --teal-dark: #004D5C;
  --green-light: #D4A574;
  --amber: #D4A574;
  --text: #1A1A2E;
  --text-light: #6B7280;
  --bg: #F4ECE4;
  --white: #ffffff;
  --logo-blue: #003049;
}

/* ===== HEADER / NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 160;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled,
.nav.menu-open {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 48px;
}
.nav.menu-open .nav-logo img {
  filter: none;
}
.nav.menu-open .hamburger span {
  background: var(--primary);
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.nav.scrolled .nav-logo img {
  filter: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.nav-links a.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 600;
}
.nav.scrolled .nav-links a {
  color: var(--text);
}
.nav.scrolled .nav-links a:hover {
  background: rgba(0,48,73,0.06);
  color: var(--primary);
}
.nav.scrolled .nav-links a.active {
  background: rgba(0,48,73,0.1);
  color: var(--primary);
  font-weight: 600;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.nav.scrolled .btn-login {
  background: var(--primary);
  color: var(--white);
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav.scrolled .hamburger span {
  background: var(--primary);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-only { display: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(212,165,116,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,105,123,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero h1 span {
  background: linear-gradient(90deg, #D4A574, #E8C9A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 20px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 48px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Page hero (for subpages) */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal-dark) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(212,165,116,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,105,123,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 48px 80px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.page-hero h1 span {
  background: linear-gradient(90deg, #D4A574, #E8C9A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 20px;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto;
}
.page-hero .hero-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.page-hero .hero-icon svg {
  width: 40px;
  height: 40px;
  color: var(--green-light);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.breadcrumb li a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.breadcrumb li a:hover {
  color: rgba(255,255,255,0.9);
}
.breadcrumb li span.current {
  color: rgba(255,255,255,0.9);
}
.breadcrumb li .sep {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
}
@media (max-width: 768px) {
  .breadcrumb { padding: 0 24px; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #333;
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.25s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-green:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(0,48,73,0.3); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--primary);
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* Trust row */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
}
.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== SECTION COMMONS ===== */
.section { padding: 100px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 600px;
}
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ===== FEATURES GRID ===== */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.feature-card.clickable { cursor: pointer; }
.feature-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px) scale(1.02);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.feature-card:hover .icon-box { transform: scale(1.1); }
.feature-card .icon-box svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-light); line-height: 1.6; }
.feature-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}
.feature-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Feature colors */
.fc-blue .icon-box { background: rgba(33,150,243,0.1); color: #2196F3; }
.fc-blue::before { background: #2196F3; }
.fc-orange .icon-box { background: rgba(255,152,0,0.1); color: #FF9800; }
.fc-orange::before { background: #FF9800; }
.fc-green .icon-box { background: rgba(0,48,73,0.1); color: #4CAF50; }
.fc-green::before { background: #4CAF50; }
.fc-teal .icon-box { background: rgba(0,150,136,0.1); color: #009688; }
.fc-teal::before { background: #009688; }
.fc-purple .icon-box { background: rgba(156,39,176,0.1); color: #9C27B0; }
.fc-purple::before { background: #9C27B0; }
.fc-red .icon-box { background: rgba(244,67,54,0.1); color: #F44336; }
.fc-red::before { background: #F44336; }
.fc-indigo .icon-box { background: rgba(63,81,181,0.1); color: #3F51B5; }
.fc-indigo::before { background: #3F51B5; }
.fc-amber .icon-box { background: rgba(255,193,7,0.1); color: #F9A825; }
.fc-amber::before { background: #F9A825; }
.fc-cyan .icon-box { background: rgba(0,188,212,0.1); color: #00BCD4; }
.fc-cyan::before { background: #00BCD4; }

/* ===== SPLIT SECTIONS (text + image) ===== */
.split {
  display: flex;
  align-items: center;
  gap: 80px;
}
.split.reverse { flex-direction: row-reverse; }
.split-text, .split-img { flex: 1; min-width: 0; }
.split-img img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.5;
}
.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: rgba(0,48,73,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-icon svg { width: 14px; height: 14px; color: #003049; }

/* ===== HOW IT WORKS ===== */
.how-section {
  background: linear-gradient(135deg, var(--primary), var(--teal-dark));
  color: var(--white);
}
.how-section .section-title { color: var(--white); }
.how-section .section-desc { color: rgba(255,255,255,0.8); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.step-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  color: var(--text);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.steps-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== AI SECTION ===== */
.ai-section {
  background: linear-gradient(135deg, #2c1654, #1a237e);
  color: var(--white);
}
.ai-section .section-title { color: var(--white); }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,193,7,0.15);
  color: #FFD54F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.ai-features { margin-top: 28px; }
.ai-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ai-feat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-feat-icon svg { width: 18px; height: 18px; }
.ai-feat span { font-size: 16px; font-weight: 500; }
.ai-img img {
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ===== ECOSYSTEM ===== */
.ecosystem { background: var(--bg); }
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.eco-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.eco-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-4px) scale(1.02);
}
.eco-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.eco-card:hover .eco-icon { transform: scale(1.1); }
.eco-icon svg { width: 32px; height: 32px; }
.eco-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.eco-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ===== STATS / COUNTER ===== */
.stats-section { background: var(--bg); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

/* Stats dark variant */
.stats-dark {
  background: linear-gradient(135deg, var(--primary), var(--teal-dark));
}
.stats-dark .stat-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.stats-dark .stat-number { color: #E8C9A0; }
.stats-dark .stat-label { color: rgba(255,255,255,0.8); }

/* ===== COMPARISON / WHY SECTION ===== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.comparison-card {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
}
.comparison-card.old {
  background: #fef2f2;
  border-color: #fecaca;
}
.comparison-card.new {
  background: #e8f4f8;
  border-color: #b3d9e6;
}
.comparison-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.comparison-card ul {
  list-style: none;
}
.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.comparison-card li .icon {
  min-width: 20px;
  font-size: 18px;
  line-height: 1.3;
}

/* ===== DETAIL SECTIONS (for subpages) ===== */
.detail-section { padding: 80px 48px; }
.detail-section:nth-child(odd) { background: var(--white); }
.detail-section:nth-child(even) { background: var(--bg); }
.detail-inner { max-width: 1200px; margin: 0 auto; }

.detail-block {
  display: flex;
  align-items: center;
  gap: 64px;
}
.detail-block.reverse { flex-direction: row-reverse; }
.detail-content { flex: 1; min-width: 0; }
.detail-visual { flex: 1; min-width: 0; }

.detail-content .detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.detail-content .detail-icon svg { width: 28px; height: 28px; }
.detail-content h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.detail-content p.lead {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Feature list for detail pages */
.feature-list {
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
}
.feature-list li .fl-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(0,48,73,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-list li .fl-icon svg { width: 16px; height: 16px; color: var(--primary); }
.feature-list li strong { font-weight: 600; color: var(--text); }

/* Visual placeholder for screenshots */
.screenshot-placeholder {
  background: linear-gradient(135deg, #F4ECE4, #E8DDD4);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  border: 2px dashed #D4A574;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.screenshot-placeholder svg { width: 64px; height: 64px; color: #003049; margin-bottom: 16px; }
.screenshot-placeholder span { font-size: 14px; color: var(--text-light); font-weight: 500; }

/* ===== COMPARISON TABLE (ecosistema) ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: var(--white);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.comparison-table th:first-child {
  text-align: left;
  min-width: 200px;
}
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #f9fafb; }
.table-check { color: #003049; font-size: 18px; }
.table-cross { color: #e0e0e0; font-size: 18px; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--teal-dark));
  text-align: center;
  color: var(--white);
}
.cta-section .section-title { color: var(--white); }
.cta-section .section-desc { color: rgba(255,255,255,0.85); margin: 0 auto 40px; max-width: 600px; }
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary);
  padding: 18px 44px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-cta-white:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== FOOTER ===== */
.footer {
  background: #001F30;
  padding: 60px 48px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 36px; width: auto; object-fit: contain; opacity: 0.6; margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-text { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-contact { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: rgba(255,255,255,0.9); }

/* ===== SVG ICONS ===== */
.icon-svg { display: inline-block; vertical-align: middle; }

/* ===== SCROLL ANIMATIONS ===== */
.anim { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim.in, .anim-left.in, .anim-right.in, .anim-scale.in {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }
.stagger-9 { transition-delay: 0.45s; }

/* Hero animations */
.hero-anim-1 { opacity: 0; transform: translateY(24px); animation: heroIn 0.6s ease 0.1s forwards; }
.hero-anim-2 { opacity: 0; transform: translateY(24px); animation: heroIn 0.6s ease 0.25s forwards; }
.hero-anim-3 { opacity: 0; transform: translateY(24px); animation: heroIn 0.6s ease 0.4s forwards; }
.hero-anim-4 { opacity: 0; transform: translateY(24px); animation: heroIn 0.6s ease 0.55s forwards; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 24px; }
  .nav.scrolled, .nav.menu-open { padding: 8px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-login { display: none; }
  .mobile-only { display: list-item; list-style: none; }

  /* Mobile dropdown menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.06);
    animation: menuDrop 0.25s ease;
  }
  @keyframes menuDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open li {
    list-style: none;
  }
  .nav-links.open a {
    display: block;
    color: var(--text) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 0 !important;
    transition: background 0.15s ease;
  }
  .nav-links.open a:hover {
    background: rgba(0,48,73,0.04) !important;
    color: var(--primary) !important;
  }
  .nav-links.open a.active {
    color: var(--primary) !important;
    background: rgba(0,48,73,0.06) !important;
    font-weight: 600;
  }
  .nav-links.open .menu-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    text-align: center;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    margin: 8px 16px 8px;
  }
  .nav-links.open .menu-cta:hover {
    background: var(--primary-dark) !important;
  }

  .section { padding: 64px 24px; }
  .detail-section { padding: 56px 24px; }
  .hero-inner { padding: 100px 24px 60px; }
  .page-hero-inner { padding: 110px 24px 60px; }
  .hero-inner { text-align: center; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .page-hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 17px; }
  .section-title { font-size: 30px; }
  .section-header { text-align: center; }
  .section-header .section-desc { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { flex-direction: column; gap: 40px; }
  .detail-block, .detail-block.reverse { flex-direction: column; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .detail-content h2 { font-size: 26px; }
  .check-list li { font-size: 14px; gap: 10px; }
  .check-list li strong { display: block; }
  .check-icon { width: 22px; height: 22px; min-width: 22px; }
  .check-icon svg { width: 12px; height: 12px; }
  .nav-logo img { width: auto; height: 36px; object-fit: contain; }
  .footer-brand img { width: auto; height: 32px; object-fit: contain; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 26px; }
  .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 15px; }
  .trust-row { gap: 20px; }
  .eco-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 36px; }
}
