/* ============================================
   My Coffee - Data-Driven Design
   Bold typography, brown theme, metrics aesthetic
   ============================================ */

   :root {
    /* Core brown palette from app */
    --brown: #8D6E63;
    --brown-dark: #5D4037;
    --brown-light: #A1887F;
    --brown-pale: #D7CCC8;
    --brown-wash: rgba(141, 110, 99, 0.08);
    --brown-glow: rgba(141, 110, 99, 0.3);
    
    /* Neutral palette */
    --white: #FFFFFF;
    --off-white: #FAF9F7;
    --gray-50: #F5F5F5;
    --gray-100: #E8E8E8;
    --gray-200: #D1D1D1;
    --gray-400: #9E9E9E;
    --gray-600: #666666;
    --gray-800: #333333;
    --black: #1A1A1A;
    
    /* Typography */
    --font-display: 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
    
    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--off-white);
    overflow-x: hidden;
}

/* ==========================================
   DATA GRID BACKGROUND
   ========================================== */
.data-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--brown-wash) 1px, transparent 1px),
        linear-gradient(90deg, var(--brown-wash) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.7;
}

.floating-metrics {
    position: absolute;
    inset: 0;
}

.metric {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brown);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.m1 { top: 15%; left: 8%; animation-delay: 0s; }
.m2 { top: 25%; right: 12%; animation-delay: -3s; }
.m3 { top: 45%; left: 5%; animation-delay: -6s; }
.m4 { top: 60%; right: 8%; animation-delay: -9s; }
.m5 { top: 75%; left: 15%; animation-delay: -12s; }
.m6 { top: 35%; right: 5%; animation-delay: -15s; }
.m7 { top: 85%; right: 18%; animation-delay: -18s; }
.m8 { top: 10%; left: 20%; animation-delay: -2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    25% { transform: translateY(-20px) rotate(2deg); opacity: 0.2; }
    50% { transform: translateY(-10px) rotate(-1deg); opacity: 0.1; }
    75% { transform: translateY(-30px) rotate(1deg); opacity: 0.18; }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: 1.25rem;
}

.highlight {
    color: var(--brown);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(250, 249, 247, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--black);
}

.logo-mark {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--brown);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--black);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--brown);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--brown-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--gray-200);
}

