/* Complete Hero Section Styles - css/hero.css */

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: visible !important;
    display: flex;
    align-items: center;
    background: #000;
}

/* Liquid Background Animation */
.liquid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a2540 0%, #000 100%);
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    mix-blend-mode: screen;
    animation: float 20s infinite ease-in-out;
    opacity: 0.7;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 30% 30%, #635bff 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 30% 30%, #00d4ff 0%, transparent 70%);
    top: 50%;
    right: -100px;
    animation-delay: -7s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, #ff5470 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }
}

/* Hero Container */
.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    overflow: visible !important;
}

/* Hero Content (Left) */
.hero-left {
    flex: 1;
    padding: 2rem 0;
}

.hero-content {
    max-width: 600px;
}


@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.badge-icon {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: slideInUp 1s ease-out;
    animation-fill-mode: both;
}

.title-line:nth-child(2) {
    animation-delay: 0.1s;
}

.gradient-text {
    background: linear-gradient(135deg, #635bff 0%, #00d4ff 50%, #00d924 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}



.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Hero Right - Enhanced Floating Elements */
.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    overflow: visible !important;
}

.floating-elements {
    position: relative;
    width: 100%;
    max-width: 450px;
    z-index: 5;
    overflow: visible !important;
}

.floating-card-payment-processor {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card-payment-processor:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

/* Payment Card Styles */
.payment-card {
    animation: float 6s ease-in-out;
    z-index: 7;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3,
.card-header h4 {
    color: rgb(211, 171, 9);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.secure-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Enhanced Payment Processor Card */
.payment-processor {
    position: absolute;
    top: -10rem;
    right: -2rem;
    animation: float 6s ease-in-out;
    animation-delay: -2s;
    z-index: 0;
    min-width: 280px;
}

.payment-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    animation: pulse 2s infinite;
}

.status-text {
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Credit Card Design */
.credit-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.credit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: cardShimmer 3s infinite;
}

@keyframes cardShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.card-chip {
    width: 30px;
    height: 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
    margin-bottom: 1rem;
    position: relative;
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 16px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.3) 2px,
        rgba(0, 0, 0, 0.3) 3px
    );
}

.card-number {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.card-holder {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-expiry {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.card-brand {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

/* Payment Progress Steps */
.payment-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(31, 30, 30, 0.5);
    transition: all 0.3s ease;
}

.progress-step.active .step-icon {
    background: #10b981;
    color: rgb(30, 29, 29);
}

.progress-step.processing .step-icon {
    background: #fbbf24;
    color: rgb(33, 32, 32);
    animation: spin 2s linear infinite;
}

.progress-step span {
    color: rgba(46, 44, 44, 0.7);
    font-size: 0.8rem;
    text-align: center;
}

/* Enhanced Analytics Widget 

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}*/



/* Progress Bars */
.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #00d924 100%);
    border-radius: 4px;
    transition: width 2s ease;
    position: relative;
    overflow: hidden;
    width: 0%;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-percent {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    align-self: flex-end;
}



/* Form Inputs */
.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #635bff;
    background: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #635bff 0%, #0a2540 100%);
    transition: width 0.3s ease;
}

.form-input:focus ~ .input-animation {
    width: 100%;
}

.input-group.focused .input-animation {
    width: 100% !important;
}

/* Calculate Button */
.calculate-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #635bff 0%, #0a2540 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 91, 255, 0.3);
}

.button-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mobile-cta {
    background: linear-gradient(135deg, #635bff 0%, #0a2540 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.mobile-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

/* Additional animations */
@keyframes confettiFall {
    0% {
        transform: translate(-50%, -50%) translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translateY(200px) rotate(360deg);
        opacity: 0;
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -8px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        padding-top: 8rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .floating-elements {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    

    .floating-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
        padding-top: 6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-blob,
    .floating-card-payment-processor,
    .badge-icon,
    .payment-card,
    .payment-processor {
        animation: none;
    }

    .title-line,
    .hero-description,
    .hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}