:root {
  --bg-color: #0d0d0d;
  --text-main: #f5f5f5;
  --text-muted: #aaaaaa;
  --gold: #f5bc1b;
  --gold-glow: rgba(245, 188, 27, 0.5);
  --red-cta: #e32636;
  --red-hover: #ff3b4b;
  --box-bg: rgba(20, 20, 20, 0.85);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('assets/bg_gears.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.95) 100%);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {  
  text-transform: uppercase; 
  font-weight: 900; 
  font-family: 'Montserrat', sans-serif;
}

input, select, textarea, button {
  font-family: inherit;
}
.text-gold, .text-red, .text-gradient {
  background: linear-gradient(135deg, #FFD700 0%, #FF3333 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 10px 5px;
  margin: -10px -5px;
  line-height: inherit;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
}

/* BUTTONS */
.btn-cta, button {
  display: inline-block;
  background-color: var(--red-cta);
  color: #fff;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(227, 38, 54, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  max-width: 450px;
}

.btn-cta:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 38, 54, 0.6);
}

.guarantee-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  display: block;
}

/* PRICE HIGHLIGHT SECTION */
.price-container {
  margin: 25px 0;
  font-family: 'Inter', sans-serif;
}

.price-label {
  font-size: 0.75rem;
  color: #888;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.price-main-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mini-price-card {
  background: rgba(245, 188, 27, 0.1);
  border: 1px solid var(--gold);
  border-radius: 15px;
  padding: 10px 25px;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px var(--gold-glow);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(245, 188, 27, 0.2);
  line-height: 1;
}

.price-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-old {
  font-size: 1rem;
  color: #666;
  text-decoration: line-through;
  font-weight: 600;
}

.price-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(227, 38, 54, 0.3);
}

/* PREMIUM HERO SECTION */
.hero-wrapper {
  background: radial-gradient(circle at 75% 50%, #4a0d0d 0%, #0d0d0d 70%);
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30vw;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  font-weight: 900;
  z-index: 0;
  pointer-events: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 0.95rem;
  opacity: 0.7;
  font-weight: 600;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 1;
}

.btn-nav {
  background: #222;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-nav span {
  background: var(--red-cta);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70vh;
  position: relative;
}

.hero-left {
  flex: 1.2;
  z-index: 2;
  position: relative;
  max-width: 650px;
}

.hey-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 10px;
}

.red-dot {
  width: 10px;
  height: 10px;
  background: var(--red-cta);
  border-radius: 50%;
  border: 2px solid #fff;
}

