/* INM - Premium Mobile-First Investment Platform */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Modern Fintech Theme */
:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --tertiary: #334155;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-glow: 0 0 30px rgba(99, 102, 241, 0.4);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.8);
    --text-muted: rgba(248, 250, 252, 0.5);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --danger: #ef4444;
    --teal: #14b8a6;
    --cyan: #06b6d4;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    /* Deprecated but kept for compatibility */
    --gold-gradient: var(--accent-gradient);
    --gold-glow: var(--accent-glow);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, 2%) scale(1.02); }
    66% { transform: translate(-2%, -2%) scale(0.98); }
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 19s; }
.particle:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 21s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Gradient Text */
.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:active::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:active {
    background: var(--accent);
    color: var(--primary);
}

.btn-glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-full { width: 100%; }
.btn-small { padding: 10px 20px; font-size: 13px; }

.btn-conseiller {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-conseiller:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

@media (max-width: 480px) {
    .btn-conseiller .conseiller-text {
        display: none;
    }
    .btn-conseiller {
        padding: 10px 12px;
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.main-header.scrolled {
    padding: 0;
    background: rgba(15, 23, 42, 0.95);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    padding: 10px 0;
}

.main-header.scrolled .logo-img {
    height: 75px;
    padding: 8px 0;
}

.logo .tagline {
    display: none;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-actions .btn {
    padding: 14px 24px;
    font-size: 15px;
}

/* Live Ticker */
.live-ticker {
    background: linear-gradient(90deg, var(--secondary), var(--tertiary));
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.ticker-wrap {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 30px;
    white-space: nowrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.ticker-item .amount {
    color: var(--success);
    font-weight: 600;
}

.ticker-item .live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero Section - Mobile Optimized */
.hero {
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Hero Product Slideshow - Full Screen */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-track img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    animation: heroSlideshow 25s infinite;
}

.hero-carousel-track img:nth-child(1) { animation-delay: 0s; }
.hero-carousel-track img:nth-child(2) { animation-delay: 5s; }
.hero-carousel-track img:nth-child(3) { animation-delay: 10s; }
.hero-carousel-track img:nth-child(4) { animation-delay: 15s; }
.hero-carousel-track img:nth-child(5) { animation-delay: 20s; }

/* Hide duplicates */
.hero-carousel-track img:nth-child(n+6) {
    display: none;
}

@keyframes heroSlideshow {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 1; }
    20% { opacity: 1; transform: scale(1.05); }
    24% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .hero-carousel-track img {
        object-position: center 20%;
    }
}

@media (max-width: 480px) {
    .hero-carousel-track img {
        object-position: center 15%;
    }
}

/* Hero Typing Text Effect */
.typing-text {
    position: relative;
    display: block;
}

.typing-item {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    animation: typingFade 32s infinite;
}

.typing-item:nth-child(1) { animation-delay: 0s; }
.typing-item:nth-child(2) { animation-delay: 4s; }
.typing-item:nth-child(3) { animation-delay: 8s; }
.typing-item:nth-child(4) { animation-delay: 12s; }
.typing-item:nth-child(5) { animation-delay: 16s; }
.typing-item:nth-child(6) { animation-delay: 20s; }
.typing-item:nth-child(7) { animation-delay: 24s; }
.typing-item:nth-child(8) { animation-delay: 28s; }

.typing-item:first-child {
    position: relative;
}

@keyframes typingFade {
    0% { opacity: 0; transform: translateY(10px); }
    2% { opacity: 1; transform: translateY(0); }
    10% { opacity: 1; transform: translateY(0); }
    12.5% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .hero-description {
        margin-top: -10px;
    }
}

@media (max-width: 480px) {
    .hero-description {
        margin-top: -15px;
        min-height: 60px;
    }

    .typing-item {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

/* Animated Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 16px 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-box:active {
    transform: scale(0.97);
    border-color: var(--accent);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-value .counter {
    display: inline-block;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Rotating Stats */
.stat-rotating {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.stat-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stat-item.active {
    opacity: 1;
    transform: translateY(0);
}

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

.live-counter.updating {
    transform: scale(1.1);
    color: var(--success);
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 8px;
    }

    .stat-box {
        padding: 12px 6px;
        min-width: 0;
    }

    .stat-rotating {
        height: 50px;
    }

    .stat-value {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .stat-label {
        font-size: 0.55rem;
        line-height: 1.2;
    }
}

/* Guarantee Banner */
.guarantee-banner {
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-top: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    text-align: left;
}

.guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.guarantee-icon svg {
    stroke: var(--success);
}

.guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guarantee-text strong {
    font-size: 1.1rem;
    color: var(--success);
    font-family: 'Space Grotesk', sans-serif;
}

.guarantee-text span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Trust Indicators */
.trust-section {
    padding: 30px 0;
    background: var(--secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    stroke: var(--accent);
}

.trust-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.trust-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.85rem;
}

/* Section Title */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Catalogue Section */
.catalogue-section {
    padding: 50px 0;
    position: relative;
}

/* Filters - Horizontal Scroll */
.filters-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.filters-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--primary));
    pointer-events: none;
}

.filters {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 15px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    border: 2px solid var(--glass-border);
    background: var(--secondary);
    color: var(--text-primary);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

@media (max-width: 480px) {
    .filters-wrapper::after {
        display: none;
    }

    .filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        overflow-x: visible;
    }

    .filter-btn {
        padding: 14px 10px;
        font-size: 0.9rem;
        border-radius: 10px;
        text-align: center;
        width: 100%;
    }
}

/* Catalogue Grid */
.catalogue-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Premium Item Card */
.catalogue-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardAppear 0.6s ease-out backwards;
}

.catalogue-item:active {
    transform: scale(0.98);
}

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

.item-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.catalogue-item:active .item-image {
    transform: scale(1.05);
}

.item-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.item-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.item-badge.category {
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
}

.item-badge.return {
    background: var(--success);
    color: white;
}

.item-badge.countdown {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.item-badge.countdown svg {
    flex-shrink: 0;
}

/* Warning level - orange/yellow - 12h or less */
.item-badge.countdown.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.5);
    animation: countdownWarning 1.5s ease-in-out infinite;
}

/* Critical level - red - 3h or less */
.item-badge.countdown.critical {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 15px rgba(239, 68, 68, 0.6);
    animation: countdownCritical 0.6s ease-in-out infinite;
    font-size: 0.75rem;
}

.item-badge.countdown.expired {
    background: rgba(100, 100, 100, 0.8);
    box-shadow: none;
    animation: none;
    text-decoration: line-through;
    opacity: 0.7;
}

@keyframes countdownWarning {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 12px rgba(245, 158, 11, 0.5);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.7);
    }
}

@keyframes countdownCritical {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 15px rgba(239, 68, 68, 0.6);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 25px rgba(239, 68, 68, 0.9);
    }
}

