
.ccl-referral--wrapper {
    /* Enhanced Color System */
    --primary-blue: #1d63ff;
    --blue-dark: #0846c1;
    --blue-darker: #06349e;
    --blue-light: #4a90ff;
    --blue-lighter: #e6f0ff;
    --green: #10b981;
    --green-light: #d1fae5;
    --gold: #ffa826;
    --gold-light: #fff4e6;
    --purple: #8b5cf6;
    --purple-light: #f3e8ff;
    --ink: #0f172a;
    --ink-light: #1e293b;
    --slate: #475569;
    --slate-light: #94a3b8;
    --slate-lighter: #cbd5e1;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --bg: #f8fafc;
    --bg-dark: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15);
    
    /* Typography Scale */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter Tight', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Base */
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ccl-referral--wrapper *,
.ccl-referral--wrapper *::before,
.ccl-referral--wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ccl-referral--wrapper h1,
.ccl-referral--wrapper h2,
.ccl-referral--wrapper h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* Hero Section - Full Width Content */
.ccl-referral--hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.ccl-referral--hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(29, 99, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ccl-referral--hero-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Enhanced Badge */
.ccl-referral--badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1.5px solid rgba(29, 99, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease, float 3s ease-in-out infinite;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

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

.ccl-referral--badge i {
    font-size: 1rem;
}

/* Enhanced Hero Title */
.ccl-referral--hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.1s backwards;
    position: relative;
}

.ccl-referral--hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.ccl-referral--hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--purple) 100%);
    border-radius: var(--radius-full);
    opacity: 0.3;
}

/* Enhanced Lead Text */
.ccl-referral--hero-lead {
    font-size: 1.3125rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.2s backwards;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Inline Stats */
.ccl-referral--stats-inline {
    display: flex;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.3s backwards;
    justify-content: center;
}

.ccl-referral--stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: var(--space-lg);
}

.ccl-referral--stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--purple) 100%);
    border-radius: var(--radius-full);
}

.ccl-referral--stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}

.ccl-referral--stat-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Enhanced Action Buttons */
.ccl-referral--hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s backwards;
    justify-content: center;
}

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

/* Form Section - Dedicated Full Width */
.ccl-referral--form-section {
    padding: var(--space-4xl) var(--space-3xl);
    background: var(--white);
    position: relative;
}

.ccl-referral--form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(29, 99, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.ccl-referral--form-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Enhanced Form Card */
.ccl-referral--form-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: 
        0 0 0 1px rgba(15, 23, 42, 0.05),
        0 20px 60px rgba(15, 23, 42, 0.08),
        0 8px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-light);
    animation: fadeInScale 0.8s ease 0.3s backwards;
    position: relative;
    overflow: hidden;
}

.ccl-referral--form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--purple) 100%);
}

@keyframes fadeInScale {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.ccl-referral--form-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--border-light);
    text-align: center;
}

.ccl-referral--form-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.ccl-referral--form-header p {
    color: var(--slate);
    font-size: 1rem;
    font-weight: 500;
}

/* Enhanced Buttons */
.ccl-referral--btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.ccl-referral--btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.ccl-referral--btn:hover::before {
    opacity: 1;
}

.ccl-referral--btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    box-shadow: 
        0 4px 14px rgba(29, 99, 255, 0.3),
        0 2px 8px rgba(29, 99, 255, 0.2);
}

.ccl-referral--btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(29, 99, 255, 0.4),
        0 4px 12px rgba(29, 99, 255, 0.3);
}

.ccl-referral--btn-primary:active {
    transform: translateY(0);
}

.ccl-referral--btn-secondary {
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.ccl-referral--btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(29, 99, 255, 0.15);
    transform: translateY(-2px);
}

.ccl-referral--btn-ghost {
    background: transparent;
    color: var(--slate);
    padding: 12px 24px;
}

.ccl-referral--btn-ghost:hover {
    color: var(--primary-blue);
    background: var(--blue-lighter);
}

.ccl-referral--btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Enhanced Form Elements */
.ccl-referral--form-group {
    margin-bottom: var(--space-lg);
}

.ccl-referral--label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.01em;
}

.ccl-referral--label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
    font-weight: 800;
}

.ccl-referral--input,
.ccl-referral--select,
.ccl-referral--textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background: var(--white);
    color: var(--ink);
}

.ccl-referral--input:hover,
.ccl-referral--select:hover,
.ccl-referral--textarea:hover {
    border-color: var(--slate-lighter);
}

.ccl-referral--input:focus,
.ccl-referral--select:focus,
.ccl-referral--textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.1);
    background: var(--white);
}

.ccl-referral--textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Enhanced Radio Buttons */
.ccl-referral--radio-group {
    display: grid;
    gap: var(--space-sm);
}

.ccl-referral--radio-item {
    position: relative;
}

.ccl-referral--radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ccl-referral--radio-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 0.9375rem;
    background: var(--white);
}

