:root {
    --cosmic-primary: #0D1B2A;
    --cosmic-secondary: #1B263B;
    --cosmic-accent: #415A77;
    --neon-cyan: #00F5FF;
    --neon-purple: #8A2BE2;
    --neon-gold: #FFD700;
    --warning-yellow: #FFFF00;
    --matrix-green: #00FF41;
    --quantum-blue: #4169E1;
    --success-emerald: #50C878;
    --text-primary: #E0E1DD;
    --text-secondary: #778DA9;
    --overlay-dark: rgba(13, 27, 42, 0.9);
    --grid-opacity: 0.15;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main Content Wrapper */
.app-wrapper {
    position: relative;
    z-index: 5;
    max-width: 820px;
    margin: 35px auto 70px;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--cosmic-accent);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}





/* Background Layer */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(13, 27, 42, 0.9) 0%, #0a0f1a 70%),
        linear-gradient(145deg, #050a15 0%, #0d1b2a 100%);
}

/* Background Grid */
.bg-layer__grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(65, 90, 119, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 90, 119, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

/* Background Circuit */
.bg-layer__circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(0, 245, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(138, 43, 226, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

/* Background Particles */
.bg-layer__particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.4);
    filter: blur(1px);
    animation: float 15s infinite linear;
}

.particle:nth-child(2n) {
    background: rgba(65, 105, 225, 0.3);
    animation-delay: -5s;
}

.particle:nth-child(3n) {
    background: rgba(138, 43, 226, 0.2);
    animation-delay: -10s;
}

/* Float Animation */
@keyframes float {
    0% { 
        transform: translate(0, 0) scale(0.8); 
        opacity: 0; 
    }
    20% { 
        opacity: 1; 
    }
    80% { 
        opacity: 0.8; 
    }
    100% { 
        transform: translate(100vw, -100vh) scale(1.2); 
        opacity: 0; 
    }
}









/* Alert Banner */
.alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(90deg, var(--warning-yellow), #FFA500);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    animation: warningPulse 2s ease-in-out infinite;
}

.alert-banner__text {
    display: inline-block;
}

@keyframes warningPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Floating Button */
.rect-floating-button {
    position: fixed;
    bottom: 55px;
    left: 50%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 380px;
    height: 56px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--quantum-blue), var(--neon-purple));
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.5);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateX(-50%);
    animation: floatPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

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

.rect-floating-button:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.8);
}

.rect-floating-button:hover::before {
    left: 100%;
}

.rect-floating-button span {
    position: relative;
    z-index: 2;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        box-shadow: 0 6px 20px rgba(65, 105, 225, 0.5);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
        box-shadow: 0 12px 30px rgba(65, 105, 225, 0.7);
    }
}

/* Viewport Styles */
.viewport::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(65, 169, 255, var(--grid-opacity)) 1px, transparent 1px),
        linear-gradient(rgba(65, 169, 255, var(--grid-opacity)) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 3s ease-in-out infinite;
}

/* Chart Background */
.chart-bg__overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.9) 0%, rgba(27, 38, 59, 0.7) 100%);
}

.chart-bg__grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(65, 105, 225, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(65, 105, 225, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.chart-bg__animation {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 40%;
    overflow: hidden;
}

.chart-bg__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--matrix-green);
    stroke-width: 3;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

.chart-bg__candles {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 0 5%;
}

.chart-bg__candle {
    position: relative;
    width: 6px;
    border-radius: 2px;
    background: linear-gradient(to top, var(--success-emerald), var(--matrix-green));
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
}

.chart-bg__candle::before,
.chart-bg__candle::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    background: var(--neon-gold);
    transform: translateX(-50%);
}

.chart-bg__candle::before {
    top: -8px;
    height: 8px;
}

.chart-bg__candle::after {
    bottom: -8px;
    height: 12px;
}

/* Content Area */
.content-area {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem 1rem;
}

/* Avatar */
.avatar {
    width: 115px;
    height: 115px;
    margin-bottom: 1rem;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    animation: avatarGlow 2s ease-in-out infinite alternate;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.8), 
                0 0 60px rgba(138, 43, 226, 0.6),
                0 0 80px rgba(0, 245, 255, 0.4);
    animation: avatarRotate 0.6s ease-in-out infinite;
}

@keyframes avatarRotate {
    0%, 100% { transform: scale(1.15) rotate(5deg); }
    50% { transform: scale(1.18) rotate(-5deg); }
}

.avatar__frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('ai_avatar.gif');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--cosmic-primary);
    transition: border-color 0.3s ease;
}

