:root {
  --color-bg: #FDFDFB;
  --color-bg-alt: #F5F5F0;
  --color-brand: #1E293B;
  --color-brand-glow: rgba(30, 41, 59, 0.08);
  --color-text-main: #475569;
  --color-text-light: #0F172A;
  --color-muted: #64748B;
  
  --surface-glass: rgba(15, 23, 42, 0.03);
  --surface-hover: rgba(15, 23, 42, 0.06);
  --border: rgba(15, 23, 42, 0.1);
  
  --container-width: 1200px;
  --section-padding: 100px;
  
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(var(--container-width), 90%);
  margin-inline: auto;
}

.grid { display: grid; gap: 24px; }
.grid-1-col { grid-template-columns: 1fr; }
.grid-2-col { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4-col { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.section-divider { border-top: 1px solid var(--border); }

.section-compact { padding: 60px 0; }

.section-header {
  margin-bottom: 64px;
  max-width: 600px;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 16px;
  margin-top: 12px;
}

.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(253, 253, 251, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
}

.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--color-text-light);
  font-weight: 700; font-size: 20px;
  text-decoration: none; letter-spacing: -0.5px;
  transition: opacity 0.2s var(--ease-fast);
}

.logo img { height: 32px; width: auto; object-fit: contain; }
.logo:hover { opacity: 0.8; }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link {
  color: var(--color-muted);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-fast);
}

.nav-link:hover, .nav-link.active { color: var(--color-text-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s var(--ease-fast);
  border: 1px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-brand);
  color: white;
}

.btn-primary:hover { background: var(--color-text-light); transform: translateY(-2px); }

.btn-secondary { color: var(--color-text-light); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-glass); border-color: var(--color-muted); }

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  background: var(--surface-hover);
  color: var(--color-text-light);
  border-color: var(--border);
}

.btn-sm:hover { background: var(--color-brand); color: white; }

.hero-section { padding: 180px 0 120px; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface-glass);
  color: var(--color-text-light);
  border: 1px solid var(--border);
  border-radius: 100px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 24px;
}

.cta-group {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.hero-graphic-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.stats-card-container { display: flex; flex-direction: column; gap: 28px; padding: 32px; z-index: 2; position: relative; }
.stats-card-container.horizontal { flex-direction: row; justify-content: space-around; flex-wrap: wrap; }
.stat-row { display: flex; align-items: center; gap: 16px; }

.stat-icon-wrapper {
  background: var(--color-brand-glow);
  padding: 14px; border-radius: 12px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid var(--border); color: var(--color-brand);
}

.stat-value { font-size: 36px; font-weight: 800; line-height: 1; }
.stat-label-text { font-size: 14px; color: var(--color-text-main); margin-top: 4px; }

.glow-effect {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.05), transparent 60%);
  pointer-events: none; z-index: 1;
}

.features-section, .services-section { padding: var(--section-padding) 0; }

.feature-card, .service-card {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover, .service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  background-color: var(--surface-hover);
}

.card-icon-header, .matrix-card-header { 
  color: var(--color-brand); 
  margin-bottom: 20px; 
  display: flex;
  align-items: center;
}
.matrix-card-header { display: flex; align-items: center; gap: 12px; }
.matrix-card-header h3 { margin: 0; }

.card-icon-header i, .matrix-card-header i, .stat-icon-wrapper i {
  width: 24px;
  height: 24px;
}

.feature-card h3, .service-card h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-card p, .service-card p {
  color: var(--color-text-main);
  font-size: 14px; line-height: 1.6;
}

.approach-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.approach-step {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
}

.approach-step:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  background-color: var(--surface-hover);
}

.approach-step.compact {
  padding: 16px;
}
.approach-step.compact .step-number { font-size: 32px; margin-bottom: 8px; }
.approach-step.compact h3 { font-size: 15px; margin-bottom: 4px; }
.approach-step.compact p { font-size: 12px; }

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}

.approach-step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.approach-step p {
  color: var(--color-text-main);
  font-size: 15px;
  line-height: 1.6;
}

.bootcamp-card {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.bootcamp-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  background-color: var(--surface-hover);
}

