:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 76px;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Score Display */
.score-display-large {
    animation: fadeInUp 1s ease-out;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.score-circle .score-value {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-circle .score-label {
    font-size: 1rem;
    color: #fff;
    opacity: 0.9;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.score-max {
    font-size: 1.2rem;
    opacity: 0.8;
    color: #000;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1rem;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Why Section Styling */
.why-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.urgency-message {
    border: 2px solid var(--warning-color);
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.urgency-message ul li {
    display: flex;
    align-items: center;
}

/* Legal Pages Styling */
.legal-section {
    background: #f8f9fa;
    min-height: 100vh;
}

.legal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h4 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content .alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-content .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.legal-content .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.legal-content .alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Beta Styling */
.beta-badge {
    display: inline-block;
    animation: pulse 2s infinite;
}

.badge.bg-warning {
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.navbar-brand .badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
}

/* Beta alerts */
.alert.bg-warning {
    border: 2px solid #ffc107;
    font-weight: 500;
}

/* Beta pulse animation */
@keyframes beta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.pulse-glow {
    animation: beta-pulse 2s infinite;
}

/* Real-time pledge name styling */
#pledge-name-display {
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
}

#pledge-name-display:not(:empty) {
    animation: gentle-glow 2s ease-in-out infinite alternate;
}

@keyframes gentle-glow {
    from {
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
    }
    to {
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.2) 0%, rgba(13, 110, 253, 0.1) 100%);
    }
}

/* Score Component Cards */
.score-component-card {
    background: white;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease;
}

.score-component-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color) !important;
}

.score-component-card .progress {
    border-radius: 10px;
}

.score-component-card .progress-bar {
    border-radius: 10px;
}

/* Formula Components */
.formula-component {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.component-weight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.component-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Pledge Form */
.pledge-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Remove padding on mobile for more text space */
@media (max-width: 767.98px) {
    .pledge-form {
        padding: 0;
        box-shadow: none;
        background: transparent;
    }
}

.pledge-text {
    background: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1.6;
}

/* Mobile-specific optimization for pledge text */
@media (max-width: 767.98px) {
    .pledge-text {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 6px;
        font-size: 0.95rem;
    }
    
    .pledge-text h5 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .pledge-text ul {
        margin-bottom: 1rem;
        padding-left: 1.2rem;
    }
    
    .pledge-text li {
        margin-bottom: 0.4rem;
    }
}

/* Very small mobile devices */
@media (max-width: 575.98px) {
    .pledge-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .pledge-text {
        padding: 0.75rem;
        margin: 0.75rem 0;
        font-size: 0.9rem;
    }
}

.pledge-text h5 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.pledge-text h5:first-child {
    margin-top: 0;
}

.pledge-text ul {
    margin-bottom: 1.5rem;
}

.pledge-text li {
    margin-bottom: 0.5rem;
}

.pledge-text p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--secondary-color);
}

/* Score Dashboard */
.score-dashboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.score-gauge {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    overflow: visible;
}

.score-gauge-container {
    padding: 1rem;
    overflow: visible;
}

.gauge-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    overflow: visible;
}

.gauge-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 20;
    stroke-dasharray: 251.2px;
    stroke-dashoffset: 0;
}

.gauge-fill {
    fill: none;
    stroke-width: 20;
    stroke-linecap: round;
    stroke-dasharray: 0 251.2px;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 1s ease-in-out;
    stroke: var(--primary-color);
}

.score-text {
    text-anchor: middle;
    font-size: 2.5rem;
    font-weight: 700;
    fill: var(--dark-color);
}

/* Progress Bars */
.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    border-radius: 5px;
}

/* Wallet Connection */
.wallet-status {
    display: none;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.wallet-status.connected {
    display: inline-block;
}

/* NFT Badge Preview */
.nft-preview {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin: 2rem 0;
}

.badge-preview {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .score-max {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
}

/* Button Enhancements */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

/* Flashy Onboarding Styles */
.onboarding-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
}

.onboarding-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 60%);
    animation: aurora 12s ease-in-out infinite;
    z-index: 0;
}