.avatar:hover .avatar__frame {
    border-color: var(--neon-cyan);
}

/* Hero Section */
.hero {
    max-width: 720px;
    padding: 0 12px;
    text-align: center;
}

.hero__title {
    margin-bottom: 0.6rem;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-gold), var(--neon-purple));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 900;
    line-height: 1.0;
    animation: titleShimmer 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__title:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.6));
    animation-duration: 1s;
}

.hero__subtitle {
    margin-bottom: 0.8rem;
    color: var(--matrix-green);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

.hero__desc {
    max-width: 550px;
    margin: 0 auto 0.8rem;
    color: var(--text-primary);
    font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    line-height: 1.5;
    opacity: 0.9;
}

.hero__highlight {
    font-weight: bold;
}

.hero__highlight--gold {
    color: var(--neon-gold);
}

.hero__highlight--cyan {
    color: var(--neon-cyan);
}

/* Form Block */
.form-block {
    width: 100%;
    max-width: 430px;
    margin-bottom: 1.3rem;
    padding: 0 12px;
}

.form-block__field {
    width: 100%;
}

.form-block__input {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.9rem 1.1rem;
    border: 2px solid var(--cosmic-accent);
    border-radius: 10px;
    background: rgba(27, 38, 59, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-block__input::placeholder {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-block__input:hover {
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.form-block__input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4),
                0 0 30px rgba(0, 245, 255, 0.2);
    transform: translateY(-2px) scale(1.01);
}

.form-block__error {
    display: none;
    margin-bottom: 1rem;
    color: red;
}

.form-block__btn {
    position: relative;
    width: 100%;
    padding: 1rem 1.6rem;
    overflow: hidden;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--quantum-blue), var(--neon-purple));
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: buttonPulseEnhanced 1.5s ease-in-out infinite;
}

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

.form-block__btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(65, 105, 225, 0.6);
    animation: buttonBounce 0.8s ease-in-out infinite;
}

.form-block__btn:hover::before {
    left: 100%;
}

.form-block__btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 3px 15px rgba(65, 105, 225, 0.4);
    animation: none;
}

/* Enhanced Button Pulse Animation */
@keyframes buttonPulseEnhanced {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 8px 30px rgba(65, 105, 225, 0.5);
    }
}

/* Button Bounce Animation on Hover */
@keyframes buttonBounce {
    0%, 100% {
        transform: translateY(-5px) scale(1.1);
    }
    50% {
        transform: translateY(-8px) scale(1.12);
    }
}

/* Modal Overlay */
.modal-quantum-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Neural Progress Container */
.neural-progress-container {
    max-width: 380px;
    width: 90%;
    padding: 2.5rem 1.8rem;
    border: 1px solid var(--cosmic-accent);
    border-radius: 14px;
    background: var(--cosmic-secondary);
    text-align: center;
}

.progress-status-text {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.quantum-progress-track {
    width: 100%;
    height: 6px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border-radius: 3px;
    background: var(--cosmic-primary);
}

.progress-neural-fill {
    width: 0%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--matrix-green));
    transition: width 0.1s ease;
}

.analysis-stage-indicator {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

/* Completion Modal Frame */
.completion-modal-frame {
    max-width: 420px;
    width: 90%;
    padding: 2.5rem 1.8rem;
    border: 1px solid var(--success-emerald);
    border-radius: 14px;
    background: var(--cosmic-secondary);
    text-align: center;
}

.completion-primary-message {
    margin-bottom: 0.8rem;
    color: var(--success-emerald);
    font-size: 1.3rem;
    font-weight: 600;
}

.completion-secondary-note {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* WhatsApp Redirect Button */
.whatsapp-redirect-button {
    margin-bottom: 1.8rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-redirect-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.5);
}

/* K-line Chart Container */
.kline-chart-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin-top: 0.8rem;
    padding: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--cosmic-accent);
    border-radius: 10px;
    background: rgba(27, 38, 59, 0.8);
}

.kline-title {
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.kline-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 130px;
    padding: 0 8px;
}

.candle-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.candle-stick {
    position: relative;
    z-index: 2;
    width: 10px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #ff4d4d, #ff4d4d 50%, #00FF41 50%, #00FF41);
}

.candle-stick::before,
.candle-stick::after {
    content: '';
    position: absolute;
    left: 50%;
    z-index: 1;
    width: 2px;
    background: var(--neon-gold);
    transform: translateX(-50%);
}

.candle-stick::before {
    top: -12px;
}

.candle-stick::after {
    bottom: -12px;
}

