/* ========================================
   CERTIFICATION COURSE UK - PREMIUM CSS
   High-conversion landing page with glossy UI
   ======================================== */

/* ========== CSS RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette */
    --primary-blue: #0066FF;
    --primary-dark: #0047B3;
    --accent-teal: #00C2CB;
    --accent-purple: #7B61FF;
    --success-green: #00D98C;
    --warning-orange: #FF9642;
    --neutral-white: #FFFFFF;
    --neutral-light: #F8FAFC;
    --neutral-gray: #64748B;
    --neutral-dark: #1E293B;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00C2CB 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0,102,255,0.95) 0%, rgba(0,194,203,0.9) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-glossy: linear-gradient(145deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);
    --shadow-glossy: 0 8px 32px rgba(0,102,255,0.2);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========== GLOBAL STYLES ========== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--neutral-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: clamp(1.5rem, 2.75vw, 1.875rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    font-size: clamp(1.125rem, 1.75vw, 1.375rem);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

/* Glossy Text Effect */
.glossy-text {
    background: linear-gradient(135deg, #0066FF 0%, #00C2CB 50%, #7B61FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: glossyShine 3s ease-in-out infinite;
    font-weight: 900;
    text-shadow: none;
}

@keyframes glossyShine {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(0,102,255,0.3));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 40px rgba(0,194,203,0.5));
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1400px;
}

/* Section Spacing */
section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    position: relative;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,102,255,0.92) 0%, rgba(123,97,255,0.88) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,255,255,0.12) 0%, transparent 50%);
    z-index: 2;
    animation: heroSparkle 8s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--neutral-white);
    max-width: 1000px;
    padding: 3rem 2rem;
}

.hero h1 {
    color: #FFFFFF !important;
    text-shadow: 0 6px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(255,255,255,0.3);
    margin-bottom: 2rem;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem) !important;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    color: #FFFFFF;
    margin-bottom: 3rem;
    text-shadow: 0 3px 16px rgba(0,0,0,0.4);
    font-weight: 500;
    line-height: 1.6;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Certification Quick Chips */
.cert-chips {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cert-chip {
    padding: 0.875rem 1.75rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cert-chip:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255,255,255,0.3);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    color: var(--primary-blue);
    box-shadow: 0 8px 32px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.3);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(255,255,255,0.6), 0 0 80px rgba(255,255,255,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--neutral-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--gradient-primary);
    color: var(--neutral-white);
    padding: 1.75rem 4rem;
    font-size: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,102,255,0.4), 0 0 60px rgba(0,194,203,0.3);
    font-weight: 900;
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0,102,255,0.4), 0 0 60px rgba(0,194,203,0.3); }
    50% { box-shadow: 0 12px 48px rgba(0,102,255,0.6), 0 0 100px rgba(0,194,203,0.5); }
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 64px rgba(0,102,255,0.5), 0 0 120px rgba(0,194,203,0.6);
    animation: none;
}

/* ========== SECTION BACKGROUNDS ========== */
.benefits-section {
    background-image: url('../images/benefits-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248,250,252,0.97) 0%, rgba(241,245,249,0.95) 100%);
    z-index: 1;
}

.benefits-section > * {
    position: relative;
    z-index: 2;
}

.stats-section {
    background-image: url('../images/stats-background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,102,255,0.95) 0%, rgba(0,194,203,0.9) 100%);
    z-index: 1;
}

.stats-section > * {
    position: relative;
    z-index: 2;
}

.how-it-works {
    background-image: url('../images/mentoring-session.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
    z-index: 1;
}

.how-it-works > * {
    position: relative;
    z-index: 2;
}

.cta-section {
    background-image: url('../images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,102,255,0.92) 0%, rgba(123,97,255,0.88) 100%);
    z-index: 1;
}

.cta-section > * {
    position: relative;
    z-index: 2;
}

/* ========== SECTION TITLES ========== */
.section-title {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-title h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--text-primary);
}

.section-title .subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.7;
}

/* ========== BENEFITS CARDS ========== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15), 0 0 80px rgba(0,102,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 120px rgba(0,102,255,0.2);
    border-color: rgba(0,102,255,0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,102,255,0.3), 0 0 60px rgba(0,102,255,0.2);
}

.benefit-card h4 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: clamp(1.5rem, 2.75vw, 1.875rem);
    font-weight: 700;
}

.benefit-card p {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ========== CERTIFICATION CARDS ========== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--neutral-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.cert-card:hover::before {
    opacity: 0.08;
}

.cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 0 80px rgba(0,102,255,0.15);
    border-color: var(--primary-blue);
}

.cert-card > * {
    position: relative;
    z-index: 1;
}

.cert-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neutral-white);
    box-shadow: 0 6px 24px rgba(0,102,255,0.3);
}

.cert-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.cert-card p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--neutral-white);
    box-shadow: var(--shadow-glossy);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px dashed rgba(0,102,255,0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.step-card h4 {
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ========== STATS SECTION ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-item {
    color: var(--neutral-white);
}

.stat-number {
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 50%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.25rem;
    display: block;
    text-shadow: 0 8px 32px rgba(255,255,255,0.5);
    animation: statPulse 3s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(255,255,255,0.5));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255,255,255,0.8));
    }
}

.stat-label {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 4px 16px rgba(0,0,0,0.5);
    letter-spacing: 0.02em;
}

/* ========== FORM SECTION ========== */
.form-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

.form-container {
    max-width: 750px;
    margin: 0 auto;
    background: var(--neutral-white);
    border-radius: 28px;
    padding: clamp(2.5rem, 5vw, 4rem);
    box-shadow: 0 16px 64px rgba(0,0,0,0.15), 0 0 100px rgba(0,102,255,0.08);
    border: 2px solid rgba(0,102,255,0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    font-size: 1.0625rem;
    font-family: var(--font-primary);
    transition: all 0.3s;
    background: #F8FAFC;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--neutral-white);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
    transform: translateY(-2px);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.checkbox-group a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1rem;
}

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

.testimonial-card {
    background: var(--neutral-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,102,255,0.2);
}

.testimonial-rating {
    color: var(--warning-orange);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h5 {
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========== FAQ ========== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--neutral-white);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--neutral-dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    color: var(--neutral-white);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    animation: fadeInUp 0.6s ease-out;
}

.whatsapp-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37,211,102,0.5), 0 0 60px rgba(37,211,102,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 48px rgba(37,211,102,0.6), 0 0 100px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
    width: 40px;
    height: 40px;
    fill: var(--neutral-white);
}

/* WhatsApp CTA Button (bottom section) */
.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(37,211,102,0.4), 0 0 60px rgba(37,211,102,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: whatsappGlow 2s ease-in-out infinite;
}

@keyframes whatsappGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.4), 0 0 60px rgba(37,211,102,0.3); }
    50% { box-shadow: 0 12px 48px rgba(37,211,102,0.6), 0 0 100px rgba(37,211,102,0.5); }
}

