/**
 * Thirdsan Digital Academy - Main Stylesheet
 * Brand Colors:
 * Primary (Sky Blue): #5FA8D3
 * Accent (Orange): #FF6B35
 * Success (Green): #10B981
 * Secondary (Bronze): #6B4423
 * Dark Text: #2C3E50
 * Light Background: #F8F9FA
 */

/* === ROOT VARIABLES === */
:root {
    --color-primary: #5FA8D3;
    --color-accent: #FF6B35;
    --color-success: #10B981;
    --color-secondary: #6B4423;
    --color-dark: #2C3E50;
    --color-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #4a8fba;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background: #e55b2b;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--color-success);
    color: var(--color-white);
}

.btn-success:hover {
    background: #059669;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* === NAVIGATION === */
.navbar {
    background: #0d1b2a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(95,168,211,.12);
    transition: box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.35);
    background: rgba(13,27,42,.97);
    backdrop-filter: blur(12px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 0;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg,#5FA8D3,#3b7fb5);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: white;
    box-shadow: 0 4px 12px rgba(95,168,211,.35);
    flex-shrink: 0;
}
.nav-logo-text { line-height: 1; }
.nav-logo-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    letter-spacing: -.01em;
}
.nav-logo-sub {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255,255,255,.55);
    letter-spacing: -.01em;
}
.nav-logo:hover .nav-logo-icon { box-shadow: 0 6px 18px rgba(95,168,211,.5); }

/* Desktop links */
.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-link {
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    padding: .5rem .75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.nav-link:hover { color: white; background: rgba(255,255,255,.07); }
.nav-link.active { color: white; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}
.nav-logout { padding: .5rem .6rem; }
.nav-logout:hover { color: #EF4444; background: rgba(239,68,68,.08); }

/* Authenticated user pill */
.nav-user-pill {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    padding: .3rem .7rem .3rem .35rem;
}
.nav-user-pill span { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); }
.nav-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--color-primary),#3b7fb5);
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700; color: white;
}

/* CTA button in nav */
.btn-nav {
    padding: .55rem 1.1rem;
    font-size: .88rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: .4rem;
}

/* Mobile toggle button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    cursor: pointer;
    width: 40px; height: 40px;
    padding: 0;
    align-items: center;
}
.nav-toggle span {
    width: 18px; height: 2px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}
.nav-drawer.open { display: block; }
.nav-drawer-inner {
    position: absolute;
    top: 0; right: 0;
    width: min(320px, 90vw);
    height: 100%;
    background: #0d1b2a;
    border-left: 1px solid rgba(255,255,255,.08);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
    animation: drawerSlide .25s ease-out;
}
@keyframes drawerSlide {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
.nav-drawer-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    border-radius: 10px;
    color: rgba(255,255,255,.75);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    margin-bottom: .25rem;
    transition: var(--transition);
}
.nav-drawer-link:hover, .nav-drawer-link.active {
    background: rgba(255,255,255,.07);
    color: white;
}
.nav-drawer-link.active { color: var(--color-primary); }
.nav-drawer-link i { width: 20px; text-align: center; color: var(--color-primary); }
.nav-drawer-ext { color: rgba(255,255,255,.45); font-size: .85rem; }
.nav-drawer-divider {
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: .75rem 0;
}
.nav-drawer-whatsapp {
    margin-top: 1rem;
}
.nav-drawer-whatsapp a {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: rgba(37,211,102,.12);
    border: 1px solid rgba(37,211,102,.25);
    color: #25D366;
    font-weight: 600;
    font-size: .9rem;
    padding: .7rem 1rem;
    border-radius: 10px;
    text-decoration: none;
}
.nav-drawer-whatsapp a:hover { background: rgba(37,211,102,.2); }

/* === FLASH MESSAGES === */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid;
}

.flash-success .flash-content {
    border-color: var(--color-success);
    color: var(--color-success);
}

.flash-error .flash-content {
    border-color: var(--color-error);
    color: var(--color-error);
}

