/* === Brand Tokens === */
:root {
  --navy: #0a1628;
  --navy-light: #111d33;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --cyan: #06b6d4;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--gray-200);
  color: var(--gray-800);
  background: transparent;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* === Navigation === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.5px;
}
.logo-text { color: var(--navy); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .btn { color: var(--white); }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--navy);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  opacity: 0.4;
}
.hero-grid-bg {
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

/* === Sections === */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.25s ease;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  border-radius: 12px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* === Products === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.product-accent {
  height: 4px;
  width: 100%;
}
.product-content { padding: 32px; }
.product-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.product-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.product-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === Courses === */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s ease;
}
.course-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}
.course-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(6, 182, 212, 0.08);
  color: var(--cyan);
  border-radius: 12px;
  margin-bottom: 20px;
}
.course-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.course-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.course-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: color 0.2s;
}
.course-link:hover { color: var(--blue); }

/* === About === */
.about-grid { max-width: 680px; }
.about-content .section-label { text-align: left; }
.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.about-content p {
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* === Contact === */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color 0.2s;
  background: var(--gray-50);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.contact-form .btn { width: 100%; justify-content: center; }
.contact-info {
  text-align: center;
  margin-top: 24px;
  color: var(--gray-500);
  font-size: 0.9rem;
}
.contact-info a {
  color: var(--blue);
  font-weight: 600;
}

/* === Footer === */
.site-footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  font-size: 0.8rem;
  text-align: center;
}

/* === Team === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.25s ease;
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.team-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.team-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--gray-400);
  background: var(--gray-50);
  transition: all 0.2s;
}
.team-links a:hover {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

/* === Responsive === */
@media (max-width: 968px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 16px;
  }
  .nav-links.active { display: flex; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.25rem; }

  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

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