.candle-label {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.trend-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 25px;
    height: 25px;
    animation: arrowRise 8s linear infinite;
}

.trend-arrow svg {
    width: 100%;
    height: 100%;
    fill: var(--matrix-green);
    filter: drop-shadow(0 0 4px rgba(0, 255, 65, 0.8));
}

@keyframes arrowRise {
    0% {
        transform: translateY(180px) translateX(0);
    }
    10% {
        transform: translateY(160px) translateX(40px);
    }
    20% {
        transform: translateY(140px) translateX(80px);
    }
    30% {
        transform: translateY(120px) translateX(120px);
    }
    40% {
        transform: translateY(100px) translateX(160px);
    }
    50% {
        transform: translateY(80px) translateX(200px);
    }
    60% {
        transform: translateY(60px) translateX(240px);
    }
    70% {
        transform: translateY(40px) translateX(280px);
    }
    80% {
        transform: translateY(20px) translateX(320px);
    }
    90% {
        transform: translateY(0) translateX(360px);
    }
    100% {
        transform: translateY(-20px) translateX(400px);
    }
}

@keyframes candleRise {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: var(--candle-height);
        opacity: 1;
    }
}

.candle-stick {
    animation: candleRise 1.5s ease-out forwards;
    animation-delay: calc(var(--candle-delay) * 0.2s);
}

.risk-disclosure-section {
    margin-top: 0.5rem;
    max-width: 800px;
    text-align: left;
    background: rgba(27, 38, 59, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--cosmic-accent);
}

.warning-title-block {
    margin-bottom: 0.8rem;
    color: var(--warning-yellow);
    font-size: 1.2rem;
    font-weight: 700;
}

.disclosure-content-list {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.2;
}

.disclosure-content-list li {
    position: relative;
    margin-bottom: 0.7rem;
    padding-left: 1.3rem;
    list-style: none;
}

.disclosure-content-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
}

.footer-legal-navigation {
    margin-top: 1.2rem;
    text-align: center;
}

.legal-link-element {
    margin: 0 0.8rem;
    color: var(--neon-cyan);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link-element:hover {
    color: var(--neon-gold);
    text-decoration: underline;
}

@keyframes gridPulse {
    0%,
    100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.25;
    }
}

@keyframes avatarGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 35px rgba(138, 43, 226, 0.8);
    }
}

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

/* Featured Image Section */
.featured-image-section {
    width: 100%;
    max-width: 800px;
}

.image-container {
    position: relative;
    width: 380px;
    height: 212px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--cosmic-accent);
    border-radius: 14px;
    background: rgba(27, 38, 59, 0.7);
    text-align: center;
}

.featured-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* AI Performance Metrics */
.ai-performance-metrics {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

.metrics-section-title {
    margin-bottom: 1.2rem;
    color: var(--neon-cyan);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-align: center;
    text-shadow: 0 0 12px rgba(0, 245, 255, 0.8);
}

.performance-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
}

.stat-module {
    position: relative;
    padding: 1.2rem;
    border: 1px solid var(--cosmic-accent);
    border-radius: 14px;
    background: var(--cosmic-secondary);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-module:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.3);
}

.stat-module:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    display: block;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-gold);
    margin-bottom: 0.2rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.user-testimonials-feed {
    width: 100%;
    max-width: 800px;
}

.testimonials-section-title {
    color: var(--success-emerald);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 8px rgba(80, 200, 120, 0.5);
}

.testimonials-scroll-container {
    background: rgba(27, 38, 59, 0.6);
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid var(--cosmic-accent);
    height: 140px;
    position: relative;
    overflow: hidden;
}

.testimonials-scroll-track {
    height: 100%;
    position: relative;
    width: 100%;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 1.2rem;
    padding: 0.8rem;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    opacity: 1;
}

.testimonial-item.active {
    transform: translateY(0);
    opacity: 1;
    z-index: 2;
}

.testimonial-item.next {
    transform: translateY(100%);
    opacity: 0;
    z-index: 1;
}

.testimonial-item.prev {
    transform: translateY(-100%);
    opacity: 0;
    z-index: 1;
}

.item-date {
    flex-shrink: 0;
    width: 70px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    font-weight: 600;
    padding-top: 0.1rem;
}

.item-content {
    flex: 1;
}

