*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1f2937; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

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

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 28, 40, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.logo-icon { height: 24px; width: auto; }
.logo-accent { color: #22d3ee; }
.logo-insight { color: rgba(255,255,255,0.8); font-weight: 400; font-size: 1.3rem; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: rgba(255,255,255,0.8); font-size: 0.85rem; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.btn-signin {
  border: 1px solid rgba(255,255,255,0.3); padding: 4px 14px; border-radius: 6px;
  font-size: 0.85rem !important; transition: all 0.2s;
}
.btn-signin:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8);
  padding: 4px 12px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; transition: all 0.2s;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* Burger */
.burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 110;
}
.burger span {
  display: block; width: 100%; height: 2px; background: #fff;
  position: absolute; left: 0; transition: all 0.3s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.burger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Hero */
.hero {
  padding: 160px 0 100px;
  background:
    linear-gradient(to bottom, rgba(10,22,40,0.5) 0%, rgba(10,22,40,0.9) 100%),
    url('img/hero_bg.jpg') center center / cover no-repeat;
  text-align: center; color: #fff;
}
.hero h1 { font-size: 2.5rem; font-weight: 700; max-width: 750px; margin: 0 auto; line-height: 1.3; }
.hero-subtitle { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  border: none; text-align: center;
}
.btn-primary { background: #0f766e; color: #fff; }
.btn-primary:hover { background: #0d9488; transform: translateY(-1px); }
.btn-outline-hero {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 12px 24px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500;
}
.btn-outline-hero:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
.btn-small { padding: 10px 24px; font-size: 0.9rem; border-radius: 8px; }
.btn-disabled { background: #e5e7eb; color: #9ca3af; cursor: default; pointer-events: none; }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: linear-gradient(135deg, #081c28 0%, #0c3547 100%); }
.section-values { background: #f8f9fa; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 48px; color: #111827; }
.page-descriptor { font-weight: 400; text-align: center; color: #666; padding-top: 24px; padding-bottom: 32px; font-size: 1.1rem; }
.section-title-light { color: #fff; }

/* Tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-card {
  padding: 0; border-radius: 16px; background: #fff; position: relative;
  border: 1px solid #e5e7eb; transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden; display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.tool-active { border-color: #0d9488; cursor: pointer; }
.tool-active:hover { border-color: #0f766e; }
.tool-card-img-wrap { position: relative; overflow: hidden; }
.tool-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.tool-card-body { padding: 20px; flex: 1; }
.tool-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; color: #111827; }
.tool-card p { font-size: 0.875rem; color: #6b7280; line-height: 1.6; }

/* Badges */
.tool-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px; z-index: 2;
}
.badge-green { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-gray { background: #f3f4f6; color: #6b7280; }

/* Value Proposition */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px; background: #fff; border-radius: 16px;
  border: 1px solid #e5e7eb; transition: box-shadow 0.2s;
}
.value-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.value-icon { flex-shrink: 0; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.value-icon svg { width: 40px; height: 40px; }
.value-icon img { width: 80px; height: 80px; object-fit: contain; }
.value-text { flex: 1; }
.value-text h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: #111827; }
.value-text p { font-size: 0.85rem; color: #6b7280; line-height: 1.6; }

/* AI Tools grid (used on /ai/ page) */
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ai-card {
  border-radius: 16px; background: #fff; overflow: hidden;
  border: 1px solid #e5e7eb; transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.ai-card-disabled { opacity: 0.75; }
.ai-card-disabled:hover { transform: none; box-shadow: none; }
.ai-card-img-wrap { position: relative; overflow: hidden; }
.ai-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ai-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ai-card-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; color: #111827; }
.ai-card-body p { font-size: 0.9rem; color: #6b7280; line-height: 1.6; margin-bottom: 16px; flex: 1; }

/* Steps (used on /ai/ page) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  text-align: center; padding: 24px 16px;
  background: rgba(255,255,255,0.05); border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
}
.step-num {
  width: 40px; height: 40px; margin: 0 auto 16px;
  background: #0f766e; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
}
.step h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

/* Tech (used on /ai/ page) */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  text-align: center; padding: 32px 20px;
  background: #fff; border-radius: 16px; border: 1px solid #e5e7eb;
}
.tech-card-img { width: 100%; height: 140px; object-fit: contain; padding: 15px; display: block; margin: 0 auto 8px; }
.tech-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.tech-card p { font-size: 0.85rem; color: #6b7280; }

/* Footer */
.footer-new {
  background: linear-gradient(180deg, #0a1628 0%, #0f2d3d 100%);
  color: #fff; padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.footer-logo-icon { height: 22px; width: auto; }
.footer-logo-accent { color: #22d3ee; }
.footer-logo-light { color: rgba(255,255,255,0.7); font-weight: 400; font-size: 1.1rem; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.5; }
.footer-heading {
  color: #fff; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 8px; }
.footer-list a {
  color: rgba(255,255,255,0.55); font-size: 0.875rem;
  transition: color 0.2s; line-height: 2;
}
.footer-list a:hover { color: #22d3ee; }
.footer-disclaimer-bar {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 16px 0; margin-top: 0;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-disclaimer-bar svg { flex-shrink: 0; color: rgba(255,255,255,0.8); }
.footer-disclaimer-bar span { color: rgba(255,255,255,0.85); font-size: 0.75rem; line-height: 1.5; }
.footer-copy-bar { text-align: center; padding: 20px 0; }
.footer-copy-bar p { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* Section AI (used on /ai/ page) */
.section-ai { background: #f8f9fa; }

/* Mobile */
@media (max-width: 768px) {
  .burger { display: block; }
  .nav {
    display: none; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 28, 40, 0.98); backdrop-filter: blur(12px);
    justify-content: center; align-items: center; gap: 24px; z-index: 105;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.2rem; }
  .btn-signin { font-size: 1.2rem !important; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-buttons .btn { flex: 1 1 calc(50% - 8px); min-width: 140px; max-width: 220px; font-size: 0.85rem; padding: 10px 16px; }
  .tools-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-logo { justify-content: center; }
  .footer-disclaimer-bar { flex-direction: column; text-align: center; gap: 6px; }
  .logo-insight { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; max-width: 280px; }
}
.card-link { display: block; margin-top: 8px; font-size: 0.8rem; color: #0f766e; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* === AI page: disclaimer + old footer === */
.disclaimer { max-width: 800px; margin: 0 auto; text-align: center; padding: 20px 0; }
.disclaimer h3 { color: rgba(255,255,255,0.95); font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.disclaimer p { color: rgba(255,255,255,0.85); font-size: 0.85rem; line-height: 1.7; }
.footer { background: #0b1e2d; padding: 40px 0 24px; }
.footer-inner { text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-bottom: 8px; }
.footer-disclaimer { color: rgba(255,255,255,0.4); font-size: 0.7rem; font-style: italic; }