.flash-info .flash-content {
    border-color: var(--color-info);
    color: var(--color-info);
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    margin-left: auto;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    padding: 60px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulseBackground 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseBackground {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

/* Floating icons animation */
.hero-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.hero-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; animation-duration: 15s; }
.hero-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; animation-duration: 18s; }
.hero-icon:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 4s; animation-duration: 20s; }
.hero-icon:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 1s; animation-duration: 16s; }
.hero-icon:nth-child(5) { top: 40%; left: 5%; animation-delay: 3s; animation-duration: 22s; }
.hero-icon:nth-child(6) { top: 60%; right: 8%; animation-delay: 5s; animation-duration: 19s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === COURSE CARDS === */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.course-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 3rem;
}

.course-card-content {
    padding: 1.5rem;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.course-level {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-success);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.course-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: #666;
}

.course-meta i {
    color: var(--color-primary);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1rem 0;
}

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #FFA500;
}

/* === FORMS === */
.form-container {
    max-width: 500px;
    margin: 3rem auto;
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(95, 168, 211, 0.1);
}

.form-error {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* === CARDS === */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.card-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-light);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.card-body {
    padding: 0;
}

/* === PROGRESS BAR === */
.progress-bar-container {
    background: #e5e7eb;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 0.5rem;
}

/* === STATS WIDGETS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
}

.stat-icon.primary {
    background: var(--color-primary);
}

.stat-icon.accent {
    background: var(--color-accent);
}

.stat-icon.success {
    background: var(--color-success);
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
}

.stat-content p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* === VIDEO PLAYER === */
.video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-container video {
    width: 100%;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-controls {
    opacity: 1;
}

/* === TABLES === */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background: var(--color-light);
    font-weight: 600;
    color: var(--color-dark);
}

tr:hover {
    background: var(--color-light);
}

/* === FOOTER === */
.footer {
    background: #0a1622;
    color: var(--color-white);
    padding: 0 0 0;
    margin-top: 0;
    border-top: none;
}

/* Gradient separator at top of footer */
.footer-top-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success), var(--color-accent));
}

.footer .container {
    padding-top: 3.5rem;
    padding-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Brand column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    margin-bottom: 1.1rem;
}
.footer-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg,#5FA8D3,#3b7fb5);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: white;
    flex-shrink: 0;
}
.footer-logo-name { font-size: 1.1rem; font-weight: 800; color: white; }
.footer-logo-sub  { font-size: 1.1rem; font-weight: 400; color: rgba(255,255,255,.45); }
.footer-tagline {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer heading */
.footer-heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 1.25rem;
}

/* Footer lists */
.footer-list {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-list li { margin-bottom: .55rem; }
.footer-list a {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: var(--transition);
}
.footer-list a:hover { color: white; padding-left: .25rem; }
.footer-list a i { font-size: .65rem; color: var(--color-primary); }

/* Social links */
.footer-social {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.footer-social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: var(--transition);
}
.footer-social-link:hover { background: var(--color-primary); border-color: var(--color-primary); color: white; transform: translateY(-2px); }
.footer-social-yt:hover { background: #EF4444; border-color: #EF4444; }

/* Payment badges */
.footer-payment-row { margin-top: .25rem; }
.footer-payment-label { font-size: .7rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .5rem; }
.footer-payment-badges { display: flex; gap: .4rem; flex-wrap: wrap; }
.fp-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.5);
    font-size: .7rem; font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 6px;
}
.fp-badge i { font-size: .7rem; }

/* Contact list */
.footer-contact-list {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .9rem;
}
.fci-icon {
    width: 32px; height: 32px;
    background: rgba(95,168,211,.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: .1rem;
}
.fci-wa { background: rgba(37,211,102,.12); color: #25D366; }
.fci-label { display: block; font-size: .65rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .15rem; }
.footer-contact-list a, .footer-contact-list span:not(.fci-label) {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
}
.footer-contact-list a:hover { color: white; }

/* WhatsApp CTA button */
.footer-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(37,211,102,.12);
    border: 1px solid rgba(37,211,102,.25);
    color: #25D366;
    font-size: .85rem;
    font-weight: 600;
    padding: .6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}
.footer-wa-cta:hover { background: rgba(37,211,102,.2); color: #25D366; }

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 1.25rem 0;
}
.footer-bottom p {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
.footer-bottom strong { color: rgba(255,255,255,.65); }
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* Legacy selectors — kept for backward compat */
.footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer a:hover { color: white; }
.footer-col h4 { margin-bottom: 1rem; }

/* === FLOATING BUTTONS === */
/* WhatsApp Float Button - Maximum Visibility */
.whatsapp-float {
    position: fixed !important;
    width: 65px !important;
    height: 65px !important;
    bottom: 30px !important;
    right: 30px !important;
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: white !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 36px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    animation: pulseWhatsApp 2s infinite !important;
}

.whatsapp-float:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7) !important;
    color: white !important;
    background-color: #128C7E !important;
}

