/* ════════════════════════════════════════════════════════════════
   Poemir — Website Stylesheet
   Dark + Gold. No purple. Premium editorial aesthetic.
   ════════════════════════════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
    --black:       #050505;
    --bg:          #0a0a0a;
    --surface:     #111110;
    --surface-2:   #1a1810;
    --border:      #2a2518;
    --chrome:      #6b6150;
    --text:        #e0d6c8;
    --text-muted:  #9c8e7c;
    --gold:        #d4a55a;
    --gold-bright: #e8c278;
    --gold-dim:    #a07d3a;
    --gold-glow:   rgba(212, 165, 90, 0.12);

    --font-serif:  'Cormorant Garamond', 'Georgia', serif;
    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container:   1080px;
    --gutter:      clamp(1.5rem, 5vw, 4rem);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }

/* ─── Utilities ─── */
.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ════════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════════ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(212, 165, 90, 0.08);
    transition: background 0.3s;
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}
.nav-wordmark {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: lowercase;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
#hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5rem var(--gutter) 3rem;
    gap: clamp(2rem, 6vw, 5rem);
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glow-pulse 6s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
    0%   { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}
.hero-content {
    max-width: 520px;
    z-index: 2;
}
.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fade-up 0.8s 0.2s ease forwards;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fade-up 0.8s 0.4s ease forwards;
}
.hero-accent {
    color: var(--gold);
    font-style: italic;
}
.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-up 0.8s 0.6s ease forwards;
}
.hero-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fade-up 0.8s 0.8s ease forwards;
}
.badge-link { display: inline-block; transition: transform 0.2s; }
.badge-link:hover { transform: scale(1.05); }
.app-store-badge { width: 140px; height: auto; }
.hero-platform-note {
    font-size: 0.8rem;
    color: var(--chrome);
    letter-spacing: 0.04em;
}
.hero-image {
    max-width: 400px;
    z-index: 2;
    opacity: 0;
    animation: fade-up 1s 0.5s ease forwards;
}
.hero-image img {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s ease;
}
.hero-image:hover img { transform: translateY(-8px) scale(1.02); }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════════
   PHILOSOPHY
   ════════════════════════════════════════════════════════════════ */
#philosophy {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.philosophy-quote {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}
.quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--gold-dim);
    line-height: 1;
    display: block;
    opacity: 0.4;
}
.quote-mark.closing {
    text-align: right;
    margin-top: -1rem;
}
.philosophy-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    line-height: 1.4;
}
.philosophy-body {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════════ */
#features {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    text-align: center;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(212, 165, 90, 0.06);
}
.feature-icon {
    width: 36px;
    height: 36px;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════
   WORD BANKS
   ════════════════════════════════════════════════════════════════ */
#banks {
    padding: 5rem 0;
    position: relative;
    border-top: 1px solid var(--border);
    overflow: hidden;
}
.texture-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    pointer-events: none;
}
.texture-bg img { width: 100%; height: 100%; object-fit: cover; }
.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}
.bank-card {
    background: rgba(17, 17, 16, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.bank-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-3px);
}
.bank-symbol {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 6px var(--gold-glow));
}
.bank-card h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.3rem;
    text-transform: lowercase;
}
.bank-card p {
    font-size: 0.82rem;
    color: var(--chrome);
    font-style: italic;
}

/* ════════════════════════════════════════════════════════════════
   THE CRAFT (Stats + Details)
   ════════════════════════════════════════════════════════════════ */
#craft {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.craft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}
.craft-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1.1;
}
.craft-label {
    font-size: 0.82rem;
    color: var(--chrome);
    letter-spacing: 0.05em;
    text-transform: lowercase;
    margin-top: 0.25rem;
}
.craft-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.craft-detail {
    padding: 2rem;
    border-left: 2px solid var(--gold-dim);
}
.craft-detail h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.craft-detail p {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════
   PRIVACY
   ════════════════════════════════════════════════════════════════ */
#privacy-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.privacy-block {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.privacy-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin: 0 auto 1.5rem;
}
.privacy-icon svg { width: 100%; height: 100%; }
.privacy-block h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 1rem;
}
.privacy-text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.privacy-text strong { color: var(--gold); font-weight: 500; }
.privacy-text em { color: var(--text); font-style: italic; }
.privacy-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
#footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.footer-tagline {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--chrome);
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.footer-copy {
    font-size: 0.75rem;
    color: var(--chrome);
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* ════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    .hero-content { max-width: 100%; }
    .hero-badges { justify-content: center; }
    .hero-image { max-width: 280px; margin: 0 auto; }
    .nav-links { display: none; }
    .footer-inner { justify-content: center; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-links { justify-content: center; }
    .craft-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .craft-grid { grid-template-columns: repeat(2, 1fr); }
    .bank-grid { grid-template-columns: repeat(2, 1fr); }
}