.bootcamp-badge {
  display: inline-block;
  background: var(--color-brand-glow);
  color: var(--color-brand);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-widget {
  display: grid;
  grid-template-columns: 300px 1fr 280px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.booking-info {
  padding: 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.booking-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-item {
  display: flex;
  gap: 12px;
  color: var(--color-muted);
  font-size: 14px;
}

.booking-legal {
  margin-top: auto;
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.booking-legal a { color: var(--color-brand); text-decoration: none; }

.booking-calendar { padding: 40px; border-right: 1px solid var(--border); }

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.day-label { font-size: 11px; font-weight: 700; color: var(--color-muted); text-transform: uppercase; margin-bottom: 8px; }

.date {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-light);
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.date:hover { background: var(--surface-hover); border-color: var(--color-brand); }
.date.active { background: var(--color-brand); color: var(--color-bg-alt); font-weight: 700; }

.timezone-info { margin-top: 40px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-muted); }

.booking-time {
  padding: 40px 24px;
  overflow-y: auto;
  max-height: 550px;
}

.booking-time h3 {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.time-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.time-btn {
  background: transparent;
  border: 1px solid var(--color-brand);
  color: var(--color-brand);
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-fast);
}

.time-btn:hover { background: var(--color-brand-glow); }
.time-btn.confirm { background: var(--color-brand); color: var(--color-bg-alt); }

.bootcamp-badge.badge-neutral {
  background: rgba(15, 23, 42, 0.05);
  color: var(--color-muted);
}

.bootcamp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bootcamp-icon {
  font-size: 28px;
  line-height: 1;
}

.bootcamp-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}

.bootcamp-meta {
  color: var(--color-muted);
  font-size: 13px;
  margin-bottom: 15px;
}

.bootcamp-description {
  color: var(--color-text-main);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.key-topics {
  list-style: none;
  margin-bottom: 20px;
}

.key-topics li {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.key-topics li::before {
  content: "•";
  color: var(--color-brand);
  margin-right: 8px;
  font-size: 16px;
  line-height: 1;
}

.bootcamp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.bootcamp-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-brand);
}

.guarantee-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.guarantee-item {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
}

.guarantee-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  background-color: var(--surface-hover);
}

.guarantee-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.guarantee-list {
  list-style: none;
  margin-top: 15px;
}

.guarantee-list li {
  color: var(--color-text-main);
  font-size: 14px;
  margin-bottom: 8px;
}

.guarantee-list li::before {
  content: "✓";
  color: var(--color-brand);
  margin-right: 8px;
}

.why-choose-us-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.bootcamp-stats-grid {
  gap: 30px;
}

.bootcamp-stats-grid .stat-item {
  padding: 25px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.bootcamp-stats-grid .stat-item .bootcamp-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.bootcamp-stats-grid .stat-item .stat-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-brand);
}

.bootcamp-stats-grid .stat-item .stat-label-text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-top: 5px;
}

.bootcamp-stats-grid .stat-item .stat-description {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 10px;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  background-color: var(--surface-hover);
}

.testimonial-card .quote {
  font-size: 16px;
  font-style: italic;
  color: var(--color-text-main);
  margin-bottom: 25px;
  line-height: 1.7;
}

.testimonial-card .author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.testimonial-card .author-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

.testimonial-card .author-title {
  font-size: 13px;
  color: var(--color-muted);
}

.application-steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.bootcamp-application-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bootcamp-application-form .form-group {
  margin-bottom: 10px;
}

.bootcamp-application-form label {
  display: block;
  font-size: 13px;
  color: var(--color-text-main);
  margin-bottom: 6px;
  font-weight: 500;
}

.bootcamp-application-form input,
.bootcamp-application-form select,
.bootcamp-application-form textarea {
  width: 100%;
  padding: 12px;
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--color-text-light);
  font-family: inherit;
  transition: border-color 0.2s var(--ease-fast);
}

.bootcamp-application-form textarea {
  resize: vertical;
}

.bootcamp-application-form input:focus,
.bootcamp-application-form select:focus,
.bootcamp-application-form textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}

.bootcamp-application-form .btn-primary {
  align-self: flex-start;
  border: none;
}

.privacy-note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding: 25px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
}

.faq-item:hover {
  border-color: var(--color-brand);
  background-color: var(--surface-hover);
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-answer {
  font-size: 15px;
  color: var(--color-text-main);
  line-height: 1.6;
}

input, select, textarea {
  width: 100%; padding: 12px; border-radius: 8px;
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid var(--border);
  color: var(--color-text-light); font-family: inherit;
  transition: border-color 0.2s var(--ease-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}

/* Business Card Component */
.business-card-container {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.business-card {
  width: 100%;
  max-width: 580px;
  min-height: 280px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.card-accent {
  width: 10px;
  background: var(--color-brand);
  height: 100%;
}

.card-inner {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}

.card-logo-box img { height: 20px; }
.card-logo-box span { font-weight: 700; font-size: 13px; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 1px; }

.card-name-box h3 { font-size: 28px; font-weight: 700; color: var(--color-text-light); margin-bottom: 4px; }
.card-name-box .role { font-size: 13px; color: var(--color-brand); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

.card-foot { display: flex; flex-direction: column; gap: 12px; }
.card-contact-line { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--color-text-main); }
.card-contact-line i { width: 16px; height: 16px; color: var(--color-brand); }

[contenteditable="true"]:focus {
  outline: 1px dashed var(--color-brand);
  outline-offset: 4px;
}

.site-footer {
  background: var(--color-bg-alt);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.text-center {
  text-align: center;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 60px;
}

.footer-brand p { color: var(--color-muted); font-size: 14px; margin-top: 15px; }

.footer-block h4 { font-size: 16px; margin-bottom: 20px; }
.footer-block p { color: var(--color-text-main); font-size: 14px; margin-bottom: 10px; }
.footer-block a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-block a:hover { color: var(--color-brand); }

.footer-bottom {
  text-align: center; padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--color-muted); font-size: 13px;
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: transform, opacity;
}

[data-reveal].active { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) { .hero-section { padding-top: 130px; } }

@media (max-width: 768px) {
  .site-header { background: rgba(11, 13, 18, 0.98); }
  .nav-links { display: none; }
  .booking-widget { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .business-card { height: auto; flex-direction: column; }
  .card-accent { width: 100%; height: 8px; }
  .card-inner { padding: 32px; gap: 40px; }
  .card-head { flex-direction: column-reverse; gap: 24px; }
}