/* ===== RESET & BASE :D ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a12;
    --bg-section: #0f0f1a;
    --bg-card: #151522;
    --accent: #d4af37;
    --accent-light: #f4d03f;
    --accent-dark: #b8941f;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --text-white: #ffffff;
    --text-light: #f0f0f0;
    --text-muted: #a0a0b0;
    --border: rgba(255, 255, 255, 0.12);
    --gradient: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    --gradient-hover: linear-gradient(135deg, #f4d03f 0%, #d4af37 50%, #f4d03f 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Particles Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 60px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../uploads/slides/dfnmnfk-e74533b2-ef42-40d2-87b2-b0fd70f0c333.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 18, 0.75) 0%, 
        rgba(10, 10, 18, 0.88) 50%,
        rgba(10, 10, 18, 0.95) 100%);
    z-index: 1;
    will-change: opacity;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.logo {
    max-width: 380px;
    margin: 0 auto 50px;
    display: block;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.2s;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 8px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.btn-hero {
    display: inline-block;
    padding: 20px 56px;
    background: var(--gradient);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
    box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 0 rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px var(--accent-glow), 0 0 0 4px rgba(212, 175, 55, 0.2);
    background: var(--gradient-hover);
}

.btn-hero:active {
    transform: translateY(-2px) scale(1.02);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    position: relative;
}

.scroll-down span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollAnim 2s ease infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.02) 50%, transparent 100%);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title.left {
    text-align: left;
}

.section-title.left::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    background: var(--bg-section);
    box-shadow: 0 -1px 0 rgba(201, 162, 39, 0.15) inset, 
                0 1px 0 rgba(201, 162, 39, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow), 0 0 0 2px var(--accent);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Imagem de apresentação */
.apresentacao-imagem-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio - evita layout shift */
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.apresentacao-imagem-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow), 0 0 0 2px var(--accent);
}

.apresentacao-imagem-wrapper .img-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-primary);
    z-index: 1;
}

.apresentacao-imagem-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.apresentacao-imagem-wrapper img.loaded {
    opacity: 1;
}

/* ===== SECTIONS WITH BACKGROUND IMAGE ===== */
.has-bg-image {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    z-index: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 18, 0.92);
    z-index: 1;
    backdrop-filter: blur(2px);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.has-bg-image .container {
    position: relative;
    z-index: 2;
}

/* ===== PROFESSOR SECTION ===== */
.professor-section {
    min-height: auto;
}

.professor-section .section-bg {
    background-image: url('../uploads/slides/pexels-fabianwiktor-3466359.jpg');
}

.professor-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.professor-image {
    position: relative;
}

.image-frame {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    background: url('../uploads/assets/professor.png') center/cover;
    border: 4px solid var(--accent);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.professor-image:hover .image-frame {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
}

.professor-image:hover .image-frame::before {
    opacity: 1;
}

.professor-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
    font-weight: 700;
}

.professor-bio p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.professor-bio strong {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.signature {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ===== MODULES SECTION ===== */
.modules-section {
    background: var(--bg-section);
    box-shadow: 0 -1px 0 rgba(201, 162, 39, 0.15) inset, 
                0 1px 0 rgba(201, 162, 39, 0.15);
}

.modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.module {
    background: rgba(21, 21, 34, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-md);
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.module:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: rgba(21, 21, 34, 0.95);
}

.module:hover::before {
    opacity: 1;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 5px 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-bottom: 1px solid var(--border);
}

.module-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 50px;
    text-align: center;
}

.module-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.module-lessons {
    list-style: none;
    padding: 10px 22px;
    padding-bottom: 12px;
}

.module-lessons li {
    padding: 5px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.module-lessons li:last-child {
    border-bottom: none;
}

.module-lessons li::before {
    content: '✓';
    position: absolute;
    left: 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.module-lessons li:hover::before {
    transform: scale(1.3) rotate(15deg);
}

/* ===== BONUS MODULES ===== */
.module-bonus {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--accent);
    position: relative;
}

.module-bonus::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 0 20px 0 60px;
    opacity: 0.2;
    pointer-events: none;
}

.module-bonus .module-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-bottom: 2px solid var(--accent);
}

.module-bonus .module-num {
    font-size: 2rem;
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.5));
}

.module-bonus:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.4);
    transform: translateY(-10px) scale(1.03);
}

.module-bonus .module-lessons li::before {
    content: '✦';
    font-size: 1.2rem;
}


/* ===== OFFER SECTION ===== */
.offer-section {
    padding: 100px 0;
    text-align: center;
}

.offer-section .section-bg {
    background-image: url('../uploads/slides/pexels-marek-piwnicki-3907296-14238469.jpg');
}

.offer-content {
    max-width: 600px;
    margin: 0 auto;
}

.offer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-white);
    margin-bottom: 12px;
}

