/* CSS Custom Properties */
:root {
    --primary-color: 213 47% 44%; /* #2563eb */
    --primary-dark: 213 47% 34%; /* #1d4ed8 */
    --primary-light: 213 100% 96%; /* #eff6ff */
    --secondary-color: 220 14% 96%; /* #f8fafc */
    --accent-color: 147 51% 45%; /* #059669 */
    --text-primary: 222 84% 5%; /* #0f172a */
    --text-secondary: 215 20% 65%; /* #64748b */
    --background: 210 11% 98%; /* #f5f7fa */
    --white: 0 0% 100%; /* #ffffff */
    --border: 214 32% 91%; /* #e2e8f0 */
    --shadow: 220 43% 11% / 0.1; /* rgba(15, 23, 42, 0.1) */
    --error: 0 84% 60%; /* #ef4444 */
    --success: 142 76% 36%; /* #16a34a */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsl(var(--shadow));
}

.btn-secondary {
    background-color: hsl(var(--white));
    color: hsl(var(--primary-color));
    border: 2px solid hsl(var(--primary-color));
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: hsl(var(--white) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: hsl(var(--primary-color));
    margin: 0;
    font-size: 1.5rem;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--white)) 100%);
}

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

.hero-title {
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary-color));
    line-height: 1;
}

.stat-text {
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--accent-color)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: hsl(var(--white));
    animation: float 3s ease-in-out infinite;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: hsl(var(--white));
}

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

.service-card {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px hsl(var(--shadow));
    transition: all 0.3s ease;
    border: 1px solid hsl(var(--border));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px hsl(var(--shadow));
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: hsl(var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: hsl(var(--primary-color));
}

.service-card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.service-features i {
    color: hsl(var(--accent-color));
}

/* Training Section */
.training {
    padding: 80px 0;
    background-color: hsl(var(--secondary-color));
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.training-card {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px hsl(var(--shadow));
    transition: all 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
}

.training-icon {
    width: 50px;
    height: 50px;
    background-color: hsl(var(--accent-color) / 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: hsl(var(--accent-color));
}

.training-card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.training-card p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Audio Player */
.audio-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: hsl(var(--secondary-color));
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
}

.play-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.play-btn:hover {
    background-color: hsl(var(--primary-dark));
    transform: scale(1.05);
}

.audio-info {
    flex: 1;
}

.audio-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--text-primary));
    display: block;
    margin-bottom: 0.5rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: hsl(var(--border));
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    background-color: hsl(var(--primary-color));
    width: 0%;
    transition: width 0.3s ease;
}

.time {
    font-size: 0.75rem;
    color: hsl(var(--text-secondary));
    min-width: 80px;
}

/* Featured Training Section */
.featured-training {
    padding: 80px 0;
    background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--secondary-color)) 100%);
    border-top: 3px solid hsl(var(--primary-color));
}

.featured-card {
    background-color: hsl(var(--white));
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 6px 30px hsl(var(--shadow));
    border: 1px solid hsl(var(--primary-color) / 0.3);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary-color)) 0%, hsl(var(--accent-color)) 100%);
}

.featured-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--accent-color)) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: hsl(var(--white));
    flex-shrink: 0;
}

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

.featured-content h2 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.2;
}

.priority-badge {
    display: inline-block;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--accent-color)) 100%);
    color: hsl(var(--white));
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.featured-content p {
    font-size: 1.125rem;
    color: hsl(var(--text-secondary));
    margin: 0;
}

.video-container-featured {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 6px 25px hsl(var(--shadow));
    background-color: hsl(var(--text-primary));
}

.video-container-featured video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

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

.featured-cta .btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--accent-color)) 100%);
    border: none;
    box-shadow: 0 4px 15px hsl(var(--primary-color) / 0.2);
}

.featured-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsl(var(--primary-color) / 0.3);
}

.video-access-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
    text-align: center;
}

/* Debt Campaign Section */
.debt-campaign {
    padding: 80px 0;
    background-color: hsl(var(--secondary-color));
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.campaign-card {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px hsl(var(--shadow));
    transition: all 0.3s ease;
    border: 1px solid hsl(var(--border));
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px hsl(var(--shadow));
}

.campaign-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, hsl(var(--accent-color)) 0%, hsl(var(--primary-color)) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: hsl(var(--white));
}

.campaign-card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.campaign-card p {
    margin-bottom: 1.5rem;
}

.campaign-features {
    list-style: none;
}

.campaign-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.campaign-features i {
    color: hsl(var(--accent-color));
}

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

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

.campaign-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
}

/* Video Section */
.video-section {
    margin-top: 2rem;
}

.video-card {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.video-header {
    margin-bottom: 1.5rem;
}

.video-header h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-header i {
    color: hsl(var(--primary-color));
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 0.5rem;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: hsl(var(--white));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--accent-color)) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: hsl(var(--white));
}

.benefit-item h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--primary-dark)) 100%);
    color: hsl(var(--white));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: hsl(var(--white));
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: hsl(var(--white) / 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: hsl(var(--white) / 0.9);
}

.feature i {
    color: hsl(var(--white));
    font-size: 1.25rem;
}

/* Contact Form */
.contact-form-container {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px hsl(var(--shadow));
}

.contact-form h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid hsl(var(--border));
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: hsl(var(--white));
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-color));
    box-shadow: 0 0 0 3px hsl(var(--primary-color) / 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    display: block;
    color: hsl(var(--error));
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background-color: hsl(var(--text-primary));
    color: hsl(var(--white));
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

.footer-section p {
    color: hsl(var(--white) / 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: hsl(var(--white) / 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: hsl(var(--white));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--white) / 0.2);
    color: hsl(var(--white) / 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .audio-player {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .audio-controls {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .services,
    .training,
    .benefits,
    .contact {
        padding: 60px 0;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .featured-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Validation States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: hsl(var(--error));
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: hsl(var(--success));
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
