/* ===============================================
   ENHANCED HERO SECTION STYLES
   =============================================== */

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Hero Shapes */
.hero-background {
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    /* Remove blur, make it polygon */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.8;
    animation: shapeFloat 25s ease-in-out infinite;
}

.shape-1 {
    width: 700px;
    height: 700px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    /* Hexagon */
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0));
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 600px;
    height: 600px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    /* Octagon */
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0));
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    /* Triangle */
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0));
    top: 30%;
    right: 15%;
    transform: rotate(15deg);
    animation-delay: -10s;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Particles Canvas */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Hero Content Enhanced */
.hero-content {
    max-width: 650px;
    text-align: left;
}

.hero-badge {
    position: relative;
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

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

.hero-highlight {
    position: relative;
    display: inline-block;
}

.highlight-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    color: #60a5fa;
    opacity: 0.6;
}

.highlight-underline path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawUnderline 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawUnderline {
    to {
        stroke-dashoffset: 0;
    }
}

/* Hero Features List */
.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    font-weight: 500;
}

.check-icon {
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 0.875rem;
    flex-shrink: 0;
    animation: checkPop 0.5s ease-out backwards;
}

.feature-check:nth-child(1) .check-icon {
    animation-delay: 0.2s;
}

.feature-check:nth-child(2) .check-icon {
    animation-delay: 0.4s;
}

.feature-check:nth-child(3) .check-icon {
    animation-delay: 0.6s;
}

@keyframes checkPop {
    0% {
        transform: scale(0) rotate(-180deg);
    }

    50% {
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Hero CTA Enhanced */
.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: white;
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    transform: translate(-50%, -50%) scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.btn-shine:hover .btn-glow {
    transform: translate(-50%, -50%) scale(2);
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.avatars-group {
    display: flex;
    align-items: center;
}

.avatars-group img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-left: -12px;
    transition: transform 0.3s ease;
}

.avatars-group img:first-child {
    margin-left: 0;
}

.avatars-group img:hover {
    transform: translateY(-4px) scale(1.1);
    z-index: 10;
}

.avatars-count {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.4);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-left: -12px;
}

.social-proof-text {
    flex: 1;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1rem;
}

.rating-stars strong {
    color: white;
    margin-left: 0.5rem;
    font-size: 1.125rem;
}

.social-proof-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 600px;
}

.trading-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.trading-card.main-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    padding: 2rem;
    z-index: 3;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #1f2937;
}

.header-left i {
    font-size: 1.25rem;
    color: #2563eb;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #10b981;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.card-chart {
    height: 160px;
    margin-bottom: 2rem;
    position: relative;
}

.chart-line svg {
    width: 100%;
    height: 100%;
}

.chart-line path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawChart 2s ease-out forwards;
}

@keyframes drawChart {
    to {
        stroke-dashoffset: 0;
    }
}

.card-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.stat-box .stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-box .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    display: block;
    margin-bottom: 0.375rem;
}

.stat-box .stat-value.profit {
    color: #10b981;
}

.stat-change {
    font-size: 0.8125rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change i {
    font-size: 0.75rem;
}

/* Profit Card */
.trading-card.profit-card {
    top: 10%;
    right: 0;
    width: 280px;
    padding: 1.5rem;
    z-index: 2;
    animation: floatCard 4s ease-in-out infinite;
}

.floating {
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.trading-card.payout-card {
    bottom: 10%;
    left: 0;
    width: 260px;
    padding: 1.5rem;
    z-index: 2;
}

.floating-delayed {
    animation: floatCard 4s ease-in-out infinite 2s;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.card-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1f2937;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4b5563;
    align-self: flex-start;
}

.card-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Enhanced Stats */
.hero-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.stat-details {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

    .hero-visual {
        height: 400px;
        margin: 0 auto;
        max-width: 500px;
    }

    .trading-card.main-card {
        width: 100%;
        max-width: 380px;
    }

    .trading-card.profit-card,
    .trading-card.payout-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-stats-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-features-list {
        align-items: center;
    }
}