/* ===== CSS Variables ===== */
:root {
    --color-bg: #000000;
    --color-bg-alt: #0a0a0a;
    --color-card: #111111;
    --color-card-border: #1e1e1e;
    --color-accent: #cf6362;
    --color-accent-hover: #e07574;
    --color-accent-dim: rgba(207, 99, 98, 0.15);
    --color-positive: #2fa66f;
    --color-positive-soft: rgba(47, 166, 111, 0.14);
    --color-positive-border: rgba(47, 166, 111, 0.34);
    --color-negative: #f08b8a;
    --color-negative-soft: rgba(207, 99, 98, 0.12);
    --color-negative-border: rgba(207, 99, 98, 0.28);
    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    --nav-bg: rgba(0, 0, 0, 0.85);
    --nav-bg-scrolled: rgba(0, 0, 0, 0.95);
    --section-bg-dark: #000000;
    --section-bg-mid: #090909;
    --section-bg-alt: #030303;
    --surface-shadow: rgba(0, 0, 0, 0.28);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
    --color-bg: #f7f8f8;
    --color-bg-alt: #eef1f2;
    --color-card: #ffffff;
    --color-card-border: #dce1e4;
    --color-accent-dim: rgba(207, 99, 98, 0.12);
    --color-positive: #1f7a51;
    --color-positive-soft: rgba(31, 122, 81, 0.12);
    --color-positive-border: rgba(31, 122, 81, 0.28);
    --color-negative: #b84242;
    --color-negative-soft: rgba(207, 99, 98, 0.12);
    --color-negative-border: rgba(184, 66, 66, 0.24);
    --color-text: #15181a;
    --color-text-secondary: #505a61;
    --color-text-muted: #7b858b;
    --nav-bg: rgba(247, 248, 248, 0.86);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
    --section-bg-dark: #f7f8f8;
    --section-bg-mid: #eef1f2;
    --section-bg-alt: #ffffff;
    --surface-shadow: rgba(21, 24, 26, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--color-accent);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(207, 99, 98, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-card-border);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    flex: 0 0 auto;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    font-size: clamp(11px, 0.86vw, 13px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.theme-toggle {
    position: fixed;
    top: 88px;
    right: 20px;
    width: 48px;
    height: 26px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
    opacity: 0.58;
    transition: opacity var(--transition), transform var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    opacity: 0.9;
}

.theme-toggle-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(207, 99, 98, 0.18);
    transition: transform var(--transition), background var(--transition);
}

body.light-mode .theme-toggle-track {
    background: rgba(21, 24, 26, 0.1);
    border-color: rgba(21, 24, 26, 0.16);
}

body.light-mode .theme-toggle-thumb {
    transform: translateX(22px);
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    color: var(--color-text);
    background: rgba(21, 24, 26, 0.07);
}

body.light-mode .nav-toggle span {
    background: var(--color-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg-element {
    position: absolute;
    right: -100px;
    bottom: -50px;
    width: 600px;
    height: 600px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.hero-silhouette {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-accent-dim);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(207, 99, 98, 0.25);
}

.hero-title {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    background: var(--color-card);
    transition: var(--transition);
}

.hero-image-card:hover {
    border-color: rgba(207, 99, 98, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(207, 99, 98, 0.1);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll-indicator span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== Product Section ===== */
.product-section {
    background: var(--color-bg-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.product-card:hover {
    border-color: rgba(207, 99, 98, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-card-icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.product-image-feature {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    max-height: 400px;
}

.product-image-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.product-image-overlay span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== Needs Section ===== */
.needs-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.needs-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-card-border);
}

.needs-item:first-child {
    padding-top: 0;
}

.needs-item:last-child {
    border-bottom: none;
}

.needs-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    min-width: 50px;
}

.needs-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.needs-text p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.needs-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.needs-stat-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
}

.stat-value {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== Competitor Section ===== */
.competitor-section {
    background: var(--color-bg-alt);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-card-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table thead {
    background: #141414;
}

.comparison-table th {
    padding: 20px 24px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid var(--color-card-border);
    white-space: nowrap;
}

.table-sub {
    font-weight: 400;
    font-size: 12px;
    color: var(--color-text-muted);
    display: block;
    margin-top: 4px;
}

.comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-card-border);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.feature-name {
    font-weight: 600;
    color: var(--color-text);
}

.bitebio-col {
    border-left: 1px solid rgba(207, 99, 98, 0.22);
    border-right: 1px solid rgba(207, 99, 98, 0.12);
}

.positive-highlight,
.negative-highlight,
.neutral-highlight {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.positive-highlight {
    background: var(--color-positive-soft);
    color: var(--color-positive);
    border: 1px solid var(--color-positive-border);
}

.neutral-highlight {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.negative-highlight {
    background: var(--color-negative-soft);
    color: var(--color-negative);
    border: 1px solid var(--color-negative-border);
}

.competitor-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.competitor-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.competitor-card-highlight {
    border-color: rgba(207, 99, 98, 0.4);
    background: linear-gradient(135deg, var(--color-card), rgba(207, 99, 98, 0.05));
}

.competitor-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.competitor-card-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.competitor-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    flex: 1;
}

.competitor-verdict {
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.mid-verdict {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
}

.bad-verdict {
    background: rgba(255, 100, 100, 0.08);
    color: #ff6b6b;
}

.best-verdict {
    background: rgba(207, 99, 98, 0.15);
    color: var(--color-accent);
}

/* ===== Market Section ===== */
.market-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.market-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.market-card:hover {
    border-color: rgba(207, 99, 98, 0.3);
}

.market-card-large {
    grid-column: 1 / -1;
}

.market-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.market-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.market-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.market-targets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.market-target {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.market-target:hover {
    border-color: rgba(207, 99, 98, 0.3);
    background: var(--color-accent-dim);
}

.target-icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    font-size: 0;
    line-height: 1;
}

.target-icon::before {
    content: '';
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    mask: var(--target-icon-mask) center / contain no-repeat;
    -webkit-mask: var(--target-icon-mask) center / contain no-repeat;
}

.market-target:nth-child(1) .target-icon {
    --target-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 18c4.5-.6 9.5-5.6 10-10M8.5 20.5c-2.3-1-4-2.7-5-5 1-4.8 5.2-9 10-10 2.3 1 4 2.7 5 5-1 4.8-5.2 9-10 10Zm.5-10.5 5 5m-2-8 5 5'/%3E%3C/svg%3E");
}

.market-target:nth-child(2) .target-icon {
    --target-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 10v10m16-10v10M7 20h10M2 10h20L12 4 2 10Zm6 0v4m4-4v4m4-4v4'/%3E%3C/svg%3E");
}

.market-target:nth-child(3) .target-icon {
    --target-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 7v10m12-10v10M3 9v6m18-6v6M6 12h12'/%3E%3C/svg%3E");
}

.market-target:nth-child(4) .target-icon {
    --target-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 2v6m4-6v6M8 8h8m-5 0v4.5L5.5 21h13L13 12.5V8M8 17h8'/%3E%3C/svg%3E");
}

.market-target:nth-child(5) .target-icon {
    --target-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m22 10-10-5-10 5 10 5 10-5ZM6 12v5c3.5 2 8.5 2 12 0v-5m4-2v6'/%3E%3C/svg%3E");
}

.market-target:nth-child(6) .target-icon {
    --target-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 21V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v14M9 21v-5h6v5m-3-12v5m-2.5-2.5h5'/%3E%3C/svg%3E");
}

.market-target span {
    font-size: 14px;
    font-weight: 600;
}

.market-list {
    list-style: none;
    padding: 0;
}

.market-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.market-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ===== About Project Section ===== */
.about-project-section {
    background: var(--color-bg);
}

.project-video-shell {
    max-width: 920px;
    margin: 0 auto;
}

.project-video {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
}

.project-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-placeholder {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(207, 99, 98, 0.08), rgba(255, 255, 255, 0.02));
}

.video-placeholder-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-dim);
    border: 1px solid rgba(207, 99, 98, 0.25);
    border-radius: 50%;
    margin-bottom: 4px;
}

.video-placeholder h3 {
    font-size: 22px;
    font-weight: 700;
}

.video-placeholder p {
    max-width: 460px;
    color: var(--color-text-secondary);
    font-size: 15px;
}

.video-placeholder code {
    color: var(--color-accent);
    font-family: var(--font-family);
    font-weight: 600;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--color-bg-alt);
}

.contact-linkedin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-linkedin-card {
    min-height: 122px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(207, 99, 98, 0.06), transparent 42%),
        var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: var(--transition);
}

.contact-linkedin-card:hover {
    transform: translateY(-3px);
    border-color: rgba(207, 99, 98, 0.48);
    box-shadow: 0 18px 44px rgba(207, 99, 98, 0.11);
}

.contact-linkedin-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(207, 99, 98, 0.35);
}

.contact-linkedin-card h3 {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 4px;
}

.contact-linkedin-card span {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.contact-linkedin-card small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--color-text-muted);
    overflow-wrap: anywhere;
}

.contact-linkedin-badge {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 99, 98, 0.12);
    border: 1px solid rgba(207, 99, 98, 0.3);
    color: var(--color-accent) !important;
    font-weight: 800;
    transition: var(--transition);
}