.ccl-referral--radio-label i {
    font-size: 1.125rem;
    color: var(--slate-light);
    transition: color var(--transition-base);
}

.ccl-referral--radio-label:hover {
    border-color: var(--primary-blue);
    background: var(--blue-lighter);
    transform: translateX(4px);
}

.ccl-referral--radio-item input[type="radio"]:checked + .ccl-referral--radio-label {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: var(--primary-blue);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(29, 99, 255, 0.12);
}

.ccl-referral--radio-item input[type="radio"]:checked + .ccl-referral--radio-label i {
    color: var(--primary-blue);
}

.ccl-referral--radio-label::before {
    content: '';
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-base);
    background: var(--white);
}

.ccl-referral--radio-item input[type="radio"]:checked + .ccl-referral--radio-label::before {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    box-shadow: inset 0 0 0 4px var(--white);
}

/* Enhanced Progress Steps */
.ccl-referral--progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    position: relative;
    padding: 0 20px;
}

.ccl-referral--progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--border-light);
    z-index: 0;
    border-radius: var(--radius-full);
}

.ccl-referral--progress-line {
    position: absolute;
    top: 18px;
    left: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--purple) 100%);
    z-index: 1;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(29, 99, 255, 0.3);
}

.ccl-referral--step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 2;
    flex: 1;
}

.ccl-referral--step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--slate-light);
    transition: all var(--transition-slow);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ccl-referral--step.active .ccl-referral--step-circle {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(29, 99, 255, 0.4);
}

.ccl-referral--step.completed .ccl-referral--step-circle {
    background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
    border-color: var(--green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.ccl-referral--step.completed .ccl-referral--step-circle::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.ccl-referral--step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-light);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.ccl-referral--step.active .ccl-referral--step-label {
    color: var(--primary-blue);
}

.ccl-referral--step.completed .ccl-referral--step-label {
    color: var(--green);
}

/* Enhanced Form Pages */
.ccl-referral--page {
    display: none;
}

.ccl-referral--page.active {
    display: block;
    animation: slideInFade 0.4s ease;
}

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

.ccl-referral--page h3 {
    font-size: 1.625rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.ccl-referral--page-subtitle {
    color: var(--slate);
    font-size: 0.9375rem;
    margin-bottom: var(--space-xl);
    font-weight: 500;
}

/* Form Navigation */
.ccl-referral--nav {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--border-light);
}

/* Conditional Fields */
.ccl-referral--conditional {
    display: none;
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    padding-left: var(--space-xl);
    border-left: 4px solid var(--primary-blue);
    background: var(--blue-lighter);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.ccl-referral--conditional.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Enhanced Success Message */
.ccl-referral--success {
    display: none;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.ccl-referral--success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.ccl-referral--success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-xl);
    background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    animation: successPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

@keyframes successPulse {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

.ccl-referral--success h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.ccl-referral--success p {
    color: var(--slate);
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
    font-weight: 500;
}

/* Enhanced Why Refer Section */
.ccl-referral--why {
    padding: var(--space-4xl) var(--space-3xl);
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 50%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.ccl-referral--why::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 99, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ccl-referral--why-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ccl-referral--section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto var(--space-4xl);
}

.ccl-referral--section-header h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.ccl-referral--section-header p {
    font-size: 1.1875rem;
    color: var(--slate);
    line-height: 1.8;
    font-weight: 500;
}

.ccl-referral--features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Enhanced Feature Cards */
.ccl-referral--feature {
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.ccl-referral--feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.ccl-referral--feature:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 0 0 1px rgba(29, 99, 255, 0.1),
        0 24px 48px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-blue);
}

.ccl-referral--feature:hover::before {
    opacity: 1;
}

.ccl-referral--feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.ccl-referral--feature:hover .ccl-referral--feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.18) 0%, rgba(139, 92, 246, 0.12) 100%);
}

.ccl-referral--feature h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.ccl-referral--feature p {
    color: var(--slate);
    font-size: 0.9375rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Enhanced Process Timeline */
.ccl-referral--process {
    padding: var(--space-4xl) var(--space-3xl);
    background: var(--white);
}

.ccl-referral--process-container {
    max-width: 950px;
    margin: 0 auto;
}

.ccl-referral--timeline {
    position: relative;
    padding-left: 80px;
    margin-top: var(--space-3xl);
}

.ccl-referral--timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--primary-blue) 0%, 
        var(--purple) 50%,
        var(--primary-blue) 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(29, 99, 255, 0.2);
}

.ccl-referral--timeline-item {
    position: relative;
    margin-bottom: var(--space-3xl);
    padding-left: 0;
}

.ccl-referral--timeline-item:last-child {
    margin-bottom: 0;
}

.ccl-referral--timeline-marker {
    position: absolute;
    left: -80px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--primary-blue);
    font-size: 1.125rem;
    box-shadow: 
        0 0 0 8px rgba(29, 99, 255, 0.1),
        0 4px 16px rgba(29, 99, 255, 0.25);
    transition: all var(--transition-base);
}