.btn-ghost:hover {
    border-color: var(--brown);
    color: var(--brown);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.apple-icon {
    width: 18px;
    height: 18px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: var(--brown-wash);
    border: 1px solid var(--brown-pale);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--brown);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero h1 {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.rotating-word {
    color: var(--brown);
    display: inline-block;
    min-width: 280px;
    transition: opacity 0.3s, transform 0.3s;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 420px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats-preview {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.stat-preview {
    text-align: center;
}

.stat-val {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brown);
}

.stat-key {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
}

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

/* ==========================================
   PHONE MOCKUP
   ========================================== */
.hero-phone {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--black);
    border-radius: 44px;
    padding: 10px;
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.1),
        0 20px 60px rgba(0,0,0,0.2),
        0 0 80px var(--brown-glow);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.phone-notch {
    display: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--off-white);
    border-radius: 36px;
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.app-ui {
    padding: 50px 16px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.greeting {
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
}

.user-name {
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
}

.notif-bell {
    font-size: 16px;
    opacity: 0.6;
}

.app-period {
    font-size: 10px;
    color: var(--brown);
    margin-bottom: 16px;
}

.app-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.app-stat {
    text-align: center;
    flex: 1;
}

.stat-icon {
    font-size: 18px;
    color: var(--brown);
    margin-bottom: 2px;
}

.stat-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.stat-num.top-drink {
    font-size: 10px;
}

.app-stat .stat-label {
    font-size: 9px;
    color: var(--gray-600);
}

.app-btn {
    width: 100%;
    padding: 10px;
    background: var(--brown);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.app-reviews {
    flex: 1;
    overflow: hidden;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 11px;
}

.view-all {
    color: var(--brown);
    font-weight: 500;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 10px;
}

.review-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.drink-name {
    font-weight: 600;
    font-size: 11px;
}

.stars {
    color: #E6B17E;
    font-size: 10px;
}

.review-meta {
    font-size: 9px;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.review-note {
    font-size: 9px;
    color: var(--gray-600);
    font-style: italic;
    margin-top: 6px;
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
    margin-left: -16px;
    margin-right: -16px;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
    color: var(--gray-400);
    gap: 2px;
}

.nav-tab.active {
    color: var(--brown);
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 500px;
    margin-bottom: var(--space-2xl);
}

/* ==========================================
   DATA STORY SECTION
   ========================================== */
.data-story {
    padding: var(--space-4xl) 0;
    position: relative;
    z-index: 1;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.data-viz-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.viz-card {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.viz-card.viz-wide {
    grid-column: span 2;
}

.viz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.viz-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.viz-period {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    align-items: center;
    gap: var(--space-md);
}

.bar-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.bar-track {
    height: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brown-light), var(--brown));
    border-radius: var(--radius-sm);
    transition: width 1s ease;
}

.bar-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brown);
    text-align: right;
}

/* Line Chart */
.line-chart {
    position: relative;
    height: 120px;
}

.trend-line {
    width: 100%;
    height: 80px;
}

.trend-label {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
}

.trend-val {
    display: block;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown);
    line-height: 1;
}

.trend-change {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #4CAF50;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: var(--space-md);
}

.cal-day {
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.cal-day.filled {
    background: var(--brown-pale);
}

.cal-day.filled.low {
    background: var(--brown-pale);
}

.cal-day.filled.med {
    background: var(--brown-light);
}

.cal-day.filled.high {
    background: var(--brown);
}

.cal-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.legend-scale {
    display: flex;
    gap: 3px;
}

.leg-box {
    width: 12px;
    height: 12px;
    background: var(--gray-100);
    border-radius: 2px;
}

.leg-box.low { background: var(--brown-pale); }
.leg-box.med { background: var(--brown-light); }
.leg-box.high { background: var(--brown); }

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: var(--space-4xl) 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--brown-pale);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(141, 110, 99, 0.1);
}

.feature-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ==========================================
   DRINK TYPES
   ========================================== */
.drink-types {
    padding: var(--space-4xl) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    position: relative;
    z-index: 1;
}

.drinks-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.drink-pill {
    padding: 12px 24px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.25s ease;
    cursor: default;
}

.drink-pill:hover {
    background: var(--brown);
    color: var(--white);
    border-color: var(--brown);
    transform: scale(1.05);
}

.drink-pill.featured {
    background: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

/* ==========================================
   SHOP OWNERS
   ========================================== */
.shop-owners {
    padding: var(--space-4xl) 0;
    position: relative;
    z-index: 1;
}

.owner-card {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    color: var(--white);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.owner-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.owner-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.owner-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-lg);
}

.owner-link {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.2s;
}

.owner-link:hover {
    border-color: var(--white);
}

/* ==========================================
   FINAL CTA
   ========================================== */
.final-cta {
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin: var(--space-md) 0 var(--space-xl);
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--gray-100);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-page {
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    max-width: 800px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    text-transform: none;
}

.legal-page .last-updated {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--gray-100);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    text-transform: none;
}

.legal-page h3 {
    font-size: 1.1rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-page p {
    margin-bottom: var(--space-md);
    color: var(--gray-600);
}

.legal-page ul, .legal-page ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-page li {
    margin-bottom: var(--space-sm);
    color: var(--gray-600);
}

.legal-page a {
    color: var(--brown);
}

.legal-page a:hover {
    text-decoration: underline;
}

/* ==========================================
   SUPPORT PAGE
   ========================================== */
.support-page {
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.support-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.support-header h1 {
    text-transform: none;
    margin-bottom: var(--space-md);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.support-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--brown-pale);
    transform: translateY(-4px);
}

.support-card h3 {
    margin-bottom: var(--space-md);
}

.support-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.support-link {
    color: var(--brown);
    font-weight: 600;
    text-decoration: none;
}

.support-link:hover {
    text-decoration: underline;
}

.faq-section {
    max-width: 700px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    text-transform: none;
    margin-bottom: var(--space-xl);
}

.faq-item {
    border-bottom: 1px solid var(--gray-100);
    padding: var(--space-lg) 0;
}

.faq-item:first-of-type {
    border-top: 1px solid var(--gray-100);
}

.faq-question {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.faq-answer a {
    color: var(--brown);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats-preview {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .data-viz-showcase {
        grid-template-columns: 1fr;
    }
    
    .viz-card.viz-wide {
        grid-column: span 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--off-white);
        border-bottom: 1px solid var(--gray-100);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats-preview {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .phone-frame {
        width: 260px;
        height: 540px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .rotating-word {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .drinks-cloud {
        justify-content: center;
    }
    
    .drink-pill {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .floating-metrics {
        display: none;
    }
}


/* ==========================================
   For iFrame for Looker report on admin.html page
   ========================================== */



/* Make the embedded report responsive */
.looker-embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;          /* ≈ 4:3 ratio — matches your original 600×443 */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #f8f5f2;          /* light background in case report loads slowly */
    margin: 2rem 0;
}

.looker-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Optional: Style the section */
.community-stats {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.community-stats h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #4a2c1f;              /* coffee brown */
}

.community-stats p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Optional: Hero section basic styling */
.hero_admin {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
}

.hero_admin h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero_admin p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
}