/* ==========================================
   Variables
   ========================================== */
:root {
    --bg: #050505;
    --surface: #0d0d0f;
    --surface-2: #141416;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --orange: #FF9800;
    --orange-dim: rgba(255, 152, 0, 0.08);
    --orange-glow: rgba(255, 152, 0, 0.15);
    --text: #f5f5f7;
    --text-2: #8e8e93;
    --text-3: rgba(255, 255, 255, 0.3);
    --font: 'Lexend', -apple-system, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ==========================================
   Grain Texture Overlay
   ========================================== */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* ==========================================
   Cursor Glow
   ========================================== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
    will-change: left, top;
}

/* ==========================================
   Typography
   ========================================== */
h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-2);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 540px;
}

.gradient-text {
    background: linear-gradient(135deg, #FF9800 0%, #FFD54F 50%, #FF9800 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* ==========================================
   Navbar
   ========================================== */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(13, 13, 15, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 16px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(13, 13, 15, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.15);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 32px;
    width: 32px;
    border-radius: 22%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--text-2);
    font-size: 1rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: #000;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font);
    transition: all 0.2s;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.35);
}

.nav-cta {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
}

/* ==========================================
   Hero
   ========================================== */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 4.5rem 5% 6rem;
    gap: 4rem;
    position: relative;
}

