/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Hero Section - Modern SaaS Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: var(--spacing-3xl) var(--spacing-lg);
    margin-top: 70px;
    /* Soft gradient background */
    background: linear-gradient(180deg, #f8f7ff 0%, #f0efff 30%, #faf9ff 60%, #ffffff 100%);
}

/* Hero Container */
.hero-container {
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-xl);
    overflow: visible;
}

/* Soft Abstract Background */
.hero-abstract-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Abstract soft shapes */
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.abstract-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    top: -20%;
    left: -10%;
}

.abstract-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
}

.abstract-shape.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-3xl) var(--spacing-lg);
    margin: 0 auto;
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.15;
    color: #1e1b4b;
}

.hero-title strong {
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #6b7280;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    position: relative;
    z-index: 101;
}

/* Improved Button Styles */
.hero-buttons .btn {
    min-width: 200px;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.hero-buttons .btn-secondary {
    background: #ffffff;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hero-buttons .btn-secondary:hover {
    background: #ffffff;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}

/* Floating Cards */
.hero-float-card {
    position: absolute;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* Chart Card - Left */
.chart-card {
    left: 2%;
    top: 8%;
    transform: translateY(0);
    min-width: 160px;
    max-width: 200px;
    scale: 0.9;
}

.chart-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.chart-card .card-label {
    color: #6b7280;
    font-weight: 500;
}

.chart-card .card-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    justify-content: space-between;
}

.chart-bar {
    width: 24px;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

/* Stats Card - Right */
.stats-card {
    right: 2%;
    top: 12%;
    transform: translateY(0);
    min-width: 140px;
    max-width: 170px;
    text-align: center;
    animation-delay: -2s;
    scale: 0.9;
}

.stats-card .stats-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.25rem;
}

.stats-card .stats-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.stats-card .stats-label {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.mini-sparkline {
    margin-top: 0.75rem;
    height: 20px;
}

.sparkline-svg {
    width: 100%;
    height: 100%;
}

/* Review Card - Bottom Center */
.review-card {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    animation-delay: -4s;
    z-index: 2;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.trustpilot-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.review-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-stars .review-count {
    color: #6b7280;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Floating Animation - Cards positioned at top, not centered */
@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.float-animation-1 {
    animation: floatCard1 6s ease-in-out infinite;
}

.float-animation-2 {
    animation: floatCard2 7s ease-in-out infinite;
    animation-delay: -2s;
}

.review-card.float-animation-3 {
    animation: floatCard3 8s ease-in-out infinite;
    animation-delay: -4s;
}

/* Features Preview Section */
.features-preview {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-cyan);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-cyan);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-2xl) 0;
    background: rgba(0, 245, 255, 0.02);
    border: 1px solid #E5E7EB;
    border: 1px solid #E5E7EB;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-xs);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content>* {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
}

/* ── Section tag pill ── */
.section-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(139, 92, 246, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* ── Testimonials Section ── */
.testimonials-section {
    padding: var(--spacing-2xl) 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(139, 92, 246, 0.25);
}

.stars {
    color: #fbbf24;
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-card>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 18px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border: 1px solid #E5E7EB;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.testimonial-user strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.testimonial-user span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── FAQ Section ── */
.faq-section {
    padding: var(--spacing-2xl) 0;
}

.faq-list {
    max-width: 760px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-left: 3px solid #8b5cf6;
    border-radius: 12px;
    padding: 22px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-left-color: #6366f1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.faq-item h4 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-icon {
    color: #8b5cf6;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .chart-card {
        left: 2%;
        top: 15%;
        transform: scale(0.9);
    }

    .stats-card {
        right: 2%;
        top: 20%;
        transform: scale(0.9);
    }
}

@media (max-width: 992px) {
    .hero-container {
        padding: 0 var(--spacing-md);
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md);
        max-width: 100%;
        position: relative;
        z-index: 10;
    }

    .hero-title {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }

    /* Hide floating cards on tablet and mobile */
    .hero-float-card {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 80px);
        padding: 120px var(--spacing-md) var(--spacing-xl);
        overflow: visible;
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: var(--spacing-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        margin-top: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 70px);
        padding: 90px var(--spacing-sm) var(--spacing-xl);
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-sm);
        margin-top: 20px;
    }


    .hero-title {
        font-size: 1.65rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Trading Signals Section - Premium 3D Chart */
.trading-signals-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #111118 50%, #0d0d12 100%);
    position: relative;
    overflow: hidden;
}

.trading-signals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.signals-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.signals-content {
    padding: var(--spacing-xl);
}

.signals-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-bottom: var(--spacing-lg);
}