.username {
    color: var(--neon-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.stock-code {
    color: var(--matrix-green);
    font-weight: 700;
    background: rgba(0, 255, 65, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.analyzed-text {
    color: var(--text-primary);
    font-weight: 500;
}

.feedback-text {
    color: var(--text-primary);
    font-style: italic;
    margin-top: 0.4rem;
    line-height: 1.4;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Stock Icons Grid */
.stock-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.stock-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid var(--cosmic-accent);
    border-radius: 10px;
    background: rgba(27, 38, 59, 0.5);
    transition: all 0.3s ease;
}

.stock-icon:hover {
    transform: translateY(-4px);
    background: rgba(65, 90, 119, 0.3);
    box-shadow: 0 4px 12px rgba(0, 245, 255, 0.3);
}

.icon-symbol {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: var(--neon-cyan);
}

.icon-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: center;
}

.icon-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-gold);
    margin-top: 0.4rem;
}

.price-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.price-change.positive {
    color: var(--matrix-green);
}

.price-change.negative {
    color: #ff4d4d;
}

/* Testimonial K-line Chart */
.testimonial-kline {
    position: relative;
    width: 100%;
    height: 150px;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--cosmic-accent);
    border-radius: 10px;
    background: rgba(27, 38, 59, 0.8);
}

.bar-chart-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 8px;
}

.bar-column {
    position: relative;
    width: 12px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, #00FF41, #00c93c);
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
    animation: barRise 1.5s ease-out forwards;
    animation-delay: calc(var(--bar-delay) * 0.2s);
}

.bar-column::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    z-index: 1;
    width: 2px;
    height: 12px;
    background: var(--neon-gold);
    transform: translateX(-50%);
}

@keyframes barRise {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: var(--bar-height);
        opacity: 1;
    }
}

.bar-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
}

/* Disclaimer Footer */
.disclaimer-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 1rem;
    padding: 1.5rem;
    border-top: 2px solid var(--cosmic-accent);
    background: rgba(27, 38, 59, 0.95);
    backdrop-filter: blur(10px);
}

.disclaimer-footer__text {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

.disclaimer-footer__text strong {
    color: var(--neon-gold);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-wrapper {
        margin-bottom: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .neural-container {
        padding: 0.8rem 0.5rem;
    }
    .ai-avatar-module {
        width: 110px;
        height: 110px;
        margin-bottom: 1rem;
    }
    .image-container {
        width: 100%;
        height: auto;
        max-width: 380px;
        aspect-ratio: 380/212;
    }
    .risk-disclosure-section {
        padding: 1.2rem;
    }
    .ai-performance-metrics {
        margin: 1rem 0;
    }
    .metrics-section-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    .performance-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    .stat-module {
        padding: 0.7rem 0.4rem;
    }
    .stat-icon {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    .stat-value {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
    .stat-label {
        font-size: 0.65rem;
    }
    .testimonials-scroll-container {
        height: 150px;
        padding: 1rem;
    }
    .testimonial-item {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.7rem;
        height: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .item-date {
        width: auto;
        flex-shrink: 0;
        font-size: 0.8rem;
    }
    .item-content {
        flex: 1;
        min-height: 0;
    }
    .feedback-text {
        font-size: 0.85rem;
        margin-top: 0.2rem;
        line-height: 1.35;
    }
    .stock-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
    }
    .kline-chart-container {
        height: 160px;
    }
    .kline-chart {
        height: 120px;
    }
    .testimonial-kline {
        height: 130px;
    }
    .rect-floating-button {
        width: 90%;
        max-width: 320px;
        height: 52px;
        font-size: 0.95rem;
    }
}/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal__content {
    max-width: 340px;
    width: 90%;
    padding: 2.2rem 1.6rem;
    border-radius: 12px;
    background: var(--cosmic-secondary);
    text-align: center;
}

.modal__content--progress {
    border: 1px solid var(--cosmic-accent);
}

.modal__content--complete {
    max-width: 380px;
    border: 1px solid var(--success-emerald);
}

.modal__text {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.modal__status {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

.modal__heading {
    margin-bottom: 0.8rem;
    color: var(--success-emerald);
    font-size: 1.3rem;
    font-weight: 600;
}

.modal__note {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.modal__action-btn {
    margin-bottom: 1.8rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal__action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.5);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border-radius: 3px;
    background: var(--cosmic-primary);
}

.progress-bar__fill {
    width: 0%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--matrix-green));
    transition: width 0.1s ease;
}

/* Media Section */
.media-section {
    width: 100%;
    max-width: 720px;
}

.media-section__container {
    position: relative;
    width: 340px;
    height: 190px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--cosmic-accent);
    border-radius: 14px;
    background: rgba(27, 38, 59, 0.7);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.media-section__container:hover {
    transform: scale(1.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.4),
                0 0 60px rgba(138, 43, 226, 0.3);
}

.media-section__container:hover .media-section__video {
    transform: scale(1.05);
}

.media-section__loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgb(27, 38, 59);
    color: rgb(224, 225, 221);
    z-index: 1;
}

.media-section__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--neon-cyan);
    animation: spin 1s ease-in-out infinite;
}

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

.media-section__video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Stats Section */
.stats {
    width: 100%;
    max-width: 720px;
    margin: 1.8rem auto;
}

.stats__title {
    margin-bottom: 1.2rem;
    color: var(--neon-cyan);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-align: center;
    text-shadow: 0 0 12px rgba(0, 245, 255, 0.8);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

/* Stat Card */
.stat-card {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--cosmic-accent);
    border-radius: 12px;
    background: var(--cosmic-secondary);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 45px rgba(138, 43, 226, 0.5),
                0 0 30px rgba(0, 245, 255, 0.3);
    border-color: var(--neon-cyan);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover .stat-card__icon {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.stat-card:hover .stat-card__value {
    transform: scale(1.1);
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.8);
}

.stat-card__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-card__value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-gold);
    margin-bottom: 0.2rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.stat-card__label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Ticker Grid */
.ticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.9rem;
    width: 100%;
    max-width: 720px;
}

