/* ===========================
   Dilithion Website Styles
   =========================== */

/* CSS Variables */
:root {
    --primary-color: #6366f1;      /* Indigo */
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;    /* Purple */
    --accent-color: #06b6d4;       /* Cyan */
    --bg-dark: #0f172a;            /* Dark blue-gray */
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-download {
    background: #0a1929;
    color: white;
    border: 1px solid white;
}

.btn-download:hover {
    background: #1e3a8a;
    border-color: white;
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-brand h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-brand .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto 32px;
    display: block;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px auto;
    flex-wrap: wrap;
    max-width: 900px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.trust-badge:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.badge-icon {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.badge-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 4px;
}

/* Countdown */
.countdown-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin: 60px auto 40px;
    max-width: 800px;
}

.countdown-container h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launch-date {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Dashboard Section */
.dashboard {
    padding: 100px 0;
    background: var(--bg-darker);
}

.dashboard-status {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--warning-color);
    animation: pulse 2s infinite;
}

.status-indicator.live {
    background: var(--success-color);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Getting Started Section */
.getting-started {
    padding: 100px 0;
    background: var(--bg-dark);
}

.guide-container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.code-block {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    overflow-x: auto;
}

.code-block code {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.tips-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 32px;
    margin-top: 60px;
}

.tips-box h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tips-box ul {
    list-style: none;
    padding: 0;
}

.tips-box li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.tips-box li:last-child {
    border-bottom: none;
}

.tips-box strong {
    color: var(--text-primary);
}

/* Downloads Section */
.downloads {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: -40px;
    margin-bottom: 60px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.download-card h3 {
    margin-bottom: 8px;
}

.download-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.version {
    display: block;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.build-from-source {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.build-from-source h3 {
    margin-bottom: 16px;
}

.build-from-source p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Specifications Section */
.specifications {
    padding: 100px 0;
    background: var(--bg-dark);
}

.specs-grid {
    max-width: 900px;
    margin: 0 auto;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-primary);
    text-align: right;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 500;
}

.learn-more {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 24px;
}

.faq-answer li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--accent-color);
}

.faq-answer strong {
    color: var(--text-primary);
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    padding: 16px 32px;
    white-space: nowrap;
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.newsletter-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
}

.newsletter-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.newsletter-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
/* Tablet/Medium screens */
@media (max-width: 1024px) {
    /* Testnet cards - 2 columns on tablets */
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Download grid - 2 columns on tablets */
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Fix navbar visibility on mobile */
    .navbar {
        padding: 16px 0;
    }

    .navbar .container {
        padding: 0 16px;
    }

    .nav-brand .logo {
        width: 40px;
        height: 40px;
    }

    .brand-text {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-content {
        padding: 0 10px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0;
        word-wrap: break-word;
        text-align: center;
        width: 100%;
        overflow-wrap: break-word;
        margin-bottom: 20px;
    }

    .gradient-text {
        display: block;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0;
        text-align: center;
        max-width: 100%;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }

    .trust-badges {
        gap: 12px;
        padding: 0 12px;
    }

    .trust-badge {
        padding: 12px 16px;
        gap: 10px;
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
    }

    .badge-icon {
        width: 28px;
        height: 28px;
    }

    .badge-label {
        font-size: 0.7rem;
    }

    .badge-value {
        font-size: 0.85rem;
    }

    .countdown {
        gap: 16px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 88px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 88px);
        background: var(--bg-card);
        flex-direction: column;
        padding: 32px 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color);
        overflow-y: auto;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        display: block;
        transition: all 0.2s ease;
    }

    .nav-links a:hover {
        padding-left: 8px;
        color: var(--primary-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    .guide-step {
        flex-direction: column;
    }

    .spec-row {
        flex-direction: column;
        gap: 8px;
    }

    .spec-value {
        text-align: left;
    }

    /* Newsletter responsive */
    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    /* Download section mobile fixes */
    .download-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Testnet cards - stack on mobile */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .download-card {
        padding: 24px;
    }

    /* Windows dual button - stack vertically on mobile */
    .download-card div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .download-card .btn-download {
        width: 100% !important;
    }

    /* Code blocks in security notice */
    code {
        font-size: 0.75rem;
        word-break: break-all;
        display: inline-block;
    }

    /* Security notice section */
    div[style*="background: linear-gradient"] {
        padding: 16px !important;
    }

    div[style*="background: linear-gradient"] h3 {
        font-size: 1.25rem;
    }

    div[style*="background: linear-gradient"] ol,
    div[style*="background: linear-gradient"] ul {
        margin-left: 16px !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        padding: 0 8px;
        text-align: center;
        width: 100%;
        overflow-wrap: break-word;
    }

    .gradient-text {
        display: block;
        width: 100%;
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
        text-align: center;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .trust-badge {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .countdown-value {
        font-size: 1.75rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        padding: 0 8px;
    }

    .download-card {
        padding: 20px;
    }

    .download-card h3 {
        font-size: 1.35rem;
    }

    .download-card p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    code {
        font-size: 0.7rem;
    }

    /* Smaller security notice on tiny screens */
    div[style*="background: linear-gradient"] {
        padding: 12px !important;
    }

    div[style*="background: linear-gradient"] h3 {
        font-size: 1.1rem;
    }

    div[style*="background: linear-gradient"] p,
    div[style*="background: linear-gradient"] li {
        font-size: 0.85rem;
    }
}

/* Warning Badge for Experimental Status */
.warning-badge {
    display: inline-block;
    background: #1e3a8a;
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 20px;
    text-align: center;
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

/* Testnet Banner Pulse Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

/* Legal Disclaimers in Footer */
.legal-disclaimers {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-disclaimers p {
    margin-bottom: 15px;
}

.legal-disclaimers strong {
    color: var(--text-color);
    font-weight: 600;
}

.legal-disclaimers a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-disclaimers a:hover {
    color: var(--secondary-color);
}

/* SVG Icon Styling */
.feature-icon-svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary-color);
    margin-bottom: 16px;
}

.platform-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
    margin-bottom: 16px;
}

.inline-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    stroke: currentColor;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.mobile-menu-btn .close-icon {
    display: none;
}
