/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a1a2e;
  background: #f8f9fb;
  line-height: 1.6;
}
a { color: #2563eb; text-decoration: none; transition: color .2s; }
a:hover { color: #1d4ed8; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #1a1a2e;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: all .25s;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-secondary { background: transparent; color: #2563eb; border: 2px solid #2563eb; }
.btn-secondary:hover { background: #2563eb; color: #fff; }
.btn-white { background: #fff; color: #2563eb; }
.btn-white:hover { background: #e0e7ff; }

/* === HEADER === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.5rem; font-weight: 800; color: #1a1a2e;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.1rem;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: #4b5563; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: #2563eb; }
.nav-cta .btn { padding: 10px 24px; font-size: .9rem; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: #1a1a2e; border-radius: 2px; transition: .3s; }

/* === HERO === */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a2e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: flex; align-items: center; gap: 60px;
  position: relative; z-index: 1;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-text h1 span { color: #60a5fa; }
.hero-text p { font-size: 1.2rem; color: #94a3b8; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-graphic {
  width: 380px; height: 320px;
  background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(124,58,237,.15));
  border-radius: 24px; border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-graphic-inner {
  text-align: center; color: #94a3b8;
}
.hero-graphic-icon { font-size: 4rem; margin-bottom: 16px; }
.hero-graphic-text { font-size: 1rem; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 48px;
}
.hero-stat { text-align: left; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: #60a5fa; }
.hero-stat-label { font-size: .85rem; color: #94a3b8; }

/* === FEATURES === */
.features { background: #fff; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feature-card {
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all .3s;
  background: #fff;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  border-color: #2563eb;
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.feature-icon.ai { background: #dbeafe; }
.feature-icon.dev { background: #d1fae5; }
.feature-icon.robot { background: #fce7f3; }
.feature-icon.video { background: #e0e7ff; }
.feature-icon.cert { background: #fef3c7; }
.feature-icon.community { background: #f3e8ff; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: #6b7280; font-size: .95rem; }

/* === COURSES === */
.courses { background: #f8f9fb; }
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.course-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: all .3s;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.course-thumb {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
}
.course-thumb.ai-bg { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.course-thumb.dev-bg { background: linear-gradient(135deg, #064e3b, #10b981); }
.course-thumb.robot-bg { background: linear-gradient(135deg, #4a1d6e, #7c3aed); }
.course-thumb.web-bg { background: linear-gradient(135deg, #7c2d12, #f59e0b); }
.course-thumb.data-bg { background: linear-gradient(135deg, #1e3a5f, #06b6d4); }
.course-thumb.acad-bg { background: linear-gradient(135deg, #312e81, #6366f1); }
.course-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.9); color: #1a1a2e;
  padding: 4px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
}
.course-body { padding: 24px; }
.course-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.course-body p { color: #6b7280; font-size: .9rem; margin-bottom: 16px; }
.course-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #9ca3af;
}
.course-meta .price { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; }

/* === BBB / WEBINARS === */
.webinars { background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; }
.webinars .section-title { color: #fff; }
.webinar-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.webinar-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 32px;
  transition: all .3s;
}
.webinar-card:hover {
  background: rgba(255,255,255,.1);
  border-color: #2563eb;
}
.webinar-card .badge {
  display: inline-block; padding: 4px 12px;
  border-radius: 20px; font-size: .75rem; font-weight: 600;
  margin-bottom: 16px;
}
.badge-live { background: #dc2626; color: #fff; }
.badge-upcoming { background: #2563eb; color: #fff; }
.badge-recorded { background: #6b7280; color: #fff; }
.webinar-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.webinar-card .webinar-desc { color: #94a3b8; font-size: .9rem; margin-bottom: 16px; }
.webinar-card .webinar-time { color: #60a5fa; font-size: .85rem; margin-bottom: 16px; }
.webinar-card .btn { padding: 10px 24px; font-size: .85rem; }

/* === BBB CONFERENCE ROOM === */
.bbb-room {
  min-height: 100vh;
  background: #1a1a2e;
  color: #fff;
}
.bbb-header {
  background: #0f172a;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.bbb-header-left { display: flex; align-items: center; gap: 16px; }
.bbb-logo-text { font-weight: 700; font-size: 1rem; }
.bbb-room-name { color: #94a3b8; font-size: .85rem; }
.bbb-header-right { display: flex; align-items: center; gap: 12px; }
.bbb-participants-count {
  background: rgba(255,255,255,.1); padding: 6px 14px;
  border-radius: 20px; font-size: .8rem;
}
.bbb-body {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  height: calc(100vh - 56px);
}
.bbb-sidebar {
  background: #111827;
  border-right: 1px solid rgba(255,255,255,.08);
  overflow-y: auto;
}
.bbb-sidebar-header {
  padding: 16px; font-weight: 600; font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bbb-user-list { padding: 8px 0; }
.bbb-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  transition: background .2s;
}
.bbb-user:hover { background: rgba(255,255,255,.05); }
.bbb-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff;
}
.bbb-user-name { font-size: .85rem; }
.bbb-user-role { font-size: .7rem; color: #6b7280; }
.bbb-main {
  display: flex; flex-direction: column;
}
.bbb-presentation {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  background: #0a0a1a;
  position: relative;
}
.bbb-slide {
  width: 80%; max-width: 800px;
  background: #fff; color: #1a1a2e;
  border-radius: 8px; padding: 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.bbb-slide h2 { font-size: 1.8rem; margin-bottom: 24px; color: #2563eb; }
.bbb-slide ul { padding-left: 24px; }
.bbb-slide li { margin-bottom: 12px; font-size: 1rem; list-style: disc; color: #374151; }
.bbb-slide-nav {
  position: absolute; bottom: 20px;
  display: flex; gap: 12px; align-items: center;
}
.bbb-slide-nav button {
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.2rem; transition: background .2s;
}
.bbb-slide-nav button:hover { background: rgba(255,255,255,.3); }
.bbb-slide-counter { color: #94a3b8; font-size: .85rem; }
.bbb-toolbar {
  background: #111827;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.bbb-toolbar button {
  width: 48px; height: 48px; border-radius: 50%;
  border: none; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.bbb-tool-btn { background: rgba(255,255,255,.1); color: #fff; }
.bbb-tool-btn:hover { background: rgba(255,255,255,.2); }
.bbb-tool-btn.active { background: #2563eb; }
.bbb-tool-btn.danger { background: #dc2626; }
.bbb-tool-btn.danger:hover { background: #b91c1c; }
.bbb-chat {
  background: #111827;
  border-left: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column;
}
.bbb-chat-header {
  padding: 16px; font-weight: 600; font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
}
.bbb-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
}
.bbb-chat-msg { margin-bottom: 16px; }
.bbb-chat-msg-author { font-size: .75rem; font-weight: 600; color: #60a5fa; margin-bottom: 2px; }
.bbb-chat-msg-time { font-size: .65rem; color: #6b7280; margin-left: 8px; }
.bbb-chat-msg-text { font-size: .85rem; color: #d1d5db; line-height: 1.4; }
.bbb-chat-input {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; gap: 8px;
}
.bbb-chat-input input {
  flex: 1; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 10px 14px;
  color: #fff; font-size: .85rem; outline: none;
}
.bbb-chat-input input:focus { border-color: #2563eb; }
.bbb-chat-input button {
  background: #2563eb; border: none; color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-size: .85rem; font-weight: 600;
}

/* === TESTIMONIALS === */
.testimonials { background: #fff; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.testimonial-card {
  background: #f8f9fb; padding: 32px; border-radius: 16px;
  border: 1px solid #e5e7eb;
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; }
.testimonial-text { font-size: .95rem; color: #4b5563; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-size: .85rem; font-weight: 600; }
.testimonial-role { font-size: .8rem; color: #9ca3af; }

/* === CTA === */
.cta {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff; text-align: center;
}
.cta h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta p { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 32px; }

/* === FOOTER === */
.footer {
  background: #0f172a; color: #94a3b8; padding: 60px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #94a3b8; font-size: .9rem; }
.footer ul a:hover { color: #60a5fa; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: .9rem; transition: all .2s;
}
.footer-social a:hover { background: #2563eb; color: #fff; }

/* === ABOUT PAGE === */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.page-hero p { color: #94a3b8; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.about-content { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text h2 { font-size: 1.8rem; margin-bottom: 20px; }
.about-text p { color: #4b5563; margin-bottom: 16px; }
.about-image {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  border-radius: 20px; height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.value-card {
  text-align: center; padding: 32px 20px;
  border-radius: 16px; border: 1px solid #e5e7eb;
  background: #fff;
}
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: .85rem; color: #6b7280; }

/* === CONTACT === */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #dbeafe; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.contact-info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { color: #6b7280; font-size: .9rem; }
.contact-form { background: #fff; padding: 36px; border-radius: 16px; box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d5db;
  border-radius: 8px; font-size: .95rem; font-family: inherit;
  outline: none; transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: #2563eb;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* === MODAL === */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: all .3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 16px; padding: 40px;
  max-width: 480px; width: 90%;
  transform: scale(.9); transition: transform .3s;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal h2 { font-size: 1.4rem; margin-bottom: 8px; }
.modal p { color: #6b7280; font-size: .9rem; margin-bottom: 24px; }
.modal .form-group { margin-bottom: 16px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.5rem;
  color: #9ca3af; cursor: pointer;
}

/* === MOBILE NAV === */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,23,42,.98);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%);
  transition: transform .3s;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a {
  color: #fff; font-size: 1.3rem; font-weight: 600;
}
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer;
}

/* === SCROLL ANIMATION === */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid, .courses-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .bbb-body { grid-template-columns: 1fr; }
  .bbb-sidebar, .bbb-chat { display: none; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; gap: 32px; }
  .features-grid, .courses-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .webinar-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
}