/* Viewers indicator - Social proof */
.item-viewers {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-xs);
    margin-top: 12px;
    margin-bottom: 4px;
}

.viewers-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ef4444;
}

.viewers-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: viewersPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

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

.viewers-text strong {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.9rem;
}

@keyframes viewersPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.item-content {
    padding: 20px;
}

.item-brand {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.item-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.item-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Item Guarantee Box */
.item-guarantee {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--success);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 8px;
}

.guarantee-badge svg {
    stroke: var(--success);
}

.guarantee-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guarantee-detail .you-get {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.guarantee-detail .item-worth {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.guarantee-detail .item-worth strong {
    color: var(--success);
    font-size: 1.1rem;
}

/* Investment Info Card */
.invest-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}

.invest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.invest-row:not(:last-child) {
    border-bottom: 1px solid var(--glass-border);
}

.invest-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.invest-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.invest-value.highlight {
    color: var(--success);
}

.invest-value.gold {
    color: var(--accent);
}

/* Scenario Boxes */
.potential-gain,
.potential-item {
    border-radius: var(--radius-xs);
    padding: 10px 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.potential-gain {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.potential-gain .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.potential-gain .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
}

.potential-item {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    border: 2px solid var(--success);
    margin-bottom: 16px;
}

.potential-item .label {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 500;
}

.potential-item .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--success);
}