.whatsapp-float i,
.whatsapp-float .fab {
    margin: 0 !important;
    padding: 0 !important;
    color: white !important;
    font-size: 36px !important;
    line-height: 1 !important;
    display: block !important;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p  { font-size: 1rem; }
    .courses-grid { grid-template-columns: 1fr; }
    .stats-grid   { grid-template-columns: 1fr; }
    .footer-grid  { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* === SECTION STYLES === */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    font-size: 1.125rem;
}

/* === LOADING SPINNER === */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === BADGE === */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: var(--color-success);
    color: var(--color-white);
}

.badge-warning {
    background: var(--color-warning);
    color: var(--color-white);
}

.badge-error {
    background: var(--color-error);
    color: var(--color-white);
}

.badge-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

/* === LEARN MODULE LAYOUT === */
.learn-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: calc(100vh - 70px);
}

.learn-sidebar {
    background: var(--color-white);
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
}

/* === VIDEO RESPONSIVE === */
.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* === QUIZ STYLES === */
.quiz-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-option:hover {
    border-color: var(--color-primary);
    background: #eff6ff;
}

.quiz-option.selected {
    border-color: var(--color-primary);
    background: #eff6ff;
}

.quiz-option.correct {
    border-color: var(--color-success);
    background: #f0fdf4;
}

.quiz-option.wrong {
    border-color: var(--color-error);
    background: #fef2f2;
}

/* === ADMIN NAV ENHANCEMENT === */
.admin-nav-card {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}

.admin-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

