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

/* News Ticker Styles */
.news-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.news-ticker.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.ticker-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: tickerScroll 120s linear infinite;
}


.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ticker-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ticker-icon {
    margin-right: 8px;
    font-size: 16px;
    animation: pulse 2s ease-in-out infinite;
}

.ticker-text {
    flex-shrink: 0;
}


/* Ticker animations */
@keyframes tickerScroll {
    0% {
        transform: translateX(50vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

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

/* Adjust body padding to account for fixed ticker */
body {
    padding-top: 50px;
}

/* Mobile responsive ticker */
@media (max-width: 768px) {
    .news-ticker {
        height: 40px;
    }
    
    body {
        padding-top: 40px;
    }
    
    .ticker-item {
        font-size: 12px;
        padding: 0 30px;
    }
    
    .ticker-icon {
        font-size: 14px;
        margin-right: 6px;
    }
    
}

/* Ticker Control Button */
.ticker-control {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.ticker-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.ticker-control:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 0.25);
}

.control-icon {
    color: white;
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1002;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-text p {
    margin: 0;
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

.privacy-link {
    color: var(--accent-blue);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.cookie-accept {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.cookie-accept:hover {
    background: #0056CC;
    border-color: #0056CC;
}

.cookie-decline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
}

/* Font fallback to prevent layout shifts during font loading */

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-blue: #007AFF;
    --accent-red: #FF3B30;
    --gray-light: #F2F2F7;
    --gray-medium: #8E8E93;
    --gray-dark: #1C1C1E;
    --danger-high: #FF3B30;
    --danger-medium: #FF9500;
    --danger-low: #30D158;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 8px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1C1C1E 100%);
    color: var(--primary-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Link Styles */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #0056CC;
    text-decoration: underline;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: visible;
    padding: 0 20px;
}

.quantum-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--accent-blue) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, var(--accent-red) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: float 20s ease-in-out infinite;
    opacity: 0.3;
    pointer-events: none; /* Allow clicks to pass through to elements below */
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-10px, -10px) rotate(1deg); }
    66% { transform: translate(10px, -5px) rotate(-1deg); }
}

.main-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-white);
}

.gradient-text {
    color: var(--primary-white);
}

.q-day {
    color: var(--primary-white);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.question {
    color: var(--primary-white);
    display: inline;
    vertical-align: baseline;
}

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

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--gray-medium);
    margin-bottom: 60px;
    max-width: 600px;
}

/* CTA Button */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, var(--accent-blue), #0056CC);
    border: none;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-white);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 50px rgba(0, 122, 255, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.btn-glow {
    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;
}

.cta-button:hover .btn-glow {
    left: 100%;
}

/* Answer Section */
.answer-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.answer-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none;
}

.answer-card {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.answer-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.answer-title.negative {
    color: var(--primary-white);
}

.answer-title.positive {
    color: var(--primary-white);
}

.answer-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray-medium);
    margin-bottom: 60px;
}

/* Countdown Sections */
.countdown-sections {
    margin-bottom: 60px;
}

.encryption-category {
    margin-bottom: 50px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-white);
    flex-wrap: wrap;
}

.category-icon {
    font-size: 2rem;
}

.category-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-medium);
    font-style: italic;
    margin-left: auto;
}

.crypto-section .category-title {
    color: var(--primary-white);
}

.crypto-section .category-icon {
    color: var(--primary-white);
}

/* Countdown Grid */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.countdown-card.urgent-red::before {
    background: #FF3B30;
    opacity: 1;
}

.countdown-card.urgent-yellow::before {
    background: #FFD60A;
    opacity: 1;
}

.countdown-card.safe-green::before {
    background: #30D158;
    opacity: 1;
}


@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px currentColor;
        opacity: 1;
    }
    50% { 
        box-shadow: 0 0 20px currentColor;
        opacity: 0.7;
    }
}

.countdown-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.08);
}

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

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

.card-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-white);
}

.danger-level {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: breathe 2s ease-in-out infinite;
}


.affected-services {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.affected-services small {
    color: var(--gray-medium);
    font-size: 0.8rem;
    line-height: 1.4;
}

.crypto-warning {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(255, 149, 0, 0.05));
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 30px;
    position: relative;
}

.crypto-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--danger-high), #FF9500);
}

.crypto-warning h4 {
    color: var(--primary-white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.crypto-warning p {
    color: var(--gray-light);
    margin: 0;
    line-height: 1.6;
}

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

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotateZ(-1deg); }
    50% { transform: translateX(5px) rotateZ(1deg); }
    75% { transform: translateX(-3px) rotateZ(-0.5deg); }
    100% { transform: translateX(3px) rotateZ(0.5deg); }
}

