:root {
    --primary-color: #1a1a2e; /* Darker navy for better contrast */
    --accent-color: #2563eb; /* Clean modern blue */
    --bg-color: #ffffff; 
    --card-bg: #f8fafc;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --hero-bg: #f1f5f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand img {
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-primary):not(.btn-nav-special) {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn-primary):not(.btn-nav-special)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:not(.btn-primary):not(.btn-nav-special):hover {
    color: var(--accent-color);
}

.nav-links a:not(.btn-primary):not(.btn-nav-special):hover::after {
    width: 100%;
}

.btn-nav-special {
    background-color: rgba(212, 175, 55, 0.08);
    color: #b8860b !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.btn-nav-special:hover {
    background-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn-accent {
    background-color: transparent;
    color: var(--primary-color) !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-accent:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.hero-wix {
    background-color: var(--hero-bg);
    padding: 6rem 5%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-wix-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title-clean {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle-clean {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-section {
    padding: 5rem 5%;
    background-color: var(--card-bg);
}

.pedagogy-section {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

footer.footer-custom {
    background-color: #0b0f19; /* Darker than primary for contrast */
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-section {
    margin-bottom: 2rem;
}

.social-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-copyright {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-align: left;
}

.pedagogy-content {
    max-width: 900px;
    margin: 0 auto;
}

.pedagogy-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    line-height: 1.4;
    font-style: italic;
}

.pedagogy-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #e2e8f0; 
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-color);
}
.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-whatsapp svg {
    width: 40px;
    height: 40px;
}

.float-whatsapp:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 25px rgba(18, 140, 126, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    background-color: white;
    color: var(--primary-color);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(20px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.float-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Course Section */
.course-section {
    padding: 6rem 5%;
    background-color: var(--primary-color);
    color: white;
}

.course-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.course-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.course-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.course-image-wrapper:hover .course-image {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', serif;
    border: 4px solid var(--primary-color);
}

.course-kicker {
    color: var(--accent-color);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.course-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.course-features li {
    margin-bottom: 1.2rem;
    padding-left: 2.2rem;
    position: relative;
    font-size: 1.1rem;
}

.course-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.4rem;
}

.course-features li span {
    color: #cbd5e1;
    font-size: 0.95rem;
    display: block;
    margin-top: 0.2rem;
}

.course-info-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.course-info-box .info-item {
    font-size: 1rem;
}

.course-info-box .highlight {
    color: #f87171; /* bright red */
    font-weight: bold;
}

@media (max-width: 900px) {
    .course-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-brand img {
        height: 60px;
        margin-bottom: 1rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    .nav-links a.btn-primary {
        display: block;
        width: 100%;
    }
    
    .hero-split {
        flex-direction: column;
    }
    .hero-image-side {
        min-height: 300px;
        order: -1;
    }
    .hero-text-side {
        padding: 2rem 5%;
    }
    .hero-title-clean {
        font-size: 2.2rem;
    }
    .pedagogy-title {
        font-size: 2rem;
    }
    
    .course-info-box {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

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

/* Premium Law Simulator Styles */
.badge-premium {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1e40af 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-icon-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon-img {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.about-card-premium {
    border: 1px solid rgba(0,0,0,0.05) !important;
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
}

.tracking-wide {
    letter-spacing: 0.1em;
}