/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a2352;
  --primary-light: #2a3a7c;
  --accent: #4a6cf7;
  --accent-light: #6b8cff;
  --text: #313131;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --bg-dark: #0f1633;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

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

img {
  max-width: 100%;
  display: block;
}

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

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

.logo-highlight {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--bg-alt);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 8px;
  list-style: none;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown a {
  padding: 10px 14px;
  font-size: 0.85rem;
  display: block;
  border-radius: 6px;
}

.dropdown a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 50%, #1a1a4e 100%);
  overflow: hidden;
  margin-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,108,247,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,108,247,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #fff;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero .highlight {
  background: linear-gradient(135deg, var(--accent-light), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.intro-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 4px;
}

.intro-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.section-header.light h2 {
  color: #fff;
}

.section-header.light .section-tag {
  color: var(--accent-light);
}

/* Solution Cards */
.solution-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.solution-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.solution-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.solution-card.visible:hover {
  transform: translateY(-2px);
}

.solution-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.solution-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.solution-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
}

.solution-icon svg {
  width: 100%;
  height: 100%;
}

.solution-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.solution-impact {
  background: linear-gradient(135deg, #eef2ff, #f0f4ff);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--primary);
}

.solution-impact strong {
  color: var(--accent);
}

.solution-overview p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.solution-overview p:last-child {
  margin-bottom: 0;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  transition: var(--transition);
}

.learn-more:hover {
  gap: 12px;
  color: var(--primary);
}

/* ===== APPROACH SECTION ===== */
.approach-section {
  padding: 100px 0;
  background: var(--primary);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.approach-card {
  padding: 40px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.approach-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.approach-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.approach-card.visible:hover {
  transform: translateY(-4px);
}

.approach-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.approach-icon svg {
  width: 100%;
  height: 100%;
}

.approach-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.approach-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
}

.cta-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(74,108,247,0.3);
}

.cta-button:hover {
  background: var(--primary);
  box-shadow: 0 4px 24px rgba(26,35,82,0.3);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-brand .logo-mark {
  background: var(--accent);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }

  .has-dropdown:hover .dropdown {
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .hero {
    min-height: 380px;
  }

  .hero-content {
    padding: 60px 24px;
  }

  .solution-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 24px;
  }

  .solution-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solution-card.visible,
.approach-card.visible,
.cta-content.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.solution-card:nth-child(2).visible { animation-delay: 0.1s; }
.solution-card:nth-child(3).visible { animation-delay: 0.2s; }

.approach-card:nth-child(1).visible { animation-delay: 0s; }
.approach-card:nth-child(2).visible { animation-delay: 0.1s; }
.approach-card:nth-child(3).visible { animation-delay: 0.2s; }
