/* ==========================================================================
   log-store style — minimalist, technical, dark
   Permission granted. I have permission to copy this aesthetic.
   ========================================================================== */

:root {
    --bg: #030405; /* Deep Obsidian */
    --bg-secondary: rgba(22, 27, 34, 0.7); /* Translucent for Glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.1);
    --border: #1f242d;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --accent: #d4af37; /* Executive Gold */
    --accent-glow: rgba(212, 175, 55, 0.3);
    --accent-green: #10b981; /* Emerald/Money Green */
    --font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;
    --grad-main: linear-gradient(135deg, #030405 0%, #0d1117 100%);
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

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

body {
    background: var(--bg);
    background-image: var(--grad-main);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(3, 4, 5, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.05em;
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transform: scale(1.02);
}

.logo-img { 
    width: 32px; 
    height: 32px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 0.95rem;
}

.nav a:hover { 
    color: var(--accent);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

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

.hero-image {
    margin-bottom: 3.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(3, 4, 5, 0.6) 0%, transparent 50%);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    padding: 3rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    padding: 3rem 2rem;
    text-align: center;
}

.cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg) !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.cta:hover {
    background: transparent;
    color: var(--accent) !important;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-3px);
}

/* Products — log-store style */
.products {
    padding: 6rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.products h2 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.product-card {
    position: relative;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--bg-secondary);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.product-card:hover img {
    opacity: 1;
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.buy-btn {
    display: block;
    padding: 0.8rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text) !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: var(--accent);
    color: var(--bg) !important;
    border-color: var(--accent);
}

/* Features */
.features {
    padding: 6rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

.feature {
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Pay section */
.pay-section {
    padding: 3rem 2rem;
    max-width: 720px;
    margin: 0 auto;
}

.pay-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.pay-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.crypto-addresses { margin-top: 1rem; }

.loading { color: var(--text-muted); }

.error { color: #f85149; margin-top: 1rem; }

.address-list { display: flex; flex-direction: column; gap: 2rem; }

.address-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-secondary);
}

.address-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.address-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.qr-container {
    flex-shrink: 0;
}

.qr-container canvas, .qr-container img {
    display: block;
    border-radius: 4px;
}

.address-details { flex: 1; min-width: 200px; }

.address-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    word-break: break-all;
    background: rgba(0,0,0,0.2);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.copy-btn {
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--border);
    border: none;
    color: var(--text);
    border-radius: 4px;
    cursor: pointer;
}

.copy-btn:hover { background: var(--accent); color: var(--bg); }

.address-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}


/* Footer */
.site-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer .disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}