.offer-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.offer-includes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.include-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(8px) scale(1.02);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent);
}

.include-item .check {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
}

.include-item:hover .check {
    transform: scale(1.2) rotate(15deg);
}

.price-label {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.9;
}

.price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.currency {
    font-size: 2rem;
    color: var(--text-muted);
}

.price {
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.4));
}

.cents {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.4));
}

.btn-cta {
    display: inline-block;
    padding: 24px 72px;
    background: var(--gradient);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--accent-glow), 0 0 0 0 rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 60px var(--accent-glow), 0 0 0 4px rgba(212, 175, 55, 0.2);
    background: var(--gradient-hover);
}

.btn-cta:active {
    transform: translateY(-3px) scale(1.02);
}

.login-text {
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.login-text a {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.login-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.login-text a:hover::after {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050508 100%);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.3;
}

.footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== FLOATING ACTION BUTTONS ===== */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    pointer-events: none;
}

.fab-container .fab {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-container.visible {
    pointer-events: auto;
}

.fab-container.visible .fab {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation effect */
.fab-container.visible .fab:nth-child(1) {
    transition-delay: 0.1s;
}

.fab-container.visible .fab:nth-child(2) {
    transition-delay: 0.2s;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    height: 52px;
    padding: 0 8px 0 18px;
    border-radius: 26px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.fab:hover {
    transform: scale(1.02);
}

.fab:active {
    transform: scale(0.98);
}

.fab-icon {
    min-width: 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    order: 2;
}

.fab-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding-right: 10px;
    opacity: 1;
    order: 1;
}

/* Área do Aluno */
.fab-aluno {
    background: rgba(26, 26, 46, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #d4af37;
}

.fab-aluno:hover {
    background: rgba(26, 26, 46, 0.95);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

/* WhatsApp */
.fab-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #25d366;
}

.fab-whatsapp:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.7);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
    color: #25d366;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fab-container {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .fab {
        height: 46px;
        padding: 0 6px 0 14px;
        border-radius: 23px;
    }

    .fab-icon {
        min-width: 46px;
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }

    .fab-label {
        font-size: 0.82rem;
        padding-right: 8px;
    }
}