.countdown .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 5px;
}

.countdown .label {
    font-size: 1rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.encryption-desc {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.date-range {
    margin-top: 10px;
    padding-top: 10px;
}

.latest-date {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-light);
    line-height: 1.2;
}

.latest-date small {
    font-size: 0.8rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.algorithm-name {
    font-size: 0.75rem;
    color: var(--gray-medium);
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.algorithm-info {
    margin-top: 8px;
    text-align: center;
}

.algorithm-info small {
    font-size: 0.75rem;
    color: var(--gray-medium);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.qubit-requirement {
    margin-top: 4px;
    text-align: center;
}

.qubit-requirement small {
    font-size: 0.75rem;
    color: var(--gray-medium);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Solution Providers Section */
.solution-providers-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-providers-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-white);
    text-align: left;
}

.solution-providers-section > p {
    text-align: left;
    color: var(--gray-medium);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.provider-card {
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: var(--shadow-large);
}

.provider-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-icon {
    font-size: 1.5rem;
    margin-right: 12px;
}

.provider-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin: 0;
}

.provider-location {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.location-icon {
    margin-right: 8px;
}

.provider-focus,
.provider-highlights {
    margin-bottom: 20px;
}

.provider-focus strong,
.provider-highlights strong {
    display: block;
    color: var(--primary-white);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.provider-focus ul,
.provider-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.provider-focus li,
.provider-highlights li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: var(--gray-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

.provider-focus li::before,
.provider-highlights li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.provider-reference {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.provider-reference strong {
    color: var(--primary-white);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.provider-reference small {
    color: var(--gray-medium);
}

.provider-reference a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.provider-reference a:hover {
    color: #0056CC;
    text-decoration: underline;
}

/* Responsive adjustments for provider cards */
@media (max-width: 768px) {
    .provider-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .provider-card {
        padding: 20px;
    }
    
    .provider-header h4 {
        font-size: 1.2rem;
    }
}

/* Regulatory Tracker Section */
.regulatory-tracker-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.regulatory-tracker-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-white);
    text-align: left;
}

.regulatory-tracker-section > p {
    text-align: left;
    color: var(--gray-medium);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}


.regulatory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.regulatory-card {
    background: rgba(28, 28, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.regulatory-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: var(--shadow-large);
}

.regulatory-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.country-flag {
    font-size: 2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.country-info {
    flex: 1;
}

.country-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-white);
    margin: 0 0 5px 0;
}

.lead-agencies {
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin: 0;
    font-style: italic;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.status-badge.status-2030 {
    background: rgba(0, 122, 255, 0.3);
    color: white;
    border: 1px solid #007AFF;
}

.status-badge.status-2035 {
    background: rgba(0, 122, 255, 0.3);
    color: white;
    border: 1px solid #007AFF;
}

.status-badge.status-tbd {
    background: rgba(0, 122, 255, 0.3);
    color: white;
    border: 1px solid #007AFF;
}

.timeline-section {
    margin-bottom: 20px;
}

.timeline-section h5 {
    font-size: 0.95rem;
    color: var(--primary-white);
    margin-bottom: 12px;
    font-weight: 600;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 8px 0;
    border-left: 3px solid transparent;
    padding-left: 15px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gray-medium);
}

.timeline-item.completed {
    border-left-color: #30D158;
}

.timeline-item.completed::before {
    background: #30D158;
}

.timeline-item.upcoming {
    border-left-color: var(--accent-blue);
}

.timeline-item.upcoming::before {
    background: var(--accent-blue);
}

.timeline-item.critical {
    border-left-color: #FF3B30;
}

.timeline-item.critical::before {
    background: #FF3B30;
}

.timeline-item.tbd {
    border-left-color: #FFD60A;
}

.timeline-item.tbd::before {
    background: #FFD60A;
}

.timeline-item .date {
    font-weight: 600;
    color: var(--primary-white);
    min-width: 70px;
    font-size: 0.85rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.timeline-item .milestone {
    color: var(--gray-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.requirements-section {
    margin-bottom: 20px;
}

.requirements-section h5 {
    font-size: 0.95rem;
    color: var(--primary-white);
    margin-bottom: 10px;
    font-weight: 600;
}

.requirements-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-section li {
    padding: 3px 0 3px 15px;
    position: relative;
    color: var(--gray-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.requirements-section li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.reference-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 6px;
    background: rgba(0, 122, 255, 0.1);
}

.reference-link:hover {
    color: #0056CC;
    border-color: rgba(0, 122, 255, 0.5);
    background: rgba(0, 122, 255, 0.15);
    transform: translateY(-1px);
}

/* Responsive adjustments for regulatory cards */
@media (max-width: 768px) {
    .regulatory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .regulatory-card {
        padding: 20px;
    }
    
    .country-flag {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .country-info h4 {
        font-size: 1.2rem;
    }
    
    .regulatory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .regulatory-header .status-badge {
        align-self: flex-end;
    }
}

/* Algorithm Links and Tooltips */
.algorithm-link {
    color: var(--accent-blue);
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.algorithm-link:hover {
    color: #0056CC;
}

/* Tooltip Styles */
.algorithm-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.95);
    color: var(--primary-white);
    padding: 16px;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.2);
    z-index: 1000;
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.algorithm-tooltip.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Arrow for tooltips above the element */
.algorithm-tooltip.tooltip-above::before {
    content: '';
    position: absolute;
    top: -8px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--accent-blue);
}

.algorithm-tooltip.tooltip-above::after {
    content: '';
    position: absolute;
    top: -7px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(0, 0, 0, 0.95);
}

/* Arrow for tooltips below the element */
.algorithm-tooltip.tooltip-below::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-blue);
}

.algorithm-tooltip.tooltip-below::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid rgba(0, 0, 0, 0.95);
}

/* Mobile-specific tooltip styles */
@media (max-width: 768px) {
    .algorithm-tooltip {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 9999;
        backdrop-filter: blur(10px);
    }
    
    .algorithm-tooltip::before,
    .algorithm-tooltip::after {
        display: none;
    }
    
    .algorithm-tooltip.show {
        transform: translate(-50%, -50%);
    }
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    margin-top: 40px;
}

.info-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-white);
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 25px;
}

.timeline-note {
    background: rgba(0, 122, 255, 0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.timeline-note strong {
    color: var(--primary-white);
    display: block;
    margin-bottom: 15px;
    font-size: 1rem;
}

.timeline-note ul {
    list-style: none;
    padding-left: 0;
}

.timeline-note li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: var(--gray-light);
}

.timeline-note li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gray-medium);
    font-weight: bold;
}

/* Prepared Section */
.prepared-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    margin-top: 40px;
}

.prepared-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-white);
}

