@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --deep-space-blue: #0a0e17;
    --neon-cyan: #00d2ff;
    --solar-gold: #ffb74d;
    --star-white: #e0e6ed;
    --glass-bg: rgba(16, 24, 40, 0.7);
    --glass-border: rgba(0, 210, 255, 0.3);
    --neon-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    --transition-speed: 0.3s;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--deep-space-blue);
    background-image: url('../images/bg-universe.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--star-white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.9), rgba(10, 14, 23, 0.7));
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #fff;
}

h1 { font-size: 3rem; text-transform: uppercase; }
h2 { font-size: 2.2rem; color: var(--neon-cyan); text-shadow: var(--neon-shadow); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; font-weight: 300; }

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

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Glassmorphism Components */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navbar (Adapted for Proposta 01) */
.navbar {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--star-white);
}

.logo-img {
    height: 90px;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--star-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.cta-nav {
    border: 1px solid var(--neon-cyan);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    color: var(--neon-cyan);
}

.cta-nav:hover {
    background: var(--neon-cyan);
    color: var(--deep-space-blue);
    text-shadow: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed);
}

.btn-primary {
    background: var(--neon-cyan);
    color: var(--deep-space-blue);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--star-white);
    color: var(--star-white);
}

.btn-secondary:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge .badge-text {
    background: rgba(0, 210, 255, 0.1); 
    color: var(--neon-cyan); 
    padding: 5px 15px; 
    border-radius: 20px; 
    border: 1px solid var(--neon-cyan); 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    font-weight: 700;
}

.hero-title .title-highlight {
    display: block;
    font-size: 1.5rem;
    color: var(--star-white);
    font-weight: 300;
}

.hero-title .title-main {
    display: block;
    font-size: 4rem;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
    line-height: 1.1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--solar-gold);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: var(--neon-shadow);
}

.problem-icon {
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

/* Modules Timeline */
.module-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.module-marker .module-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.module-header h3 {
    color: var(--neon-cyan);
    z-index: 1;
    position: relative;
}

.class-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.class-number {
    color: var(--solar-gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Masters Grid */
.masters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row as requested */
    gap: 2.5rem;
    margin-top: 3rem;
}

.master-card {
    text-align: center;
    background: var(--glass-bg);
    padding: 2.5rem; /* Increased padding */
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.master-card:hover {
    transform: translateY(-5px);
    border-color: var(--solar-gold);
}

.master-avatar {
    width: 140px; /* Increased size */
    height: 140px; /* Increased size */
    background: #333;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--neon-cyan);
    font-size: 2rem;
    font-weight: 700;
    color: var(--star-white);
    overflow: hidden; /* Ensure image stays circular */
}

.master-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-title {
    color: var(--neon-cyan);
    font-size: 1rem; /* Slightly larger */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Pricing Card */
.pricing-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-cyan);
    color: var(--deep-space-blue);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.pricing-price {
    margin: 20px 0;
}

.pricing-price .amount {
    font-size: 2.2rem; /* Increased as requested */
    font-weight: 700;
    color: var(--star-white);
    display: block;
    margin-bottom: 0.5rem;
}

.pricing-price .period {
    display: block;
    font-size: 3.5rem; /* Even more highlighted */
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features svg {
    color: var(--neon-cyan);
}

.pricing-cta .btn {
    width: auto;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    min-width: 250px;
}

/* Registration Form */
.cta-form-wrapper {
    max-width: 450px; /* Slightly narrower */
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 1.2rem; /* Even tighter padding */
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 0.8rem; /* Further reduced */
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--neon-cyan);
    font-size: 0.85rem;
}

.cta-form input, .cta-form select {
    width: 100%;
    padding: 0.7rem; /* Further reduced */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.faq-question {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

/* Footer */
.footer {
    background: rgba(0,0,0,0.5);
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #888;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

@media (max-width: 1024px) {
    .masters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title .title-main { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .nav-menu { display: none; }
    .masters-grid { grid-template-columns: 1fr; }
}