.ticker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.7rem;
    border: 1px solid var(--cosmic-accent);
    border-radius: 9px;
    background: rgba(27, 38, 59, 0.5);
    transition: all 0.3s ease;
}

.ticker-card:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(65, 90, 119, 0.5);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.5),
                0 0 20px rgba(255, 215, 0, 0.3);
    border-color: var(--neon-gold);
}

.ticker-card:hover .ticker-card__symbol {
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.ticker-card:hover .ticker-card__price {
    transform: scale(1.1);
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.6);
}

.ticker-card:hover .ticker-card__change--up {
    animation: priceUp 0.6s ease-in-out infinite;
}

.ticker-card:hover .ticker-card__change--down {
    animation: priceDown 0.6s ease-in-out infinite;
}

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

@keyframes priceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.ticker-card__symbol {
    margin-bottom: 0.3rem;
    color: var(--neon-gold);
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.ticker-card__name {
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-size: 0.75rem;
}

.ticker-card__price {
    color: var(--matrix-green);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ticker-card__change {
    font-size: 0.7rem;
    font-weight: 600;
}

.ticker-card__change--up {
    color: var(--matrix-green);
}

.ticker-card__change--down {
    color: #ff4d4d;
}

/* K-line Chart */
.kline {
    width: 100%;
    height: 160px;
    margin-top: 0.7rem;
    padding: 0.7rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cosmic-accent);
    border-radius: 10px;
    background: rgba(27, 38, 59, 0.8);
}

.kline__title {
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.kline__chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 115px;
    padding: 0 7px;
}

.kline__bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kline__bar-wrapper:hover {
    transform: scale(1.1);
}

.kline__bar-wrapper:hover .kline__bar {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    filter: brightness(1.3);
}

.kline__bar-wrapper:hover .kline__bar-label {
    color: var(--neon-cyan);
    transform: scale(1.2);
    font-weight: 600;
}

.kline__bar {
    position: relative;
    z-index: 2;
    width: 9px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #ff4d4d, #ff4d4d 50%, #00FF41 50%, #00FF41);
    height: var(--candle-height);
    animation: candleRise 1.5s ease-out;
    animation-delay: calc(var(--candle-delay) * 0.2s);
    transition: all 0.3s ease;
}

.kline__bar::before,
.kline__bar::after {
    content: '';
    position: absolute;
    left: 50%;
    z-index: 1;
    width: 2px;
    background: var(--neon-gold);
    transform: translateX(-50%);
}

.kline__bar::before {
    top: -12px;
    height: 12px;
}

.kline__bar::after {
    bottom: -12px;
    height: 12px;
}

.kline__bar-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    transition: all 0.3s ease;
}

@keyframes candleRise {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: var(--candle-height);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .app-wrapper {
        margin-bottom: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    
    .content-area {
        padding: 0.8rem 0.5rem;
    }
    
    .avatar {
        width: 110px;
        height: 110px;
    }
    
    .disclaimer-footer {
        margin: 1rem 10px 0.5rem;
        padding: 1rem;
    }
    
    .disclaimer-footer__text {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }
    
    .media-section__container {
        width: 100%;
        height: auto;
        max-width: 380px;
        aspect-ratio: 380/212;
    }
}