.item-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* How it Works Section */
.how-section {
    padding: 50px 0;
    background: var(--secondary);
}

.steps-container {
    position: relative;
}

.step-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: all 0.3s;
}

.step-card:active {
    border-color: var(--accent);
    transform: translateX(5px);
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.step-content h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-content p strong {
    color: var(--text-primary);
}

/* Highlighted Step (Win-Win) */
.step-card.step-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--success);
}

.step-card.step-highlight .step-number {
    background: var(--success);
}

.step-card.step-highlight h3 {
    color: var(--success);
}

/* Fees Section */
.fees-section {
    padding: 50px 0;
}

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fee-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.fee-card:active {
    border-color: var(--accent);
    transform: scale(0.98);
}

.fee-card.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
    border-color: rgba(99, 102, 241, 0.3);
}

.fee-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.fee-icon svg {
    stroke: var(--accent);
}

.fee-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.fee-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.fee-description {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-section {
    padding: 50px 0;
    background: var(--secondary);
    overflow: hidden;
}

.testimonials-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex-shrink: 0;
    width: 85%;
    max-width: 320px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    scroll-snap-align: center;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--accent);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.cta-content {
    max-width: 350px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Modal - Mobile Optimized */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-content {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius) var(--radius) 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-modal:active {
    background: var(--glass);
    color: var(--danger);
}

.modal h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Forms - Touch Optimized */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

/* Investment Modal */
.invest-modal-content {
    position: relative;
}

.invest-modal-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.invest-modal-details {
    text-align: center;
    margin-bottom: 24px;
}

.invest-modal-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.invest-modal-details .brand {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invest-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

.invest-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.invest-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.invest-summary-row.total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid var(--accent);
}

.invest-summary-row .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.invest-summary-row .value {
    font-weight: 600;
    color: var(--text-primary);
}

.invest-summary-row.total .value {
    color: var(--success);
    font-size: 1.1rem;
}

.invest-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Dashboard */
.dashboard {
    min-height: 100vh;
    background: var(--primary);
}

.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.dashboard-header .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-greeting {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.user-greeting strong {
    color: var(--text-primary);
    display: block;
    font-size: 1.1rem;
}

.dashboard-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.dashboard-nav::-webkit-scrollbar {
    display: none;
}

.dashboard-nav .nav-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.dashboard-nav .nav-btn.active {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.dashboard-content {
    padding: 130px 0 100px;
}

.dashboard-section {
    animation: fadeInUp 0.5s ease-out;
}

.dashboard-section h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.stat-card.success::before {
    background: var(--success);
}

.stat-card.warning::before {
    background: var(--warning);
}

.stat-card-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.stat-card-icon svg {
    stroke: var(--accent);
}

.stat-card.success .stat-card-icon svg {
    stroke: var(--success);
}

.stat-card.warning .stat-card-icon svg {
    stroke: var(--warning);
}

.stat-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stat-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Activity Items */
.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.activity-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    border-radius: 10px;
    flex-shrink: 0;
}

.activity-icon svg {
    stroke: var(--accent);
}

.activity-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-text strong {
    color: var(--text-primary);
}

.activity-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Trade Cards */
.trades-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trade-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
}

.trade-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.trade-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.trade-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.trade-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.trade-body {
    padding: 16px;
}

.trade-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.trade-stat {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-xs);
}

.trade-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trade-stat-value.success {
    color: var(--success);
}