.btn-whatsapp-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 64px rgba(37,211,102,0.6), 0 0 120px rgba(37,211,102,0.6);
    animation: none;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(37,211,102,0.5), 0 0 60px rgba(37,211,102,0.3);
    }
    50% {
        box-shadow: 0 8px 48px rgba(37,211,102,0.7), 0 0 0 20px rgba(37,211,102,0.1);
    }
}

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

/* ========== THANK YOU PAGE ========== */
.thank-you-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/certification-success.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.thank-you-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,194,203,0.93) 0%, rgba(0,102,255,0.88) 50%, rgba(123,97,255,0.90) 100%);
    z-index: 1;
    animation: colorShift 10s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% { opacity: 0.93; }
    50% { opacity: 0.85; }
}

/* Sparkling stars effect */
.thank-you-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%, 40% 60%, 130% 270%, 70% 100%, 200% 50%, 50% 120%, 80% 200%;
    z-index: 2;
    animation: sparkle 3s linear infinite;\n}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        background-position: 0% 0%, 40% 60%, 130% 270%, 70% 100%, 200% 50%, 50% 120%, 80% 200%;
    }
    50% {
        opacity: 1;
        background-position: 100% 100%, 80% 30%, 50% 50%, 150% 50%, 100% 150%, 120% 50%, 50% 80%;
    }
}

.thank-you-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--neutral-white);
    max-width: 800px;
    padding: 3rem 2rem;
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), successGlow 2s ease-in-out infinite 1s;
    box-shadow: 0 8px 32px rgba(255,255,255,0.3), 0 0 80px rgba(255,255,255,0.2), inset 0 0 40px rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.4);
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes successGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255,255,255,0.3), 0 0 80px rgba(255,255,255,0.2), inset 0 0 40px rgba(255,255,255,0.1);
    }
    50% {
        box-shadow: 0 12px 48px rgba(255,255,255,0.5), 0 0 120px rgba(255,255,255,0.4), inset 0 0 60px rgba(255,255,255,0.2);
    }
}

.thank-you-content h1 {
    color: #FFFFFF !important;\n    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    margin-bottom: 2rem;
    text-shadow: 0 6px 32px rgba(0,0,0,0.5), 0 0 60px rgba(255,255,255,0.5);
    font-weight: 900;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        text-shadow: 0 6px 32px rgba(0,0,0,0.5), 0 0 60px rgba(255,255,255,0.5);
    }
    50% {
        text-shadow: 0 6px 32px rgba(0,0,0,0.5), 0 0 100px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6);
    }
}

.thank-you-content p {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #FFFFFF;
    margin-bottom: 3rem;
    line-height: 1.7;
    text-shadow: 0 3px 16px rgba(0,0,0,0.4);
    font-weight: 500;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--neutral-white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content .last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    display: block;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-size: 1.75rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.375rem;
}

.legal-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin: 1.25rem 0 1.25rem 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 0.75rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cert-chips {
        gap: 0.5rem;
    }
    
    .cert-chip {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.25rem;
    }
    
    .cert-card {
        padding: 1.5rem 1rem;
    }
    
    .cert-icon {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        gap: 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-btn svg {
        width: 30px;
        height: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: clamp(2rem, 6vw, 3rem) 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .benefit-card,
    .cert-card,
    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }
}

/* ========== PERFORMANCE OPTIMIZATIONS ========== */
/* Lazy loading for background images */
.lazy-bg {
    background-image: none !important;
}

.lazy-bg.loaded {
    background-image: inherit !important;
}

/* Smooth scrolling with reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .hero-cta,
    .cert-chips {
        display: none !important;
    }
}

/* ========== CELEBRATION EFFECTS (Thank You Page) ========== */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
        opacity: 0;
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
    animation: sparkleFloat 3s ease-in-out infinite;
    z-index: 4;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) translateY(-30px);
    }
}
