:root {
    --bg-color: #0b0c10;
    --text-color: #c5c6c7;
    --primary-color: #66fcf1;
    --secondary-color: #45a29e;
    --card-bg: rgba(31, 40, 51, 0.7);
    --glass-border: rgba(102, 252, 241, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1f2833 0%, #0b0c10 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* offset for navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,252,241,0.05) 10%, transparent 20%);
    background-size: 50px 50px;
    animation: rotate 60s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(102, 252, 241, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.cta-btn:hover {
    background: var(--primary-color);
    color: #0b0c10;
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.6);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 50px;
    font-size: 1.1rem;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.course-card {
    background: linear-gradient(145deg, rgba(31, 40, 51, 0.95) 0%, rgba(11, 12, 16, 0.95) 100%);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(102, 252, 241, 0.15);
    border-color: rgba(102, 252, 241, 0.6);
}

/* Badge (Etiqueta) */
.card-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--primary-color);
    color: #0b0c10;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.feature-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.course-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.course-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.course-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: rgba(102, 252, 241, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

.course-info p:not(.course-date) {
    margin-bottom: 25px;
    flex-grow: 1;
}

.course-price {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.payment-container {
    margin-top: auto;
    min-height: 150px;
}

/* Glass Section */
.glass-section {
    background: rgba(31, 40, 51, 0.3);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    margin-bottom: 100px;
    padding-bottom: 40px;
}

/* Psychology Section */
.psychology-section {
    background: linear-gradient(rgba(11, 12, 16, 0.7), rgba(11, 12, 16, 0.95)), url('psicologia_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    border-radius: 30px;
    border: 1px solid rgba(102, 252, 241, 0.3);
    box-shadow: 0 0 40px rgba(69, 162, 158, 0.15);
    margin-bottom: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.psychology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(11, 12, 16, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

.psychology-section > * {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #050608;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .courses-grid { grid-template-columns: 1fr; }
    .hero-container { grid-template-columns: 1fr; padding: 20px; }
    .profiles-container { flex-direction: column; }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(11, 12, 16, 0.95);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1001;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    top: 100%;
    left: 0;
    backdrop-filter: blur(10px);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s, color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:hover {
    background-color: rgba(102, 252, 241, 0.1);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* New Hero Section */
.hero-initial {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
    background: radial-gradient(circle at center, #1f2833 0%, #0b0c10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 0 40px;
    align-items: center;
}

.video-container {
    text-align: center;
}

.profiles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    background: rgba(31, 40, 51, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.profile-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-profile {
    cursor: pointer;
}

.clickable-profile:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-color);
}

.profile-title {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.profile-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    text-align: justify;
}

.whatsapp-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.whatsapp-btn:hover {
    background: #1da851;
    color: #fff;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

.whatsapp-link {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-color: #25D366;
    padding: 10px 20px;
    font-size: 0.95rem;
    width: 100%;
}
.whatsapp-link:hover {
    background: #25D366;
    color: #fff;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}
.video-thumbnail:hover .play-overlay {
    background: rgba(255, 0, 0, 1) !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}
.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Psychology Section (Full Width, Pink Theme) */
.psychology-section {
    max-width: 100% !important;
    background-color: #fff0f5; /* Light pink/LavenderBlush */
    background-image: linear-gradient(135deg, #fff0f5 0%, #ffe4e1 100%);
    border-radius: 0;
    margin-bottom: 0;
    padding-bottom: 80px;
    color: #333; /* Dark text for readability */
}

/* Constrain grid width inside full-width section */
.psychology-section .courses-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Adjust text colors for light background */
.psychology-section .section-title {
    color: #d81b60; /* Deep pink */
}

.psychology-section .section-subtitle {
    color: #555;
}

.psychology-section .psycho-intro {
    background: rgba(255, 255, 255, 0.7) !important;
    color: #333;
    border: 1px solid rgba(255, 126, 179, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.psychology-section .psycho-intro h3 {
    color: #d81b60 !important;
}

.interactive-psychology {
    transition: all 0.8s ease;
}
.interactive-psychology:hover {
    background-image: linear-gradient(135deg, #ffe4e1 0%, #ffd1dc 100%);
}

.psycho-card {
    background: #fff;
    border: 1px solid rgba(255, 126, 179, 0.2);
    border-top: 4px solid #ff7eb3;
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.psycho-card h3 {
    color: #d81b60 !important;
}
.psycho-card p {
    color: #444;
}
.psycho-card .course-date {
    background: rgba(216, 27, 96, 0.1) !important;
    color: #d81b60 !important;
}
.psycho-card .course-price {
    color: #d81b60;
}
.psycho-card:hover {
    border-color: #ff7eb3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 126, 179, 0.2);
}

/* Responsividad para móviles */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }
    .hero-initial {
        padding-top: 130px;
        padding-bottom: 30px;
    }
    .video-container {
        width: 100%;
    }
}
