:root {
    --bg: #050506;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.4);
    --accent: #ff4500;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gold-pos: 50%;
}

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

html {
    background-color: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

#hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3.5vw, 32px);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    width: 100%;
    position: relative;
}

/* Subtle Grain Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.02;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3BaseFilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animated Background Atmosphere */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.07;
}

.glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #ff4500 0%, transparent 75%);
    top: -15%;
    right: -10%;
    animation: float 25s infinite alternate;
}

.glow-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #007aff 0%, transparent 75%);
    bottom: -20%;
    left: -15%;
    animation: float 30s infinite alternate-reverse;
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-80px, 40px);
    }
}

/* Interactive Mouse Glow */
#interactive-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999;
}

/* The Capsule (Container) */
#parallax-card {
    perspective: 2500px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 1000px;
    width: 90%;
    padding: clamp(3.25rem, 6vw, 7rem) clamp(1.25rem, 4.5vw, 4rem);
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: clamp(28px, 5.5vw, 56px);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.4s ease-out;
    transform-style: preserve-3d;
}

/* Header Styling */
h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(4.5rem, 18vw, 7rem);
    font-weight: 500;
    margin-bottom: 2.2rem;
    background: linear-gradient(
        110deg,
        rgba(255,255,255,0.45) 0%,
        #ffffff 38%,
        #ffffff 52%,
        rgba(255,255,255,0.45) 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    transform: translateZ(50px);
    animation: title-shimmer 5s ease-in-out infinite;
    animation-delay: -1.8s;
}

