/* DESIGN SYSTEM & CONSTANTS */
:root {
    --bg-primary: #FCFCFD;
    --bg-secondary: #F4F5F7;
    --bg-surface: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    
    /* FUCHSIA PALETTE */
    --primary: #C026D3;
    --primary-hover: #A21CAF;
    --primary-dark: #86198F;
    --primary-light: #FDF4FF;
    --primary-glow: rgba(192, 38, 211, 0.15);
    
    /* SECONDARY COLOR */
    --accent: #F43F5E;
    --accent-light: #FFF1F2;
    
    --success: #10B981;
    --success-light: #ECFDF5;
    
    --border-color: #E5E7EB;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(192, 38, 211, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: #111827;
    font-weight: 800;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(192, 38, 211, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(192, 38, 211, 0.4);
    filter: brightness(1.05);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-success-submit {
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
}

.btn-success-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.4);
    filter: brightness(1.05);
}

.w-full {
    width: 100%;
}

/* BADGE */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(192, 38, 211, 0.1);
}

/* DYNAMIC NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 1000;
    background-color: rgba(252, 252, 253, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
}

.navbar.scrolled {
    height: 72px;
    background-color: rgba(252, 252, 253, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-logo {
    height: 52px;
}

.navbar.scrolled .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
}

.navbar.scrolled .logo-fallback span {
    font-size: 20px;
}

.nav-container {
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-fallback span {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 24px;
    background: linear-gradient(135deg, var(--text-main), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* MOBILE MENU */
.mobile-menu {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-secondary);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-bg-gradient {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.08) 0%, rgba(252, 252, 253, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 3px solid var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: -12px;
}

.trust-avatars .avatar:first-child {
    margin-left: 0;
}

.hero-trust p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-main);
}

/* HERO VISUAL CARD */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: absolute;
    bottom: -30px;
    right: -25px;
    width: 290px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transform: rotate(2deg);
    transition: var(--transition);
    z-index: 10;
}

.visual-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0.05;
    z-index: 1;
}

.card-header-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.dot-group {
    display: flex;
    gap: 6px;
}

.dot-group .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E5E7EB;
}

.dot-group .dot:first-child { background-color: var(--accent); }

.card-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    padding: 4px 10px;
    background-color: var(--primary-light);
    border-radius: 6px;
}

.card-body-visual {
    position: relative;
    z-index: 2;
}