.trade-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.trade-progress {
    margin-top: 12px;
}

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

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 1s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Form Info Box */
.form-info {
    margin-top: 20px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.form-info h4 {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-info ul {
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-info li {
    margin-bottom: 6px;
}

/* Footer */
.main-footer {
    background: var(--secondary);
    border-top: 1px solid var(--glass-border);
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:active {
    color: var(--accent);
}

.footer-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Utility Classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.9rem;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--glass) 25%, var(--glass-border) 50%, var(--glass) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--primary);
}

/* Mobile Header */
@media (max-width: 480px) {
    .main-header .container {
        padding: 0 10px;
    }

    .logo-img {
        height: 60px;
        padding: 8px 0;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .header-actions .btn-admin {
        padding: 8px;
    }

    .header-actions .btn-admin svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 380px) {
    .logo-img {
        height: 50px;
        padding: 6px 0;
    }

    .header-actions .btn {
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* Desktop Enhancements */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.15rem;
        max-width: 500px;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .catalogue-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .fees-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .fee-card.highlight {
        grid-column: span 1;
    }

    .modal-content {
        border-radius: var(--radius);
        margin: auto;
        max-height: 85vh;
    }

    .dashboard-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .dashboard-content {
        padding: 100px 0 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .catalogue-item:hover {
        transform: translateY(-8px);
        border-color: var(--accent);
        box-shadow: var(--gold-glow);
    }

    .catalogue-item:hover .item-image {
        transform: scale(1.05);
    }
}

@media (min-width: 1024px) {
    .catalogue-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-scroll {
        justify-content: center;
    }

    .testimonial-card {
        width: 350px;
    }
}

/* ==================== ESTIMATION SECTION ==================== */
.estimation-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.estimation-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .estimation-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: start;
    }
}

.estimation-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.estimation-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.est-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.est-step:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.est-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    border-radius: 12px;
    flex-shrink: 0;
}

.est-step-icon svg {
    stroke: var(--accent);
}

.est-step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.est-step-text strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.est-step-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.estimation-guarantee {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.guarantee-badge-small {
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 50px;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 500;
}

.estimation-form-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
}

.upload-zone {
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
}

.upload-zone.has-image {
    border-style: solid;
    border-color: var(--success);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    margin-bottom: 10px;
}

.upload-icon svg {
    stroke: var(--text-muted);
    opacity: 0.7;
}

.upload-text {
    color: var(--text-secondary);
    font-weight: 500;
}

.upload-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-xs);
    object-fit: contain;
}

.image-preview.hidden {
    display: none;
}

#estimationForm .form-group {
    margin-bottom: 16px;
}

#estimationForm label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#estimationForm input,
#estimationForm select,
#estimationForm textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#estimationForm input:focus,
#estimationForm select:focus,
#estimationForm textarea:focus {
    outline: none;
    border-color: var(--accent);
}

#estimationForm textarea {
    resize: vertical;
    min-height: 80px;
}

#estimationForm .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    #estimationForm .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== ADMIN STYLES ==================== */
.btn-admin {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px 12px;
    font-size: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    opacity: 1;
    border-color: var(--accent);
    color: var(--accent);
}

.admin-dashboard .admin-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.admin-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 8px;
    letter-spacing: 1px;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header-row h2 {
    margin: 0;
}

.badge {
    padding: 6px 14px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
}

.estimations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.estimation-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.estimation-card:hover {
    border-color: var(--accent);
}

.estimation-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
}

.estimation-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    background: var(--tertiary);
    flex-shrink: 0;
}

.estimation-info-preview {
    flex: 1;
    min-width: 0;
}

