/* ============================================
   Crypto Security Hub - Modern Crypto Theme
   ============================================ */

   :root {
    --primary: #F7931A;
    --primary-dark: #E8850F;
    --secondary: #627EEA;
    --success: #16C784;
    --danger: #EA3943;
    --bg-dark: #0D1117;
    --bg-card: #161B22;
    --bg-card-hover: #1C2128;
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;
    --gradient-btc: linear-gradient(135deg, #F7931A 0%, #FFAB40 100%);
    --gradient-eth: linear-gradient(135deg, #627EEA 0%, #8B9FFF 100%);
    --gradient-main: linear-gradient(135deg, #F7931A 0%, #627EEA 100%);
    --border-color: #30363D;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Educational Banner */
.edu-banner {
    background: var(--gradient-main);
    color: #FFFFFF;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Header */
.header {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo span {
    background: var(--gradient-btc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-btc);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(247, 147, 26, 0.1) 0%, transparent 60%);
}

.hero-badge {
    display: inline-block;
    background: rgba(247, 147, 26, 0.15);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient-btc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 48px;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.hero-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 40px 0;
}

/* Compliance Section */
.compliance-section {
    padding: 40px 0;
    background: rgba(22, 199, 132, 0.05);
}

.compliance-box {
    background: rgba(22, 199, 132, 0.1);
    border: 2px solid rgba(22, 199, 132, 0.3);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.compliance-box h3 {
    color: var(--success);
    font-size: 1.2rem;
    margin-bottom: 16px;
    text-align: center;
}

.compliance-box p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-align: center;
}

.compliance-box ul {
    color: var(--text-secondary);
    margin: 16px auto;
    max-width: 600px;
    text-align: left;
}

.compliance-box li {
    margin-bottom: 8px;
}

.disclaimer-box {
    background: rgba(234, 57, 67, 0.1);
    border: 1px solid rgba(234, 57, 67, 0.3);
    border-radius: var(--radius);
    padding: 24px 32px;
    text-align: center;
}

.disclaimer-box h3 {
    color: var(--danger);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.disclaimer-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Articles Section */
.articles {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.article-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.article-content {
    padding: 24px;
}

.article-tag {
    display: inline-block;
    background: rgba(247, 147, 26, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
}

/* Wallets Overview */
.wallets-overview {
    padding: 60px 0;
    background: var(--bg-card);
}

.wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.wallet-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.wallet-card:hover {
    border-color: var(--primary);
}

.wallet-logo {
    font-size: 2rem;
    margin-bottom: 12px;
}

.wallet-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.wallet-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.wallets-disclaimer {
    text-align: center;
    padding: 20px;
    background: rgba(247, 147, 26, 0.1);
    border-radius: var(--radius-sm);
}

.wallets-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Security Tips */
.security-tips {
    padding: 60px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.tip-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background: var(--bg-card);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0A0D10;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* Page Content Styles */
.page-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(247, 147, 26, 0.1) 0%, transparent 60%);
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px;
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--primary);
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-card ul, .content-card ol {
    color: var(--text-secondary);
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-card li {
    margin-bottom: 8px;
}

.warning-box {
    background: rgba(234, 57, 67, 0.1);
    border: 1px solid rgba(234, 57, 67, 0.3);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
}

.warning-box h4 {
    color: var(--danger);
    margin-bottom: 8px;
}

.warning-box p {
    color: var(--text-secondary);
    margin: 0;
}

.info-box {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0;
}

.success-box {
    background: rgba(22, 199, 132, 0.1);
    border: 1px solid rgba(22, 199, 132, 0.3);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
}

.success-box h4 {
    color: var(--success);
    margin-bottom: 8px;
}

.success-box p {
    color: var(--text-secondary);
    margin: 0;
}

/* Kraken Section */
.kraken-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(98, 126, 234, 0.05) 100%);
}

.kraken-header {
    text-align: center;
    margin-bottom: 60px;
}

.kraken-badge {
    display: inline-block;
    background: rgba(98, 126, 234, 0.2);
    border: 1px solid rgba(98, 126, 234, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}

.kraken-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 600;
}

.kraken-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.kraken-frn {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.frn-badge {
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
}

.kraken-services {
    margin-bottom: 60px;
}

.services-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.services-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-header {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.service-frn {
    background: rgba(98, 126, 234, 0.2);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
}

.service-reg {
    background: rgba(247, 147, 26, 0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.feature-item {
    background: rgba(98, 126, 234, 0.05);
    border: 1px solid rgba(98, 126, 234, 0.2);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.feature-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.security-features {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.security-features h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.security-features ul {
    list-style: none;
    padding: 0;
}

.security-features li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.security-features li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.custodial-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.custodial-features li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.custodial-features li::before {
    content: "â€¢";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 1;
}

.kraken-fees {
    margin-bottom: 60px;
}

.fees-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.fees-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.fee-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
}

.fee-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.fee-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.fee-details {
    margin-top: 20px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.fee-row:last-child {
    border-bottom: none;
}

.fee-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.fee-value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.fee-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
    font-style: italic;
}

.kraken-regulatory {
    margin-bottom: 60px;
}

.regulatory-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.regulatory-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.regulatory-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.regulatory-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.regulatory-details {
    list-style: none;
    padding: 0;
}

.regulatory-details li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.regulatory-details li::before {
    content: "â†’";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.verify-box {
    background: rgba(98, 126, 234, 0.1);
    border: 1px solid rgba(98, 126, 234, 0.3);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.verify-box h4 {
    color: var(--secondary);
    margin-bottom: 12px;
}

.verify-box p {
    color: var(--text-secondary);
    margin: 0;
}

.kraken-risk-warning {
    margin-bottom: 40px;
}

.risk-warning-box {
    background: rgba(234, 57, 67, 0.1);
    border: 2px solid rgba(234, 57, 67, 0.4);
    border-radius: var(--radius);
    padding: 32px;
}

.risk-warning-box h4 {
    color: var(--danger);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.risk-warning-box p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.risk-warning-box p:last-child {
    margin-bottom: 0;
}

.kraken-disclaimer {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.kraken-disclaimer p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.kraken-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-card {
        padding: 24px;
    }

    .kraken-section {
        padding: 40px 0;
    }

    .kraken-frn {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .fees-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
    }
}