.onboarding-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.2'%3E%3Cpolygon fill='%23ffffff' points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E");
    animation: stars-twinkle 15s linear infinite;
    z-index: 0;
}

@keyframes aurora {
    0%, 100% { 
        background: 
            radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 60%);
    }
    25% { 
        background: 
            radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 70% 20%, rgba(255, 193, 7, 0.3) 0%, transparent 40%),
            radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.4) 0%, transparent 60%);
    }
    50% { 
        background: 
            radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 40%),
            radial-gradient(circle at 20% 70%, rgba(255, 193, 7, 0.5) 0%, transparent 40%),
            radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 60%);
    }
    75% { 
        background: 
            radial-gradient(circle at 60% 90%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 40% 10%, rgba(255, 193, 7, 0.3) 0%, transparent 40%),
            radial-gradient(circle at 90% 40%, rgba(59, 130, 246, 0.4) 0%, transparent 60%);
    }
}

@keyframes stars-twinkle {
    0% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        opacity: 0.8;
    }
    100% { 
        transform: translateX(-100px) translateY(-100px) rotate(360deg);
        opacity: 0.3;
    }
}

.gradient-text {
    background: linear-gradient(45deg, #000, #333, #000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    }
    50% { 
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(255, 193, 7, 0.8);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
    opacity: 0;
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 400px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #000;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
}

.benefit-item span {
    color: #000;
    font-weight: 500;
}

.benefit-item i {
    font-size: 1.2rem;
}

.pulse-glow {
    animation: pulse-glow-button 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}

@keyframes pulse-glow-button {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
        transform: scale(1.02);
    }
}

.mega-glow {
    animation: mega-glow-button 1.5s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
}

@keyframes mega-glow-button {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 193, 7, 0.8);
        transform: scale(1.05);
    }
}

/* Score Preview Container */
.score-preview-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-score-circle {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.score-ring-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
}

.score-ring-inner {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-right-color: rgba(255, 255, 255, 0.6);
}

.rotating-ring {
    animation: rotate 4s linear infinite;
}

.pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
}

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

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.score-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 50%;
    color: #000;
}

.score-content h3,
.score-content p {
    color: #000;
    margin: 0;
}

.question-mark i {
    color: #666;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-slow {
    animation: float 4s ease-in-out infinite;
}

.animate-float-medium {
    animation: float 3s ease-in-out infinite;
}

.animate-float-fast {
    animation: float 2s ease-in-out infinite;
}

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

/* Floating Badges */
.floating-badges {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.badge-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.badge-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

.badge-4 {
    bottom: 15%;
    right: 20%;
    animation-delay: 0.5s;
}

.floating-badge i {
    font-size: 1.5rem;
}

/* Background Particles */
.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle-1 {
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(255, 193, 7, 0.8));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.particle-2 {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.9), rgba(255, 255, 255, 0.8));
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

.particle-3 {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.95), rgba(255, 255, 255, 0.9));
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
    box-shadow: 0 0 18px rgba(255, 193, 7, 0.7);
}

.particle-4 {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8), rgba(59, 130, 246, 0.9));
    top: 30%;
    left: 90%;
    animation-delay: 1s;
    animation-duration: 9s;
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.5);
}

.particle-5 {
    width: 28px;
    height: 28px;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.8), rgba(255, 255, 255, 0.9));
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 10s;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
}

.particle-6 {
    width: 14px;
    height: 14px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.95), rgba(255, 193, 7, 0.8));
    top: 10%;
    left: 70%;
    animation-delay: 5s;
    animation-duration: 6s;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-40px) translateX(20px) rotate(90deg) scale(1.3);
        opacity: 1;
    }
    50% {
        transform: translateY(-80px) translateX(-10px) rotate(180deg) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-40px) translateX(-30px) rotate(270deg) scale(1.2);
        opacity: 1;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.counter {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Timer Styles */
.urgency-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.timer-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.timer-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
    line-height: 1;
}