.card-body-visual h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.card-body-visual .subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-mini {
    background-color: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.stat-mini .label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-mini .value {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.progress-bar-mini {
    margin-bottom: 32px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.progress-track {
    height: 8px;
    background-color: var(--bg-secondary);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 999px;
}

.card-footer-visual {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--bg-secondary);
    padding-top: 20px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.status-indicator.live::before {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse 1.5s infinite;
}

/* STATS SECTION */
.stats-section {
    position: relative;
    padding: 85px 0;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('children_studying.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(14px);
    transform: scale(1.12); /* Prevents blur edge artifacts */
    z-index: 1;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.82), rgba(162, 28, 175, 0.82)); /* fuchsia-purple overlay */
    z-index: 2;
}

.stats-section .container {
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-card h2 {
    font-size: 40px;
    margin-bottom: 8px;
    font-weight: 900;
    color: #ffffff;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 38px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

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

.sub-title {
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.about-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
}

.about-icon.pink { background-color: var(--primary); }
.about-icon.dark-pink { background-color: var(--primary-dark); }
.about-icon.gold { background-color: #EAB308; }

.about-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-muted);
}

/* PROGRAMS SECTION */
.programs-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.program-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.program-icon-massive {
    width: 56px;
    height: 56px;
    transition: var(--transition);
}

.program-card:hover .program-icon-massive {
    transform: scale(1.1) rotate(5deg);
}

.program-content {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.35;
    color: #111827;
}

.program-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.program-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.program-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
}

.program-features li i {
    color: var(--success);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* CHECKER SECTION */
.checker-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.checker-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 60px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.checker-text h2 {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.checker-text p {
    color: var(--text-muted);
}

.checker-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.input-group {
    display: flex;
    background-color: var(--bg-secondary);
    border: 2px solid transparent;
    padding: 6px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary);
    background-color: var(--bg-surface);
    box-shadow: 0 0 10px rgba(192, 38, 211, 0.1);
}

.input-group input {
    flex-grow: 1;
    border: none;
    background: none;
    outline: none;
    padding: 0 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
}

.input-group input::placeholder {
    color: #6B7280;
}

.status-result {
    padding: 24px;
    border-radius: var(--radius-md);
    background-color: var(--bg-secondary);
    border-left: 5px solid var(--primary);
    animation: slideDown 0.3s ease-out;
}

.status-result.hidden {
    display: none;
}

.status-header-result {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.status-code-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-main);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.review { background-color: #FEF3C7; color: #D97706; }
.status-badge.approved { background-color: #D1FAE5; color: #059669; }
.status-badge.rejected { background-color: #FEE2E2; color: #DC2626; }
.status-badge.declined { background-color: #F1F5F9; color: #475569; }

.status-student-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.status-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-surface);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 22px;
}

.close-modal-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: var(--text-main);
}

/* FORM SLIDES & PROGRESS */
.form-progress {
    display: flex;
    justify-content: space-between;
    padding: 20px 32px;
    background-color: var(--bg-secondary);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: var(--transition);
}

.progress-step.active {
    opacity: 1;
}

.progress-step span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--text-muted);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.progress-step.active span {
    background-color: var(--primary-dark);
}

.progress-step label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
}

/* FORM CONTENT */
#apply-form {
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

.form-slide {
    display: none;
}

.form-slide.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.form-slide h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.slide-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.w-full {
    grid-column: span 2;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.form-group input:not([type="radio"]):not([type="checkbox"]), .form-group select, .form-group textarea {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(192, 38, 211, 0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #6B7280;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-group input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group label {
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

/* SUCCESS SCREEN */
.success-screen {
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.4s ease-out;
}

.success-screen.hidden {
    display: none;
}

.success-icon-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--success-light);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon-check i {
    width: 36px;
    height: 36px;
}

.success-screen h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.success-screen p {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 400px;
}

.code-box {
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 40px;
    margin-bottom: 32px;
    width: 100%;
}

.code-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.code-box h3 {
    font-size: 32px;
    color: var(--primary-dark);
    letter-spacing: 2px;
    font-weight: 900;
}

/* FOOTER */
.footer {
    background-color: #111827;
    color: #F9FAFB;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.logo-area-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.logo-icon-footer {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-area-footer span {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 20px;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 14px;
    max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-contact p i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding-top: 30px;
    color: #6B7280;
    font-size: 13px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.pulse-animation {
    position: relative;
    z-index: 1;
}

.pulse-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    animation: gpuPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes gpuPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.08, 1.2);
        opacity: 0;
    }
}

/* GLOBAL SECTION SCROLL OFFSET */
section[id] {
    scroll-margin-top: 90px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 40px;
    }
    .hero-content h1 {
        font-size: 44px;
    }
    .hero-content p {
        margin: 0 auto 32px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .checker-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .hero-image-wrapper {
        margin: 0 auto 40px;
    }
    .visual-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin: 24px auto 0;
        width: 100%;
        max-width: 320px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    .navbar .nav-logo {
        height: 52px;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .logo-fallback span {
        font-size: 20px;
    }
    .nav-links {
        display: none;
    }
    .nav-actions .btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu {
        top: 70px;
    }
    .hero-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.w-full {
        grid-column: span 1;
    }
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-visual {
        display: none !important;
    }
    section[id] {
        scroll-margin-top: 70px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ==========================================
   NUEVOS ESTILOS PARA FORMULARIO DE 5 PASOS
   Y AJUSTES DE IMÁGENES
   ========================================== */

/* Clases de Ocultamiento */
.id-hidden, .hidden {
    display: none !important;
}

/* Imagen del Hero Responsiva y Proporcional */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-img-element {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-surface);
    transition: var(--transition);
}

.hero-img-element:hover {
    transform: scale(1.02);
}

/* Logos y fallback */
.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-fallback-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid de Selección de Tarjetas Radiales (Income, GPA, etc.) */
.radio-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-secondary);
    border: 2px solid transparent;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.radio-card:hover {
    background-color: var(--primary-light);
    border-color: rgba(192, 38, 211, 0.2);
}

.radio-card input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    outline: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
}

.radio-card input[type="radio"]:checked {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: inset 0 0 0 3px var(--primary-light);
}

.radio-card:has(input[type="radio"]:checked) {
    background-color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(192, 38, 211, 0.1);
}

.radio-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

/* Radio inline y Flex Row Utility */
.flex-row-gap-16 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 4px;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.radio-inline input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    outline: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
}

.radio-inline input[type="radio"]:checked {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: inset 0 0 0 3px var(--bg-surface);
}

.radio-inline span {
    color: var(--text-main);
}

/* Zonas de Subida de Archivos (File Upload Zones) */
.file-zone-label {
    margin-bottom: 4px;
}

.file-upload-zone {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-align: center;
}

.file-upload-zone:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.file-upload-zone i {
    width: 32px;
    height: 32px;
    color: var(--primary-dark);
    transition: var(--transition);
}

.file-upload-zone:hover i {
    transform: translateY(-2px);
}

.file-upload-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.hidden-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-selected-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background-color: rgba(0, 0, 0, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-upload-zone.file-active {
    border-color: var(--success);
    background-color: var(--success-light);
}

.file-upload-zone.file-active i {
    color: var(--success);
}

.file-upload-zone.file-active .file-selected-name {
    color: var(--success);
    background-color: rgba(16, 185, 129, 0.1);
}

/* Adaptación responsive para pantallas más pequeñas */
@media (max-width: 480px) {
    .radio-box-grid {
        grid-template-columns: 1fr;
    }
}

/* DONATIONS SECTION */
.donations-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.donations-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 60px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    align-items: center;
}

.donations-content h2 {
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.donations-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
}

.donation-actions {
    display: flex;
    gap: 16px;
}

.donations-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-stats-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(192, 38, 211, 0.05) 100%);
    border: 1px solid rgba(192, 38, 211, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 320px;
    transition: var(--transition);
    width: 100%;
}

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

.stats-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stats-icon-circle i, .stats-icon-circle svg {
    width: 32px;
    height: 32px;
}

.donation-stats-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.donation-stats-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* DONATE MODAL SPECIFIC */
.btn-copy {
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-copy:hover {
    background-color: var(--bg-secondary);
    color: var(--text-main);
    border-color: #D1D5DB;
}

.btn-copy i, .btn-copy svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .donations-box {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
        text-align: center;
    }
    .donation-actions {
        justify-content: center;
    }
    .donation-stats-card {
        max-width: 100%;
        width: 100%;
    }
}

/* COUNTDOWN SCREEN */
.countdown-screen {
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

.countdown-screen.hidden {
    display: none;
}

.countdown-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.countdown-icon i, .countdown-icon svg {
    width: 36px;
    height: 36px;
}

.countdown-screen h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.countdown-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 440px;
    line-height: 1.5;
    font-size: 14px;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 460px;
}

.timer-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.timer-num {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.timer-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