.hero-title {
  font-size: 5.5rem;
  line-height: 1.4;
  margin-bottom: 25px;
  padding-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-right {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-right img {
  width: 130%;
  max-width: 700px;
  display: block;
  margin-right: -100px;
  margin-bottom: -10px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
}

.hero-bottom-features {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.feat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feat-icon {
  font-size: 1.8rem;
  color: var(--gold);
}

.feat p {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* UTILITIES FOR BACKGROUND ALTS & DIVIDERS */
.bg-alt {
  background-color: #0a0505;
}

.section-divider {
  height: 1px;
  width: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 51, 51, 0.8) 0%, rgba(0,0,0,0) 70%);
  box-shadow: 0 0 15px var(--red-cta);
  margin: 0;
  opacity: 0.6;
}

/* COURSE OUTLINE SECTION - NEW GRID LAYOUT */
.course-outline-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.course-card {
    position: relative;
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(30, 30, 30, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.05);
}

.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.module-number {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.course-card .module-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.course-card .module-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.lesson-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lesson-list li span {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
}

.lesson-list li:hover {
    color: #fff;
    transform: translateX(5px);
}

.module-highlight {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.module-highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* NEW INTEGRATED COURSE CTA */
.course-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
    text-align: center;
    padding: 40px 20px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.btn-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #FF3333 0%, #CC0000 100%);
    color: #fff;
    padding: 22px 55px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 15px 45px rgba(255, 51, 51, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-main-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 51, 51, 0.6);
    background: linear-gradient(135deg, #FF5555 0%, #FF3333 100%);
}

.btn-main-cta .arrow {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.btn-main-cta:hover .arrow {
    transform: translateX(8px);
}

.cta-trust-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .btn-main-cta {
        padding: 18px 30px;
        font-size: 1rem;
        width: 100%;
    }
    .course-cta-container {
        margin-top: 40px;
        padding: 20px 0;
    }
}
.flex-section {
  display: flex;
  align-items: center;
  padding: 100px 0;
  gap: 50px;
}

.flex-content {
  flex: 1;
}

.flex-content h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.flex-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.checklist {
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 15px;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: -2px;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: bold;
}

.check-green li::before {
  content: '✓';
  color: #4CAF50;
}

.check-red li::before {
  content: '✕';
  color: var(--red-cta);
}

.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(20,20,20,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 40px;
}

@media (max-width: 768px) {
  .target-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.flex-image {
  flex: 1;
  text-align: center;
}

.flex-image .glass-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
}

/* GRID ADVANTAGES */
.grid-advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.adv-box {
  background: var(--box-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--border-radius);
}

.adv-box h4 {
  color: var(--gold);
  margin-bottom: 10px;
}

.adv-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ID CARD / AUTHOR SECTION */
.id-card-section {
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.id-card-wrapper {
  background: rgba(10, 10, 10, 0.9);
  border: 2px solid #333;
  width: 100%;
  max-width: 900px;
  display: flex;
  padding: 40px;
  border-radius: 10px;
  position: relative;
  box-shadow: inset 0 0 50px rgba(0,0,0,1), 0 0 30px rgba(0,0,0,0.8);
}

/* Corners for ID Card */
.id-card-wrapper::before, .id-card-wrapper::after {
  content: ''; position: absolute;
  width: 20px; height: 20px; border: 2px solid var(--red-cta);
}
.id-card-wrapper::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.id-card-wrapper::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.id-content {
  flex: 2;
  padding-right: 40px;
}

.id-content h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.id-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1rem;
}

.id-photo-box {
  flex: 1;
  border: 2px solid #555;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
}

.id-photo-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: sepia(0.3) contrast(1.2);
}

.id-photo-labels {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.7rem;
  color: #555;
  font-family: monospace;
}

/* PRICING */
.pricing-section {
  padding: 80px 0;
  text-align: center;
}
.pricing-section h2 { margin-bottom: 20px; font-size: 2.5rem; }

.pricing-format-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-col {
  background: rgba(20, 20, 20, 0.8);
  border-radius: 15px;
  padding: 40px 25px;
  text-align: center;
  flex: 1;
  border: 1px solid rgba(255,255,255,0.1);
}

.pricing-basic {
  background: rgba(25, 25, 25, 0.8);
}

.pricing-highlight {
  background: radial-gradient(circle at top, #520b08, #1a0504);
  border: 1px solid var(--red-cta);
  transform: scale(1.05);
  position: relative;
  box-shadow: 0 15px 30px rgba(227, 48, 26, 0.2);
  z-index: 2;
  padding: 50px 25px;
}

.p-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red-cta);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  white-space: nowrap;
}

.p-desc {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
  min-height: 45px;
}

.p-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.pricing-highlight .p-price {
  color: var(--gold);
}

.p-unit {
  font-size: 1rem;
  font-weight: normal;
}

.p-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.p-features li {
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #ddd;
}
.pricing-highlight .p-features li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.btn-pricing-basic {
  width: 100%;
  border-radius: 30px;
  background: #333;
  color: #fff;
  font-size: 1rem;
}
.btn-pricing-basic:hover {
  background: #444;
}

.btn-pricing-highlight {
  width: 100%;
  border-radius: 30px;
  background: #fff;
  color: #520b08;
  font-weight: 900;
  font-size: 1rem;
}
.btn-pricing-highlight:hover {
  background: var(--gold);
  color: #000;
}

@media (max-width: 900px) {
  .pricing-format-container {
    flex-direction: column;
    gap: 40px;
  }
  .pricing-highlight {
    transform: none;
  }
}

/* FAQ */
.faq-container { width: 100%; }
.faq-item { background: rgba(30, 30, 30, 0.6); margin-bottom: 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; overflow: hidden; }
.faq-question { padding: 20px 50px 20px 20px; font-weight: 700; color: #fff; cursor: pointer; display: block; outline: none; font-size: 1.05rem; position: relative; transition: color 0.3s; }
.faq-question::before { content: '+'; position: absolute; right: 20px; font-size: 1.8rem; color: var(--gold); top: 50%; transform: translateY(-50%); transition: transform 0.3s; font-weight: 400; }
.faq-question::-webkit-details-marker { display:none; }
.faq-item[open] .faq-question { color: var(--gold); border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-item[open] .faq-question::before { content: '−'; color: var(--red-cta); transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; animation: fadeInDown 0.4s ease; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* STUDENT CARDS */
.student-cards-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}
.student-card {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.3s;
  height: 480px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}
.student-card:hover { transform: translateY(-10px); border-color: var(--gold); }
.student-card img { width: 100%; height: 100%; object-fit: cover; }
.student-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0) 100%); padding: 50px 20px 20px 20px; text-align: left; }
.student-info h4 { font-size: 1.4rem; color: #fff; margin-bottom: 5px; }
.student-info p { font-size: 0.9rem; color: #ccc; line-height: 1.4; margin:0;}

@media (max-width: 900px) {
  .student-cards-grid { flex-direction: column; }
  .student-card { height: 420px; }
}

/* CYBERPUNK FEEDBACK SECTION */
.feedback-cyber-section { position: relative; box-shadow: inset 0 0 50px rgba(255, 51, 51, 0.05); }
.cyber-grid { column-count: 4; column-gap: 20px; }
.cyber-card { 
    position: relative; 
    background: rgba(10, 5, 5, 0.8); 
    border: 1px solid rgba(255, 215, 0, 0.1); 
    padding: 10px; 
    transition: all 0.4s; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
    break-inside: avoid;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}
.cyber-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), inset 0 0 15px rgba(255, 51, 51, 0.2);
    transform: translateY(-5px);
}
.cyber-img { 
    width: 100%; 
    height: auto; 
    border-radius: 4px; 
    filter: brightness(0.8) contrast(1.1); 
    transition: filter 0.3s;
}
.cyber-ph { filter: sepia(0.5); }
.cyber-card:hover .cyber-img { filter: brightness(1) contrast(1.1); }

/* Cyberpunk Corners */
.cyber-corner { position: absolute; width: 15px; height: 15px; border-color: var(--red-cta); border-style: solid; transition: all 0.3s; }
.top-left { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.top-right { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.bottom-left { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.bottom-right { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.cyber-card:hover .cyber-corner { border-color: var(--gold); width: 25px; height: 25px; }

@media (max-width: 1100px) { .cyber-grid { column-count: 2; } }
@media (max-width: 600px) { .cyber-grid { column-count: 1; } }

/* MAIN FOOTER (7DAY FORMAT) */
.main-footer {
  background-color: #080808;
  color: #ffffff;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left {
  flex: 1;
  min-width: 300px;
}

.footer-title {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.footer-socials a {
  color: #888;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.footer-socials a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-right {
  text-align: right;
  flex: 1;
  min-width: 250px;
}

.footer-policies {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-policies a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-policies a:hover {
  color: #fff;
}

.footer-copyright {
  color: #444;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-policies {
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
============================================================ */
@media (max-width: 900px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero-premium { flex-direction: column; text-align: center; min-height: auto; padding-bottom: 20px; }
  .hero-left { max-width: 100%; margin-bottom: 0; order: 1; }
  .hero-right { order: 0; justify-content: center; margin-bottom: 10px; }
  .hero-right img { width: 70%; max-width: 320px; margin: 0 auto; display: block; }
  .hero-title { font-size: 3.6rem; }
  .hero-desc { font-size: 1rem; margin: 0 auto 30px; max-width: 480px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .price-main-row { justify-content: center; }
  .hero-bottom-features { flex-wrap: wrap; gap: 16px; padding: 20px 0; }
  .feat { flex: 0 0 45%; }

  /* Timeline — left-aligned sidebar */
  .timeline-section { padding: 60px 0; }
  .timeline-section h2 { font-size: 1.9rem; margin-bottom: 50px; }
  .timeline-container::before { left: 20px; top: 0; bottom: 0; }
  .timeline-row, .timeline-row:nth-child(even) { flex-direction: row; align-items: flex-start; margin-bottom: 32px; }
  .timeline-dot { left: 20px; top: 18px; transform: translateX(-50%); }
  .timeline-connector { display: none !important; }
  .timeline-module, .timeline-row:nth-child(even) .timeline-module {
    width: calc(100% - 52px);
    margin-left: auto;
    margin-right: 0;
    text-align: left;
    border-left: 4px solid var(--red-cta) !important;
    border-right: none !important;
    padding: 20px;
  }

  /* Layout sections */
  .flex-section { flex-direction: column; text-align: center; padding: 60px 0; gap: 30px; }
  .id-card-wrapper { flex-direction: column; padding: 28px 20px; }
  .id-content { padding-right: 0; margin-bottom: 28px; text-align: center; }
  .id-photo-box { width: 100%; max-width: 280px; margin: 0 auto; }

  /* Pricing */
  .pricing-format-container { flex-direction: column; align-items: center; gap: 32px; }
  .pricing-col { width: 100%; max-width: 480px; padding: 36px 24px; }
  .pricing-highlight { transform: none; padding: 44px 24px; }

  /* Target grid */
  .target-grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .grid-advantages { grid-template-columns: 1fr; gap: 16px; }
  .adv-box { padding: 18px; }

  /* Feedback cards */
  .cyber-grid { column-count: 2; }
  .student-cards-grid { flex-direction: column; align-items: center; }
  .student-card { width: 100%; max-width: 380px; height: 340px; margin: 0 auto; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
============================================================ */
@media (max-width: 600px) {
  /* Base */
  .container { padding: 0 16px; }
  h2 { font-size: 1.65rem !important; line-height: 1.3 !important; }
  h3 { font-size: 1.2rem !important; }

  /* Navbar */
  .nav-links { display: none; }
  .navbar { margin-bottom: 20px; padding: 0; }
  .logo { font-size: 1.4rem; }
  .btn-nav { font-size: 0.8rem; padding: 8px 16px; }

  /* Hero */
  .hero-wrapper { padding-top: 16px; }
  .hero-premium { padding: 20px 0 !important; gap: 0; }
  .hero-right { margin-bottom: 0; }
  .hero-right img { width: 80%; max-width: 240px; }
  .hero-title { font-size: 2.3rem !important; line-height: 1.1; margin-bottom: 16px; text-align: center; }
  .hey-text { font-size: 0.85rem; justify-content: center; text-align: center; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 20px; text-align: center; }
  .hero-left { text-align: center; }

  /* Price block */
  .price-container { margin: 20px auto; text-align: center; }
  .price-main-row { flex-direction: column; align-items: center; gap: 12px; }
  .mini-price-card { font-size: 1.7rem; padding: 8px 20px; }
  .price-meta { align-items: center; }

  /* CTA button */
  .hero-actions { flex-direction: column; align-items: center; gap: 14px; }
  .hero-actions .btn-cta { width: 100% !important; max-width: 320px; padding: 15px 20px !important; font-size: 1rem !important; border-radius: 50px !important; }
  .guarantee { flex-direction: row; justify-content: center; gap: 8px; }

  /* Features strip */
  .hero-bottom-features { flex-direction: column; gap: 12px; padding: 16px 0 20px; }
  .feat { width: 100%; justify-content: center; text-align: center; }
  .feat p { font-size: 0.9rem; }

  /* Sections spacing */
  .flex-section { padding: 48px 0 !important; gap: 24px; }
  .flex-image .glass-box { padding: 24px 16px; }
  .checklist li { font-size: 0.9rem; padding-left: 28px; margin-bottom: 14px; }
  .checklist li::before { font-size: 1.2rem; }
  .checklist li { text-align: left; }

  /* Grid advantages */
  .grid-advantages { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .adv-box { padding: 16px; }
  .adv-box h4 { font-size: 0.95rem; margin-bottom: 6px; }
  .adv-box p { font-size: 0.82rem; }

  /* Target grid */
  .target-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px 12px; margin: 0; }
  .target-col { text-align: left; }
  .target-title { font-size: 1rem !important; margin-bottom: 16px; }

  /* Timeline */
  .timeline-section { padding: 40px 0; }
  .timeline-section h2 { font-size: 1.5rem !important; margin-bottom: 30px; }
  .timeline-row { margin-bottom: 24px; }
  .module-title { font-size: 1.1rem !important; }
  .module-tag { font-size: 0.65rem; letter-spacing: 1px; }
  .module-desc { font-size: 0.8rem; }
  .timeline-module { padding: 16px 14px; }
  .module-lessons { margin-top: 10px; padding-top: 10px; }
  .module-lessons li { font-size: 0.78rem; padding: 5px 0 5px 6px; gap: 8px; }
  .lesson-num { min-width: 20px; height: 20px; font-size: 0.58rem; border-radius: 3px; }
  .module-summary-badge { font-size: 0.8rem; padding: 10px 18px; gap: 6px; }
  .module-summary-badge span { font-size: 1.1rem; }

  /* Video section */
  .section-video { padding: 60px 0 !important; }
  .video-frame-wrapper { padding: 4px; border-radius: 12px; }

  /* Pricing */
  .pricing-section { padding: 48px 0; }
  .pricing-section h2 { font-size: 1.6rem !important; margin-bottom: 16px; }
  .pricing-col { padding: 28px 16px; max-width: 100%; }
  .pricing-highlight { padding: 36px 16px; }
  .p-price { font-size: 2rem; }
  .p-badge { font-size: 0.75rem; padding: 4px 14px; }
  .p-features li { font-size: 0.82rem; }
  .btn-cta, button { font-size: 1rem; padding: 15px 24px; max-width: 100%; }

  /* Students */
  .student-cards-grid { flex-direction: column; gap: 16px; }
  .student-card { width: 100%; height: 300px; max-width: 100%; margin: 0; }
  .student-info h4 { font-size: 1.1rem; }
  .student-info p { font-size: 0.8rem; }

  /* Feedback cyberpunk */
  .cyber-grid { column-count: 1; }
  .cyber-card { margin: 0 0 12px 0; width: 100%; }

  /* FAQ */
  .faq-question { font-size: 0.92rem; padding: 16px 44px 16px 16px; }
  .faq-answer { font-size: 0.88rem; padding: 14px 16px; }

  /* ID Card */
  .id-card-section { padding: 48px 0; }
  .id-card-wrapper { flex-direction: column; padding: 22px 16px; margin: 0; width: auto; }
  .id-content h3 { font-size: 1.3rem !important; margin-bottom: 14px; text-align: center; }
  .id-content p { font-size: 0.88rem; }
  .id-photo-box { max-width: 200px; }

  /* Form / Register */
  .register-form-box { padding: 24px 16px !important; margin: 0 !important; border-radius: 12px !important; }
  .register-form-box h2 { font-size: 1.5rem !important; }
  .form-group input, .form-group select {
    font-size: 16px !important; /* Prevents iOS zoom */
    padding: 14px 12px;
  }
  #promo-container { padding: 12px; }
  #promo-container input[type="text"] { font-size: 16px !important; }

  /* Modal */
  .modal-content { padding: 24px 16px; width: 94%; border-radius: 12px; }
  #payment-modal .modal-content { padding: 22px 14px; }
  #vietqr-qr { width: 180px !important; }

  /* Footer */
  .main-footer { padding: 40px 0 28px; }
  .footer-container { gap: 20px; }
  .footer-left { min-width: auto; text-align: center; }
  .footer-socials { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .footer-right { text-align: center; }
  .footer-policies { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* Chat widget */
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-bubble { width: 54px; height: 54px; }
  .chat-window { width: calc(100vw - 24px); right: 0; bottom: 76px; height: 65vh; max-height: 480px; }

  /* Success modal */
  .success-content { padding: 32px 18px; border-radius: 18px; }
  .success-title { font-size: 1.4rem; }

  /* Fix iOS tap highlight */
  a, button, [onclick] {
    -webkit-tap-highlight-color: rgba(245, 188, 27, 0.15);
    touch-action: manipulation;
  }
}

/* MODAL POPUP (FORM) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background: radial-gradient(circle at top right, #3a0808, #111);
  border: 1px solid var(--red-cta);
  border-radius: 15px;
  max-width: 450px;
  width: 90%;
  padding: 40px;
  position: relative;
  box-shadow: 0 10px 50px rgba(227, 38, 54, 0.3);
  transform: translateY(40px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--red-cta);
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cyber-form .form-group {
  margin-bottom: 20px;
}

.cyber-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: 600;
  text-align: left;
}

.cyber-form input {
  width: 100%;
  padding: 15px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.cyber-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(245, 188, 27, 0.2);
}

/* TOP TICKER */
.top-ticker {
  background: var(--red-cta);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid #fff;
  box-shadow: 0 5px 20px rgba(227, 38, 54, 0.3);
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: scrollTicker 20s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-block;
  margin-right: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CHATBOT WIDGET */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.chat-bubble {
  width: 65px;
  height: 65px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(245, 188, 27, 0.4);
  background-image: url('assets/bot_header.jpg');
  background-size: cover;
  background-position: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.chat-bubble:hover {
  transform: scale(1.1) rotate(5deg);
}

/* CHAT POPUP WELCOME */
.chat-welcome-popup {
  position: absolute;
  bottom: 80px;
  right: 10px;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 15px;
  border-radius: 15px;
  border-bottom-right-radius: 2px;
  font-size: 0.85rem;
  color: #111;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: none; /* Controlled by JS */
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10000;
}

.chat-welcome-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(255, 255, 255, 0.95);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 10px rgba(255, 215, 0, 0.1);
  animation: slideUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-header {
  background: linear-gradient(135deg, #1a1a1a, #000);
  padding: 15px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.chat-header .name {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-body {
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
  min-height: 100px;
}

.chat-msg {
  background: rgba(255,255,255,0.05);
  padding: 10px 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.4;
  border-bottom-left-radius: 0;
  width: fit-content;
  max-width: 90%;
}

.chat-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.menu-item {
  background: #222;
  border: 1px solid #444;
  color: var(--gold);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.menu-item:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.chat-footer {
  padding: 12px 15px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-input-container {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 25px;
  padding: 5px 15px;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.chat-input-container:focus-within {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

#chat-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 0;
  width: 100%;
  outline: none;
}

.chat-send-btn {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.1);
}

.chat-msg.user {
  background: var(--gold);
  color: #000;
  align-self: flex-end;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 0;
}

.chat-msg.bot {
  align-self: flex-start;
}

/* TYPING INDICATOR */
.typing {
  display: flex;
  gap: 4px;
  padding: 10px 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 10px;
}

.typing span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: typing 1s infinite ease-in-out;
  opacity: 0.6;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 600px) {
  .chat-window {
    width: 300px;
    right: -10px;
  }
}
/* MENU TOGGLE BUTTON */
.menu-toggle-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: all 0.3s;
  color: var(--gold);
}

.menu-toggle-btn:hover {
  background: var(--gold);
  color: #000;
}

/* VIDEO SECTION */
.video-frame-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: visible;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-frame-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--gold), transparent, var(--gold));
  filter: blur(30px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 20px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 600px) {
  .chat-window {
    width: calc(100vw - 24px);
    right: 0;
    bottom: 76px;
    height: 65vh;
    max-height: 480px;
  }
}

/* STUDENT LINKS */
.student-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid rgba(245, 188, 27, 0.3);
  border-radius: 20px;
  transition: all 0.3s;
}

.student-link:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.student-link span {
  font-size: 0.9rem;
  margin-left: 5px;
}

/* REAL-TIME POLLING & SUCCESS MODAL */
.status-polling-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px dashed rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
}

.checking-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 20000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}

.success-content {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid var(--gold);
    padding: 50px 30px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 100px rgba(245, 188, 27, 0.2);
    animation: slideUpFade 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: block;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .success-content {
        padding: 40px 20px;
    }
    .success-title {
        font-size: 1.5rem;
    }
}

/* PROMO POPUP */
.promo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.promo-popup-content {
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: 2px solid var(--gold);
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(245, 188, 27, 0.3);
    animation: popupFadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-popup:hover { opacity: 1; transform: rotate(90deg); background: rgba(255,255,255,0.2); }

.promo-header {
    background: var(--gold);
    color: #000;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.price-highlight {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
}

.promo-code-box {
    background: rgba(255,255,255,0.05);
    border: 2px dashed var(--gold);
    padding: 15px;
    margin: 25px 0;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-code-box span {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.promo-code-box button {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.promo-code-box button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@media (max-width: 600px) {
    .promo-popup-content {
        padding: 30px 20px;
    }
    .price-highlight {
        font-size: 1.8rem;
    }
    .promo-code-box span {
        font-size: 1.2rem;
    }
}

/* ============================================================
   PROFESSIONAL MOTION SYSTEM
   - GPU accelerated (transform/opacity only)
   - Respects prefers-reduced-motion
   - Staggered reveals for premium feel
============================================================ */

/* --- 1. SCROLL REVEAL BASE --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.reveal-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.reveal-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.reveal-visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }

/* --- 2. HERO ENTRANCE (Runs on Load) --- */
.hero-animate-text {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-animate-text.delay-1 { animation-delay: 0.1s; }
.hero-animate-text.delay-2 { animation-delay: 0.22s; }
.hero-animate-text.delay-3 { animation-delay: 0.38s; }
.hero-animate-text.delay-4 { animation-delay: 0.52s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate-img {
  animation: heroFadeRight 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* --- 3. TICKER (already animated, no change needed) --- */

/* --- 4. STAT CARDS — count-up pulse on reveal --- */
.stat-card.reveal-visible .stat-value {
  animation: statPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes statPop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* --- 5. TIMELINE ROWS — alternate slide --- */
.timeline-row:nth-child(odd)  .timeline-module  { transform-origin: left center; }
.timeline-row:nth-child(even) .timeline-module  { transform-origin: right center; }

/* --- 6. STUDENT CARDS — Lift on hover (enhanced) --- */
.student-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}
.student-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 30px rgba(245,188,27,0.12);
}

/* --- 7. ADVANTAGE BOXES — shimmer border on hover --- */
.adv-box {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 30%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(245,188,27,0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.adv-box:hover::before { left: 130%; }
.adv-box:hover {
  border-color: rgba(245,188,27,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

/* --- 8. PRICING CARDS — glow on hover --- */
.pricing-col {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}
.pricing-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(245,188,27,0.08);
}
.pricing-highlight:hover {
  box-shadow: 0 25px 50px rgba(227,38,54,0.25), 0 0 40px rgba(227,38,54,0.1);
}

/* --- 9. CTA BUTTON — Pulse ring --- */
.btn-cta {
  position: relative;
  overflow: hidden;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-cta:hover::after { opacity: 1; }
.btn-cta:active { transform: scale(0.97); }

/* Primary CTA pulse on hero */
.hero-actions .btn-cta {
  animation: ctaPulse 3s ease-in-out 1.5s infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(227,38,54,0.4); }
  50%       { box-shadow: 0 4px 32px rgba(227,38,54,0.7), 0 0 0 8px rgba(227,38,54,0.08); }
}

/* --- 10. TIMELINE DOT — breathing glow --- */
.timeline-dot {
  animation: dotGlow 2.5s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.5); }
  50%       { box-shadow: 0 0 22px rgba(255,215,0,0.9), 0 0 40px rgba(255,215,0,0.3); }
}

/* --- 11. CYBER FEEDBACK CARDS --- */
.cyber-card {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* --- 12. NAVBAR scroll shrink handled by JS class --- */
.navbar-scrolled { padding: 8px 0 !important; }
.navbar-scrolled .logo { font-size: 1.4rem !important; }

/* --- 13. SECTION HEADING underline reveal --- */
.heading-reveal {
  position: relative;
  display: inline-block;
}
.heading-reveal::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--red-cta), var(--gold));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.reveal-visible .heading-reveal::after,
.heading-reveal.reveal-visible::after { width: 100%; }

/* --- 14. IMAGE cards — lazy zoom --- */
.student-card img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.student-card:hover img { transform: scale(1.06); }

/* --- 15. FAQ items --- */
.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border-color: rgba(245,188,27,0.2);
}
.faq-item:not([open]):hover {
  border-color: rgba(255,255,255,0.15);
}

/* --- REDUCE MOTION OVERRIDE --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .hero-animate-text, .hero-animate-img,
  .hero-actions .btn-cta {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ====================================================
   THANK YOU PAGE & SUCCESS STATES
==================================================== */
#thank-you-page {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.thank-you-container {
    padding: 20px 10px;
}

.success-icon-wrapper {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.thank-you-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thank-you-msg {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.free-video-box {
    background: rgba(245, 188, 27, 0.1);
    border: 1px dashed var(--gold);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.btn-free-videos {
    background: var(--gold);
    color: #000;
    font-size: 1.1rem;
    padding: 15px 30px;
    width: auto;
    max-width: 100%;
    margin-top: 15px;
}

.btn-free-videos:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--gold-glow);
}

.skool-support-section {
    background: rgba(30,30,30,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    text-align: left;
}

.support-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-instruction-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-instruction-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

.zalo-support-btn {
    background: #0068ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    width: fit-content;
    margin-top: 10px;
}

.zalo-support-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 104, 255, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================
   PREMIUM CHECKOUT UPGRADES (Inspired by reference)
==================================================== */
.progress-container {
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red-cta) 0%, var(--gold) 100%);
    box-shadow: 0 0 10px var(--gold-glow);
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.countdown-wrapper {
    background: rgba(245, 188, 27, 0.05);
    border: 1px solid rgba(245, 188, 27, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.countdown-timer {
    font-family: 'Inter', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--gold-glow);
}

.bank-detail-group {
    margin-bottom: 15px;
    text-align: left;
}

.bank-detail-label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 600;
}

.bank-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
}

.bank-detail-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.bank-detail-value {
    font-family: 'Inter', monospace;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.2s;
}

.copy-btn:active {
    transform: scale(0.9);
}

.copy-btn.copied {
    background: #4CAF50;
    color: #fff;
}

/* 3-Step Instructions */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.step-box {
    background: rgba(40, 40, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 15px;
    border-radius: 12px;
    transition: transform 0.3s;
    text-align: center;
}

.step-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.step-num {
    background: var(--gold);
    color: #000;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    margin: 0 auto 15px;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.step-desc {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================
   DEDICATED CHECKOUT PAGE (Trang 2)
==================================================== */
.checkout-page-body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 0%, #1a0504 0%, #0d0d0d 100%);
    min-height: 100vh;
}

.checkout-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 100px; /* Extra bottom padding for mobile footer */
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 30px;
}

.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-qr-box {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    text-align: center;
}

.checkout-qr-box img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.checkout-hero {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-hero h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 850px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-wrapper {
        padding-top: 20px;
        padding-bottom: 120px;
    }

    .mobile-sticky-footer {
        display: block;
    }
    
    .desktop-only-btn {
        display: none;
    }
}
/* ====================================================
   AI CHATBOT WIDGET STYLES (RESTORED)
==================================================== */
/* ====================================================
   AI CHATBOT WIDGET STYLES
==================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-bubble {
  width: 65px;
  height: 65px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(245, 188, 27, 0.4);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-image: url('assets/bot_header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border: 3px solid #000;
}

.chat-bubble:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(245, 188, 27, 0.6);
}

.chat-bubble::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: #4CAF50;
  border-radius: 50%;
  border: 2px solid #000;
}

.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: #111;
    border: 1px solid rgba(245, 188, 27, 0.3);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    z-index: 10001;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-header {
    background: linear-gradient(90deg, #1a1a1a, #000);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.chat-header .name {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #0d0d0d 100%);
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-msg.bot {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    background: var(--gold);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 600;
}

.chat-menu {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    bottom: 80px;
    left: 20px;
    background: rgba(20,20,20,0.95);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
}

.menu-item {
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}

.menu-item:hover {
    background: rgba(245, 188, 27, 0.1);
    border-color: var(--gold);
}

.chat-footer {
    padding: 15px;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.chat-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #222;
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.chat-input-container input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    padding: 10px 0;
    outline: none;
    font-size: 0.9rem;
}

.chat-menu-btn, .chat-send-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: 0.3s;
    width: auto; /* Reset global button style */
}

.chat-menu-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.chat-send-btn {
    color: var(--gold);
}

.chat-send-btn:hover {
    transform: translateX(3px) scale(1.1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }
  .chat-bubble {
    width: 55px;
    height: 55px;
  }
  .chat-window {
      width: calc(100% - 40px);
      right: 20px;
      bottom: 90px;
      height: 70vh;
  }
}
/* ZALO FLOATING BUTTON */
.zalo-float {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #0068ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 104, 255, 0.3);
  z-index: 9999;
  transition: all 0.3s;
  border: 3px solid #fff;
}

.zalo-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 104, 255, 0.5);
}

.zalo-float img {
  width: 60%;
  height: 60%;
}

@media (max-width: 600px) {
  .zalo-float {
    bottom: 90px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

/* ====================================================
   FREE LEARNING SECTION
==================================================== */
.free-learning-section {
    padding: 100px 0;
    background: rgba(10, 10, 10, 0.4);
    position: relative;
    z-index: 1;
}

.free-learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Tăng gap một chút cho thoáng */
    margin-top: 50px;
    max-width: 1000px; /* Giới hạn chiều rộng để card to hơn */
    margin-left: auto;
    margin-right: auto;
}

.teaser-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.teaser-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(245, 188, 27, 0.15);
}

.teaser-thumb-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.teaser-thumb-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.teaser-card:hover .teaser-thumb-wrapper img {
    transform: scale(1.1);
}

.teaser-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(227, 38, 54, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(227, 38, 54, 0.5);
    transition: all 0.3s ease;
}

.teaser-card:hover .teaser-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--red-cta);
}

.teaser-info {
    padding: 20px;
}

.teaser-tag {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.teaser-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

/* Locked Card Specifics */
.teaser-locked {
    filter: grayscale(0.5);
}

.teaser-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.teaser-lock-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--gold-glow);
}

.teaser-lock-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .free-learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .free-learning-grid {
        grid-template-columns: 1fr;
    }
    .free-learning-section {
        padding: 60px 0;
    }
}

/* ====================================================
   PREMIUM PAYMENT MODAL
==================================================== */
.modal.show {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ====================================================
   VIDEO LIGHTBOX
==================================================== */
#video-lightbox {
    z-index: 100000;
}

.lightbox-content {
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

.lightbox-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.lightbox-video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.lightbox-close {
    position: absolute;
    top: -45px; right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.modal-content {
    background: #111;
    border: 1px solid rgba(255, 215, 0, 0.3);
    width: 95%;
    max-width: 500px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover { color: #fff; }

.payment-qr-container {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    margin: 20px auto;
    width: fit-content;
}

.payment-qr-container img {
    width: 200px;
    height: 200px;
    display: block;
}

.payment-details {
    text-align: left;
    margin-top: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.payment-label { color: #888; font-size: 0.85rem; font-weight: 600; }
.payment-value { color: #fff; font-weight: 800; font-family: 'Inter', monospace; }

.payment-copy-hint {
    font-size: 0.7rem;
    color: var(--gold);
    margin-top: 5px;
    opacity: 0.8;
}