.timer-label {
    display: block;
    font-size: 0.8rem;
    color: #000;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

/* Enhanced Home Page Styles */
.hero-section {
    background: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #ec4899 100%);
    background-size: 400% 400%;
    animation: gradient-bg 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.25) 0%, transparent 50%);
    animation: bg-shift 10s ease-in-out infinite;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: pattern-move 20s linear infinite;
    opacity: 0.3;
    z-index: 0;
}

@keyframes gradient-bg {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
}

@keyframes bg-shift {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
    }
    33% { 
        transform: translateX(-10px) translateY(10px) scale(1.05);
    }
    66% { 
        transform: translateX(10px) translateY(-10px) scale(0.95);
    }
}

@keyframes pattern-move {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

.hero-badge {
    animation: bounce-in 1s ease-out;
}

.trust-indicators {
    opacity: 0.9;
}

.trust-item {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.enhanced-circle {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.rotating-ring-bg {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid transparent;
    border-top-color: #ffd700;
    border-right-color: rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.score-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    color: #ffd700;
    animation: sparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px #ffd700);
}

.sparkle-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
    font-size: 1.2rem;
}

.sparkle-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 0.7s;
    font-size: 1rem;
}

.sparkle-3 {
    top: 60%;
    right: 10%;
    animation-delay: 1.4s;
    font-size: 1.1rem;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

.pulse-text {
    animation: pulse-text 3s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.achievement-preview {
    position: relative;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 193, 7, 0.8);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: #000;
}

.achievement-badge:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
}

.achievement-badge i {
    font-size: 1.2rem;
}

.achievement-badge span {
    color: #000;
    font-weight: 500;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .preview-score-circle {
        width: 250px;
        height: 250px;
    }
    
    .urgency-timer {
        flex-direction: column;
        align-items: center;
    }
    
    .timer-box {
        min-width: 60px;
    }
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3730a3, #6d28d9);
}

/* Form Enhancements */
.form-control {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Geometric Background Shapes */
.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.4;
    animation: shape-float 15s ease-in-out infinite;
    filter: blur(0.5px);
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(255, 193, 7, 0.3));
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 20s;
    box-shadow: 0 0 40px rgba(255, 193, 7, 0.3);
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.4), rgba(255, 255, 255, 0.3));
    transform: rotate(45deg);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 18s;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.3);
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid rgba(255, 193, 7, 0.4);
    top: 30%;
    left: 80%;
    animation-delay: 10s;
    animation-duration: 22s;
    filter: drop-shadow(0 0 25px rgba(255, 193, 7, 0.4));
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border: 4px solid rgba(255, 193, 7, 0.4);
    border-radius: 25px;
    top: 70%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 16s;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.2);
}

.shape-5 {
    width: 80px;
    height: 140px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.4), transparent);
    border-radius: 40px;
    top: 20%;
    right: 30%;
    animation-delay: 8s;
    animation-duration: 25s;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.3);
}

@keyframes shape-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50px) translateX(-15px) rotate(-3deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-20px) translateX(25px) rotate(8deg);
        opacity: 0.7;
    }
}

/* Container z-index fix */
.hero-section .container,
.onboarding-hero .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Text Visibility */
.hero-section h1,
.onboarding-hero h1 {
    color: #000;
    font-weight: 800;
}

.hero-section p,
.onboarding-hero p,
.hero-section .lead,
.onboarding-hero .lead {
    color: #000;
    background: rgb(255 255 255 / 38%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.hero-section .text-light,
.onboarding-hero .text-light,
.hero-section .text-white,
.onboarding-hero .text-white {
   
}

/* Participation CTA button smoothing */
.participation-cta .btn {
    min-width: 170px;
    letter-spacing: .2px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    line-height: 1.2; /* tighter to prevent icon offset */
    min-height: 36px; /* consistent vertical rhythm for btn-sm */
}
.participation-cta .btn i { line-height: 1; display: inline-block; }
.participation-cta .btn-outline-secondary {
    background:#fff;
}
.participation-cta .btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.participation-cta .btn:hover {
    transform: none; /* cancel global translate */
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.participation-cta .btn:active {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.18) inset;
}
.participation-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.participation-cta .btn-primary:hover {
    background: linear-gradient(135deg, #3730a3, #6d28d9);
}

.trust-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
 
}

