:root {
  --bg-dark: #0a0a0a; --bg-card: #141414; --bg-card-hover: #1a1a1a;
  --text: #ffffff; --text-muted: #a0a0a0; --accent: #f5a623; --border: #2a2a2a;
  --radius: 12px; --font: 'Inter', system-ui, -apple-system, sans-serif;
  --light-bg: #f8f8f8; --light-text: #0a0a0a; --light-muted: #666; --light-border: #e5e5e5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-dark); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem; background: rgba(10,10,10,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.header.scrolled { border-bottom-color: var(--border); }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.05em; line-height: 1.15; }
.logo-lights { display: flex; flex-direction: column; gap: 3px; }
.logo-lights span { width: 10px; height: 10px; border-radius: 50%; }
.logo-lights span:nth-child(1) { background: #e74c3c; }
.logo-lights span:nth-child(2) { background: #f1c40f; }
.logo-lights span:nth-child(3) { background: #2ecc71; }
.nav-toggle { background: none; border: none; color: var(--text); cursor: pointer; padding: 0.5rem; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); }
.nav-menu {
  position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh;
  background: var(--bg-card); padding: 5rem 1.5rem 2rem; transition: right 0.3s ease; z-index: 99;
  display: flex; flex-direction: column; gap: 0.25rem; border-left: 1px solid var(--border); overflow-y: auto;
}
.nav-menu.open { right: 0; }
.nav-menu a { padding: 0.7rem 1rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; transition: background 0.2s; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,0.08); }
.nav-menu .nav-divider { height: 1px; background: var(--border); margin: 0.75rem 0; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 98; }
.nav-overlay.open { opacity: 1; pointer-events: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.btn-primary { background: #fff; color: #0a0a0a; }
.btn-primary:hover { background: #e8e8e8; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-dark { background: #0a0a0a; color: #fff; width: 100%; }
.btn-dark:hover { background: #222; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; border-radius: 6px; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 6rem 2rem 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("../images/hero.jpg?v=3") center 38%/cover no-repeat; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,166,35,0.08) 0%, transparent 50%),
    linear-gradient(to right, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { color: var(--accent); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-desc { color: var(--text-muted); max-width: 480px; margin-bottom: 2.5rem; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.2s, background 0.2s; }
.step-card:hover { border-color: #3a3a3a; background: var(--bg-card-hover); }
.step-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.25rem; }
.step-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.step-card p { font-size: 0.875rem; color: var(--text-muted); }

.page-hero { padding: 8rem 2rem 4rem; text-align: center; background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%); }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.light-section { background: var(--light-bg); color: var(--light-text); padding: 4rem 2rem 5rem; }
.light-section .section-inner { max-width: 1000px; }
.light-section h2 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--light-text); }
.light-section .sub { color: var(--light-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.course-card { background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.course-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.course-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.35; }
.course-card p { font-size: 0.875rem; color: var(--light-muted); flex-grow: 1; margin-bottom: 1.25rem; }
.course-price { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

.pricing-table-wrap { overflow-x: auto; margin-bottom: 3rem; }
.pricing-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.pricing-table th { text-align: left; padding: 1rem 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--light-muted); border-bottom: 2px solid #0a0a0a; }
.pricing-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--light-border); font-size: 0.95rem; vertical-align: middle; }
.pricing-table tr:nth-child(even) { background: #fafafa; }
.pricing-table tr:hover { background: #f0f0f0; }
.pricing-table .price { font-weight: 700; }
.payment-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0; }
.payment-card { background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.payment-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.payment-card p { font-size: 0.8rem; color: var(--light-muted); }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--light-border); border-radius: 10px; margin-bottom: 0.6rem; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 1.1rem 1.25rem; background: none; border: none; font-family: inherit; font-size: 0.95rem; font-weight: 500; color: var(--light-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::after { content: '▾'; font-size: 0.85rem; color: #999; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.25rem; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.1rem; }
.faq-a p { font-size: 0.9rem; color: var(--light-muted); line-height: 1.6; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.review-card { background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius); padding: 1.5rem; }
.review-card blockquote { font-size: 0.95rem; color: #333; margin-bottom: 1.25rem; line-height: 1.55; }
.review-card .author { font-weight: 600; font-size: 0.95rem; }
.review-card .course { font-size: 0.8rem; color: var(--light-muted); margin-top: 0.15rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: #111; cursor: pointer; position: relative; padding: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; font-size: 0.8rem; text-align: left; }

.about-hero { position: relative; min-height: 65vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6rem 2rem; overflow: hidden; }
.about-hero-bg { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url("../images/gallery/9.jpg") center/cover no-repeat; }
.about-hero-content { position: relative; z-index: 1; max-width: 700px; }
.about-content { max-width: 720px; margin: 0 auto; padding: 4rem 2rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1.05rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--text-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 0.85rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #555; }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-block h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text-muted); }
.info-block a:hover { color: var(--accent); }

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 3rem; background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)), linear-gradient(135deg, #1a1a2e 0%, #0d1b2a 50%, #0a0a0a 100%); }
.auth-card { background: #fff; color: var(--light-text); border-radius: 16px; padding: 2.5rem 2rem; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.auth-card .auth-logo .logo-lights span { width: 12px; height: 12px; }
.auth-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 0.35rem; }
.auth-card .auth-sub { text-align: center; color: var(--light-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }
.auth-card .form-group label { color: #444; }
.auth-card .form-group input { background: #fff; border: 1px solid #ddd; color: var(--light-text); }
.auth-card .form-group input:focus { border-color: #999; }
.auth-card .btn-dark { margin-top: 0.5rem; }
.auth-card .auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--light-muted); padding-top: 1.25rem; border-top: 1px solid #eee; }
.auth-card .auth-footer a { color: var(--light-text); font-weight: 600; }
.auth-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: #555; margin: 0.5rem 0; }
.auth-check input { margin-top: 3px; }
.pw-hints { font-size: 0.75rem; color: #999; margin-top: 0.35rem; display: flex; flex-direction: column; gap: 2px; }
.forgot-link { float: right; font-size: 0.8rem; color: var(--light-muted); }
.forgot-link:hover { color: var(--light-text); }

.handbook-content { max-width: 800px; margin: 0 auto; padding: 3rem 2rem 5rem; color: var(--text); }
.handbook-content h2 { font-size: 1.35rem; margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.handbook-content h2:first-of-type { border-top: none; margin-top: 0; }
.handbook-content p, .handbook-content li { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.95rem; }
.handbook-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.handbook-content ul li { list-style: disc; }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.fact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.fact-card strong { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.fact-card span { font-size: 0.85rem; color: var(--text-muted); }

.policy-content { max-width: 720px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.policy-content h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.policy-content p, .policy-content li { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.95rem; }
.policy-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.policy-content ul li { list-style: disc; }
.policy-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }

.footer { background: #050505; border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 220px; }
.footer h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-muted); }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.9rem; color: #ccc; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); margin-left: 1.25rem; }
.footer-bottom a:hover { color: #fff; }

.cta-strip { text-align: center; padding: 3rem 2rem; background: var(--bg-card); border-top: 1px solid var(--border); }
.cta-strip h2 { margin-bottom: 0.5rem; }
.cta-strip p { color: var(--text-muted); margin-bottom: 1.5rem; }

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header { padding: 1rem 1.25rem; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .section { padding: 3.5rem 1.25rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .course-grid, .reviews-grid { grid-template-columns: 1fr; }
  .pricing-table th:nth-child(2), .pricing-table td:nth-child(2) { display: none; }
}