.contact-linkedin-card:hover .contact-linkedin-badge {
    transform: translateX(3px);
    background: rgba(207, 99, 98, 0.2);
}

.mentor-acknowledgment {
    margin-top: 56px;
    padding-top: 34px;
    border-top: 1px solid var(--color-card-border);
}

.mentor-header {
    margin-bottom: 20px;
}

.mentor-header .section-tag {
    margin-bottom: 8px;
}

.mentor-header h3 {
    font-size: 24px;
    line-height: 1.2;
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mentor-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-sm);
}

.mentor-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.mentor-avatar svg {
    width: 22px;
    height: 22px;
    fill: #000;
}

.mentor-card h4 {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 2px;
}

.mentor-card span,
.mentor-card a {
    display: block;
    font-size: 12px;
    line-height: 1.45;
}

.mentor-card span {
    color: var(--color-text-secondary);
}

.mentor-card a {
    color: var(--color-text-muted);
    overflow-wrap: anywhere;
    transition: var(--transition);
}

.mentor-card a:hover {
    color: var(--color-accent);
}

.contact-layout {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    width: 100%;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--color-card);
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    padding: 16px 40px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-accent-dim);
    border: 1px solid rgba(207, 99, 98, 0.3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
}

.form-success.visible {
    display: flex;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-card-border);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-card-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.footer-links-section h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

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