.signals-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.signals-title .gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signals-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.signals-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
}

.signals-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.signals-features li i {
    color: #10b981;
    font-size: 1.25rem;
}

.signals-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.signals-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.signals-cta i {
    transition: transform 0.3s ease;
}

.signals-cta:hover i {
    transform: translateX(4px);
}

/* Right Side - 3D Chart */
.signals-chart-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.chart-outer-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.chart-3d-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    perspective: 1000px;
}

.chart-perspective {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.signals-chart-wrapper:hover .chart-perspective {
    transform: rotateX(10deg) rotateY(0deg) scale(1.02);
}

/* Grid Background */
.chart-grid {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.horizontal:nth-child(1) { top: 25%; }
.grid-line.horizontal:nth-child(2) { top: 50%; }
.grid-line.horizontal:nth-child(3) { top: 75%; }

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line.vertical:nth-child(4) { left: 25%; }
.grid-line.vertical:nth-child(5) { left: 50%; }
.grid-line.vertical:nth-child(6) { left: 75%; }

/* Candlestick SVG */
.candlestick-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.candle-group {
    opacity: 0;
    animation: candleGrow 0.6s ease-out forwards;
}

.candle-group[data-delay="0"] { animation-delay: 0.1s; }
.candle-group[data-delay="1"] { animation-delay: 0.2s; }
.candle-group[data-delay="2"] { animation-delay: 0.3s; }
.candle-group[data-delay="3"] { animation-delay: 0.4s; }
.candle-group[data-delay="4"] { animation-delay: 0.5s; }
.candle-group[data-delay="5"] { animation-delay: 0.6s; }
.candle-group[data-delay="6"] { animation-delay: 0.7s; }
.candle-group[data-delay="7"] { animation-delay: 0.8s; }
.candle-group[data-delay="8"] { animation-delay: 0.9s; }

@keyframes candleGrow {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.candle-wick {
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
}

.candle-body {
    stroke: none;
}

.candle-body.green {
    fill: #10b981;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.candle-body.red {
    fill: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

/* BUY/SELL Tags */
.signal-tag {
    position: absolute;
    opacity: 0;
    animation: tagBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.signal-tag:nth-of-type(1) { animation-delay: 1s; }
.signal-tag:nth-of-type(2) { animation-delay: 1.2s; }
.signal-tag:nth-of-type(3) { animation-delay: 1.4s; }
.signal-tag:nth-of-type(4) { animation-delay: 1.1s; }
.signal-tag:nth-of-type(5) { animation-delay: 1.3s; }

@keyframes tagBounce {
    from {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tag-content {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

.buy-tag .tag-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.sell-tag .tag-content {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.tag-arrow {
    font-size: 1rem;
}

.tag-glow {
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    opacity: 0.5;
    filter: blur(8px);
    z-index: 1;
    animation: tagPulse 2s ease-in-out infinite;
}

.buy-tag .tag-glow {
    background: #10b981;
}

.sell-tag .tag-glow {
    background: #ef4444;
}

@keyframes tagPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* Floating Particles */
.chart-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .signals-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .signals-content {
        text-align: center;
        order: 1;
    }

    .signals-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .signals-features {
        display: inline-block;
        text-align: left;
    }

    .signals-chart-wrapper {
        order: 2;
        min-height: 350px;
    }

    .chart-perspective {
        transform: rotateX(10deg) rotateY(0deg);
    }
}

@media (max-width: 768px) {
    .trading-signals-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .signals-title {
        font-size: 1.75rem;
    }

    .chart-3d-container {
        max-width: 350px;
    }

    .chart-perspective {
        padding: 1.5rem;
    }

    .signal-tag {
        font-size: 0.75rem;
    }

    .tag-content {
        padding: 0.375rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .signals-title {
        font-size: 1.5rem;
    }

    .chart-3d-container {
        max-width: 280px;
    }

    .chart-perspective {
        padding: 1rem;
        transform: rotateX(5deg);
    }

    .candlestick-svg {
        transform: scale(0.9);
    }
}