/* EAFC.tools - Custom Styles */

html, body {
    font-family: 'Inter', sans-serif;
    background-color: #111820;
}

h1:focus, h1:focus-visible,
[b-landing]:focus, [b-landing]:focus-visible,
.landing-hero-content:focus, .landing-hero-content:focus-visible,
.landing-title:focus, .landing-title:focus-visible,
[tabindex]:focus, [tabindex]:focus-visible,
#blazor-error-ui:focus, main:focus, article:focus {
    outline: none !important;
    box-shadow: none !important;
}

.appbar-gradient {
    background: linear-gradient(135deg, #1a2230 0%, #1e2a3a 100%) !important;
    border-bottom: 1px solid #2d3a4a;
}

.appbar-transparent {
    background: transparent !important;
    border-bottom: none !important;
    position: fixed !important;
    z-index: 1100;
}

/* Signal badges */
.signal-strong-buy {
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
    color: white !important;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.signal-buy {
    background-color: #4caf50 !important;
    color: white !important;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
}

.signal-value-buy {
    background-color: #8bc34a !important;
    color: white !important;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
}

.signal-watch {
    background-color: #00bcd4 !important;
    color: white !important;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
}

.signal-hold {
    background-color: #ff9800 !important;
    color: white !important;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
}

.signal-sell {
    background-color: #f44336 !important;
    color: white !important;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
}

.signal-avoid {
    background: linear-gradient(135deg, #d32f2f, #f44336) !important;
    color: white !important;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* === Player Card Tiles === */
.player-card-tile {
    background: #1a2230 !important;
    border: 1px solid #2d3a4a;
    border-radius: 14px !important;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 240px;
}

.player-card-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Signal-colored left border on tiles */
.tile-border-strong-buy { border-left: 4px solid #4caf50; }
.tile-border-buy { border-left: 4px solid #4caf50; }
.tile-border-value-buy { border-left: 4px solid #8bc34a; }
.tile-border-watch { border-left: 4px solid #00bcd4; }
.tile-border-hold { border-left: 4px solid #ff9800; }
.tile-border-sell { border-left: 4px solid #f44336; }
.tile-border-avoid { border-left: 4px solid #d32f2f; }

.tile-border-strong-buy:hover { border-color: #4caf50; }
.tile-border-buy:hover { border-color: #4caf50; }
.tile-border-value-buy:hover { border-color: #8bc34a; }
.tile-border-watch:hover { border-color: #00bcd4; }
.tile-border-hold:hover { border-color: #ff9800; }
.tile-border-sell:hover { border-color: #f44336; }
.tile-border-avoid:hover { border-color: #d32f2f; }

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-image {
    width: 72px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

.card-image-placeholder {
    width: 72px;
    height: 88px;
    border-radius: 6px;
    background: #253040;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tile-player-info {
    min-width: 0;
    overflow: hidden;
}

.tile-price {
    text-align: center;
    padding: 4px 0;
}

.tile-metrics {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.tile-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 2px;
}

.tile-metric-label {
    font-size: 0.65rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tile-footer {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Score circles */
.score-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 3px solid;
}

.score-circle-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    border: 2px solid;
}

.score-high {
    border-color: #4caf50;
    color: #4caf50;
}

.score-medium {
    border-color: #ff9800;
    color: #ff9800;
}

.score-low {
    border-color: #f44336;
    color: #f44336;
}

/* Stat card */
.stat-card {
    border-radius: 12px !important;
    border: 1px solid #2d3a4a;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background: #1a2230 !important;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Trend indicators */
.trend-up { color: #4caf50; }
.trend-down { color: #f44336; }
.trend-sideways { color: #ff9800; }

/* Historical indicator */
.hist-bullish { color: #4caf50; }
.hist-neutral { color: #ff9800; }
.hist-bearish { color: #f44336; }

/* Price text */
.price-text {
    font-family: 'JetBrains Mono', 'Cascadia Code', monospace;
    font-weight: 600;
}

/* Progress bar for confidence */
.confidence-bar {
    height: 6px;
    border-radius: 3px;
    background-color: #2d3a4a;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Detail panel */
.detail-panel {
    border: 1px solid #2d3a4a;
    border-radius: 12px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111820;
}

::-webkit-scrollbar-thumb {
    background: #2d3a4a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d4d5f;
}

.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }

/* Chart */
.chart-outer {
    user-select: none;
    -webkit-user-select: none;
}

.chart-viewport {
    transition: none;
    will-change: transform;
}

.chart-zoom-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-zoom-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #2d3a4a;
    background: #1a2230;
    color: #d0d8e0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.chart-zoom-btn:hover {
    background: #253040;
}

/* Player data points – percentage-positioned HTML over the SVG grid */
.player-node-fo {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: filter 0.15s;
    z-index: 2;
}

.player-node-fo:hover {
    filter: brightness(1.2);
    z-index: 20;
}

.player-node-ring-fo {
    border-radius: 50%;
    border: 3px solid #3d4d5f;
    overflow: hidden;
    background: #253040;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-node-fo:hover .player-node-ring-fo {
    border-width: 4px;
}

.player-node-label-fo {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    color: #d0d8e0;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    text-align: center;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-node-profit-fo {
    font-size: 9px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Cascadia Code', monospace;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    text-align: center;
}

.chart-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 2px;
}

/* Smooth loading animation */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Verdict box on card tiles */
.tile-verdict {
    padding: 8px 10px;
    border-radius: 8px;
    border-left: 3px solid #3d4d5f;
    background: rgba(255,255,255,0.03);
    margin: -2px 0;
}

.tile-verdict.verdict-buy {
    border-left-color: #4caf50;
    background: rgba(76, 175, 80, 0.06);
}

.tile-verdict.verdict-sell {
    border-left-color: #f44336;
    background: rgba(244, 67, 54, 0.06);
}

.tile-verdict.verdict-neutral {
    border-left-color: #ff9800;
    background: rgba(255, 152, 0, 0.04);
}

/* Verdict in detail drawer */
.verdict-detail {
    border-radius: 10px;
    border: 1px solid #2d3a4a;
}

.verdict-detail.verdict-buy {
    border-left: 4px solid #4caf50;
    background: rgba(76, 175, 80, 0.08);
}

.verdict-detail.verdict-sell {
    border-left: 4px solid #f44336;
    background: rgba(244, 67, 54, 0.08);
}

.verdict-detail.verdict-neutral {
    border-left: 4px solid #ff9800;
    background: rgba(255, 152, 0, 0.06);
}

/* Reason tags on card tiles */
.tile-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.reason-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.5;
}

.reason-bull {
    background: rgba(76, 175, 80, 0.12);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.reason-bear {
    background: rgba(244, 67, 54, 0.12);
    color: #ef9a9a;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===========================
   Navigation Bar
   =========================== */
.brand-text {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.brand-text .text-primary {
    color: #4CAF50;
}

.nav-link-btn {
    text-transform: none !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

/* ===========================
   Landing Page
   =========================== */
.landing-page {
    overflow-x: hidden;
}

/* Pages that need content padding (non-landing) */
.page-padded {
    padding: 24px;
}

/* Hero */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    overflow: hidden;
}

.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(76, 175, 80, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 188, 212, 0.12), transparent),
        radial-gradient(ellipse 40% 60% at 10% 60%, rgba(76, 175, 80, 0.1), transparent);
    animation: meshFloat 20s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.3);
    animation: particleFloat linear infinite;
}

.p1 { width: 4px; height: 4px; left: 10%; animation-duration: 12s; animation-delay: 0s; }
.p2 { width: 6px; height: 6px; left: 25%; animation-duration: 15s; animation-delay: -2s; background: rgba(0, 188, 212, 0.3); }
.p3 { width: 3px; height: 3px; left: 40%; animation-duration: 10s; animation-delay: -4s; }
.p4 { width: 5px; height: 5px; left: 55%; animation-duration: 14s; animation-delay: -6s; background: rgba(0, 188, 212, 0.2); }
.p5 { width: 4px; height: 4px; left: 70%; animation-duration: 11s; animation-delay: -3s; }
.p6 { width: 7px; height: 7px; left: 85%; animation-duration: 16s; animation-delay: -5s; background: rgba(76, 175, 80, 0.2); }
.p7 { width: 3px; height: 3px; left: 15%; animation-duration: 13s; animation-delay: -7s; background: rgba(0, 188, 212, 0.25); }
.p8 { width: 5px; height: 5px; left: 60%; animation-duration: 12s; animation-delay: -1s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(76, 175, 80, 0.6);
    border-bottom: 2px solid rgba(76, 175, 80, 0.6);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

@keyframes meshFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge-landing {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.landing-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #e6edf3;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #4CAF50, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-subtitle {
    font-size: 1.2rem;
    color: #9baab8;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.landing-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-landing {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.btn-primary-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

.btn-primary-landing.btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn-secondary-landing {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #e6edf3;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #2d3a4a;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.btn-secondary-landing:hover {
    transform: translateY(-2px);
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

/* Products Section */
.landing-products {
    padding: 100px 24px;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #e6edf3;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #9baab8;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    background: rgba(26, 34, 48, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid #2d3a4a;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), transparent, rgba(0, 188, 212, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.product-card:hover .product-card-glow {
    opacity: 1;
}

.product-card-primary {
    border-color: rgba(76, 175, 80, 0.3);
}

.product-card-primary:hover {
    border-color: #4CAF50;
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.15);
}

.product-card-secondary:hover {
    border-color: #00BCD4;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.1);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e6edf3;
    margin-bottom: 12px;
}

.product-card-desc {
    font-size: 0.95rem;
    color: #9baab8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.product-features li {
    padding: 6px 0;
    color: #d0d8e0;
    font-size: 0.9rem;
    padding-left: 16px;
    position: relative;
}

.product-features li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: 700;
}

.product-card-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.product-card-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateX(4px);
}

/* Features Grid */
.landing-features {
    padding: 100px 24px;
    text-align: center;
    background: rgba(26, 34, 48, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(26, 34, 48, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid #2d3a4a;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #4CAF50;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #9baab8;
    line-height: 1.5;
}

/* CTA Section */
.landing-cta {
    position: relative;
    padding: 100px 24px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.landing-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f0f4f8;
    margin-bottom: 16px;
}

.landing-cta p {
    font-size: 1.1rem;
    color: #9baab8;
    margin-bottom: 32px;
}

/* Footer */
.landing-footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid #253040;
}

.landing-footer p {
    color: #5a6a7a;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #5a6a7a;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #9baab8;
}

/* Legal pages */
.legal-page {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-page h1 {
    color: #f0f4f8;
    margin-bottom: 0.5rem;
}

.legal-page h2 {
    color: #e6edf3;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.legal-page h3 {
    color: #c9d1d9;
    margin-top: 1rem;
    font-size: 1rem;
}

.legal-page p, .legal-page li {
    color: #9baab8;
    font-size: 0.92rem;
}

.legal-page a {
    color: #4CAF50;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-page ul {
    padding-left: 1.5rem;
}

.legal-updated {
    color: #5a6a7a !important;
    font-size: 0.85rem !important;
    font-style: italic;
}

/* ===========================
   Cookie Consent Banner
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a2230;
    border-top: 1px solid #2d3a4a;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #9baab8;
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: #4CAF50;
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 0.6rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.cookie-btn:hover { opacity: 0.85; }

.cookie-btn-accept {
    background: #4CAF50;
    color: #fff;
}

.cookie-btn-reject {
    background: transparent;
    color: #9baab8;
    border: 1px solid #2d3a4a;
}

/* ===========================
   Scroll Animations
   =========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animate-slide-left {
    transform: translateX(-60px);
}

.animate-on-scroll.animate-slide-right {
    transform: translateX(60px);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.features-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.features-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.features-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.features-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.features-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.features-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

.products-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
