/* MyCryptoSignal - Global Styles */
/* Ultra-Minimal News Theme Design System */

:root {
    /* Colors - Dark Mode */
    --bg-primary: #0d0d0d;
    --bg-secondary: #161616;
    --bg-card: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a1a1a1;
    --text-tertiary: #666;
    
    /* Accent Colors */
    --accent-color: #0EA5E9;  /* Cyan Blue - primary brand */
    --accent-secondary: #50C878;  /* Emerald Green - secondary accent */
    --link-color: #0EA5E9;
    
    /* Signal Colors */
    --signal-buy: #0a0;
    --signal-hold: #ffaa00;
    --signal-risk: #c00;
    
    /* Border Colors */
    --border-color: #2a2a2a;
    --border-light: #1f1f1f;
    --border-dark: #0EA5E9;
    
    /* Special Purpose */
    --highlight-bg: #3a3520;
    
    /* Emerald Green Variants */
    --emerald-bg-subtle: rgba(80, 200, 120, 0.03);
    --emerald-bg-light: rgba(80, 200, 120, 0.1);
    --emerald-border: rgba(80, 200, 120, 0.3);
    --emerald-glow: rgba(80, 200, 120, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 1rem;
    font-weight: 400;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.02) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 5px;
}

h1 { font-size: 1.5rem; font-weight: bold; }
h2 { font-size: 1.3rem; font-weight: bold; }
h3 { font-size: 1rem; font-weight: bold; }
h4 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: var(--link-color);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

.accent {
    color: var(--accent-color);
    font-weight: 700;
}

code, .tech-term {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Dank Mono', 'Source Code Pro', monospace;
    font-size: 0.9em;
    color: var(--text-primary);
    background: rgba(14, 165, 233, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

/* Navigation */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: rgba(13, 13, 13, 0.8);
}

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

.logo-text {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: normal;
    line-height: 1;
}

.logo-text:hover {
    color: var(--accent-color);
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    opacity: 0.3;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 400;
}

.hero-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
}

.hero-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.hero-links .btn-primary {
    color: var(--accent-color) !important;
}

.hero-links a:not(.btn-primary) {
    color: var(--accent-secondary);
}

.hero-links a:hover {
    transform: translateX(3px);
}

.hero-links a:not(.btn-primary):hover {
    text-shadow: 0 0 16px var(--emerald-glow);
}

.hero-links a.btn-primary:hover {
    text-shadow: 0 0 16px rgba(14, 165, 233, 0.5);
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    transform: translateY(-1px);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;

}

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

/* Live Signal Stream Section */
.live-signal-stream {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 2rem 0;
}

.stream-card {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.stream-card h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.stream-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.6;
}

.stream-link {
    display: inline-block;
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    position: relative;
}

.stream-link:hover {
    transform: translateX(4px);
    text-shadow: 0 0 20px var(--emerald-glow);
}

/* Usage Section */
.usage-section {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.usage-section h2 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.usage-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: rgba(14, 165, 233, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.usage-item:hover {
    background: rgba(14, 165, 233, 0.04);
    border-color: rgba(14, 165, 233, 0.3);
}

.usage-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    font-weight: 600;
}

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

.usage-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.usage-disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 20px;
    font-style: italic;
}

/* Get API Access Section */
.api-access {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.api-access h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.api-access p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
}

.api-access a:not(.btn-primary) {
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.api-access a:not(.btn-primary):hover {
    transform: translateX(3px);
    text-shadow: 0 0 16px var(--emerald-glow);
}

.api-access .btn-primary {
    margin-top: 8px;
    color: var(--accent-color) !important;
}

/* What This Is Section */
.what-section {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.what-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.what-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.publish-intro {
    margin-top: 32px;
    font-weight: 500;
    color: var(--text-primary);
}

.publish-targets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.target-item {
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.target-item:hover {
    border-color: var(--accent-color);
    background: rgba(14, 165, 233, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.target-item:hover .target-label {
    color: var(--accent-secondary);
}

.target-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    font-weight: 600;
}

.target-item a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.target-item a:hover {
    transform: translateX(4px);
    text-shadow: 0 0 16px rgba(14, 165, 233, 0.5);
}

.x-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.target-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tech Stack */
.tech-stack {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.tech-logos span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-xl);
    padding: 20px 0;
}

.footer-layout {
    display: flex;
    gap: 40px;
    margin-bottom: var(--spacing-md);
    align-items: flex-start;
}

.footer-logo-section {
    flex-shrink: 0;
}

.footer-brand-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.3));
    transition: all 0.3s ease;
}

.footer-brand-logo:hover {
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.5));
    transform: scale(1.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    flex-grow: 1;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

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

.footer-section a:hover {
    color: var(--accent-color);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--emerald-glow));
    transform: translateY(-2px);
}

.footer-disclaimer {
    background: var(--highlight-bg);
    border: 1px solid var(--signal-risk);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: var(--spacing-md);
}

.footer-disclaimer strong {
    color: var(--signal-risk);
}

.warning-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(35%) sepia(88%) saturate(5394%) hue-rotate(351deg) brightness(89%) contrast(115%);
}

.footer-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.01em;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.2rem; }

    .footer-layout {
        flex-direction: column;
        gap: 24px;
    }

    .footer-logo-section {
        text-align: center;
    }

    .footer-brand-logo {
        width: 80px;
        height: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .social-icons {
        justify-content: center;
    }

    .hero-links {
        flex-direction: column;
        gap: 16px;
    }

    .btn-lg {
        width: 100%;
    }
}