@media (max-width: 380px) {
    .fab-container {
        bottom: 12px;
        right: 12px;
    }

    .fab {
        height: 42px;
        padding: 0 4px 0 12px;
        border-radius: 21px;
    }

    .fab-icon {
        min-width: 42px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .fab-label {
        font-size: 0.78rem;
        padding-right: 6px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fab-container {
        transition: opacity 0.01ms;
        transform: none;
    }

    .fab {
        transition: width 0.01ms, box-shadow 0.01ms;
    }

    .fab-label {
        transition: opacity 0.01ms;
    }
}

/* ===== RESPONSIVE ===== */

/* Telas muito grandes (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title,
    .heading-lg {
        font-size: 3.5rem;
    }
}

/* Telas grandes (1440px-1920px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 968px) {
    .professor-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .professor-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-title.left {
        text-align: center;
    }
    
    .modules-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .bonus-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Hero mobile otimizado */
    .hero-content {
        padding: 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-tag {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
    
    .btn-hero {
        padding: 16px 40px;
        font-size: 0.95rem;
        letter-spacing: 1.5px;
        width: 100%;
        max-width: 320px;
    }
    
    .modules-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Professor section mobile */
    .professor-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .professor-image {
        max-width: 240px;
        margin: 0 auto;
        display: block;
    }
    
    .image-frame {
        width: 100%;
        min-height: 240px;
    }
    
    .professor-bio {
        text-align: center;
    }
    
    .module-header {
        padding: 18px 20px;
        gap: 12px;
    }
    
    .module-num {
        font-size: 1.3rem;
        min-width: 35px;
    }
    
    .module-header h3 {
        font-size: 0.95rem;
    }
    
    .module-lessons {
        padding: 18px 20px;
    }
    
    .module-lessons li {
        font-size: 0.9rem;
        padding: 9px 0;
        padding-left: 24px;
        display: block;
    }
    
    .module-lessons li::before {
        left: 0;
        top: 9px;
    }
    
    .offer-includes {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .include-item {
        padding: 14px 18px;
    }
    
    .price {
        font-size: 4rem;
    }
    
    .price-label {
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 18px 48px;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }
    
    .professor-bio p {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer a {
        display: block;
        margin: 8px 0;
    }
}

/* Tablets pequenos e celulares grandes */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .offer-includes {
        gap: 10px;
    }
    
    .testimonials-grid {
        gap: 20px;
    }
    
    .btn-whatsapp {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .offer-includes {
        gap: 10px;
    }
    
    .testimonials-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .logo {
        max-width: 160px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-tag {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    
    .btn-hero {
        padding: 14px 32px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .professor-name {
        font-size: 1.6rem;
    }
    
    .professor-image {
        max-width: 200px;
        min-width: 180px;
    }
    
    .image-frame {
        min-height: 180px;
        border-radius: 20px;
        border: 3px solid var(--accent);
    }
    
    .professor-bio p {
        font-size: 0.9rem;
    }
    
    .module-header {
        padding: 16px 18px;
    }
    
    .module-num {
        font-size: 1.2rem;
        min-width: 30px;
    }
    
    .module-header h3 {
        font-size: 0.9rem;
    }
    
    .module-lessons {
        padding: 16px 18px;
    }
    
    .module-lessons li {
        font-size: 0.85rem;
        padding: 8px 0;
        padding-left: 22px;
        display: block;
    }
    
    .module-lessons li::before {
        left: 0;
        top: 8px;
        font-size: 1rem;
    }
    
    .offer-title {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 3rem;
    }
    
    .currency {
        font-size: 1.5rem;
    }
    
    .btn-cta {
        padding: 16px 40px;
        font-size: 0.95rem;
    }
    
    .include-item {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .footer p {
        font-size: 0.8rem;
    }

    .hero-bg,
    .hero-bg::before,
    .hero-bg::after {
        background-attachment: scroll;
    }

    .section-bg {
        background-attachment: scroll;
    }

    .footer a {
        display: block;
        margin: 8px 0;
        padding: 4px 0;
    }
}

/* Dispositivos muito pequenos (320px-360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        min-height: 90vh;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .logo {
        max-width: 140px;
        margin-bottom: 16px;
    }
    
    .hero-tag {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .btn-hero,
    .btn-cta {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .section-title,
    .heading-lg {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .professor-image {
        max-width: 180px;
        min-width: 160px;
        margin: 0 auto 20px;
    }
    
    .image-frame {
        min-height: 160px;
        border-radius: 16px;
        border: 2px solid var(--accent);
    }
    
    .professor-bio p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .module-header {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .module-num {
        font-size: 1.1rem;
        min-width: 28px;
    }
    
    .module-header h3 {
        font-size: 0.85rem;
    }
    
    .module-lessons {
        padding: 14px 16px;
    }
    
    .module-lessons li {
        font-size: 0.8rem;
        padding: 7px 0;
        padding-left: 20px;
        display: block;
    }
    
    .module-lessons li::before {
        left: 0;
        top: 7px;
        font-size: 0.9rem;
    }
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .currency {
        font-size: 1.3rem;
    }
    
    .cents {
        font-size: 1.5rem;
    }
    
    .price-label {
        font-size: 0.9rem;
    }
    
    .price-installments {
        font-size: 0.85rem;
    }
    
    .include-item {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .testimonial-info h4 {
        font-size: 0.95rem;
    }
    
    .testimonial-info span {
        font-size: 0.8rem;
    }
    
    .btn-whatsapp {
        padding: 12px 24px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .btn-whatsapp svg {
        width: 18px;
        height: 18px;
    }
    
    .support-cta {
        padding: 32px 20px;
    }
    
    .support-cta h3 {
        font-size: 1.5rem;
    }
    
    .support-cta p {
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-hero,
    .btn-cta,
    .btn-whatsapp,
    .module,
    .bonus-card,
    .include-item,
    .faq-question {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
        touch-action: manipulation;
    }
    
    /* Aumentar área de toque para elementos interativos */
    .btn-hero,
    .btn-cta,
    .btn-whatsapp {
        min-height: 48px;
        padding: 16px 32px;
    }
    
    .faq-question {
        min-height: 56px;
    }
    
    /* Remover hover effects em touch devices */
    .module:hover,
    .testimonial-card:hover,
    .include-item:hover {
        transform: none;
    }
}

    .btn-hero,
    .btn-cta {
        min-height: 48px;
    }

    /* Prevent text selection on buttons */
    .btn-hero,
    .btn-cta,
    .module-header {
        -webkit-user-select: none;
        user-select: none;
    }

    /* Larger touch targets */
    .module-header,
    .lesson-item {
        min-height: 48px;
    }
}

/* Landscape mobile e tablet optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 30px 0;
    }

    .section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .logo {
        max-width: 150px;
        margin-bottom: 12px;
    }
    
    .modules-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Tablets em modo paisagem (landscape) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .modules-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offer-includes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPad e tablets (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .modules-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .professor-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .professor-image {
        max-width: 260px;
        margin: 0 auto;
        display: block;
    }
    
    .image-frame {
        width: 100%;
        min-height: 260px;
    }
}

/* iPad Pro e tablets grandes (1024px-1200px) */
@media (min-width: 1024px) and (max-width: 1200px) {
    .modules-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(30px, env(safe-area-inset-left));
        padding-right: max(30px, env(safe-area-inset-right));
    }

    .container {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }
}

/* Improve scrolling on iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .sidebar {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-container.show {
    transform: translateY(0);
    opacity: 1;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    min-width: 300px;
}

.toast-success { border-left: 4px solid #4CAF50; }
.toast-error { border-left: 4px solid #F44336; }
.toast-info { border-left: 4px solid var(--accent); }

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-success .toast-icon { background: rgba(76, 175, 80, 0.1); color: #4CAF50; }
.toast-error .toast-icon { background: rgba(244, 67, 54, 0.1); color: #F44336; }
.toast-info .toast-icon { background: rgba(212, 175, 55, 0.1); color: var(--accent); }

.toast-message {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== SIDEBAR SEARCH ===== */
.sidebar-search {
    padding: 20px 20px 10px 20px;
    position: sticky;
    top: 0;
    background: var(--bg-section);
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255,255,255,0.08);
}

/* ===== MARK AS DONE BUTTON ===== */
.action-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-mark-done {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-mark-done:hover {
    border-color: var(--accent);
    color: var(--text-light);
}

.btn-mark-done.completed {
    background: var(--gradient);
    border-color: transparent;
    color: var(--bg-dark);
}

.btn-mark-done.completed:hover {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* ===== MODAL DE INSCRIÇÃO - PREMIUM ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(12px);
    }
}

.modal-content {
    background: rgba(15, 15, 24, 0.92);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    padding: 48px 44px;
    max-width: 520px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.25);
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 32px 100px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
        filter: blur(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    border-radius: 0;
    z-index: 10;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* Modal Icon Wrapper */
.modal-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon {
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.modal-icon-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(25px);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.modal-header {
    text-align: center;
    margin-bottom: 36px;
}

.modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.modal-form-group {
    margin-bottom: 24px;
}

.modal-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.modal-form-group label i {
    color: var(--accent);
    font-size: 1rem;
}

.modal-form-group input {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.modal-form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.modal-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 0 0 4px rgba(212, 175, 55, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.modal-error {
    background: rgba(255, 71, 87, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff6b6b;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: shakeError 0.4s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.modal-submit {
    width: 100%;
    padding: 20px;
    background: var(--gradient);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 28px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-submit i {
    font-size: 1.1rem;
}

.modal-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-submit:hover::before {
    opacity: 1;
}

.modal-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 36px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.modal-submit:active {
    transform: translateY(-1px) scale(0.98);
}

.modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.modal-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.modal-security i {
    color: #2ed573;
}

/* Success State */
#enrollSuccess {
    text-align: center;
    padding: 20px 0;
}

.modal-success {
    animation: fadeInUp 0.5s ease;
}

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

.success-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-fa {
    font-size: 4rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.success-icon-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(30px);
    animation: pulseGlow 2s ease-in-out infinite;
}

#enrollSuccess h3,
.modal-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
}

#enrollSuccess p,
.modal-success > p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.success-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
}

.success-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.success-detail-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.success-detail-item i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* SPAM Warning Box */
.spam-warning {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 12px;
    padding: 18px 16px;
    margin-bottom: 20px;
    animation: spamPulse 3s ease-in-out infinite;
    text-align: left;
}

@keyframes spamPulse {
    0%, 100% { border-color: rgba(255, 193, 7, 0.5); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
    50% { border-color: rgba(255, 193, 7, 0.9); box-shadow: 0 0 20px rgba(255, 193, 7, 0.15); }
}

.spam-warning-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spam-warning-icon i {
    color: #ffc107;
    font-size: 1.2rem;
}

.spam-warning-text {
    color: #ffdb70;
    font-size: 0.92rem;
    line-height: 1.5;
}

.spam-warning-text strong {
    color: #ffc107;
}

.spam-warning-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #bba34e;
    font-style: italic;
}

.success-note {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    font-style: italic;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 36px 28px;
        border-radius: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
    
    .modal-form-group input {
        padding: 14px 16px;
    }
}

/* ===== HERO CTA BUTTON ===== */
.btn-hero-cta {
    display: inline-block;
    padding: 20px 56px;
    background: var(--gradient);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px var(--accent-glow);
    position: relative;
    overflow: hidden;
    animation: heroCtaPulse 2.5s ease-in-out infinite 2s;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-hero-cta:hover::before {
    left: 100%;
}

.btn-hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px var(--accent-glow), 0 0 0 4px rgba(212, 175, 55, 0.2);
    background: var(--gradient-hover);
}

@keyframes heroCtaPulse {
    0%, 100% { box-shadow: 0 8px 30px var(--accent-glow); }
    50% { box-shadow: 0 8px 50px rgba(212, 175, 55, 0.6), 0 0 0 8px rgba(212, 175, 55, 0.1); }
}

/* ===== FOOTER LEGAL LINKS ===== */
.footer-legal-links {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal-links a {
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-legal-links a:hover {
    opacity: 1;
}

