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

:root {
    --primary-color: #ff8a00;
    --primary-dark: #ff6a00;
    --accent-green: #ffb000;
    --secondary-color: #16213e;
    --background-dark: #0f1419;
    --background-darker: #0a0e13;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c4;
    --card-bg: #1a1a2e;
    --card-hover: #252540;
    --border-color: #2a2a3e;
    --gradient-start: #ff9f1a;
    --gradient-end: #ff5a1f;
    --shadow: 0 10px 40px rgba(255, 138, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(255, 138, 0, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Buttons (shared utility) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(255, 138, 0, 0.25);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 138, 0, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.btn-large {
    padding: 0.95rem 1.4rem;
    font-size: 1.05rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 50px;
    height: 50px;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

.nav-links a.active {
    color: var(--text-primary);
}

.btn-nav {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-green);
    color: var(--background-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-darker) 0%, var(--background-dark) 100%);
    position: relative;
    overflow: hidden;
}

.bitcoin-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.11) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.store-badge-btn {
    /* Store badges should NOT inherit the orange .btn-primary pill styling */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    min-height: unset;
}

.store-badge-btn:hover {
    transform: none;
    box-shadow: none;
}

.store-badge-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 4px;
    border-radius: 12px;
}

.store-badge-btn .app-store-badge,
.store-badge-btn .play-store-badge {
    width: min(340px, 92vw);
    height: 78px;
    max-width: 100%;
}

.store-badge-btn .play-store-badge {
    /* Google's official badge has extra whitespace */
    transform: scale(1.0);
    transform-origin: center;
}

.app-store-badge,
.play-store-badge {
    height: 62px;
    width: min(220px, 92vw);
    object-fit: contain;
    display: block;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 340px;
    height: 680px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 42px;
    object-fit: cover;
    box-shadow:
        0 0 0 1px rgba(255, 138, 0, 0.25),
        0 0 30px rgba(255, 138, 0, 0.35),
        0 0 70px rgba(255, 138, 0, 0.18);
}

/* Content page layout (solo-mining-hardware.html) */
.content-hero {
    padding-bottom: 70px;
}

.content-hero-inner {
    max-width: 900px;
}

.content-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.content-note {
    margin-top: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.content-section {
    padding: 90px 0;
    background: var(--background-dark);
}

.content-section-alt {
    background: var(--background-darker);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.content-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    background: var(--card-hover);
}

.content-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.content-card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-prose {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1.05rem;
}

.content-prose h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.content-prose a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.content-prose a:hover {
    text-decoration: underline;
}

.content-faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-dark);
}

.integrations {
    padding: 90px 0;
    background: var(--background-darker);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.integration-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    background: var(--card-hover);
}

.integration-media {
    margin: 1.2rem 1.2rem 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 138, 0, 0.25),
        0 0 30px rgba(255, 138, 0, 0.35),
        0 0 70px rgba(255, 138, 0, 0.18);
}

.integration-img {
    width: 100%;
    height: auto;
    display: block;
}

.integration-list {
    list-style: none;
    padding: 1.1rem 1.35rem 1.4rem;
    display: grid;
    gap: 0.75rem;
}

.integration-list li {
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    padding-left: 1.35rem;
}

.integration-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: 800;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    background: var(--card-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Miners Section */
.miners {
    padding: 100px 0;
    background: var(--background-darker);
}

.miners-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.miners-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.miners-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.miner-item {
    padding: 0.75rem;
    background: var(--background-dark);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.miner-item:hover {
    background: var(--card-hover);
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--background-dark);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.screenshot-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.screenshot-caption {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Download CTA Section */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-darker) 0%, var(--background-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.11) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-large .app-store-badge,
.btn-large .play-store-badge {
    height: 74px;
    width: min(260px, 92vw);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-feature {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--background-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .content-section {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-badge,
    .play-store-badge {
        height: 56px;
        width: min(220px, 92vw);
    }

    .store-badge-btn {
        min-height: 86px;
    }

    .store-badge-btn .app-store-badge,
    .store-badge-btn .play-store-badge {
        width: min(320px, 92vw);
        height: 72px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .features,
    .miners,
    .screenshots,
    .download-cta {
        padding: 60px 0;
    }

    .integrations {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockup {
        width: 300px;
        height: 600px;
        border-radius: 0;
        padding: 0;
    }

    .phone-screen {
        border-radius: 38px;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.miners-category,
.screenshot-item,
.integration-card {
    animation: fadeInUp 0.6s ease-out;
}