/* === CERTIFICATE PREVIEW === */
.certificate-card {
    background: linear-gradient(135deg, #1a3a5c, #2d6a9f);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

/* === MODAL OVERLAY === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.modal-box {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    margin: 2rem auto;
}

/* === SIDEBAR RESPONSIVE === */
@media (max-width: 768px) {
    .learn-layout {
        grid-template-columns: 1fr;
    }

    .learn-sidebar {
        display: none;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .learn-sidebar.open {
        display: block;
    }
}

/* === PROGRESS CIRCLE === */
.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.progress-circle svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.progress-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ================================================================
   HOMEPAGE V2 — HERO, TRUST BAR, STATS, AUDIENCE, HOW, COURSES,
   TESTIMONIALS, INSTRUCTOR, GUARANTEE, CTA-FINAL, ANIMATIONS
   ================================================================ */

/* --- Utility --------------------------------------------------- */
.mt-4 { margin-top: 2rem; }
.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.will-reveal.revealed { opacity: 1; transform: none; }
[data-reveal-delay].will-reveal { transition-delay: .2s; }

/* --- Section titles -------------------------------------------- */
.section-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: .5rem;
}
.section-title {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-title h2 { margin-bottom: .75rem; }
.section-title p { color: #64748b; font-size: 1.05rem; }

/* ================================================================
   HERO V2
   ================================================================ */
.hero-v2 {
    position: relative;
    background: #0d1b2a;
    overflow: hidden;
    padding: 100px 0 80px;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: #5FA8D3; top: -150px; left: -120px; }
.hero-orb-2 { width: 400px; height: 400px; background: #FF6B35; bottom: -100px; right: -80px; }
.hero-orb-3 { width: 260px; height: 260px; background: #10B981; top: 60%; left: 45%; }

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* LEFT */
.hero-left { color: white; }

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(95,168,211,.18);
    border: 1px solid rgba(95,168,211,.35);
    color: #a8d8f0;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: .35rem .9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.badge-dot {
    width: 7px; height: 7px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16,185,129,.3);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100%{ box-shadow:0 0 0 3px rgba(16,185,129,.3); }
    50%    { box-shadow:0 0 0 7px rgba(16,185,129,.1); }
}

.hero-headline {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
}
.hero-audience {
    color: #5FA8D3;
    border-right: 3px solid #5FA8D3;
    animation: blink-cursor .75s step-end infinite;
}
@keyframes blink-cursor { 50%{ border-color:transparent; } }
.grad-text {
    background: linear-gradient(90deg, #5FA8D3, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 500px;
}

/* Avatar stack */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.hero-social-proof p { color: rgba(255,255,255,.8); font-size: .9rem; }
.hero-social-proof strong { color: white; }
.avatar-stack { display: flex; }
.av {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700; color: white;
    border: 2px solid #0d1b2a;
    margin-left: -8px;
}
.av:first-child { margin-left: 0; }

/* CTAs */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-cta-primary { gap: .5rem; }
.hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: var(--transition);
}
.hero-cta-ghost:hover { color: white; gap: 1rem; }
.play-ring {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    color: white;
    border: 1px solid rgba(255,255,255,.25);
    transition: var(--transition);
}
.hero-cta-ghost:hover .play-ring { background: rgba(255,255,255,.25); }

/* Cohort alert */
.hero-cohort-alert {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.3);
    color: #fbbf24;
    font-size: .82rem;
    font-weight: 500;
    padding: .45rem 1rem;
    border-radius: 100px;
}
.cohort-seats { color: rgba(251,191,36,.7); }

/* RIGHT — float badges */
.hero-right { position: relative; display: flex; justify-content: center; align-items: center; }

.float-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    z-index: 10;
    animation: float-bob 3s ease-in-out infinite;
    white-space: nowrap;
}
.float-badge > i { font-size: 1.1rem; }
.float-badge div { display: flex; flex-direction: column; line-height: 1.2; }
.float-badge strong { font-size: .9rem; color: #0d1b2a; }
.float-badge span { font-size: .7rem; color: #64748b; }
.fb-rating { top: 5%; right: 0; }
.fb-rating > i { color: #F59E0B; }
.fb-enrolled { bottom: 20%; left: -8%; animation-delay: .5s; }
.fb-enrolled > i { color: var(--color-primary); }
.fb-cert { top: 50%; right: -5%; transform: translateY(-50%); animation-delay: 1s; }
.fb-cert > i { color: var(--color-success); }
@keyframes float-bob {
    0%,100%{ transform: translateY(0); }
    50%    { transform: translateY(-8px); }
}
.fb-cert { animation: float-bob-mid 3s ease-in-out infinite 1s; }
@keyframes float-bob-mid {
    0%,100%{ transform: translateY(-50%); }
    50%    { transform: translateY(calc(-50% - 8px)); }
}

/* Platform card (browser mockup) */
.platform-card {
    width: 320px;
    background: #1a2a3a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
    position: relative;
    z-index: 5;
}
.pc-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    background: #0d1b2a;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.pc-dots { display: flex; gap: .35rem; }
.pc-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.pc-dots span:nth-child(1){ background:#EF4444; }
.pc-dots span:nth-child(2){ background:#F59E0B; }
.pc-dots span:nth-child(3){ background:#10B981; }
.pc-title { flex: 1; text-align: center; font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 600; }
.pc-live {
    background: #EF4444;
    color: white;
    font-size: .6rem;
    font-weight: 800;
    padding: .15rem .45rem;
    border-radius: 4px;
    letter-spacing: .06em;
}
.pc-video {
    background: linear-gradient(135deg,#1e3a5f,#0a2236);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pc-play-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; color: white; flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(95,168,211,.2);
}
.pc-video-title { font-size: .82rem; font-weight: 700; color: white; margin-bottom: .2rem; }
.pc-video-sub { font-size: .7rem; color: rgba(255,255,255,.5); }
.pc-progress-section {
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pc-lessons { padding: .5rem 0; }
.pc-lesson {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .45rem 1rem;
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}
.pc-lesson span:first-of-type { flex: 1; }
.pc-lesson-done { color: rgba(255,255,255,.65); }
.pc-lesson-done > i { color: #10B981; }
.pc-lesson-active { color: white; font-weight: 600; background: rgba(95,168,211,.12); border-radius: 6px; }
.pc-lesson-active > i { color: var(--color-primary); }
.pc-lesson-locked { opacity: .45; }
.pc-lesson-locked > i { color: rgba(255,255,255,.3); }
.pc-now {
    background: var(--color-primary);
    color: white;
    font-size: .6rem;
    font-weight: 800;
    padding: .1rem .4rem;
    border-radius: 4px;
}
.pc-cert-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: .75rem;
    color: rgba(255,255,255,.55);
}
.pc-cert-row > i { color: var(--color-accent); }
.pc-cert-row span:first-of-type { flex: 1; }
.pc-cert-badge {
    background: rgba(16,185,129,.2);
    color: #10B981;
    font-size: .62rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 100px;
    text-transform: uppercase;
}

/* ================================================================
   TRUST BAR — infinite scroll marquee
   ================================================================ */
.trust-bar {
    background: #0d1b2a;
    border-top: 1px solid rgba(95,168,211,.15);
    border-bottom: 1px solid rgba(95,168,211,.15);
    padding: .8rem 0;
    overflow: hidden;
    white-space: nowrap;
}
.trust-bar-inner {
    display: inline-flex;
    gap: 2.5rem;
    animation: trust-scroll 28s linear infinite;
}
@keyframes trust-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: rgba(255,255,255,.65);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .02em;
}
.trust-item > i { color: var(--color-primary); }

/* ================================================================
   STATS V2
   ================================================================ */
.stats-v2 {
    background: white;
    padding: 4rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.stats-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-v2 {
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid #e2e8f0;
}
.stat-v2:last-child { border-right: none; }
.stat-v2-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: .35rem;
}
.stat-v2-label {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 1rem;
    margin-bottom: .25rem;
}
.stat-v2-sub { font-size: .8rem; color: #94a3b8; }

/* ================================================================
   AUDIENCE SECTION
   ================================================================ */
.audience-section { background: var(--color-light); }
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.audience-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
}
.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.audience-students:hover  { border-color: var(--color-primary); }
.audience-professionals:hover { border-color: var(--color-success); }
.audience-entrepreneurs:hover { border-color: var(--color-accent); }

.audience-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.audience-students .audience-icon    { background: rgba(95,168,211,.12); color: var(--color-primary); }
.audience-professionals .audience-icon { background: rgba(16,185,129,.12); color: var(--color-success); }
.audience-entrepreneurs .audience-icon { background: rgba(255,107,53,.12); color: var(--color-accent); }

.audience-card h3 { font-size: 1.2rem; margin-bottom: .6rem; color: var(--color-dark); }
.audience-card > p { font-size: .9rem; color: #64748b; margin-bottom: 1.25rem; line-height: 1.6; }

.audience-outcomes { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.audience-outcomes li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .85rem;
    color: #475569;
    margin-bottom: .5rem;
}
.audience-outcomes li > i { color: var(--color-success); margin-top: 3px; font-size: .75rem; }

.audience-link {
    font-weight: 700;
    font-size: .85rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: gap var(--transition);
}
.audience-card:hover .audience-link { gap: .7rem; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-section { background: white; }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}
.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
}
.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(95,168,211,.15);
    line-height: 1;
    margin-bottom: .5rem;
}
.step-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--color-primary), #4a90c4);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin: 0 auto .9rem;
    box-shadow: 0 8px 20px rgba(95,168,211,.3);
}
.step-card h4 { font-size: 1rem; margin-bottom: .5rem; color: var(--color-dark); }
.step-card p { font-size: .85rem; color: #64748b; line-height: 1.6; }
.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), rgba(95,168,211,.2));
    margin-top: 60px;
    flex-shrink: 0;
    align-self: start;
}

/* ================================================================
   COURSES SECTION V2
   ================================================================ */
.courses-section { background: var(--color-light); }

.course-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.course-tab {
    padding: .55rem 1.2rem;
    border-radius: 100px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.course-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.course-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(95,168,211,.4);
}

.courses-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.course-card-v2 {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}
.course-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.course-trending-badge {
    position: absolute;
    top: .75rem; right: .75rem;
    background: #FF6B35;
    color: white;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 100px;
    z-index: 2;
    display: flex; align-items: center; gap: .3rem;
}

.course-card-v2-header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 2.2rem;
    color: white;
    position: relative;
}
.cc-bg-primary  { background: linear-gradient(135deg,#5FA8D3,#3b7fb5); }
.cc-bg-accent   { background: linear-gradient(135deg,#FF6B35,#e84d1a); }
.cc-bg-success  { background: linear-gradient(135deg,#10B981,#059669); }
.cc-bg-error    { background: linear-gradient(135deg,#EF4444,#dc2626); }

.cc-audience-tag {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(255,255,255,.2);
    padding: .2rem .6rem;
    border-radius: 100px;
    align-self: flex-start;
}

.course-card-v2-body { padding: 1.25rem; }
.course-card-v2-body h3 { font-size: 1rem; margin-bottom: .35rem; color: var(--color-dark); }
.course-card-v2-body > p { font-size: .82rem; color: #64748b; margin-bottom: 1rem; line-height: 1.5; }

.cc-meta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    font-size: .75rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}
.cc-meta span { display: flex; align-items: center; gap: .3rem; }
.cc-meta i { color: var(--color-primary); }

.cc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .75rem;
    border-top: 1px solid #f1f5f9;
}
.cc-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-dark);
}
.cc-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    color: #64748b;
}
.cc-rating .stars { color: #F59E0B; font-size: .8rem; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section { background: #0d1b2a; }
.testimonials-section .section-title h2 { color: white; }
.testimonials-section .section-title p { color: rgba(255,255,255,.6); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
}
.t-stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 1rem; }
.t-quote {
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}
.t-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.t-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700; color: white;
    flex-shrink: 0;
}
.t-author strong { display: block; color: white; font-size: .88rem; }
.t-author span { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ================================================================
   INSTRUCTOR STRIP
   ================================================================ */
.instructor-strip {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
    padding: 4rem 0;
    border-top: 1px solid rgba(95,168,211,.15);
    border-bottom: 1px solid rgba(95,168,211,.15);
}
.instructor-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.instructor-avatar-big {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg,#5FA8D3,#3b7fb5);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: white;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(95,168,211,.2), 0 12px 30px rgba(0,0,0,.3);
}
.instructor-info { flex: 1; }
.instructor-info h3 { color: white; font-size: 1.4rem; margin-bottom: .5rem; }
.instructor-info > p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.instructor-tags {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.instructor-tags span {
    background: rgba(95,168,211,.15);
    border: 1px solid rgba(95,168,211,.25);
    color: #a8d8f0;
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 100px;
}

/* ================================================================
   GUARANTEE
   ================================================================ */
.guarantee-section { background: var(--color-light); }
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.guarantee-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.guarantee-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guarantee-card > i { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.guarantee-card h4 { font-size: 1rem; margin-bottom: .5rem; color: var(--color-dark); }
.guarantee-card p { font-size: .85rem; color: #64748b; line-height: 1.6; }

/* ================================================================
   FINAL CTA
   ================================================================ */
.cta-final {
    position: relative;
    background: linear-gradient(135deg,#0d1b2a 0%,#1e3a5f 100%);
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
}
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .25;
    pointer-events: none;
}
.cta-orb-1 { width: 400px; height: 400px; background:#5FA8D3; top:-100px; left:-80px; }
.cta-orb-2 { width: 350px; height: 350px; background:#FF6B35; bottom:-80px; right:-60px; }
.cta-final-inner h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-final-inner > p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ================================================================
   @keyframes fadeInUp (used by course tab filter JS)
   ================================================================ */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:none; }
}

/* ================================================================
   HOMEPAGE RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .courses-grid-v2    { grid-template-columns: repeat(2, 1fr); }
    .guarantee-grid     { grid-template-columns: repeat(2, 1fr); }
    .stats-v2-grid      { grid-template-columns: repeat(2, 1fr); }
    .stat-v2:nth-child(2) { border-right: none; }
    .stat-v2:nth-child(3) { border-top: 1px solid #e2e8f0; }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .step-connector { display: none; }
}

@media (max-width: 768px) {
    .hero-v2 { padding: 70px 0 50px; }
    .hero-split { grid-template-columns: 1fr; gap: 2rem; }
    .hero-right { display: none; }
    .hero-headline { font-size: 2.2rem; }
    .trust-bar-inner { animation-duration: 18s; }
    .audience-grid { grid-template-columns: 1fr; }
    .courses-grid-v2 { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .guarantee-grid { grid-template-columns: 1fr; }
    .stats-v2-grid { grid-template-columns: repeat(2, 1fr); }
    .instructor-inner { flex-direction: column; text-align: center; }
    .instructor-tags { justify-content: center; }
    .cta-final-inner h2 { font-size: 1.8rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .course-tabs { gap: .4rem; }
    .course-tab { font-size: .8rem; padding: .45rem .9rem; }
}
