/* ============================================
   DESIGN SYSTEM — AI Education
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@font-face {
  font-family: 'Graphik';
  src: local('GraphikTT'), local('Graphik'), local('Inter');
  font-display: swap;
}

:root {
  --color-brand: #EB6B2F;
  --color-brand-dark: #92400d;
  --color-brand-light: #FF8562;
  --color-dark: #272044;
  --color-text: #272044;
  --color-text-secondary: #4b5563;
  --color-bg: #f6f4ea;
  --color-bg-alt: #fafaf9;
  --color-white: #ffffff;
  --font-main: 'Graphik', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(39, 32, 68, 0.08);
  --shadow-lg: 0 15px 35px rgba(39, 32, 68, 0.05);
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--white {
  background: var(--color-white);
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
}
.section-title span {
  color: var(--color-brand);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--color-brand);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(235, 107, 47, 0.3);
}
.btn--outline {
  border: 2px solid var(--color-brand);
  color: var(--color-brand);
  background: transparent;
}
.btn--outline:hover {
  background: var(--color-brand);
  color: var(--color-white);
}
.btn--dark:hover {
  background: #1a1536;
  transform: translateY(-2px);
}
.btn--secondary {
  background: rgba(39, 32, 68, 0.03);
  color: var(--color-text);
  border: 2px solid rgba(39, 32, 68, 0.15);
  font-weight: 600;
}
.btn--secondary:hover {
  background: rgba(39, 32, 68, 0.08);
  border-color: rgba(39, 32, 68, 0.3);
  transform: translateY(-1px);
}
.btn--sm {
  padding: 10px 24px;
  font-size: 14px;
}
.btn--lg {
  padding: 18px 48px;
  font-size: 18px;
  border-radius: 12px;
}
.btn--pill {
  border-radius: 100px;
  padding: 18px 72px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(235, 107, 47, 0.08);
  color: var(--color-brand);
}
.badge img {
  width: 16px;
  height: 16px;
}

/* --- Check list --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.check-item::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url('/assets/icons/check.png') center/contain no-repeat;
  margin-top: 2px;
}

/* --- Grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