.hero-inner {
    max-width: 600px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: url('assets/pattern.svg');
    background-size: 160px 160px;
    background-repeat: repeat;
    background-position: center top;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
    mask-image: radial-gradient(circle at center top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange-dim);
    border: 1px solid rgba(255, 152, 0, 0.15);
    border-radius: 9999px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-2);
    margin: 0 0 2rem;
    max-width: 480px;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.6rem 1.25rem 0.6rem 1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.store-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-btn svg {
    flex-shrink: 0;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-btn-text .small-text {
    font-size: 0.65rem;
    font-weight: 500;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.store-btn-text .large-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================
   Dashboard Preview
   ========================================== */
#hero-phone-wrapper {
    position: relative;
    z-index: 20;
}

.dashboard-preview {
    position: relative;
    width: 380px;
    height: 650px;
    flex-shrink: 0;
    z-index: 2;
    padding: 19px;
    transform: scale(0.9);
    transform-origin: center right;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/phone-frame.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    pointer-events: none;
}

.dash-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(255, 152, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.dash-inner {
    background: #0d0d0f;
    border-radius: 26px;
    padding: 38px 12px 24px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* App UI Design */
.app-ui {
    font-family: 'Lexend', sans-serif;
    position: relative;
    padding-bottom: 60px; /* space for bottom nav */
}

.app-status {
    position: absolute;
    top: 16px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.app-status-icons {
    display: flex;
    gap: 4px;
}

.app-card {
    background: #1c1c1e;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
}

/* Week Card */
.week-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.card-expand {
    font-size: 9px;
    font-weight: 700;
    color: #888;
    background: #2c2c2e;
    padding: 4px 8px;
    border-radius: 12px;
    letter-spacing: 1px;
}

.week-days {
    display: flex;
    justify-content: space-between;
}

.w-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.w-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #888;
}

.w-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #2c2c2e;
    color: #888;
}

.w-circle.fire {
    background: rgba(255, 152, 0, 0.15);
}

.w-circle.moon {
    background: rgba(33, 150, 243, 0.15);
}

.w-circle.today {
    background: #fff;
    color: #000;
    border: 2px solid #555;
}

.week-output {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.wo-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 152, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.wo-lbl {
    font-size: 9px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.wo-val {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* Train Card */
.train-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tc-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #FF9800;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.tc-val {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.tc-btn {
    width: 44px;
    height: 44px;
    background: #FF9800;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
}

/* Workout Card */
.workout-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    background: linear-gradient(180deg, #2a1f11 0%, #1c1c1e 100%);
    border: 1px solid #FF9800;
}

.workout-card.inactive-card {
    background: #1c1c1e;
    border: 1px solid #2c2c2e;
}

.wc-watermark {
    position: absolute;
    right: -20px;
    top: 30px;
    font-size: 140px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.wc-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wc-badge {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.wc-badge.grey {
    background: #2c2c2e;
    color: #aaa;
}

.wc-target {
    font-size: 11px;
    font-weight: 700;
    color: #FF9800;
    flex: 1;
}

.inactive-card .wc-target {
    color: #fff;
}

.wc-dots {
    color: #FF9800;
    font-weight: 900;
}

.inactive-card .wc-dots {
    color: #fff;
}

.wc-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.wc-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.w-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 6px;
}

.w-tag.clear {
    background: transparent;
    padding-left: 0;
}

.w-tag.grey {
    color: #888;
}

.wc-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.w-icon-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9800;
    font-weight: 700;
}

.w-start-btn {
    flex: 1;
    background: #FF9800;
    color: #000;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.2);
}

/* Bottom Nav */
.app-bottom-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: rgba(30, 30, 32, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #666;
    font-size: 16px;
}

.nav-item.active {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* ==========================================
   Marquee Strip
   ========================================== */
.marquee-strip {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    background: var(--surface);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
    width: max-content;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-3);
    text-transform: uppercase;
}

.marquee-track .dot {
    color: var(--orange);
    font-size: 0.4rem;
    align-self: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   Feature Sections
   ========================================== */
.features-wrapper {
    padding: 6rem 0;
}

.features-header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 5%;
}

.feature-section {
    padding: 6rem 5%;
    border-bottom: 1px solid var(--border);
}

.feature-section.alt-bg {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.01), transparent);
}

.feature-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feat-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
    background: var(--orange-dim);
    border: 1px solid rgba(255, 152, 0, 0.12);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.feat-icon img {
    width: 100%;
    height: 100%;
    filter: invert(65%) sepia(60%) saturate(2000%) hue-rotate(0deg) brightness(105%);
}

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

.feature-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feat-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.85rem;
    font-weight: 500;
}

.fp-icon {
    width: 16px;
    height: 16px;
    filter: invert(100%);
    opacity: 0.4;
}

.feature-card {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.card-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}

.feature-card .bento-ui-widget {
    position: relative;
    z-index: 1;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.bento-card h3 {
    color: var(--text);
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 1rem;
}

.bento-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.75rem;
}

.bento-pills span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.bento-pills span:hover {
    background: var(--orange-dim);
    border-color: rgba(255, 152, 0, 0.15);
    color: var(--text);
}

.bp-icon {
    width: 14px;
    height: 14px;
    filter: invert(100%);
    opacity: 0.4;
}

.bento-pills span:hover .bp-icon {
    filter: invert(65%) sepia(60%) saturate(2000%) hue-rotate(0deg) brightness(105%);
    opacity: 1;
}

/* ==========================================
   Community
   ========================================== */
.community-section {
    padding: 6rem 5% 8rem;
    text-align: center;
}

.community-inner {
    max-width: 600px;
    margin: 0 auto;
}

.comm-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    padding: 8px;
    background: var(--orange-dim);
    border: 1px solid rgba(255, 152, 0, 0.12);
    border-radius: 16px;
    filter: invert(65%) sepia(60%) saturate(2000%) hue-rotate(0deg) brightness(105%);
}

.community-inner h2 {
    margin-bottom: 0.75rem;
}

.community-inner p {
    margin: 0 auto 2rem;
}

.social-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 20px;
    min-width: 220px;
    transition: all 0.3s;
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.social-card img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.sc-text {
    flex: 1;
    text-align: left;
}

.sc-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.sc-handle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-3);
}

.sc-arrow {
    font-size: 1.2rem;
    color: var(--text-3);
    transition: all 0.2s;
}

.social-card:hover .sc-arrow {
    color: var(--orange);
    transform: translateX(4px);
}

.social-card.ig:hover {
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.08);
}

.social-card.tk:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.08);
}

/* ==========================================
   Footer
   ========================================== */
footer {
    padding: 2rem 5%;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-3);
}

