:root {
    --bg-primary: #2a2520;
    --bg-secondary: #15110d;
    --bg-card: #352d24;
    --accent-orange: #d97334;
    --accent-orange-deep: #a8531f;
    --accent-brass: #b89968;
    --text-primary: #f0e8da;
    --text-secondary: #9c9285;
    --border-color: rgba(240, 232, 218, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(21, 17, 13, 0.5) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.scrolled::before {
    opacity: 1;
}

.bg-gradient {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(217, 115, 52, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 83, 31, 0.10) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(5deg); }
}

.content {
    position: relative;
    z-index: 2;
}

/* Header */
header {
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(42, 37, 32, 0.85);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: 48px;
    display: block;
    border-radius: 10px;
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1.55rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-orange);
}

.shop-button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
    padding: 0.5rem 1.1rem;
    background: var(--accent-orange);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(217, 115, 52, 0.25);
}

.shop-button::-webkit-details-marker {
    display: none;
}

.shop-button::marker {
    content: "";
}

.shop-button:hover {
    background: var(--accent-orange-deep);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217, 115, 52, 0.4);
}

/* Store dropdown menu */
.store-menu {
    position: relative;
}

.store-menu .caret {
    display: inline-block;
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.store-menu[open] .caret {
    transform: rotate(180deg);
}

.store-menu-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    z-index: 200;
    animation: fadeIn 0.15s ease;
}

.store-menu-panel a {
    display: block;
    padding: 0.9rem 1.15rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}

.store-menu-panel a:last-child {
    border-bottom: none;
}

.store-menu-panel a:hover {
    background: rgba(217, 115, 52, 0.12);
    color: var(--text-primary);
}

.store-menu-disabled {
    display: block;
    padding: 0.9rem 1.15rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    opacity: 0.45;
    cursor: not-allowed;
}

.store-menu-panel .store-menu-disabled:last-child {
    border-bottom: none;
}

.store-menu-panel strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.store-menu-title-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.store-menu-title-row strong {
    display: inline;
    margin-bottom: 0;
}

.store-menu-badge {
    background: var(--accent-orange);
    color: var(--text-primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

.store-menu-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Page sections */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero: full-bleed lifestyle image with text overlay at bottom */
.hero {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(21, 17, 13, 0.4) 0%,
        rgba(21, 17, 13, 0.78) 35%,
        rgba(21, 17, 13, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 5rem 5% 4rem;
    text-align: center;
    width: 100%;
}

.hero h1,
.hero p {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.switching-word {
    color: var(--accent-orange);
    font-weight: 700;
    transition: opacity 0.5s ease;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(217, 115, 52, 0.25);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 115, 52, 0.4);
}

/* Product showcase: rotating product photos as a section below the hero */
.product-showcase {
    padding: 5rem 5% 0;
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero Image / Photo Slot (now inside .product-showcase) */
.hero-image {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 21, 32, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(217, 115, 52, 0.08) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-image-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-image-content img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    border-radius: 16px;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.hero-photo {
    opacity: 0;
}

.hero-photo.active {
    opacity: 1;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

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

/* Bitcoin Education */
.bitcoin-edu {
    padding: 6rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.edu-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.edu-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.edu-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight {
    color: var(--accent-orange);
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

a.highlight {
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
    transition: border-bottom-style 0.2s;
}

a.highlight:hover {
    border-bottom-style: solid;
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-tagline {
    font-style: italic;
    color: var(--accent-orange);
    font-size: 1.25rem;
    margin-top: 2rem;
}

.about-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.bitcoin-icon {
    font-size: 10rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Products */
.products {
    padding: 6rem 5%;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.setup-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
}

.setup-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.setup-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--accent-brass);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.setup-step-label {
    font-weight: 500;
}

.setup-link {
    text-align: center;
    margin: 0 auto 3rem;
    font-size: 0.95rem;
}

.setup-link a {
    color: var(--accent-orange);
    text-decoration: none;
}

.setup-link a:hover {
    text-decoration: underline;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
}

.product-image {
    background: linear-gradient(135deg, #2a2520 0%, #3d3225 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-specs {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--accent-brass);
    font-weight: 600;
}

.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: auto;
}

.buy-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.buy-button {
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
}

.buy-button.primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(217, 115, 52, 0.25);
    cursor: pointer;
}

.buy-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 115, 52, 0.4);
}

.buy-button.disabled {
    background: transparent;
    border-color: rgba(240, 232, 218, 0.15);
    color: rgba(240, 232, 218, 0.4);
    cursor: not-allowed;
}

.buy-button.disabled em {
    font-style: normal;
    font-size: 0.85em;
    opacity: 0.85;
}

.buy-button .ribbon {
    position: absolute;
    top: 14px;
    right: -36px;
    width: 130px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 4px 0;
    transform: rotate(45deg);
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Contact */
.contact-section {
    padding: 6rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.contact-card h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(249, 115, 22, 0.05);
    border-left: 3px solid var(--accent-orange);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-item strong {
    color: var(--accent-orange);
    min-width: 130px;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-orange);
}

/* Footer */
footer {
    margin-top: 8rem;
    padding: 3rem 5%;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-divider {
    color: var(--text-secondary);
    opacity: 0.4;
    user-select: none;
}

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

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

.footer-content {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }

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

    .hero-content {
        padding: 4rem 5% 3rem;
    }

    .hero-image {
        min-height: 350px;
    }

    nav {
        gap: 1.25rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .contact-item strong {
        min-width: auto;
    }
}