.estimation-info-preview h4 {
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.estimation-info-preview p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.estimation-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.estimation-status {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.estimation-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.estimation-status.processed {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.estimation-status.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* Estimation Detail Modal */
.modal-large {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.estimation-detail-content {
    padding: 10px 0;
}

.estimation-detail-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--tertiary);
    margin-bottom: 20px;
}

.estimation-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.estimation-description {
    background: var(--tertiary);
    padding: 16px;
    border-radius: var(--radius-xs);
    margin: 16px 0;
}

.estimation-description h4 {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.estimation-description p {
    color: var(--text-primary);
    line-height: 1.6;
}

.estimation-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.estimation-actions .btn {
    flex: 1;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    border: none;
}

.response-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.response-form h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.response-form .form-group {
    margin-bottom: 16px;
}

.response-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.response-form input,
.response-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-family: inherit;
}

.response-form input:focus,
.response-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.stat-card.warning {
    border-color: var(--warning);
}

.stat-card.warning .stat-card-value {
    color: var(--warning);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.1rem;
}

/* ==================== CHAT WIDGET ==================== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

.chat-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
}

.chat-toggle .chat-close {
    display: none;
}

.chat-widget.open .chat-toggle .chat-icon {
    display: none;
}

.chat-widget.open .chat-toggle .chat-close {
    display: block;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 150px);
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.chat-widget.open .chat-window {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.chat-header-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.chat-header-info span {
    color: var(--success);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-header-info span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-message.bot .message-avatar {
    background: var(--accent-gradient);
}

.chat-message.bot .message-avatar svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.chat-message.user .message-avatar {
    background: var(--tertiary);
}

.chat-message.user .message-avatar svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.bot .message-content {
    background: var(--tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: var(--accent-gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--tertiary);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--glass-border);
    background: var(--tertiary);
}

.chat-suggestion {
    padding: 8px 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-suggestion:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 12px;
    background: var(--secondary);
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    background: var(--tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input-area input:focus {
    border-color: var(--accent);
}

.chat-input-area input::placeholder {
    color: var(--text-muted);
}

.chat-send {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.chat-send:hover {
    transform: scale(1.05);
}

.chat-send svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-toggle {
        width: 54px;
        height: 54px;
    }

    .chat-widget.open .chat-toggle {
        position: fixed;
        bottom: 15px;
        right: 15px;
        z-index: 10001;
    }

    .chat-window {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 80px;
        width: auto;
        height: auto;
        max-height: none;
        border-radius: 16px;
    }

    .chat-header {
        padding: 16px;
    }

    .chat-avatar {
        width: 38px;
        height: 38px;
    }

    .chat-header-info h4 {
        font-size: 0.95rem;
    }

    .chat-messages {
        padding: 14px;
        gap: 12px;
    }

    .chat-message {
        max-width: 90%;
    }

    .message-content {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .message-avatar {
        width: 28px;
        height: 28px;
    }

    .chat-suggestions {
        padding: 10px 14px;
        gap: 6px;
    }

    .chat-suggestion {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .chat-input-area {
        padding: 12px 14px;
    }

    .chat-input-area input {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .chat-send {
        width: 40px;
        height: 40px;
    }
}

/* ==================== MODERN ANIMATIONS ==================== */

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Pulse glow */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

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

/* ==================== PERFORMANCE GRAPH SECTION ==================== */
.performance-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.performance-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .performance-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
}

.performance-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.performance-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.performance-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.perf-stat {
    text-align: center;
}

.perf-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.perf-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Graph Container */
.graph-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.graph-title {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.graph-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.graph-badge svg {
    width: 14px;
    height: 14px;
}

/* SVG Graph */
.graph-svg {
    width: 100%;
    height: 200px;
}

.graph-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.graph-line.animate {
    animation: drawLine 2.5s ease-out forwards;
}

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

.graph-area {
    fill: url(#goldGradient);
    opacity: 0;
}

.graph-area.animate {
    animation: fadeInArea 1s ease-out 1.5s forwards;
}

@keyframes fadeInArea {
    to {
        opacity: 0.3;
    }
}

.graph-dot {
    fill: var(--accent);
    opacity: 0;
    transform-origin: center;
}

.graph-dot.animate {
    animation: popIn 0.4s ease-out forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.graph-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 10px;
}

.graph-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Live indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.live-dot-pulse {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.live-dot-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--success);
    border-radius: 50%;
    animation: livePulse 1.5s ease-out infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

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

.live-text strong {
    color: var(--success);
}

/* Number counter animation */
.count-up {
    display: inline-block;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text-animated {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent), var(--accent-light));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Tech grid background */
.tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* ==================== INVESTMENT SIMULATOR ==================== */
.simulator-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.simulator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.simulator-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.simulator-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.03), transparent 30%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    100% { transform: rotate(360deg); }
}

/* Main Display */
.sim-main-display {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.sim-invest-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.sim-amount-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border: 2px solid var(--success);
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.sim-currency {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 300;
}

.sim-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

@media (max-width: 480px) {
    .sim-amount {
        font-size: 2.8rem;
    }
}

.sim-growth-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.sim-growth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
}

.sim-growth-badge svg {
    stroke: var(--success);
}

.sim-profit {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success);
}

/* Animation Area */
.sim-animation-area {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    min-height: 180px;
}