.footer-logo-img {
    height: 20px;
    width: 20px;
    border-radius: 22%;
    opacity: 0.4;
}

footer p {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ==========================================
   Animations
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 8rem 5% 0;
        gap: 3rem;
    }

    .hero-inner {
        max-width: 100%;
    }

    .hero-sub {
        margin: 0 auto 2rem;
    }

    .store-buttons {
        justify-content: center;
        flex-direction: column;
        max-width: 240px;
        margin: 0 auto;
    }

    .stats-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .mini-stat {
        padding: 8px;
        gap: 6px;
    }

    .mini-val {
        font-size: 0.95rem;
    }

    .feature-container,
    .feature-container.reverse {
        flex-direction: column;
        gap: 3rem;
    }

    .feature-section {
        padding: 4rem 5%;
    }

    .social-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .dashboard-preview {
        transform: scale(0.8);
        transform-origin: top center;
        margin: 0 auto -200px;
    }
}

/* ==========================================
   Bento UI Widgets (App Mockups)
   ========================================== */
.bento-ui-widget {
    background: #0a0a0c;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    user-select: none;
}

/* 1. Log Widget (Manual Log Card) */
.log-widget {
    padding: 12px;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.log-title {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lt-icon {
    background: var(--surface-2);
    padding: 4px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.icon-btn {
    color: var(--text-3);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.log-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.lt-row {
    display: grid;
    grid-template-columns: 32px 1fr 1fr 32px;
    gap: 8px;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.lt-row.header {
    color: var(--text-3);
    font-size: 0.6rem;
    padding-bottom: 4px;
}

.set-num {
    background: var(--surface-2);
    color: var(--text-2);
    padding: 4px 0;
    border-radius: 6px;
}

.set-val {
    background: var(--surface-2);
    color: var(--text-2);
    padding: 4px 0;
    border-radius: 6px;
}

.check {
    background: var(--surface-2);
    color: transparent;
    border-radius: 6px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-row.completed .check {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.lt-row.completed .set-num,
.lt-row.completed .set-val {
    color: var(--text);
}

.lt-row.active .set-val.focus {
    background: var(--surface-2);
    border: 1px solid var(--orange);
    color: var(--orange);
}

.log-btn {
    background: var(--orange-dim);
    color: var(--orange);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 152, 0, 0.3);
}

/* 2. Muscle Widget (List with Bars) */
.muscle-widget {
    padding: 16px;
}

.mw-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.mw-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mw-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mw-img-box {
    width: 36px;
    height: 36px;
    background: var(--surface-2);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid var(--border);
}

.mw-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mw-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mw-info span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
}

.mw-bar-wrap {
    height: 6px;
    background: var(--surface-2);
    border-radius: 3px;
    overflow: hidden;
}

.mw-bar {
    height: 100%;
    background: var(--orange);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.mw-val {
    font-size: 0.8rem;
    font-weight: 700;
}

/* 3. Exercise Widget (List) */
.ex-widget {
    padding: 12px;
}

.ex-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: var(--surface-2);
    margin-bottom: 6px;
    border: 1px solid var(--border);
}

.ex-img-box {
    width: 36px;
    height: 36px;
    background: #1a1a1c;
    border-radius: 8px;
    padding: 4px;
}

.ex-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(1.5);
}

.ex-info {
    display: flex;
    flex-direction: column;
}

.ex-info span {
    font-size: 0.85rem;
    font-weight: 700;
}

.ex-info small {
    font-size: 0.7rem;
    color: var(--text-3);
}

.ex-item.fade-out {
    opacity: 0.4;
    background: transparent;
    border-color: transparent;
}

/* 4. Streak Widget (Grid) */
.streak-widget {
    padding: 16px;
}

.sw-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sw-fire {
    background: var(--orange-dim);
    color: var(--orange);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

.sw-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.sw-day {
    aspect-ratio: 1;
    background: var(--surface-2);
    border-radius: 4px;
}

.sw-day.done {
    background: var(--orange);
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.2);
}