/* ===== RESET & BASE (Dark Theme) ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter',sans-serif;color:#cbd5e1;line-height:1.7;background:#0f172a}
h1,h2,h3,h4,h5,h6{font-family:'Nunito',sans-serif;font-weight:800;line-height:1.2;color:#f1f5f9}
a{color:#d4a53c;text-decoration:none;transition:color .2s}
a:hover{color:#f59e0b}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
button,input,select,textarea{font-family:inherit;font-size:inherit}

/* ===== UTILITIES ===== */
.container{max-width:1140px;margin:0 auto;padding:0 20px}
.section{padding:80px 0}
.section-alt{background:#1e293b}
.text-center{text-align:center}
.text-gold{color:#d4a53c}
.btn{display:inline-block;padding:14px 36px;border-radius:50px;font-weight:700;font-family:'Nunito',sans-serif;font-size:1.05rem;cursor:pointer;transition:all .3s;border:none;text-align:center}
.btn-primary{background:#d4a53c;color:#fff;box-shadow:0 4px 14px rgba(212,165,60,.35)}
.btn-primary:hover{background:#f59e0b;color:#fff;transform:translateY(-2px);box-shadow:0 6px 20px rgba(212,165,60,.45)}
.btn-outline{background:transparent;color:#d4a53c;border:2px solid #d4a53c}
.btn-outline:hover{background:#d4a53c;color:#0f172a}
.btn-white{background:rgba(255,255,255,.1);color:#f1f5f9;border:1px solid rgba(255,255,255,.2)}
.btn-white:hover{background:rgba(255,255,255,.2)}
.btn-sm{padding:10px 24px;font-size:.9rem}
.badge{display:inline-block;background:rgba(212,165,60,.15);color:#d4a53c;padding:6px 16px;border-radius:30px;font-size:.85rem;font-weight:700;margin-bottom:12px}

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

/* ===== HEADER ===== */
.header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(15,23,42,.97);backdrop-filter:blur(10px);box-shadow:0 1px 10px rgba(0,0,0,.3);transition:box-shadow .3s}
.header .container{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{font-family:'Nunito',sans-serif;font-size:1.35rem;font-weight:800;color:#f1f5f9}
.logo span{color:#d4a53c}
.nav{display:flex;align-items:center;gap:28px}
.nav a{font-weight:600;font-size:.95rem;color:#94a3b8;transition:color .2s}
.nav a:hover,.nav a.active{color:#d4a53c}

/* ===== HERO ===== */
.hero{padding:120px 0 70px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 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(212,165,60,.12) 0%,transparent 70%);border-radius:50%}
.hero .container{position:relative;z-index:1}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero h1{font-size:3.2rem;margin-bottom:16px;color:#fff}
.hero h1 span{color:#d4a53c}
.hero .subtitle{font-size:1.25rem;color:rgba(255,255,255,.85);margin-bottom:12px;font-weight:500}
.hero .sub-detail{font-size:1rem;color:rgba(255,255,255,.55);margin-bottom:32px}
.hero-buttons{display:flex;gap:16px;flex-wrap:wrap}
.hero-photo{text-align:center}
.hero-photo img{width:280px;height:280px;object-fit:cover;border-radius:50%;border:5px solid rgba(212,165,60,.5);box-shadow:0 20px 60px rgba(0,0,0,.4);margin:0 auto}
.hero-photo .photo-caption{margin-top:16px;font-size:1rem;color:rgba(255,255,255,.8);font-weight:600}
.hero-photo .photo-subtitle{font-size:.85rem;color:rgba(255,255,255,.45)}

/* ===== COURSE PROGRESS BAR ===== */
.course-progress{background:#1e293b;border-bottom:1px solid rgba(255,255,255,.06);padding:16px 0}
.progress-inner{display:flex;align-items:center;gap:16px}
.progress-label{font-size:.85rem;color:#94a3b8;font-weight:600;white-space:nowrap}
.progress-bar-wrap{flex:1;height:8px;background:rgba(255,255,255,.08);border-radius:10px;overflow:hidden}
.progress-bar-fill{height:100%;background:linear-gradient(90deg,#d4a53c,#f59e0b);border-radius:10px;transition:width .5s ease}
.progress-pct{font-size:.85rem;color:#d4a53c;font-weight:700;white-space:nowrap}

/* ===== MODULES SECTION ===== */
.modules-section{padding:70px 0 80px}
.modules-sub{color:#94a3b8;max-width:600px;margin:12px auto 0;font-size:1rem}

/* ===== SQUARE CARD GRID ===== */
.sq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}
.sq-card{aspect-ratio:1/1;background:#1e293b;border-radius:18px;padding:28px 24px;border:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;transition:all .3s;position:relative;overflow:hidden}
.sq-card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(0,0,0,.4);border-color:rgba(212,165,60,.3)}

/* Module number circle */
.sq-num{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Nunito',sans-serif;font-size:1.8rem;font-weight:900;margin-bottom:16px;flex-shrink:0}
.sq-num.gold{background:#d4a53c;color:#0f172a}
.sq-num.navy{background:#1e3a5f;color:#f1f5f9;border:2px solid rgba(212,165,60,.3)}

/* Card text */
.sq-title{font-size:1.05rem;color:#f1f5f9;margin-bottom:6px;line-height:1.3}
.sq-sub{font-size:.82rem;color:#64748b;margin-bottom:16px;line-height:1.4;flex-grow:1}
.sq-btn{margin-top:auto;pointer-events:none}

/* ===== RESOURCES SECTION ===== */
.res-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:40px;max-width:800px;margin-left:auto;margin-right:auto}
.res-card{background:#0f172a;border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:36px 28px;text-align:center;transition:all .3s}
.res-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.3);border-color:rgba(212,165,60,.2)}
.res-icon{font-size:2.4rem;margin-bottom:16px}
.res-card h3{font-size:1.1rem;color:#f1f5f9;margin-bottom:8px}
.res-card p{font-size:.9rem;color:#94a3b8;margin-bottom:20px;line-height:1.5}

/* ===== CONTACT SECTION ===== */
.contact-box{max-width:480px;margin:40px auto 0;background:#1e293b;border-radius:20px;padding:44px 36px;border:1px solid rgba(255,255,255,.08)}
.contact-name{font-family:'Nunito',sans-serif;font-size:1.6rem;font-weight:800;color:#f1f5f9;margin-bottom:4px}
.contact-role{font-size:.95rem;color:#94a3b8;margin-bottom:28px}
.contact-details{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.contact-link{display:inline-flex;align-items:center;gap:8px;color:#cbd5e1;font-size:1rem;transition:color .2s}
.contact-link:hover{color:#d4a53c}
.contact-cta{width:100%}

/* ===== FOOTER ===== */
.footer{background:#0f172a;color:#64748b;padding:40px 0 24px;border-top:1px solid rgba(255,255,255,.05)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer h4{color:#f1f5f9;font-family:'Nunito',sans-serif;margin-bottom:16px;font-size:1rem}
.footer p,.footer a{font-size:.9rem;color:#64748b;line-height:1.8}
.footer a:hover{color:#d4a53c}
.footer-brand .logo{font-size:1.2rem;margin-bottom:12px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.05);padding-top:24px;text-align:center;font-size:.85rem;color:#475569}

/* ===== MODULE PAGE STYLES (kept for module pages) ===== */
.module-hero{padding:130px 0 50px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fff;text-align:center}
.module-hero h1{color:#fff;font-size:2.4rem;margin-bottom:12px}
.module-hero h1 span{color:#d4a53c}
.module-hero .module-subtitle-hero{color:rgba(255,255,255,.7);font-size:1.1rem}
.breadcrumb{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.breadcrumb-inner{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#64748b}
.breadcrumb-inner a{color:#94a3b8}
.breadcrumb-inner a:hover{color:#d4a53c}
.breadcrumb-inner .sep{color:#475569}
.module-progress{display:flex;align-items:center;justify-content:center;gap:8px;padding:30px 0 10px}
.module-dot{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.06);border:2px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;color:#64748b;transition:all .3s}
.module-dot.active{background:#d4a53c;border-color:#d4a53c;color:#0f172a}
.module-dot.visited{background:rgba(34,197,94,.2);border-color:#22c55e;color:#22c55e}
.module-dot-line{width:24px;height:2px;background:rgba(255,255,255,.1)}
.module-content{padding:60px 0}
.module-content .container{max-width:800px}
.module-content h2{font-size:1.8rem;margin:40px 0 16px;color:#f1f5f9}
.module-content h2:first-of-type{margin-top:0}
.module-content h3{font-size:1.3rem;margin:32px 0 12px;color:#d4a53c}
.module-content p{font-size:1.05rem;line-height:1.8;margin-bottom:16px;color:#cbd5e1}
.module-content ul,.module-content ol{margin:16px 0 24px;padding-left:24px}
.module-content ul{list-style:none;padding-left:0}
.module-content ul li{padding:6px 0 6px 28px;position:relative;color:#cbd5e1;font-size:1rem}
.module-content ul li::before{content:'';position:absolute;left:0;top:14px;width:8px;height:8px;background:#d4a53c;border-radius:50%}
.module-content ol{list-style:decimal;padding-left:28px}
.module-content ol li{padding:4px 0;color:#cbd5e1;font-size:1rem}
.module-content .highlight-box{background:rgba(212,165,60,.08);border:1px solid rgba(212,165,60,.2);border-radius:12px;padding:24px;margin:24px 0}
.module-content .highlight-box h4{color:#d4a53c;font-size:1.1rem;margin-bottom:8px}
.module-content .highlight-box p{margin-bottom:0;font-size:.95rem}
.module-content .myth-buster{background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.2);border-radius:12px;padding:24px;margin:24px 0}
.module-content .myth-buster .myth{color:#ef4444;font-weight:700;font-size:1rem;margin-bottom:8px}
.module-content .myth-buster .truth{color:#22c55e;font-weight:700;font-size:1rem}
.module-content .example-box{background:rgba(34,197,94,.06);border:1px solid rgba(34,197,94,.2);border-radius:12px;padding:24px;margin:24px 0}
.module-content .example-box h4{color:#22c55e;font-size:1.1rem;margin-bottom:8px}
.module-content .comparison-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:.9rem}
.module-content .comparison-table th{background:rgba(212,165,60,.15);color:#d4a53c;padding:12px 16px;text-align:left;font-weight:700;border-bottom:2px solid rgba(212,165,60,.3)}
.module-content .comparison-table td{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06);color:#cbd5e1}
.module-content .comparison-table tr:hover td{background:rgba(255,255,255,.03)}
.module-content .module-img{border-radius:12px;margin:24px 0;width:100%;object-fit:cover;max-height:400px}
.module-nav{padding:40px 0 60px;border-top:1px solid rgba(255,255,255,.06)}
.module-nav-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.module-nav a{display:flex;align-items:center;gap:10px;padding:16px 24px;background:#1e293b;border:1px solid rgba(255,255,255,.08);border-radius:12px;color:#f1f5f9;font-weight:600;transition:all .3s;font-size:.95rem}
.module-nav a:hover{border-color:#d4a53c;background:rgba(212,165,60,.08);color:#d4a53c}
.module-nav a .nav-label{font-size:.75rem;color:#64748b;display:block}
.module-nav .spacer{flex:1}

/* ===== LEAD CAPTURE FORMS ===== */
.lead-form-section{padding:60px 0;background:#1e293b}
.lead-form-container{max-width:560px;margin:0 auto;background:#0f172a;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:40px 36px}
.lead-form-container h3{text-align:center;margin-bottom:8px;font-size:1.5rem;color:#f1f5f9}
.lead-form-container .form-subtitle{text-align:center;color:#94a3b8;margin-bottom:28px;font-size:.95rem}
.lead-form-container .form-group{margin-bottom:18px}
.lead-form-container .form-group label{display:block;font-weight:600;font-size:.85rem;color:#cbd5e1;margin-bottom:6px}
.lead-form-container .form-group input,
.lead-form-container .form-group select{width:100%;padding:12px 16px;border:2px solid rgba(255,255,255,.1);border-radius:12px;font-size:1rem;transition:border-color .2s;background:#1e293b;color:#f1f5f9}
.lead-form-container .form-group input:focus,
.lead-form-container .form-group select:focus{outline:none;border-color:#d4a53c;background:#1e293b}
.lead-form-container .form-group input::placeholder{color:#64748b}
.lead-form-container .form-group select option{background:#1e293b;color:#f1f5f9}
.lead-form-container .form-submit{width:100%;margin-top:8px}
.lead-form-container .form-note{text-align:center;font-size:.8rem;color:#64748b;margin-top:12px}
.lead-form-container .form-success{display:none;text-align:center;padding:30px 20px}
.lead-form-container .form-success.show{display:block}
.lead-form-container .form-success .check-icon{width:70px;height:70px;background:#22c55e;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#fff;margin:0 auto 16px}
.lead-form-container .form-success h4{color:#f1f5f9;margin-bottom:8px}
.lead-form-container .form-success p{color:#94a3b8}

/* ===== FORM PAGES ===== */
.page-hero{padding:130px 0 60px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fff;text-align:center}
.page-hero h1{color:#fff;font-size:2.6rem;margin-bottom:12px}
.page-hero h1 span{color:#d4a53c}
.page-hero p{color:rgba(255,255,255,.7);font-size:1.15rem}
.form-section{padding:40px 0 80px}
.form-container{max-width:600px;margin:0 auto;background:#1e293b;border-radius:20px;padding:50px 40px;box-shadow:0 10px 40px rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.06)}
.form-container h2{text-align:center;margin-bottom:8px;color:#f1f5f9}
.form-container .form-subtitle{text-align:center;color:#94a3b8;margin-bottom:32px;font-size:.95rem}
.form-group{margin-bottom:20px}
.form-group label{display:block;font-weight:600;font-size:.9rem;color:#cbd5e1;margin-bottom:6px}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px 16px;border:2px solid rgba(255,255,255,.1);border-radius:12px;font-size:1rem;transition:border-color .2s;background:#0f172a;color:#f1f5f9}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#d4a53c;background:#0f172a}
.form-group input::placeholder,.form-group textarea::placeholder{color:#64748b}
.form-group textarea{resize:vertical;min-height:100px}
.form-submit{width:100%;margin-top:10px}
.form-success{display:none;text-align:center;padding:40px 20px}
.form-success.show{display:block}
.form-success .check-icon{width:80px;height:80px;background:#22c55e;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:#fff;margin:0 auto 20px}
.form-success h3{margin-bottom:10px;color:#f1f5f9}
.form-success p{color:#94a3b8}

/* ===== MOBILE NAV ===== */
.mobile-nav{display:none;position:fixed;top:70px;left:0;width:100%;background:#0f172a;box-shadow:0 10px 30px rgba(0,0,0,.3);padding:20px;z-index:999}
.mobile-nav.open{display:block}
.mobile-nav a{display:block;padding:12px 0;font-weight:600;color:#94a3b8;border-bottom:1px solid rgba(255,255,255,.06)}
.mobile-nav a:hover{color:#d4a53c}

/* ===== LEGACY SUPPORT (module-grid for module pages that use old layout) ===== */
.module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:50px}
.module-card{background:#1e293b;border-radius:16px;padding:32px 28px;border:1px solid rgba(255,255,255,.06);transition:all .3s;position:relative;overflow:hidden;display:flex;flex-direction:column}
.module-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.3);border-color:rgba(212,165,60,.2)}
.module-card.start-here{border:2px solid #d4a53c;box-shadow:0 0 30px rgba(212,165,60,.15)}
.module-card .module-num{font-family:'Nunito',sans-serif;font-size:3rem;font-weight:900;color:rgba(212,165,60,.12);position:absolute;top:12px;right:20px}
.module-card .module-badge-sm{display:inline-block;background:rgba(212,165,60,.15);color:#d4a53c;padding:4px 12px;border-radius:6px;font-size:.75rem;font-weight:700;margin-bottom:12px}
.module-card .start-badge{background:#d4a53c;color:#0f172a;padding:4px 12px;border-radius:6px;font-size:.7rem;font-weight:800;margin-left:8px;text-transform:uppercase}
.module-card h3{font-size:1.2rem;margin-bottom:6px;color:#f1f5f9;padding-right:40px}
.module-card .module-subtitle{font-size:.9rem;color:#94a3b8;margin-bottom:16px}
.module-card .module-status{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:16px}
.module-card .module-status .check{width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:.7rem;color:transparent}
.module-card .module-status .check.done{background:#22c55e;border-color:#22c55e;color:#fff}
.module-card .module-status span{font-size:.85rem;color:#94a3b8}
.module-card .btn{margin-top:16px;align-self:flex-start}

/* ===== RESPONSIVE ===== */
@media(max-width:992px){
  .hero-grid{grid-template-columns:1fr;text-align:center}
  .hero-photo{order:-1}
  .hero-photo img{width:220px;height:220px}
  .hero-buttons{justify-content:center}
  .hero h1{font-size:2.4rem}
  .sq-grid{grid-template-columns:repeat(2,1fr)}
  .res-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .module-grid{grid-template-columns:1fr}
  .module-nav-inner{flex-direction:column}
  .module-nav a{width:100%;justify-content:center}
}
@media(max-width:768px){
  .nav{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;white-space:nowrap;gap:12px}
  .nav::-webkit-scrollbar{display:none}
  .hero{padding:100px 0 50px}
  .hero h1{font-size:2rem}
  .section{padding:60px 0}
  .modules-section{padding:50px 0 60px}
  .sq-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .sq-card{padding:20px 16px}
  .sq-num{width:52px;height:52px;font-size:1.4rem;margin-bottom:12px}
  .sq-title{font-size:.95rem}
  .sq-sub{font-size:.78rem}
  .contact-box{padding:32px 24px}
  .footer-grid{grid-template-columns:1fr}
  .form-container{padding:30px 20px}
  .page-hero h1,.module-hero h1{font-size:2rem}
  .module-content h2{font-size:1.4rem}
  .lead-form-container{padding:28px 20px}
  .module-dot{width:28px;height:28px;font-size:.65rem}
  .module-dot-line{width:12px}
}
@media(max-width:768px){
  .header .container{flex-wrap:nowrap;height:44px;padding:0 10px;gap:4px}
  .nav{gap:8px;padding:2px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .nav a{font-size:0.7rem;white-space:nowrap;flex-shrink:0}
  .logo{font-size:0.9rem!important;white-space:nowrap;flex-shrink:0}
  .nav{flex:1;min-width:0}
}
@media(max-width:480px){
  .sq-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .sq-card{padding:16px 12px}
  .sq-num{width:44px;height:44px;font-size:1.2rem;margin-bottom:10px}
  .sq-title{font-size:.85rem}
  .sq-sub{font-size:.72rem;margin-bottom:10px}
  .sq-btn{padding:8px 16px;font-size:.78rem}
}