.prepared-section > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-light);
    text-align: left;
    margin-bottom: 35px;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

.company-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.company-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.company-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.company-header h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-white);
    margin: 0;
}

.implementation-status {
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(48, 209, 88, 0.15);
    color: #30D158;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(48, 209, 88, 0.3);
}

.implementation-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.usage-info {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.usage-info strong {
    display: block;
    color: var(--primary-white);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.usage-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.usage-info li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: var(--gray-light);
    font-size: 0.95rem;
}

.usage-info li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.reference {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.reference strong {
    display: block;
    color: var(--primary-white);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.reference small {
    color: var(--gray-medium);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Meme Section */
.meme-section {
    padding: 80px 0;
    text-align: center;
}

.meme-section h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-white);
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.meme-card {
    background: var(--primary-white);
    color: var(--primary-black);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.meme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.meme-text-top, .meme-text-bottom {
    font-size: 1rem;
    font-weight: 600;
    margin: 15px 0;
}

.meme-image {
    font-size: 3rem;
    margin: 20px 0;
}

.share-btn {
    background: var(--accent-blue);
    color: var(--primary-white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
}

.share-btn:hover {
    background: #0056CC;
    transform: translateY(-1px);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    color: var(--gray-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

.contact {
    font-size: 0.95rem;
    margin-top: 15px;
}

.contact-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #0056CC;
    border-bottom-color: #0056CC;
}

/* Responsive Design */
@media (min-width: 768px) {
    .company-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .company-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .prepared-section {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .answer-card {
        padding: 40px 20px;
    }
    
    .countdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .category-subtitle {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .meme-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        padding: 30px 20px;
    }
    
    .prepared-section {
        padding: 30px 20px;
    }
    
    .company-card {
        padding: 20px;
    }
    
    .company-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
    }
    
    .company-icon {
        align-self: center;
    }
    
    .crypto-warning {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .countdown .number {
        font-size: 2.5rem;
    }
}

/* Company Involvement Section Styling */
.company-involvement-section {
    margin-bottom: 20px;
}
.company-involvement-section h5 {
    font-size: 0.95rem;
    color: var(--primary-white);
    margin-bottom: 10px;
    font-weight: 600;
}
.company-involvement-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.company-involvement-section li {
    padding: 3px 0 3px 15px;
    position: relative;
    color: var(--gray-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 5px;
}
.company-involvement-section li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.company-involvement-section strong {
    color: var(--primary-white);
}
.company-involvement-section a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}
.company-involvement-section a:hover {
    color: #0056CC;
    text-decoration: underline;
}