.ccl-referral--timeline-item:hover .ccl-referral--timeline-marker {
    transform: scale(1.15);
    background: var(--primary-blue);
    color: var(--white);
}

.ccl-referral--timeline-content {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    transition: all var(--transition-base);
}

.ccl-referral--timeline-item:hover .ccl-referral--timeline-content {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(29, 99, 255, 0.12);
    transform: translateX(8px);
}

.ccl-referral--timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.ccl-referral--timeline-content p {
    color: var(--slate);
    line-height: 1.8;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Enhanced CTA Section */
.ccl-referral--cta {
    padding: var(--space-4xl) var(--space-3xl);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 50%, var(--purple) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ccl-referral--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.ccl-referral--cta-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ccl-referral--cta h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.ccl-referral--cta p {
    font-size: 1.3125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    font-weight: 500;
}

.ccl-referral--cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.ccl-referral--btn-white {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ccl-referral--btn-white:hover {
    background: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.ccl-referral--btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.ccl-referral--btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Enhanced Review Summary */
.ccl-referral--review-summary {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-light);
}

.ccl-referral--review-section {
    margin-bottom: var(--space-xl);
}

.ccl-referral--review-section:last-child {
    margin-bottom: 0;
}

.ccl-referral--review-section h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.ccl-referral--review-grid {
    display: grid;
    gap: var(--space-sm);
}

.ccl-referral--review-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.ccl-referral--review-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(29, 99, 255, 0.08);
}

.ccl-referral--review-label {
    font-weight: 700;
    color: var(--slate);
    min-width: 130px;
    font-size: 0.875rem;
}

.ccl-referral--review-value {
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.ccl-referral--info-box {
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
    border-left: 4px solid var(--primary-blue);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

.ccl-referral--info-box p {
    margin: 0;
    color: var(--ink);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Enhanced Scroll Reveal */
.ccl-referral--reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ccl-referral--reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.ccl-referral--loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.ccl-referral--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--primary-blue);
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .ccl-referral--features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ccl-referral--features-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }
    
    .ccl-referral--hero {
        padding: var(--space-3xl) var(--space-lg);
        min-height: auto;
    }
    
    .ccl-referral--hero h1 .highlight::after {
        height: 3px;
        bottom: -6px;
    }
    
    .ccl-referral--stats-inline {
        gap: var(--space-xl);
        flex-wrap: wrap;
    }
    
    .ccl-referral--stat-number {
        font-size: 2.25rem;
    }
    
    .ccl-referral--form-section {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .ccl-referral--form-card {
        padding: var(--space-xl) var(--space-lg);
        border-radius: var(--radius-xl);
    }
    
    .ccl-referral--progress {
        padding: 0 10px;
    }
    
    .ccl-referral--progress::before {
        left: 40px;
        right: 40px;
    }
    
    .ccl-referral--progress-line {
        left: 40px;
    }
    
    .ccl-referral--step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }
    
    .ccl-referral--step-label {
        font-size: 0.6875rem;
    }
    
    .ccl-referral--why,
    .ccl-referral--process,
    .ccl-referral--cta {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .ccl-referral--timeline {
        padding-left: 60px;
    }
    
    .ccl-referral--timeline::before {
        left: 19px;
    }
    
    .ccl-referral--timeline-marker {
        left: -60px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .ccl-referral--hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .ccl-referral--btn {
        width: 100%;
    }
    
    .ccl-referral--cta-actions {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ccl-referral--hero {
        padding: var(--space-xl) var(--space-md);
    }
    
    .ccl-referral--stats-inline {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
        text-align: center;
    }
    
    .ccl-referral--stat-item {
        padding-left: 0;
    }
    
    .ccl-referral--stat-item::before {
        display: none;
    }
    
    .ccl-referral--form-section {
        padding: var(--space-xl) var(--space-md);
    }
    
    .ccl-referral--form-card {
        padding: var(--space-lg) var(--space-md);
    }
    
    .ccl-referral--form-header h2 {
        font-size: 1.5rem;
    }
    
    .ccl-referral--progress {
        flex-wrap: wrap;
        gap: var(--space-md) 0;
    }
    
    .ccl-referral--step {
        flex-basis: 50%;
    }
    
    .ccl-referral--review-item {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .ccl-referral--review-label {
        min-width: 0;
    }
    
    .ccl-referral--timeline {
        padding-left: 50px;
    }
    
    .ccl-referral--timeline::before {
        left: 17px;
    }
    
    .ccl-referral--timeline-marker {
        left: -50px;
        width: 36px;
        height: 36px;
    }
    
    .ccl-referral--timeline-content {
        padding: var(--space-lg);
    }
}

/* Print Styles */
@media print {
    .ccl-referral--hero-actions,
    .ccl-referral--form-card,
    .ccl-referral--cta {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