/* Team Section in Footer */
.footer-team {
    padding: 48px 0;
    border-bottom: 1px solid var(--color-card-border);
}

.footer-team h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    margin-bottom: 28px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    color: inherit;
    min-height: 108px;
    position: relative;
    text-decoration: none;
}

.team-card:hover {
    border-color: rgba(207, 99, 98, 0.48);
    box-shadow: 0 14px 36px rgba(207, 99, 98, 0.1);
    transform: translateY(-2px);
}

.team-avatar {
    width: 58px;
    height: 58px;
    background: #111;
    border: 1px solid rgba(207, 99, 98, 0.35);
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-info {
    min-width: 0;
}

.team-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.team-role {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.team-email {
    font-size: 12px;
    color: var(--color-text-muted);
    transition: var(--transition);
    display: block;
    overflow-wrap: anywhere;
}

.team-card:hover .team-email {
    color: var(--color-accent);
}

.team-linkedin {
    position: absolute;
    top: 14px;
    right: 14px;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 99, 98, 0.12);
    border: 1px solid rgba(207, 99, 98, 0.28);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    transition: var(--transition);
}

.team-card:hover .team-linkedin {
    transform: translateX(2px);
    background: rgba(207, 99, 98, 0.18);
}

.team-card-missing-link {
    cursor: default;
}

.team-card-missing-link:hover {
    transform: none;
    box-shadow: none;
}

.team-card-missing-link:hover .team-linkedin {
    transform: none;
}

.team-card-missing-link .team-linkedin {
    width: auto;
    color: var(--color-text-muted);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-bg-element {
        width: 400px;
        height: 400px;
        right: -80px;
        bottom: -30px;
    }

    .needs-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .needs-visual {
        position: static;
        flex-direction: row;
    }

    .needs-stat-card {
        flex: 1;
    }

    .market-targets {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .contact-linkedin-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mentor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 20px;
        padding: 12px 24px;
    }

    body.light-mode .nav-links {
        background: rgba(247, 248, 248, 0.98);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .competitor-cards {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .market-targets {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .needs-visual {
        flex-direction: column;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .market-targets {
        grid-template-columns: 1fr;
    }

    .contact-linkedin-grid {
        grid-template-columns: 1fr;
    }

    .contact-linkedin-card {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        min-height: 104px;
    }

    .contact-linkedin-card img {
        width: 56px;
        height: 56px;
    }

    .mentor-acknowledgment {
        margin-top: 40px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== BiteBio Layout Refinements ===== */
.hero,
.spe-section,
.market-section {
    background: var(--section-bg-dark);
}

.product-section,
.workflow-section,
.competitor-section,
.about-project-section {
    background: var(--section-bg-mid);
}

.needs-section,
.contact-section {
    background: var(--section-bg-alt);
}

.section {
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.hero {
    background:
        radial-gradient(circle at 78% 46%, rgba(207, 99, 98, 0.13), transparent 34%),
        linear-gradient(90deg, var(--section-bg-dark) 0%, var(--section-bg-dark) 44%, rgba(0, 0, 0, 0.82) 58%, var(--section-bg-mid) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.34) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-mouthguard-bg {
    position: absolute;
    top: 50%;
    right: -5vw;
    width: min(56vw, 760px);
    transform: translateY(-48%);
    opacity: 0.96;
    filter: brightness(1.2) saturate(1.05) contrast(1.08);
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 84%, rgba(0, 0, 0, 0.72) 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 84%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-mouthguard-bg img {
    width: 100%;
    height: auto;
}

.hero-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.feature-layout-reverse {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.feature-media {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.feature-media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.spe-section,
.workflow-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 48%, rgba(207, 99, 98, 0.11), transparent 34%),
        linear-gradient(90deg, var(--section-bg-dark) 0%, var(--section-bg-mid) 48%, var(--section-bg-dark) 100%);
}

.workflow-section {
    background:
        radial-gradient(circle at 78% 48%, rgba(207, 99, 98, 0.1), transparent 34%),
        linear-gradient(90deg, var(--section-bg-dark) 0%, var(--section-bg-mid) 52%, var(--section-bg-dark) 100%);
}

.workflow-section .feature-layout {
    display: block;
    min-height: auto;
}

.spe-section .feature-layout,
.workflow-section .feature-layout {
    gap: 0;
}

.spe-section .feature-media,
.workflow-section .feature-media {
    align-self: stretch;
    min-height: 440px;
}

.spe-section .feature-media img,
.workflow-section .feature-media img {
    min-height: 100%;
    filter: brightness(1.08) saturate(1.02) contrast(1.08);
}

.spe-section .feature-media img {
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 58%, transparent 100%);
    mask-image: linear-gradient(90deg, black 0%, black 58%, transparent 100%);
}

.workflow-section .feature-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 42%, black 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 42%, black 100%);
}

.spe-section .feature-copy,
.workflow-section .feature-copy {
    position: relative;
    z-index: 1;
    padding: 56px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.98));
}

.workflow-section .feature-copy {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.84));
}

.workflow-inline-image {
    margin-top: 34px;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-card-border);
    background: rgba(0, 0, 0, 0.28);
}

.workflow-inline-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    filter: brightness(1.04) contrast(1.05);
}

body.light-mode .hero {
    background:
        radial-gradient(circle at 78% 46%, rgba(207, 99, 98, 0.16), transparent 35%),
        linear-gradient(90deg, #f7f8f8 0%, #f7f8f8 42%, rgba(247, 248, 248, 0.68) 62%, #eef1f2 100%);
}

body.light-mode .hero::after {
    background: linear-gradient(90deg, rgba(247, 248, 248, 0.98) 0%, rgba(247, 248, 248, 0.72) 42%, rgba(247, 248, 248, 0.12) 70%, rgba(247, 248, 248, 0.46) 100%);
}

body.light-mode .spe-section,
body.light-mode .workflow-section {
    background:
        radial-gradient(circle at 22% 48%, rgba(207, 99, 98, 0.1), transparent 34%),
        linear-gradient(90deg, #f7f8f8 0%, #eef1f2 48%, #f7f8f8 100%);
}

body.light-mode .workflow-section {
    background:
        radial-gradient(circle at 78% 48%, rgba(207, 99, 98, 0.1), transparent 34%),
        linear-gradient(90deg, #f7f8f8 0%, #eef1f2 52%, #f7f8f8 100%);
}

body.light-mode .spe-section .feature-copy,
body.light-mode .workflow-section .feature-copy {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.98));
}

body.light-mode .workflow-section .feature-copy {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
}

body.light-mode .workflow-inline-image {
    background: rgba(255, 255, 255, 0.68);
}

body.light-mode .comparison-table thead {
    background: #e8ecef;
}

body.light-mode .comparison-table-wrapper,
body.light-mode .product-card,
body.light-mode .needs-stat-card,
body.light-mode .competitor-card,
body.light-mode .market-card,
body.light-mode .project-video,
body.light-mode .contact-linkedin-card,
body.light-mode .mentor-card,
body.light-mode .footer {
    box-shadow: 0 18px 48px var(--surface-shadow);
}

body.light-mode .mentor-card {
    background: rgba(255, 255, 255, 0.68);
}

body.light-mode .mentor-avatar {
    background: rgba(21, 24, 26, 0.08);
    border-color: rgba(21, 24, 26, 0.12);
}

.feature-copy p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-copy p:last-child {
    margin-bottom: 0;
}

.market-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-areas:
        "targets targets targets"
        "commercial commercial value"
        "commercial commercial edge";
    align-items: stretch;
}

.market-card-large {
    grid-area: targets;
}

.market-card-commercial {
    grid-area: commercial;
}

.market-grid > .market-card-small:nth-of-type(2) {
    grid-area: value;
}

.market-grid > .market-card-small:nth-of-type(4) {
    grid-area: edge;
}

.market-card-small {
    padding: 24px;
}

.market-card-small h3 {
    font-size: 20px;
}

.market-card-commercial,
.market-card-small {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero-container,
    .feature-layout,
    .feature-layout-reverse {
        grid-template-columns: 1fr;
    }

    .hero-mouthguard-bg {
        width: min(82vw, 620px);
        right: -20vw;
        opacity: 0.5;
    }

    .market-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "targets targets"
            "commercial commercial"
            "value edge";
    }
}

@media (max-width: 768px) {
    .hero-mouthguard-bg {
        top: 58%;
        right: -42vw;
        width: 110vw;
        opacity: 0.34;
    }

    .feature-layout,
    .feature-layout-reverse {
        gap: 32px;
    }

    .spe-section .feature-layout,
    .workflow-section .feature-layout {
        gap: 0;
        min-height: auto;
    }

    .spe-section .feature-copy,
    .workflow-section .feature-copy {
        padding: 32px 24px;
        background: rgba(0, 0, 0, 0.9);
    }

    .spe-section .feature-media img,
    .workflow-section .feature-media img {
        -webkit-mask-image: linear-gradient(180deg, black 0%, black 62%, transparent 100%);
        mask-image: linear-gradient(180deg, black 0%, black 62%, transparent 100%);
    }

    .feature-media img {
        min-height: 260px;
    }

    .market-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "targets"
            "commercial"
            "value"
            "edge";
    }
}