@keyframes title-shimmer {
    0%   { background-position: 100% 50%; }
    40%  { background-position:   0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Slogan Styling - Literata */
.slogan {
    font-family: 'Literata', serif;
    font-size: clamp(1.2rem, 3.5vw, 1.45rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: clamp(2.75rem, 6vw, 5.5rem);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    transform: translateZ(20px);
    letter-spacing: 0.02em;
}

.slogan span {
    display: block;
}

/* Gap between line 1 and 2 */
.slogan span:first-child {
    margin-bottom: 1.2rem;
}

/* The Gold Interactive Line */
.gold-line {
    display: block;
    margin-top: 1.5rem;
    font-size: clamp(1.5rem, 4.5vw, 2rem);
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(90deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
    background-size: 200% 100%;
    background-position: var(--gold-pos) 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.15s ease-out;
    overflow-wrap: anywhere;
}

/* Journal-y font options for the gold line */
.gold-font-1 {
    font-family: 'Literata', serif;
}
.gold-font-2 {
    font-family: 'EB Garamond', serif;
    letter-spacing: 0.01em;
}
.gold-font-3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.gold-font-4 {
    font-family: 'Caveat', cursive;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* CTA Group */
.cta-container {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    transform: translateZ(40px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background: var(--text-primary);
    color: var(--bg);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

/* Scroll Teaser Badges */
.scroll-teaser {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.teaser-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass-bg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Bento Manifesto */
.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 2.5rem);
    margin-top: clamp(2rem, 5vw, 4rem);
}

.bento-item {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: clamp(20px, 3vw, 32px);
    padding: clamp(1.5rem, 3.5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    overflow: hidden;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.bento-item.wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.bento-text {
    flex: 1;
    min-width: 0;
}

.bento-image {
    flex: 1.2;
    min-width: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.bento-item:hover .bento-image {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.bento-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

.bento-item h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    margin-bottom: clamp(0.5rem, 1.5vw, 1.5rem);
}

.bento-item p {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

.bento-item blockquote {
    font-family: 'EB Garamond', serif;
    font-style: normal;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-primary);
    border-left: 1px solid var(--accent);
    padding-left: 1.5rem;
    margin-top: clamp(0.75rem, 2vw, 1.5rem);
}

/* Footer */
.footer {
    margin-top: clamp(2.5rem, 6vw, 5rem);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.18em;
    transform: translateZ(10px);
}

/* Tight height / split view handling */
@media (max-height: 740px) {
    .container {
        padding: clamp(2.5rem, 5vh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
    }
    h1 {
        margin-bottom: 1.5rem;
    }
    .slogan {
        margin-bottom: 2.25rem;
    }
    .footer {
        margin-top: 2.25rem;
    }
}

@media (max-width: 420px) {
    .container {
        width: 100%;
    }
    .footer {
        letter-spacing: 0.12em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .container {
        transition: none;
    }
    .glow-1,
    .glow-2 {
        animation: none;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .container {
        transition: none;
        transform: none !important;
    }
    .reveal {
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    animation-delay: 0.1s;
}
.slogan {
    animation-delay: 0.3s;
}
.cta-container {
    animation-delay: 0.5s;
}

/* intentionally blank — clamp() handles these now */

/* Roadmap / Feedback Lists */
.roadmap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    line-height: 1.8;
}

.roadmap-list li {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding-left: 1rem;
    position: relative;
}

.roadmap-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
}

/* Bottom Download CTA */
.download-section {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 8vw, 6rem) 2rem;
}

.download-section h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.download-section p {
    font-family: 'Literata', serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-large {
    padding: 1.1rem 3rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 52%, #b38728 100%);
    color: #0a0a0a;
    font-weight: 600;
    border: none;
    box-shadow: 0 0 35px rgba(191,149,63,0.35), 0 6px 24px rgba(0,0,0,0.45);
    animation: btn-pulse 3.5s ease-in-out infinite;
}

.btn-large:hover {
    background: linear-gradient(135deg, #d4af37 0%, #fffde0 52%, #c8a227 100%);
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(191,149,63,0.6), 0 10px 34px rgba(0,0,0,0.5);
}

@keyframes btn-pulse {
    0%,100% { box-shadow: 0 0 35px rgba(191,149,63,0.35), 0 6px 24px rgba(0,0,0,0.45); }
    50%      { box-shadow: 0 0 55px rgba(191,149,63,0.55), 0 6px 24px rgba(0,0,0,0.45); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-6px);}
    60% {transform: translateX(-50%) translateY(-3px);}
}

/* Manifesto Section */
.manifesto-section {
    max-width: 1100px;
    margin: clamp(4rem, 8vw, 8rem) auto 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    text-align: left;
}

.manifesto-section h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-align: center;
}

.manifesto-point {
    margin-bottom: 6rem;
}

.manifesto-point h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.manifesto-point p {
    font-family: 'Literata', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

.manifesto-point blockquote {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--accent);
    font-family: 'Literata', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Alpha/Roadmap Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 4rem;
}

.glass-card h4 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.glass-card ul {
    list-style: none;
}

.glass-card li {
    font-family: 'Literata', serif;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.75rem;
    line-height: 1.5;
}

.glass-card li::before {
    content: "•";
    color: var(--accent);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* ─── Tablet (≤ 900px) ─────────────────────────────────── */
@media (max-width: 900px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.wide {
        grid-column: span 1;
        flex-direction: column;
    }
    .bento-image {
        transform: none !important;
        width: 100%;
    }
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .download-section {
        padding: 4rem 2rem;
    }
}

/* ─── Mobile (≤ 600px) ─────────────────────────────────── */
@media (max-width: 600px) {
    #hero {
        padding: 1rem;
        padding-bottom: 5rem;
    }
    .container {
        width: 100%;
        border-radius: 24px;
    }
    .scroll-indicator {
        font-size: 0.75rem;
    }
    .roadmap-list li {
        font-size: 0.88rem;
    }
    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
}

/* ─── Small mobile (≤ 420px) ───────────────────────────── */
@media (max-width: 420px) {
    .bento-item {
        border-radius: 18px;
    }
    .footer {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }
}

/* ─── Background Grid ──────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ─── Bento Card Spotlight ─────────────────────────────── */
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        700px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255,255,255,0.055),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.bento-item:hover::before {
    opacity: 1;
}

/* Gradient border glow on hover */
.bento-item::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.18) 0%,
        transparent 50%,
        rgba(255,69,0,0.12) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.bento-item:hover::after {
    opacity: 1;
}

/* keep child content above the ::before spotlight */
.bento-item > * {
    position: relative;
    z-index: 1;
}

/* ─── Staggered Bento Reveals ──────────────────────────── */
.manifesto-grid .bento-item:nth-child(1) { transition-delay: 0.05s; }
.manifesto-grid .bento-item:nth-child(2) { transition-delay: 0.15s; }
.manifesto-grid .bento-item:nth-child(3) { transition-delay: 0.25s; }
.manifesto-grid .bento-item:nth-child(4) { transition-delay: 0.10s; }
.manifesto-grid .bento-item:nth-child(5) { transition-delay: 0.20s; }
.manifesto-grid .bento-item:nth-child(6) { transition-delay: 0.30s; }

/* ─── Download section heading glow ───────────────────── */
.download-section h2 {
    text-shadow: 0 0 80px rgba(255,255,255,0.08);
}

/* ─── Gold line ambient glow ───────────────────────────── */
.gold-line {
    filter: drop-shadow(0 0 18px rgba(191,149,63,0.28));
}

/* ─── Site Footer ──────────────────────────────────────── */
.site-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem 2rem 3rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}