@media (max-width: 768px) {
    .sim-animation-area {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.sim-floating-gains {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sim-floating-gain {
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
    animation: floatUp 2s ease-out forwards;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

/* Object Showcase */
.sim-object-showcase {
    display: flex;
    gap: 12px;
    justify-content: center;
    perspective: 1000px;
    flex-wrap: wrap;
}

.sim-object {
    position: relative;
    width: 120px;
    background: var(--tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: visible;
}

.sim-object:hover {
    opacity: 0.7;
    transform: scale(0.95);
}

.sim-object.active {
    opacity: 1;
    transform: scale(1.08);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.sim-object img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.sim-object-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sim-object-brand {
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.sim-object-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.sim-object-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.sim-gage-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    z-index: 10;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sim-gage-badge .badge-lock {
    flex-shrink: 0;
}

/* Mobile: Show only active product centered */
@media (max-width: 768px) {
    .sim-object-showcase {
        justify-content: center;
        gap: 0;
    }
    .sim-object {
        display: none;
        width: 140px;
        padding: 12px;
    }
    .sim-object.active {
        display: block;
    }
    .sim-object img {
        height: 80px;
    }
    .sim-object-brand {
        font-size: 0.65rem;
    }
    .sim-object-name {
        font-size: 0.75rem;
    }
    .sim-object-value {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .sim-object {
        width: 130px;
        padding: 10px;
    }
    .sim-object img {
        height: 70px;
    }
}

/* Progress Ring */
.sim-progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.sim-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sim-ring-bg {
    fill: none;
    stroke: var(--tertiary);
    stroke-width: 8;
}

.sim-ring-progress {
    fill: none;
    stroke: url(#simGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.sim-ring-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sim-ring-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sim-ring-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}

.sim-ring-unit {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Timeline */
.sim-timeline {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.sim-timeline-track {
    height: 4px;
    background: var(--tertiary);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.sim-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.sim-timeline-events {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.sim-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sim-event-dot {
    width: 12px;
    height: 12px;
    background: var(--tertiary);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sim-event-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

.sim-event:last-child .sim-event-dot.active {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.sim-event-dot.success {
    background: var(--success);
    border-color: var(--success);
}

.sim-event span {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.sim-event-dot.active + span,
.sim-event-dot.success + span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Results */
.sim-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .sim-results {
        grid-template-columns: 1fr;
    }
}

.sim-result-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: all 0.3s ease;
}

.sim-result-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.sim-result-card.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
    border-color: rgba(16, 185, 129, 0.3);
}

.sim-result-card.highlight:hover {
    border-color: var(--success);
}

/* Result Card Header */
.sim-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-result-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent);
    border-radius: 20px;
}

.sim-result-badge.best {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.sim-result-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sim-result-status.success {
    color: var(--success);
}

/* Result Card Body */
.sim-result-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sim-result-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sim-result-icon.scenario-a {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
}

.sim-result-icon.scenario-a svg {
    stroke: var(--accent);
}

/* Preview image for Scenario B */
.sim-result-preview {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary);
    flex-shrink: 0;
    border: 2px solid var(--success);
}

.sim-result-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Result Details */
.sim-result-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sim-result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sim-result-product {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sim-result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sim-result-value.success {
    color: var(--success);
}

.sim-result-gain {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.sim-result-gain.success {
    color: var(--success);
}

@media (max-width: 480px) {
    .sim-result-card {
        padding: 12px;
    }
    .sim-result-body {
        gap: 10px;
    }
    .sim-result-icon {
        width: 40px;
        height: 40px;
    }
    .sim-result-preview {
        width: 50px;
        height: 50px;
    }
    .sim-result-value {
        font-size: 1.2rem;
    }
    .sim-result-product {
        font-size: 0.8rem;
    }
}

/* Live Stats */
.sim-live-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: transparent;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .sim-live-stats {
        flex-wrap: wrap;
        gap: 10px;
    }
    .sim-stat {
        flex: 1 1 40%;
    }
}

.sim-stat {
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px 20px;
    min-width: 90px;
    transition: all 0.3s ease;
}

.sim-stat:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.sim-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.sim-stat-icon.success {
    background: rgba(16, 185, 129, 0.15);
}

.sim-stat-icon.success svg {
    stroke: var(--success);
}

.sim-stat-icon.accent {
    background: rgba(99, 102, 241, 0.15);
}

.sim-stat-icon.accent svg {
    stroke: var(--accent);
}

.sim-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.sim-stat-value.success {
    color: var(--success);
}

.sim-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-stat.live {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Reveal scale animation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ==================== PHONE DEMO SECTION ==================== */
.phone-demo-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    position: relative;
    overflow: visible;
}

.phone-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.phone-demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .phone-demo-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Left side text */
.phone-demo-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .phone-demo-text h2 {
        font-size: 2rem;
    }
}

.phone-demo-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.phone-demo-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.demo-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.demo-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-feature-icon svg {
    stroke: var(--accent);
}

.demo-feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-feature-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.demo-feature-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-large {
    padding: 18px 32px;
    font-size: 1rem;
}

/* Phone mockup container */
.phone-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    overflow: visible;
}

@media (max-width: 968px) {
    .phone-mockup-container {
        min-height: 550px;
    }
}

/* Phone frame */
.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0a0a0f;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #1a1a2e;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

/* App header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 16px 16px;
}

.app-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.app-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-user span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.app-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

/* Balance card */
.app-balance-card {
    margin: 12px 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.app-balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.balance-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
    padding: 12px 20px;
    position: relative;
    border: 2px solid var(--success);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.balance-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
}

.balance-currency {
    font-size: 1.2rem;
    color: var(--success);
}

.balance-gain {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
}

.balance-gain svg {
    stroke: var(--success);
}

/* Quick stats */
.app-quick-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    margin: 0 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.quick-stat {
    text-align: center;
}

.quick-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.quick-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Activity */
.app-activity {
    margin: 16px;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.activity-header span:first-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.activity-see-all {
    font-size: 0.75rem;
    color: var(--accent);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.activity-item.highlight {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    animation: pulseHighlight 2s ease-in-out;
}

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

.activity-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon svg {
    stroke: var(--success);
    width: 14px;
    height: 14px;
}

.activity-icon.invest {
    background: rgba(99, 102, 241, 0.15);
}

.activity-icon.invest svg {
    stroke: var(--accent);
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-title {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
}

.activity-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.activity-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.activity-amount.success {
    color: var(--success);
}

/* Bottom nav */
.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 12px 8px 20px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    position: relative;
}

.nav-item svg {
    stroke: var(--text-muted);
}

.nav-item span {
    font-size: 0.6rem;
}

.nav-item.active {
    color: var(--accent);
}

.nav-item.active svg {
    stroke: var(--accent);
}

.nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating notifications */
.floating-notifications {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.float-notif {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(50px);
    animation: floatNotifIn 0.5s ease-out forwards;
}

.float-notif.notif-1 {
    top: 10%;
    right: 20px;
    animation-delay: 1s;
}

.float-notif.notif-2 {
    top: 40%;
    left: 20px;
    right: auto;
    animation-delay: 3s;
}

.float-notif.notif-3 {
    bottom: 25%;
    right: 20px;
    animation-delay: 5s;
}

/* Animation de sortie */
@keyframes floatNotifOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
}

@keyframes floatNotifIn {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-icon.success {
    background: rgba(16, 185, 129, 0.2);
}

.notif-icon.success svg {
    stroke: var(--success);
}

.notif-icon.info {
    background: rgba(99, 102, 241, 0.2);
}

.notif-icon.info svg {
    stroke: var(--accent);
}

.notif-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notif-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--success);
}

.notif-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Decorative elements */
.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.phone-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.phone-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
}

.phone-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatParticle 6s ease-in-out infinite;
}

.phone-particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation: floatParticle 8s ease-in-out infinite 1s;
}

.phone-particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation: floatParticle 7s ease-in-out infinite 2s;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 0.8; }
}

/* ============================================
   PHONE DEMO - MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .phone-demo-section {
        padding: 60px 0;
    }

    .phone-demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .phone-demo-text {
        order: 1;
    }

    .phone-mockup-container {
        order: 2;
        min-height: auto;
        padding: 40px 20px;
    }

    .phone-demo-features {
        align-items: center;
    }

    .demo-feature {
        text-align: left;
        max-width: 320px;
    }

    .phone-demo-text .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .phone-demo-section {
        padding: 50px 0;
    }

    .phone-demo-text h2 {
        font-size: 1.8rem;
    }

    .phone-demo-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .phone-demo-features {
        gap: 20px;
        margin-bottom: 30px;
    }

    .demo-feature-icon {
        width: 40px;
        height: 40px;
    }

    .demo-feature-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Phone mockup scaling for mobile */
    .phone-mockup-container {
        transform: scale(0.85);
        transform-origin: center center;
        padding: 20px 10px;
    }

    .phone-frame {
        width: 260px;
        height: 540px;
    }

    /* Show floating notifications on mobile - positioned above/below phone */
    .floating-notifications {
        display: block;
        z-index: 10;
    }

    .float-notif {
        font-size: 0.8rem;
        padding: 10px 14px;
        max-width: 220px;
    }

    .float-notif .notif-icon {
        width: 30px;
        height: 30px;
    }

    .float-notif .notif-icon svg {
        width: 14px;
        height: 14px;
    }

    .float-notif .notif-title {
        font-size: 0.75rem;
    }

    .float-notif .notif-amount,
    .float-notif .notif-text {
        font-size: 0.7rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .floating-notifications {
        display: block;
    }

    .phone-glow {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .phone-demo-section {
        padding: 40px 0;
        overflow: visible;
    }

    .phone-demo-text h2 {
        font-size: 1.5rem;
    }

    .phone-demo-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .phone-demo-features {
        gap: 16px;
    }

    .demo-feature {
        gap: 12px;
    }

    .demo-feature-icon {
        width: 36px;
        height: 36px;
    }

    .demo-feature-text strong {
        font-size: 0.9rem;
    }

    .demo-feature-text span {
        font-size: 0.8rem;
    }

    /* Further scale down phone for very small screens */
    .phone-mockup-container {
        transform: scale(0.75);
        margin: -40px 0;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
        border-radius: 32px;
        padding: 10px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    /* App content adjustments */
    .app-header {
        padding: 35px 12px 12px;
    }

    .app-logo {
        font-size: 1.1rem;
    }

    .app-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }

    .app-balance-card {
        margin: 10px 12px;
        padding: 16px;
        border-radius: 16px;
    }

    .balance-value {
        font-size: 1.6rem;
    }

    .balance-currency {
        font-size: 1rem;
    }

    .balance-gain {
        font-size: 0.75rem;
    }

    .app-quick-stats {
        margin: 0 12px;
        padding: 12px;
        border-radius: 12px;
    }

    .quick-stat-value {
        font-size: 1.1rem;
    }

    .quick-stat-label {
        font-size: 0.6rem;
    }

    .app-activity {
        margin: 12px;
    }

    .activity-header span:first-child {
        font-size: 0.8rem;
    }

    .activity-list {
        gap: 8px;
    }

    .activity-item {
        padding: 8px;
        border-radius: 10px;
    }

    .activity-icon {
        width: 28px;
        height: 28px;
    }

    .activity-title {
        font-size: 0.75rem;
    }

    .activity-desc {
        font-size: 0.65rem;
    }

    .activity-amount {
        font-size: 0.75rem;
    }

    .app-bottom-nav {
        padding: 10px 6px 16px;
    }

    .nav-item svg {
        width: 18px;
        height: 18px;
    }

    .nav-item span {
        font-size: 0.55rem;
    }

    .phone-glow {
        width: 250px;
        height: 250px;
    }

    .phone-particles {
        display: none;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    /* Notifications on very small screens */
    .floating-notifications {
        display: block;
    }

    .float-notif {
        font-size: 0.75rem;
        padding: 8px 12px;
        max-width: 200px;
        gap: 8px;
    }

    .float-notif .notif-icon {
        width: 26px;
        height: 26px;
    }

    .float-notif .notif-content {
        gap: 1px;
    }
}
