/* ==========================================================================
   ROGUE PIXIE BREWING — LANDING PAGE DESIGN SYSTEM (LIGHT THEME)
   Warm Cream, Amber, & Craft Typography Aesthetic for Craft Brewery
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-light: #faf7f2;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfbfa;
    --bg-input: #f2ebe3;
    
    --amber-primary: #d97706;
    --amber-dark: #b45309;
    --amber-glow: #f59e0b;
    --amber-light: #fef3c7;
    --copper-warm: #c2410c;

    --text-dark: #1f1a17;
    --text-muted: #57534e;
    --text-dim: #78716c;

    --border-amber: rgba(217, 119, 6, 0.35);
    --border-light: #e7e0d6;
    --border-dark: #1f1a17;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(217, 119, 6, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(194, 65, 12, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

::selection {
    background: var(--amber-primary);
    color: #ffffff;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border-amber);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-dark);
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--amber-primary), var(--copper-warm));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(217, 119, 6, 0.3);
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--amber-dark);
    font-style: italic;
    font-weight: 400;
}

.nav-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    background: var(--amber-light);
    color: var(--amber-dark);
    border: 1px solid var(--border-amber);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--amber-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber-primary), var(--copper-warm));
    color: #ffffff;
    border-color: var(--amber-primary);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--amber-dark), var(--copper-warm));
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-dark);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-input);
    border-color: var(--amber-primary);
    color: var(--amber-dark);
}

/* Hero Section */
.hero {
    padding: 9.5rem 0 5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.status-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--amber-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    background: var(--amber-light);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid var(--border-amber);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--amber-dark);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--amber-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title span {
    background: linear-gradient(135deg, var(--amber-dark), var(--copper-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.email-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.85rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.email-input:focus {
    border-color: var(--amber-primary);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Hero Visual Box */
.hero-visual-card {
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(217, 119, 6, 0.08);
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.hero-badge-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.badge-info h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
}

.badge-info p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber-dark);
    font-weight: 700;
}

/* Section Header */
.section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--amber-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.roadmap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.roadmap-card.active {
    border-color: var(--amber-primary);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.12);
}

.roadmap-card.completed {
    border-color: rgba(217, 119, 6, 0.4);
}

.roadmap-step {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-pill {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
}

.status-pill.done {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid rgba(21, 128, 61, 0.3);
}

.status-pill.in-progress {
    background: var(--amber-light);
    color: var(--amber-dark);
    border: 1px solid var(--border-amber);
}

.status-pill.planned {
    background: var(--bg-input);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.roadmap-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.roadmap-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Planned Brews Grid */
.brews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.brew-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.brew-card:hover {
    border-color: var(--amber-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.brew-img-box {
    overflow: hidden;
    position: relative;
    background: var(--bg-input);
    height: 240px;
}

.brew-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brew-card:hover .brew-img {
    transform: scale(1.06);
}

.brew-details {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.brew-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--amber-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    display: block;
}

.brew-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.brew-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.brew-specs {
    display: flex;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.spec-key {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 600;
}

/* Voting Section / Poll */
.voting-container {
    background: #ffffff;
    border: 1px solid var(--border-amber);
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05), 0 0 20px rgba(217, 119, 6, 0.08);
}

.voting-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.option-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.option-card:hover, .option-card.voted {
    border-color: var(--amber-primary);
    background: var(--amber-light);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.option-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-dark);
}

.vote-count {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--amber-dark);
    font-weight: 700;
}

.vote-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.vote-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--amber-primary), var(--copper-warm));
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Founders / Ethos Grid */
.ethos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ethos-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.ethos-quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--amber-dark);
    border-left: 3px solid var(--amber-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2.5rem;
    background: #f5efe8;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.footer-links {
    display: flex;
    gap: 1.8rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--amber-dark);
}

.copyright {
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #ffffff;
    border: 1px solid var(--amber-primary);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .email-form { margin: 0 auto 1.5rem; }
    .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
    .brews-grid { grid-template-columns: 1fr; }
    .ethos-grid { grid-template-columns: 1fr; }
    .voting-options { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-menu { display: none; }
    .roadmap-grid { grid-template-columns: 1fr; }
    .voting-container { padding: 2rem 1.5rem; }
}
