/* BEL Website - Obsidian Pulse Design System
   Creative North Star: Deep atmospheric layering, light as a functional tool.
   No-Line Rule: Boundaries defined through background color shifts, not borders.
   Tonal Gravity: Content importance conveyed via luminosity and depth. */

:root {
    /* Surface Hierarchy (Layer 0–3: stacked obsidian glass) */
    --surface: #121416;
    --surface-dim: #121416;
    --surface-container-lowest: #0c0e10;
    --surface-container-low: #1a1c1e;
    --surface-container: #1e2022;
    --surface-container-high: #282a2c;
    --surface-container-highest: #333537;
    --surface-bright: #37393b;
    --surface-tint: #ddb7ff;

    /* Primary */
    --primary: #ddb7ff;
    --primary-container: #4b0082;
    --on-primary: #4a0080;
    --on-primary-container: #ba7ef4;
    --primary-fixed-dim: #ddb7ff;

    /* Secondary */
    --secondary: #ebb2ff;
    --secondary-container: #b600f8;

    /* Tertiary (spark color — small accents only) */
    --tertiary: #00dddd;
    --tertiary-container: #003838;
    --on-tertiary: #003737;

    /* Text */
    --on-surface: #e2e2e5;
    --on-surface-variant: #cec3d3;
    --on-background: #e2e2e5;

    /* Outline */
    --outline: #978d9d;
    --outline-variant: #4c4451;

    /* Error */
    --error: #ffb4ab;
    --error-container: #93000a;

    /* Inverse */
    --inverse-surface: #e2e2e5;
    --inverse-on-surface: #2f3133;
    --inverse-primary: #7b41b3;

    /* Fonts */
    --font-headline: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Ambient Shadows (violet-tinted, per design system — never neutral gray) */
    --shadow-ambient: 0 20px 60px rgba(75, 0, 130, 0.06);
    --shadow-elevated: 0 25px 50px rgba(75, 0, 130, 0.12);
    --shadow-nav: 0 20px 50px rgba(75, 0, 130, 0.1);
    --surface-button: var(--surface-container-high);
    --surface-header: var(--surface-container-lowest);
    --surface-hover: var(--surface-container-high);
    --surface-card: var(--surface-container);
    --border-color: rgba(76, 68, 81, 0.2);
    --text-primary: var(--on-surface);
    --text-secondary: var(--on-surface-variant);
    --text-tertiary: var(--outline-variant);
    --primary-hover: var(--secondary);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--on-surface);
    background-color: var(--surface);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
    border-radius: 0 0 0.5rem 0;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
    outline: 2px solid var(--tertiary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary);
}

::selection {
    background: var(--primary);
    color: var(--on-primary);
}

/* =============================================
   FOCUS-VISIBLE — Keyboard accessibility
   ============================================= */

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =============================================
   NAVIGATION
   ============================================= */

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(18, 20, 22, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-nav);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-logo {
    padding: 0.25rem 0.5rem;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
    transition: filter 0.3s ease;
}

.nav-logo:hover {
    opacity: 1;
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6)) drop-shadow(0 0 20px rgba(147, 51, 234, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-family: var(--font-headline);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-links a {
    color: var(--on-surface-variant);
    transition: color 0.2s;
    padding: 0.625rem 1rem;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1.5;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-mobile-cta {
    display: none;
}

/* Obsidian Gradient (signature 135deg primary-to-container glow) */
.obsidian-gradient,
.btn-gradient {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    font-family: var(--font-headline);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-gradient:hover {
    color: var(--on-primary);
    filter: brightness(1.1);
}

.btn-gradient:active {
    transform: scale(0.95);
}

.btn-nav {
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* Ghost Button */
.btn-ghost {
    display: inline-block;
    border: 1px solid rgba(76, 68, 81, 0.3);
    color: var(--on-surface);
    font-family: var(--font-headline);
    font-weight: 700;
    transition: all 0.2s;
    text-align: center;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface);
}

.btn-lg {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 800;
    box-shadow: var(--shadow-elevated);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-height: 44px;
    min-width: 44px;
    z-index: 110;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--on-surface);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle--active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle--active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    background-color: var(--surface-container-low);
    padding: 5rem 0 2.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}


.footer-col h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0;
}

.footer-col ul a {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    transition: color 0.2s;
    display: inline-block;
    padding: 0.75rem 0;
    min-height: 44px;
    box-sizing: border-box;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-region {
    margin-top: 2rem;
}

.region-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--outline);
    margin-bottom: 0.5rem;
}

.footer-region > p:last-child {
    font-size: 0.75rem;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(76, 68, 81, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
}

.footer-domain {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--outline);
}

/* =============================================
   HOMEPAGE STYLES
   ============================================= */

.home-page {
    padding-top: 0;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-glow--left {
    top: 25%;
    left: -5rem;
    background: var(--primary-container);
    opacity: 0.2;
}

.hero-glow--right {
    bottom: 25%;
    right: -5rem;
    background: var(--tertiary);
    opacity: 0.1;
    filter: blur(150px);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(75, 0, 130, 0.15) 0%,
        rgba(18, 20, 22, 0.6) 40%,
        rgba(0, 221, 221, 0.05) 100%
    );
    mix-blend-mode: overlay;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-text {
    max-width: 48rem;
}

.hero-logo {
    display: block;
    height: 64px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.5)) drop-shadow(0 0 30px rgba(147, 51, 234, 0.25));
}

.hero h1 {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

.text-glow {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(221, 183, 255, 0.3);
}

.text-highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--on-surface-variant);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 8rem 0;
    background-color: var(--surface);
    position: relative;
    overflow-x: hidden;
}

.section--alt {
    background-color: var(--surface-container-low);
}

.section--darkest {
    background-color: var(--surface-container-lowest);
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header--split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-header-text {
    max-width: 36rem;
}

.section-header h2,
.section-header-text h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p,
.section-header-text p {
    color: var(--on-surface);
}

.section-header--center {
    text-align: center;
}

.section-title-center {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    text-align: center;
}

.slots-badge {
    display: inline-block;
    background: rgba(221, 183, 255, 0.1);
    border: 1px solid rgba(221, 183, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    align-self: flex-start;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    padding: 2rem;
    background: var(--surface-container);
    border-radius: 1rem;
    transition: background-color 0.3s, background-image 0.3s;
}

.step-card:hover {
    background: var(--surface-container-high);
    background-image: radial-gradient(ellipse at top left, rgba(221, 183, 255, 0.04) 0%, transparent 60%);
}

.step-card--highlight {
    background: var(--surface-container-highest);
    background-image: radial-gradient(ellipse at bottom right, rgba(0, 221, 221, 0.06) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.step-card--highlight:hover {
    background: var(--surface-container-highest);
    background-image: radial-gradient(ellipse at bottom right, rgba(0, 221, 221, 0.1) 0%, transparent 60%);
}

.free-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem;
    background: var(--tertiary);
    color: var(--on-tertiary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.2s;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-icon--tertiary {
    color: var(--tertiary);
}

.step-card h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(0, 1fr);
    height: auto;
    overflow: hidden;
    max-width: 100%;
}

.bento-card {
    background: var(--surface-container-low);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: background-color 0.3s, background-image 0.3s;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.bento-card:hover {
    background: var(--surface-container);
    background-image: radial-gradient(ellipse at top left, rgba(221, 183, 255, 0.04) 0%, transparent 60%);
}

.bento-card--wide {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card--narrow {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card--center {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.bento-card--row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.bento-label {
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.bento-label--tertiary {
    color: var(--tertiary);
}

.bento-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-title--lg {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.bento-desc {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    max-width: 28rem;
}

.bento-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.bento-tag {
    padding: 0.25rem 0.75rem;
    background: var(--surface-container-highest);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.bento-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.bento-icon-bg {
    font-size: 3.75rem;
    color: var(--primary);
    opacity: 0.2;
    transition: opacity 0.2s;
}

.bento-card:hover .bento-icon-bg {
    opacity: 0.4;
}

.bento-bars {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bento-bar {
    height: 0.25rem;
    width: 100%;
    background: var(--surface-container-highest);
    border-radius: 9999px;
    overflow: hidden;
}

.bento-bar-fill {
    height: 100%;
    border-radius: 9999px;
}

.bento-bar-fill--tertiary {
    background: var(--tertiary);
}

.bento-bar-fill--primary {
    background: var(--primary);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    color: var(--on-surface);
    text-decoration: none;
}

.portfolio-card:hover {
    color: var(--on-surface);
}

.portfolio-card-image {
    aspect-ratio: 16 / 9;
    background: var(--surface-container-highest);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s;
}

.portfolio-card:hover .portfolio-card-image img {
    filter: grayscale(0);
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.portfolio-badge span {
    background: rgba(221, 183, 255, 0.9);
    color: var(--on-primary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-card-placeholder {
    background: var(--surface-container-highest);
    background-image: linear-gradient(
        135deg,
        var(--surface-container-highest) 0%,
        var(--surface-container-high) 50%,
        var(--surface-container) 100%
    );
}

.badge-startup {
    background: rgba(221, 183, 255, 0.9);
    color: var(--on-primary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-nonprofit {
    background: rgba(0, 221, 221, 0.9);
    color: var(--on-tertiary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-internal {
    background: var(--outline);
    color: var(--on-surface-variant);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-card h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--tertiary);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.2s;
}

.portfolio-card-link .material-symbols-outlined {
    font-size: 0.875rem;
}

.portfolio-card:hover .portfolio-card-link {
    color: var(--primary);
}

/* Partners Split */
.partners-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8rem 0;
}

.partner-col {
    padding: 3rem 6rem;
}

.partner-col--startup {
    background: var(--surface-container);
    border-right: 1px solid rgba(76, 68, 81, 0.15);
}

.partner-col--nonprofit {
    background: var(--surface-container-high);
}

.partner-col h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.partner-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.partner-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.partner-icon--primary {
    color: var(--primary);
}

.partner-icon--tertiary {
    color: var(--tertiary);
}

.partner-list h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.partner-list p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
}

/* Hosting Section */
.hosting-section {
    overflow: hidden;
}

.hosting-glow {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background: radial-gradient(circle at center, var(--primary-container) 0%, transparent 70%);
}

.hosting-inner {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 56rem;
}

.hosting-inner h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hosting-desc {
    color: var(--on-surface-variant);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

.hosting-card {
    padding: 1rem;
    background: var(--surface-container-low);
    border-radius: 0.75rem;
    border: 1px solid rgba(76, 68, 81, 0.15);
}

.hosting-card .material-symbols-outlined {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hosting-card div {
    font-weight: 700;
    font-size: 0.875rem;
}

/* Submission Form */
.submit-card {
    background: var(--surface-container);
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-elevated);
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .submit-card {
        padding: 4rem;
    }
}

.submit-header {
    margin-bottom: 3rem;
}

.submit-header h2 {
    font-family: var(--font-headline);
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.submit-header p {
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.submit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--surface-container-lowest);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--on-surface);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: box-shadow 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(151, 141, 157, 0.7);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(221, 183, 255, 0.3);
}

.form-field select {
    cursor: pointer;
    appearance: auto;
}

.form-field textarea {
    resize: vertical;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: var(--error);
}

.form-error {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
.form-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-message--success {
    background: rgba(0, 221, 221, 0.1);
    color: var(--tertiary);
}

.form-message--error {
    background: rgba(255, 180, 171, 0.1);
    color: var(--error);
}

.messages-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 100;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    background: var(--surface-container);
    border: 1px solid rgba(76, 68, 81, 0.2);
    box-shadow: var(--shadow-elevated);
}

.message-success {
    background: rgba(0, 221, 221, 0.1);
    color: var(--tertiary);
    border-color: rgba(0, 221, 221, 0.2);
}

.message-error {
    background: rgba(255, 180, 171, 0.1);
    color: var(--error);
    border-color: rgba(255, 180, 171, 0.5);
}

.btn-submit-full {
    width: 100%;
    padding: 1.25rem;
    border-radius: 1.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    box-shadow: var(--shadow-elevated);
}

/* Home CTA */
.home-cta {
    padding: 10rem 2rem;
    background: var(--surface);
}

.cta-inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .cta-inner h2 {
        font-size: 3.75rem;
    }
}

.btn-cta-pill {
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: var(--shadow-elevated);
    transition: all 0.2s;
}

.btn-cta-pill:hover {
    transform: scale(1.05);
    color: var(--on-primary);
    box-shadow: 0 25px 50px rgba(75, 0, 130, 0.18);
}

/* =============================================
   SHARED PAGE STYLES (About, Services, Build First, Portfolio)
   ============================================= */

/* Generic CTA button */
.btn-cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-headline);
    transition: filter 0.2s;
}

.btn-cta:hover {
    color: var(--on-primary);
    filter: brightness(1.1);
}

.btn-outline {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border: 1px solid rgba(76, 68, 81, 0.3);
    color: var(--on-surface);
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-headline);
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-surface);
}

.btn-outline--light {
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline--light:hover {
    border-color: var(--on-surface);
}

/* Section Headers (shared) */
.section-header h2 {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--on-surface);
    max-width: 600px;
    margin: 0;
    font-weight: 500;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

.section-cta a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary);
    transition: color 0.2s;
}

.section-cta a:hover {
    color: var(--secondary);
}

/* =============================================
   ABOUT US PAGE STYLES
   ============================================= */

.about-page {
    max-width: 100%;
    padding: 0;
    padding-top: 4rem;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary-container) 0%, var(--surface) 100%);
    color: var(--on-surface);
    padding: 5rem 2rem;
    text-align: left;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-family: var(--font-headline);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--on-surface);
    font-style: italic;
    max-width: 640px;
    margin: 0;
}

.about-section-block {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-block:nth-child(even) {
    background-color: var(--surface-container-low);
    max-width: 100%;
}

.about-section-block:nth-child(even) > .about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mission-card {
    background: var(--surface-container);
    border-radius: 0.75rem;
    padding: 1.75rem;
    transition: background-color 0.2s, transform 0.2s;
}

.mission-card:hover {
    background: var(--surface-container-high);
    transform: translateY(-2px);
}

.mission-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mission-icon svg {
    width: 100%;
    height: 100%;
}

.mission-card h3 {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-value-card {
    background: var(--surface-container);
    border-radius: 0.75rem;
    padding: 1.75rem;
    transition: background-color 0.2s;
}

.about-value-card:hover {
    background: var(--surface-container-high);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-value-icon svg {
    width: 100%;
    height: 100%;
}

.about-value-card h3 {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.about-value-card p {
    font-size: 0.95rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

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

.serve-card {
    background: var(--surface-container);
    border-radius: 0.75rem;
    padding: 2rem;
}

.serve-card h3 {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.serve-card p {
    font-size: 0.95rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.serve-card ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--on-surface-variant);
}

.serve-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.team-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: var(--surface-container);
    border-radius: 0.75rem;
    padding: 1.75rem;
}

.expertise-card h3 {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.about-section--alt {
    background-color: var(--surface-container-low);
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-description {
    max-width: 800px;
}

.team-description p {
    color: var(--on-surface);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.expertise-item {
    background: var(--surface-container);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expertise-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.expertise-icon svg {
    width: 100%;
    height: 100%;
}

.expertise-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

.serve-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.serve-icon svg {
    width: 100%;
    height: 100%;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-container);
    border: 1px solid var(--outline-variant);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item h3 {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    color: var(--on-surface);
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary-container) 0%, var(--surface) 100%);
    text-align:  center;
    padding: 4rem 2rem;
}

.about-cta h2 {
    font-family: var(--font-headline);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-hero h1 {
        font-size: 2.25rem;
    }
    .team-expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .about-hero {
        padding: 3rem 1.5rem;
    }
    .about-hero h1 {
        font-size: 1.85rem;
    }
    .about-hero-subtitle {
        font-size: 1.05rem;
    }
    .about-section-block {
        padding: 3rem 1.5rem;
    }
    .mission-content {
        grid-template-columns: 1fr;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .serve-grid {
        grid-template-columns: 1fr;
    }
    .team-expertise-grid {
        grid-template-columns: 1fr;
    }
    .about-cta {
        padding: 3rem 1.5rem;
    }
    .about-cta h2 {
        font-size: 1.6rem;
    }
    .faq-item {
        padding: 1.25rem 1.5rem;
    }
}
/* =============================================
   SERVICES PAGE STYLES
   ============================================= */

.services-page {
    max-width: 100%;
    padding: 0;
    padding-top: 8rem;
    overflow-x: hidden;
}

/* --- Hero --- */
.services-hero {
    padding: 0 2rem 8rem;
    max-width: 80rem;
    margin: 0 auto;
}

.services-hero-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: end;
}

.services-hero-title {
    font-family: var(--font-headline);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--on-surface);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-desc p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
}

/* --- Bento Grid --- */
.services-bento {
    padding: 0 2rem 10rem;
    max-width: 80rem;
    margin: 0 auto;
}

.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.services-bento-card {
    background: var(--surface-container-low);
    padding: 2.5rem;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s;
}

.services-bento-card:hover {
    background: var(--surface-container-high);
}

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

.services-bento-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(221, 183, 255, 0.1);
    filter: blur(100px);
    transform: translate(-50%, -50%);
    transition: background 0.5s;
    pointer-events: none;
}

.services-bento-card:hover .services-bento-glow {
    background: rgba(221, 183, 255, 0.2);
}

.services-bento-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-bento-icon {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.services-bento-icon--primary {
    color: var(--primary);
}

.services-bento-icon--secondary {
    color: var(--secondary);
}

.services-bento-icon--tertiary {
    color: var(--tertiary);
}

.services-bento-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-bento-title--lg {
    font-size: 1.875rem;
}

.services-bento-desc {
    font-size: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    max-width: 36rem;
}

/* Tags */
.services-bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 3rem;
}

.services-bento-tag {
    padding: 0.25rem 0.75rem;
    background: var(--surface-container);
    color: var(--on-surface-variant);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Mobile image placeholder */
.services-bento-image {
    margin-top: 3rem;
    background: var(--surface-container-lowest);
    height: 10rem;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.services-bento-image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    mix-blend-mode: overlay;
}

/* AI pulse indicator */
.services-bento-pulse {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 2rem;
}

.services-bento-pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--tertiary);
    box-shadow: 0 0 8px var(--tertiary);
}

.services-bento-pulse-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Business Systems split card */
.services-bento-card--split {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}

.services-bento-split-text {
    flex: 1;
}

.services-bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--secondary);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.services-bento-link:hover {
    gap: 0.75rem;
}

.services-bento-link .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.services-bento-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Wireframe visual */
.services-bento-wireframe {
    flex: 1;
    background: var(--surface-container-lowest);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(76, 68, 81, 0.1);
}

.services-wireframe-line {
    height: 0.5rem;
    background: var(--surface-container-high);
    border-radius: 0.125rem;
}

.services-wireframe-line--75 { width: 75%; }
.services-wireframe-line--50 { width: 50%; }
.services-wireframe-line--full { width: 100%; }
.services-wireframe-line--66 { width: 66%; }

.services-wireframe-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(76, 68, 81, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-wireframe-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(75, 0, 130, 0.3);
}

.services-wireframe-btn {
    width: 6rem;
    height: 2rem;
    border-radius: 0.25rem;
    background: rgba(75, 0, 130, 0.3);
}

/* --- CTA Section --- */
.services-cta {
    padding: 0 2rem 10rem;
}

.services-cta-inner {
    max-width: 64rem;
    margin: 0 auto;
    background: var(--surface-container);
    padding: 4rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta-glow {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at center, var(--tertiary) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta h2 {
    font-family: var(--font-headline);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.services-cta p {
    font-size: 1.25rem;
    color: var(--on-surface-variant);
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.services-cta-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.services-cta-actions .btn-gradient {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.services-cta-actions .btn-outline--light {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border: 1px solid rgba(76, 68, 81, 0.2);
    color: var(--on-surface);
    transition: border-color 0.3s;
}

.services-cta-actions .btn-outline--light:hover {
    border-color: rgba(76, 68, 81, 0.5);
}

/* --- Services Bento Image --- */
.services-bento-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 0;
}

/* --- AI Card Visual --- */
.services-bento-card--ai .services-bento-card-content {
    flex-direction: row;
    gap: 2rem;
}

.services-bento-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-bento-ai-visual {
    flex: 0 0 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-bento-ai-img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.5s;
}

.services-bento-card--ai:hover .services-bento-ai-img {
    opacity: 1;
}

/* =============================================
   FOR NONPROFITS SECTION
   ============================================= */

.services-nonprofits {
    padding: 0 2rem 8rem;
    max-width: 80rem;
    margin: 0 auto;
}

.services-nonprofits-inner {
    border-top: 1px solid rgba(76, 68, 81, 0.15);
    padding-top: 6rem;
}

/* Section Label */
.services-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    background: var(--surface-container-low);
    border: 1px solid rgba(76, 68, 81, 0.1);
    margin-bottom: 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--on-surface-variant);
}

.services-section-label-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.services-section-label-dot--tertiary {
    background: var(--tertiary);
    box-shadow: 0 0 6px var(--tertiary);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Nonprofits Hero */
.services-nonprofits-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.services-nonprofits-title {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
}

.text-gradient-multi {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-nonprofits-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.services-nonprofits-actions {
    display: flex;
    gap: 1rem;
}

.services-nonprofits-actions .btn-gradient {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.services-nonprofits-actions .btn-outline {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.services-nonprofits-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

/* Nonprofits Bento */
.services-np-bento {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.services-np-bento-main {
    background: var(--surface-container-low);
    padding: 2.5rem;
    border-radius: 0.75rem;
}

.services-np-bento-main h2,
.services-np-bento-main h3 {
    font-family: var(--font-headline);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-np-bento-main > p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    max-width: 36rem;
    margin-bottom: 2.5rem;
}

.services-np-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.services-np-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.services-np-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-np-feature-icon--primary {
    background: rgba(75, 0, 130, 0.3);
}

.services-np-feature-icon--primary .material-symbols-outlined {
    color: var(--primary);
}

.services-np-feature-icon--tertiary {
    background: rgba(0, 56, 56, 0.3);
}

.services-np-feature-icon--tertiary .material-symbols-outlined {
    color: var(--tertiary);
}

.services-np-feature h3,
.services-np-feature h4 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.services-np-feature p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

.services-np-bento-side {
    background: var(--surface-container);
    padding: 2rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-np-bento-side h3,
.services-np-bento-side h4 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.75rem;
}

.services-np-bento-side p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* Nonprofit Commitment */
.services-np-commitment {
    margin-bottom: 2rem;
}

.services-np-commitment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-np-commitment-header h2,
.services-np-commitment-header h3 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-np-commitment-header p {
    font-size: 1.0625rem;
    color: var(--on-surface-variant);
}

.services-np-commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services-np-commitment-card {
    background: var(--surface-container);
    padding: 2rem;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s;
}

.services-np-commitment-card:hover {
    background: var(--surface-container-high);
}

.services-np-commitment-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    opacity: 0.06;
    transition: opacity 0.3s;
}

.services-np-commitment-card:hover .services-np-commitment-card-bg {
    opacity: 0.12;
}

.services-np-commitment-card-bg .material-symbols-outlined {
    font-size: 4rem;
}

.services-np-commitment-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.services-np-commitment-icon--primary {
    background: rgba(75, 0, 130, 0.2);
    color: var(--primary);
}

.services-np-commitment-icon--secondary {
    background: rgba(182, 0, 248, 0.15);
    color: var(--secondary);
}

.services-np-commitment-icon--tertiary {
    background: rgba(0, 56, 56, 0.2);
    color: var(--tertiary);
}

.services-np-commitment-card h3,
.services-np-commitment-card h4 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-np-commitment-card > p {
    font-size: 0.9375rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-np-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.services-np-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--on-surface);
}

.services-np-checklist .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--tertiary);
}

/* =============================================
   OBSIDIAN ECOSYSTEM SECTION
   ============================================= */

.services-obsidian {
    padding: 0 2rem 8rem;
}

.services-obsidian-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-obsidian-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-obsidian-header h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
}

.services-obsidian-header > p {
    font-size: 1.0625rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

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

.services-obsidian-card {
    background: var(--surface-container);
    padding: 2rem;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, transform 0.3s;
}

.services-obsidian-card:hover {
    background: var(--surface-container-high);
    transform: translateY(-2px);
}

.services-obsidian-card-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.services-obsidian-card-icon--primary {
    background: rgba(75, 0, 130, 0.2);
    color: var(--primary);
}

.services-obsidian-card-icon--secondary {
    background: rgba(182, 0, 248, 0.15);
    color: var(--secondary);
}

.services-obsidian-card-icon--tertiary {
    background: rgba(0, 56, 56, 0.2);
    color: var(--tertiary);
}

.services-obsidian-card-icon .material-symbols-outlined {
    font-size: 2rem;
}

.services-obsidian-card h3 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.services-obsidian-card-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
}

.services-obsidian-card--cloud .services-obsidian-card-tagline {
    color: var(--secondary);
}

.services-obsidian-card--pulse .services-obsidian-card-tagline {
    color: var(--tertiary);
}

.services-obsidian-card--engine .services-obsidian-card-tagline {
    color: var(--primary);
}

.services-obsidian-card > p {
    font-size: 0.9375rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* =============================================
   FOR STARTUPS SECTION
   ============================================= */

.services-startups {
    padding: 0 2rem 8rem;
    max-width: 80rem;
    margin: 0 auto;
    overflow-x: hidden;
}

.services-startups-inner {
    border-top: 1px solid rgba(76, 68, 81, 0.15);
    padding-top: 6rem;
}

/* Startups Hero */
.services-startups-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 5rem;
}

.services-startups-title {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
}

.services-startups-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    max-width: 36rem;
}

.services-startups-actions {
    display: flex;
    gap: 1rem;
}

.services-startups-actions .btn-gradient {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.services-startups-actions .btn-outline {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.services-startups-hero-cta {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.btn-gradient--lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Free Prototype Phase */
.services-su-phase {
    margin-bottom: 5rem;
}

.services-su-phase-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.services-su-phase-line {
    display: block;
    height: 1px;
    width: 3rem;
    background: var(--primary);
}

.services-su-phase-text {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    font-weight: 700;
}

.services-su-phase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.services-su-phase-main {
    background: var(--surface-container-low);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(76, 68, 81, 0.1);
}

.services-su-phase-main h2,
.services-su-phase-main h3 {
    font-family: var(--font-headline);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-su-phase-main > p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    margin-bottom: 2rem;
}

.services-su-phase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.services-su-phase-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.services-su-phase-icon--primary {
    background: rgba(75, 0, 130, 0.3);
}

.services-su-phase-icon--primary .material-symbols-outlined {
    color: var(--primary);
    font-size: 2rem;
}

.services-su-phase-icon--tertiary {
    background: rgba(0, 56, 56, 0.3);
}

.services-su-phase-icon--tertiary .material-symbols-outlined {
    color: var(--tertiary);
    font-size: 2rem;
}

.services-su-phase-number {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(76, 68, 81, 0.15);
}

.services-su-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.services-su-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--on-surface);
}

.services-su-checklist .material-symbols-outlined {
    font-size: 1rem;
    color: var(--tertiary);
}

.services-su-phase-timeline {
    background: var(--surface-container);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(76, 68, 81, 0.1);
    position: relative;
    overflow: hidden;
}

.services-su-phase-timeline h2,
.services-su-phase-timeline h3 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 2rem;
}

.services-su-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-su-timeline-track {
    position: absolute;
    left: 0.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(76, 68, 81, 0.2);
}

.services-su-timeline-item {
    padding-left: 2rem;
    position: relative;
}

.services-su-timeline-dot {
    position: absolute;
    left: 0;
    top: 0.375rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.services-su-timeline-dot--primary { background: var(--primary); }
.services-su-timeline-dot--tertiary { background: var(--tertiary); }
.services-su-timeline-dot--secondary { background: var(--secondary); }

.services-su-timeline-item h3,
.services-su-timeline-item h4 {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--on-surface);
    text-transform: uppercase;
}

.services-su-timeline-item p {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
}

/* Partnership Model */
.services-su-partnership {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--surface-container-lowest);
    border-radius: 1.5rem;
    padding: 3rem 4rem;
    margin-bottom: 5rem;
    border: 1px solid rgba(76, 68, 81, 0.05);
    overflow: hidden;
    max-width: 100%;
}

.services-su-partnership-text {
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.services-su-partnership-text h2,
.services-su-partnership-text h3 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-su-partnership-text > p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    margin-bottom: 2.5rem;
}

.services-su-partnership-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.services-su-partnership-option {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--surface-container-low);
    transition: background-color 0.3s;
}

.services-su-partnership-option:hover {
    background: var(--surface-container);
}

.services-su-partnership-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.services-su-partnership-icon--primary { color: var(--primary); }
.services-su-partnership-icon--secondary { color: var(--secondary); }

.services-su-partnership-option h3,
.services-su-partnership-option h4 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.services-su-partnership-option p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

.services-su-confidentiality {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    color: var(--on-surface);
    line-height: 1.5;
}

.services-su-confidentiality .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.services-su-partnership-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

/* Scaling Together */
.services-su-scaling {
    margin-bottom: 2rem;
}

.services-su-scaling-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-su-scaling-header h2,
.services-su-scaling-header h3 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-su-scaling-header p {
    font-size: 1.0625rem;
    color: var(--on-surface-variant);
    max-width: 36rem;
    margin: 0 auto;
}

.services-su-scaling-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services-su-scaling-item {
    padding: 2rem;
    border-left: 1px solid rgba(76, 68, 81, 0.2);
    transition: border-color 0.3s;
}

.services-su-scaling-item:hover {
    border-color: var(--primary);
}

.services-su-scaling-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.services-su-scaling-icon--tertiary { color: var(--tertiary); }
.services-su-scaling-icon--secondary { color: var(--secondary); }
.services-su-scaling-icon--primary { color: var(--primary); }

.services-su-scaling-item h3,
.services-su-scaling-item h4 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.services-su-scaling-item p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* =============================================
   SERVICES PAGE RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 992px) {
    .services-hero-title {
        font-size: 3.5rem;
    }

    .services-bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-bento-card--ai .services-bento-card-content {
        flex-direction: column;
    }

    .services-bento-ai-visual {
        flex: 0 0 auto;
    }

    .services-nonprofits-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-nonprofits-title {
        font-size: 2.75rem;
    }

    .services-np-bento {
        grid-template-columns: 1fr;
    }

    .services-np-commitment-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-obsidian-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-obsidian-card--engine {
        grid-column: 1 / -1;
    }

    .services-obsidian-header h2 {
        font-size: 2rem;
    }

    .services-startups-hero {
        grid-template-columns: 1fr;
    }

    .services-startups-title {
        font-size: 2.75rem;
    }

    .services-startups-hero-cta {
        justify-content: flex-start;
    }

    .services-su-phase-grid {
        grid-template-columns: 1fr;
    }

    .services-su-partnership {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .services-su-scaling-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 2-column layout for tablet viewports between desktop (3-col) and mobile (1-col) */
    .services-su-checklist {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-hero-inner {
        grid-template-columns: 1fr;
    }

    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero {
        padding-bottom: 4rem;
    }

    .services-bento {
        padding-bottom: 5rem;
    }

    .services-bento-grid {
        grid-template-columns: 1fr;
    }

    .services-bento-card--wide {
        grid-column: span 1;
    }

    .services-bento-card--split {
        flex-direction: column;
    }

    .services-bento-card--ai .services-bento-card-content {
        flex-direction: column;
    }

    .services-bento-ai-visual {
        flex: 0 0 auto;
        max-width: 280px;
    }

    .services-ai-grid {
        grid-template-columns: 1fr;
    }

    .services-ai-expertise-header h2 {
        font-size: 1.75rem;
    }

    /* Nonprofits Mobile */
    .services-nonprofits {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .services-nonprofits-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-nonprofits-title {
        font-size: 2.25rem;
    }

    .services-nonprofits-actions {
        flex-direction: column;
    }

    .services-nonprofits-actions .btn-gradient,
    .services-nonprofits-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .services-np-features {
        grid-template-columns: 1fr;
    }

    .services-np-commitment-grid {
        grid-template-columns: 1fr;
    }

    .services-obsidian-grid {
        grid-template-columns: 1fr;
    }

    .services-obsidian-card--engine {
        grid-column: auto;
    }

    .services-obsidian {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .services-obsidian-header h2 {
        font-size: 1.75rem;
    }

    .services-np-checklist {
        grid-template-columns: 1fr;
    }

    .services-np-commitment-header h2,
.services-np-commitment-header h3 {
        font-size: 1.75rem;
    }

    /* Startups Mobile */
    .services-startups {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .services-startups-hero {
        grid-template-columns: 1fr;
    }

    .services-startups-title {
        font-size: 2.25rem;
    }

    .services-startups-actions {
        flex-direction: column;
    }

    .services-startups-actions .btn-gradient,
    .services-startups-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .services-startups-hero-cta {
        justify-content: flex-start;
    }

    .services-su-checklist {
        grid-template-columns: 1fr;
    }

    .services-su-phase-grid {
        grid-template-columns: 1fr;
    }

    .services-su-partnership {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .services-su-partnership-text h2,
    .services-su-partnership-text h3 {
        font-size: 1.75rem;
    }

    .services-su-scaling-grid {
        grid-template-columns: 1fr;
    }

    .services-su-scaling-header h2,
    .services-su-scaling-header h3 {
        font-size: 1.75rem;
    }

    .services-cta h2 {
        font-size: 1.75rem;
    }

    .services-cta-inner {
        padding: 2.5rem 1.5rem;
    }

    .services-cta-actions {
        flex-direction: column;
    }

    .services-cta-actions .btn-gradient,
    .services-cta-actions .btn-outline--light {
        width: 100%;
        text-align: center;
    }
}

/* =============================================
   BUILD FIRST PAGE STYLES
   ============================================= */

.build-first-page {
    max-width: 100%;
    padding: 0;
    padding-top: 5rem;
    overflow-x: hidden;
}

/* Hero */
.bf-hero {
    padding: 6rem 1.5rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.bf-hero-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: end;
}

.bf-hero-headline {
    min-width: 0;
}

.bf-hero h1 {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.bf-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--on-surface-variant);
    max-width: 640px;
}

.bf-hero-action {
    display: flex;
    justify-content: flex-end;
}

/* Section Label */
.bf-section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.bf-label-line {
    display: block;
    width: 3rem;
    height: 1px;
    background: var(--primary);
}

.bf-label-text {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
}

/* Prototype Phase Section */
.bf-prototype-section {
    padding: 0 1.5rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.bf-prototype-inner {
    max-width: 100%;
}

.bf-bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.bf-bento-card {
    background: var(--surface-container-low);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(76, 68, 81, 0.1);
    transition: background-color 0.4s;
}

.bf-bento-card:hover {
    background: var(--surface-container);
}

.bf-bento-card--timeline {
    background: var(--surface-container);
    position: relative;
    overflow: hidden;
}

.bf-bento-card--timeline::before {
    content: '';
    position: absolute;
    top: -4rem;
    right: -4rem;
    width: 8rem;
    height: 8rem;
    background: rgba(221, 183, 255, 0.05);
    border-radius: 50%;
    filter: blur(48px);
}

.bf-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.bf-bento-icon-wrap {
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.bf-bento-icon-wrap .material-symbols-outlined {
    font-size: 2rem;
}

.bf-bento-icon-wrap--primary {
    background: rgba(75, 0, 130, 0.3);
    color: var(--primary);
}

.bf-bento-icon-wrap--tertiary {
    background: rgba(0, 56, 56, 0.3);
    color: var(--tertiary);
}

.bf-bento-number {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(76, 68, 81, 0.2);
}

.bf-bento-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.bf-bento-title--lg {
    font-size: 1.875rem;
}

.bf-bento-desc {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Checklist */
.bf-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bf-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bf-check-icon {
    color: var(--tertiary);
    font-size: 1.125rem;
}

/* Timeline */
.bf-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 1rem;
}

.bf-timeline-line {
    position: absolute;
    left: 0.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(76, 68, 81, 0.2);
}

.bf-timeline-item {
    position: relative;
    padding-left: 1.5rem;
}

.bf-timeline-dot {
    position: absolute;
    left: -0.75rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.bf-timeline-dot--primary {
    background: var(--primary);
}

.bf-timeline-dot--tertiary {
    background: var(--tertiary);
}

.bf-timeline-dot--secondary {
    background: var(--secondary);
}

.bf-timeline-content h4 {
    font-family: var(--font-headline);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bf-timeline-content p {
    font-size: 0.8rem;
    color: var(--on-surface-variant);
}

/* Partnership Section */
.bf-partnership-section {
    background: var(--surface-container-lowest);
    border-radius: 2rem;
    margin: 0 1.5rem 6rem;
    max-width: 1280px;
    border: 1px solid rgba(76, 68, 81, 0.05);
}

@media (min-width: 768px) {
    .bf-partnership-section {
        margin: 0 auto 6rem;
        max-width: calc(1280px - 3rem);
    }
}

.bf-partnership-inner {
    padding: 2rem;
}

@media (min-width: 768px) {
    .bf-partnership-inner {
        padding: 4rem;
    }
}

.bf-partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}

.bf-partnership-text {
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.bf-partnership-text h2 {
    font-family: var(--font-headline);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.bf-partnership-desc {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.bf-partnership-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bf-partnership-option {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--surface-container-low);
    transition: background-color 0.2s;
}

.bf-partnership-option:hover {
    background: var(--surface-container);
}

.bf-option-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.bf-partnership-option:hover .bf-option-icon {
    transform: scale(1.1);
}

.bf-option-icon--primary {
    color: var(--primary);
}

.bf-option-icon--secondary {
    color: var(--secondary);
}

.bf-partnership-option h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bf-partnership-option p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* Alliance Visual */
.bf-partnership-visual {
    display: flex;
    justify-content: center;
}

.bf-alliance-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.2), rgba(0, 56, 56, 0.1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.bf-alliance-dot-grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 2px 2px, var(--on-surface-variant) 1px, transparent 0);
    background-size: 24px 24px;
}

.bf-alliance-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.bf-alliance-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow-elevated);
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.bf-alliance-title {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.bf-alliance-tagline {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

.bf-bento-card--wide {
    grid-column: auto;
}

/* Scaling Section */
.bf-scaling-section {
    padding: 0 1.5rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.bf-scaling-inner {
    max-width: 100%;
}

.bf-scaling-header {
    text-align: center;
    margin-bottom: 4rem;
}

.bf-scaling-header h2 {
    font-family: var(--font-headline);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.bf-scaling-header p {
    color: var(--on-surface-variant);
    max-width: 640px;
    margin: 0 auto;
}

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

.bf-scaling-card {
    padding: 2rem;
    border-left: 1px solid rgba(76, 68, 81, 0.2);
    transition: border-color 0.2s;
}

.bf-scaling-card--tertiary:hover {
    border-color: var(--tertiary);
}

.bf-scaling-card--secondary:hover {
    border-color: var(--secondary);
}

.bf-scaling-card--primary:hover {
    border-color: var(--primary);
}

.bf-scaling-icon {
    display: block;
    margin-bottom: 1.5rem;
}

.bf-scaling-icon--tertiary {
    color: var(--tertiary);
}

.bf-scaling-icon--secondary {
    color: var(--secondary);
}

.bf-scaling-icon--primary {
    color: var(--primary);
}

.bf-scaling-card h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bf-scaling-card p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

/* CTA Section */
.bf-cta {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
    background: var(--surface-container-high);
    border: 1px solid rgba(76, 68, 81, 0.1);
    margin: 0 1.5rem 6rem;
    max-width: 1280px;
}

@media (min-width: 768px) {
    .bf-cta {
        margin: 0 auto 6rem;
        max-width: calc(1280px - 3rem);
    }
}

.bf-cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(221, 183, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.bf-cta-content {
    position: relative;
    z-index: 1;
}

.bf-cta h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.bf-cta p {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.bf-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* Prototype Disclaimer Section */
.bf-disclaimer-section {
    padding: 0 1.5rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.bf-disclaimer-inner {
    max-width: 100%;
}

.bf-disclaimer-card {
    background: linear-gradient(135deg, rgba(221, 183, 255, 0.06), rgba(187, 134, 252, 0.03));
    border: 1px solid rgba(221, 183, 255, 0.25);
    border-radius: 0.75rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.bf-disclaimer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--tertiary));
}

.bf-disclaimer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bf-disclaimer-icon {
    font-size: 2rem;
    color: var(--primary);
}

.bf-disclaimer-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
}

.bf-disclaimer-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bf-disclaimer-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bf-disclaimer-check {
    font-size: 1.5rem;
    color: var(--tertiary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.bf-disclaimer-item h3 {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bf-disclaimer-item p {
    font-size: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .bf-disclaimer-card {
        padding: 1.5rem;
    }

    .bf-disclaimer-title {
        font-size: 1.25rem;
    }
}

/* =============================================
   PORTFOLIO PAGE STYLES
   ============================================= */

.portfolio-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.portfolio-page h1 {
    font-family: var(--font-headline);
    margin-bottom: 0.5rem;
}

.page-intro {
    color: var(--on-surface-variant);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.portfolio-detail-page {
    padding-top: 4rem;
}

/* =============================================
   SUBMIT PROJECT PAGE STYLES
   ============================================= */

.submit-project-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.submit-project-page h1 {
    font-family: var(--font-headline);
    margin-bottom: 0.5rem;
    text-align: center;
}

.submit-project-page .page-intro {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.submission-form {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.submit-project-page .step-indicators {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-group .required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(76, 68, 81, 0.2);
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--on-surface);
    background-color: var(--surface-container-lowest);
    transition: box-shadow 0.2s;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(221, 183, 255, 0.3);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error);
}

.field-errors {
    list-style: none;
    margin-top: 0.25rem;
    color: var(--error);
    font-size: 0.875rem;
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-submit {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-headline);
    cursor: pointer;
    transition: filter 0.2s;
}

.btn-submit:hover {
    filter: brightness(1.1);
}

/* Thank You Message */
.thank-you-message {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background-color: var(--surface-container);
    border: 1px solid rgba(76, 68, 81, 0.1);
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 1rem;
}

.thank-you-message h2 {
    font-family: var(--font-headline);
    margin-bottom: 0.75rem;
}

.thank-you-message p {
    color: var(--on-surface-variant);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-back {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    border-radius: 0.375rem;
    font-weight: 600;
    font-family: var(--font-headline);
    transition: filter 0.2s;
}

.btn-back:hover {
    filter: brightness(1.1);
    color: var(--on-primary);
}

/* Contact Page - Email Banner */
.contact-email-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--surface-container);
    border: 1px solid rgba(76, 68, 81, 0.1);
    border-radius: 0.75rem;
}

.contact-email-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    color: var(--primary);
}

.contact-email-icon svg {
    width: 100%;
    height: 100%;
}

.contact-email-text h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.contact-email-text p {
    color: var(--on-surface-variant);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.contact-email-link {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-headline);
    color: var(--primary);
    transition: color 0.2s;
}

.contact-email-link:hover {
    color: var(--primary-container);
}

@media (max-width: 480px) {
    .contact-email-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* Multi-Step Form */
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    max-width: 640px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 2px solid rgba(76, 68, 81, 0.25);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    transition: all 0.25s;
}

.step-label {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    font-weight: 500;
    transition: color 0.25s;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(76, 68, 81, 0.15);
    margin: 0 0.5rem;
    margin-bottom: 1.25rem;
    transition: background 0.25s;
}

.step-indicator.active .step-number {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--on-primary);
}

.step-indicator.active .step-label {
    color: var(--primary);
}

.step-indicator.completed .step-number {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}

.step-indicator.completed .step-label {
    color: var(--primary);
}

.step-title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.btn-prev {
    background: transparent;
    border: 1px solid rgba(76, 68, 81, 0.25);
    color: var(--on-surface);
}

.btn-prev:hover {
    background: rgba(76, 68, 81, 0.08);
}

.review-section {
    background: var(--surface-container);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.review-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(76, 68, 81, 0.08);
}

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

.review-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
}

.review-value {
    color: var(--on-surface);
    line-height: 1.5;
    word-break: break-word;
}

/* Submit Project Page - Responsive */
@media (max-width: 767px) {
    .submit-project-page {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .submit-project-page h1 {
        font-size: 1.5rem;
    }

    .step-indicators {
        gap: 0;
    }

    .step-label {
        font-size: 0.8125rem;
    }

    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }

    .form-nav {
        gap: 0.75rem;
    }

    .btn-submit {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    .review-section {
        padding: 1rem;
    }
}

/* =============================================
   AI CAPABILITIES (Homepage)
   ============================================= */

.ai-capabilities {
    background-color: var(--surface-container-low);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ai-card {
    background: var(--surface-container);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: background-color 0.3s, background-image 0.3s;
    position: relative;
}

.ai-card:hover {
    background: var(--surface-container-high);
    background-image: radial-gradient(ellipse at top left, rgba(0, 221, 221, 0.04) 0%, transparent 60%);
}

.ai-card--featured {
    grid-column: span 3;
    background: var(--surface-container-highest);
    background-image: radial-gradient(ellipse at bottom right, rgba(0, 221, 221, 0.06) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.ai-card--featured:hover {
    background: var(--surface-container-highest);
    background-image: radial-gradient(ellipse at bottom right, rgba(0, 221, 221, 0.1) 0%, transparent 60%);
}

.ai-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 221, 221, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ai-card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.ai-card-icon--tertiary {
    color: var(--tertiary);
}

.ai-card-icon--primary {
    color: var(--primary);
}

.ai-card-icon--secondary {
    color: var(--secondary);
}

.ai-card h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.ai-card p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    line-height: 1.6;
}

.ai-card--featured h3 {
    font-size: 1.5rem;
}

.ai-card--featured p {
    max-width: 48rem;
    font-size: 1rem;
}

.ai-cta-row {
    text-align: center;
    margin-top: 3rem;
}

/* =============================================
   AI EXPERTISE (Services Page)
   ============================================= */

.services-bento-glow--tertiary {
    background: radial-gradient(ellipse at top right, rgba(0, 221, 221, 0.08) 0%, transparent 60%);
}

.services-ai-expertise {
    padding: 6rem 0;
    background: var(--surface-container-low);
    overflow-x: hidden;
}

.services-ai-expertise-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-ai-expertise-header {
    max-width: 40rem;
    margin-bottom: 4rem;
}

.services-ai-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tertiary);
    margin-bottom: 1.5rem;
}

.services-ai-label-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--tertiary);
    border-radius: 50%;
    animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.services-ai-expertise-header h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.services-ai-expertise-header p {
    color: var(--on-surface-variant);
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: hidden;
    max-width: 100%;
}

.services-ai-card {
    background: var(--surface-container);
    border-radius: 1.25rem;
    padding: 2.5rem;
    transition: background-color 0.3s, background-image 0.3s;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.services-ai-card:hover {
    background: var(--surface-container-high);
    background-image: radial-gradient(ellipse at top left, rgba(0, 221, 221, 0.04) 0%, transparent 60%);
}

.services-ai-card-icon {
    font-size: 2.5rem;
    color: var(--tertiary);
    display: block;
    margin-bottom: 1.25rem;
}

.services-ai-card h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.services-ai-card p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* =============================================
   AI-POWERED PROTOTYPING (Build First Page)
   ============================================= */

.bf-ai-section {
    padding: 0 2rem 5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.bf-ai-inner {
    padding: 0;
}

.bf-ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.bf-ai-text h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.bf-ai-text p {
    color: var(--on-surface-variant);
    font-size: 1.05rem;
    line-height: 1.7;
}

.bf-ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bf-ai-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--surface-container);
    border-radius: 1rem;
    transition: background-color 0.3s;
}

.bf-ai-feature:hover {
    background: var(--surface-container-high);
}

.bf-ai-feature-icon {
    font-size: 2rem;
    color: var(--tertiary);
    flex-shrink: 0;
}

.bf-ai-feature h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.bf-ai-feature p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* Desktop split header */
@media (min-width: 768px) {
    .section-header--split {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .slots-badge {
        align-self: flex-end;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .bento-grid {
        height: 600px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .bento-card--wide {
        grid-column: span 6;
    }

    .bento-card--narrow {
        grid-column: span 3;
    }

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

    .partners-split {
        grid-template-columns: 1fr;
    }

    .partner-col {
        padding: 3rem 2rem;
    }

    .partner-col--startup {
        border-right: none;
    }

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

    .hero-logo {
        height: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .cta-inner h2 {
        font-size: 2.25rem;
    }

    /* About Tablet */
    .mission-content {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-hero h1 {
        font-size: 2.25rem;
    }

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

    /* AI Capabilities Tablet (Homepage) */
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-card--featured {
        grid-column: span 2;
    }

    /* Services Tablet */
    .services-hero-inner {
        grid-template-columns: 1fr;
    }

    .services-hero-title {
        font-size: 3.25rem;
    }

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

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

    .services-bento-card--split {
        flex-direction: column;
    }

    .services-cta h2 {
        font-size: 2.25rem;
    }

    .services-ai-expertise-header h2 {
        font-size: 2rem;
    }

    /* Build First Tablet */
    .bf-ai-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bf-ai-text h2 {
        font-size: 2rem;
    }
    .bf-hero h1 {
        font-size: 2.25rem;
    }

    .bf-bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bf-partnership-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bf-partnership-text h2 {
        font-size: 2rem;
    }

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

    .bf-cta h2 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    /* Mobile Navigation */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 20, 22, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    .nav-links--open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 2rem;
        border-top: 1px solid rgba(76, 68, 81, 0.1);
    }

    .nav-actions {
        display: block;
        margin: 0.5rem 2rem 1rem;
        text-align: center;
    }

    .nav-actions .btn-nav {
        display: block;
        border-radius: 0.5rem;
        color: var(--on-primary);
    }

    .nav-logo-img {
        height: 28px;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-logo {
        height: 44px;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-gradient,
    .hero-actions .btn-ghost,
    .hero-actions .btn-cta,
    .hero-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* Sections Mobile */
    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2,
    .section-header-text h2 {
        font-size: 1.75rem;
    }

    .section-title-center {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

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

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

    .bento-card--wide,
    .bento-card--narrow {
        grid-column: span 1;
    }

    .bento-card--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-page {
        padding: 5rem 1.5rem;
    }

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

    .partners-split {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .partner-col {
        padding: 3rem 1.5rem;
    }

    .partner-col h2 {
        font-size: 1.75rem;
    }

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

    .hosting-inner h2 {
        font-size: 1.75rem;
    }

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

    .submit-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .home-cta {
        padding: 5rem 1.5rem;
    }

    .cta-inner h2 {
        font-size: 1.75rem;
    }

    /* Footer Mobile */
    .footer-logo-img {
        height: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* About Mobile */
    .about-hero {
        padding: 3rem 1.5rem;
    }

    .about-hero h1 {
        font-size: 1.85rem;
    }

    .about-hero-subtitle {
        font-size: 1.05rem;
    }

    .about-section-block {
        padding: 3rem 1.5rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-cta {
        padding: 3rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.6rem;
    }

    /* AI Capabilities Mobile (Homepage) */
    .ai-grid {
        grid-template-columns: 1fr;
    }

    .ai-card--featured {
        grid-column: span 1;
    }

    .ai-card--featured h3 {
        font-size: 1.25rem;
    }

    .ai-card--featured p {
        font-size: 0.875rem;
    }

    /* Services Mobile */
    .services-ai-expertise {
        padding: 4rem 0;
    }

    .services-ai-expertise-header h2 {
        font-size: 1.75rem;
    }

    .services-ai-grid {
        grid-template-columns: 1fr;
    }

    .services-page {
        padding-top: 5rem;
    }

    .services-hero {
        padding: 0 1.5rem 4rem;
    }

    .services-hero-inner {
        grid-template-columns: 1fr;
    }

    .services-hero-title {
        font-size: 2.25rem;
    }

    .services-hero-desc p {
        font-size: 1rem;
    }

    .services-bento {
        padding: 0 1.5rem 5rem;
    }

    .services-bento-grid {
        grid-template-columns: 1fr;
    }

    .services-bento-card--wide {
        grid-column: span 1;
    }

    .services-bento-card--split {
        flex-direction: column;
    }

    .services-bento-card {
        padding: 2rem;
    }

    .services-bento-title--lg {
        font-size: 1.5rem;
    }

    .services-cta {
        padding: 0 1.5rem 5rem;
    }

    .services-cta-inner {
        padding: 3rem 1.5rem;
    }

    .services-cta h2 {
        font-size: 1.75rem;
    }

    .services-cta p {
        font-size: 1rem;
    }

    .services-cta-actions {
        flex-direction: column;
    }

    .services-cta-actions .btn-gradient,
    .services-cta-actions .btn-outline--light {
        width: 100%;
        text-align: center;
    }

    /* Build First Mobile */
    .bf-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .bf-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bf-hero h1 {
        font-size: 2.25rem;
    }

    .bf-hero-subtitle {
        font-size: 1.05rem;
    }

    .bf-hero-action {
        justify-content: flex-start;
    }

    .bf-ai-section {
        padding: 0 1.5rem 4rem;
    }

    .bf-ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bf-ai-text h2 {
        font-size: 1.75rem;
    }

    .bf-prototype-section {
        padding: 0 1.5rem 4rem;
    }

    .bf-bento-grid {
        grid-template-columns: 1fr;
    }

    .bf-bento-title--lg {
        font-size: 1.5rem;
    }

    .bf-partnership-section {
        border-radius: 1rem;
        margin: 0 1rem 4rem;
    }

    .bf-partnership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bf-partnership-text h2 {
        font-size: 1.75rem;
    }

    .bf-alliance-card {
        aspect-ratio: auto;
        min-height: 280px;
    }

    .bf-scaling-section {
        padding: 0 1.5rem 4rem;
    }

    .bf-scaling-grid {
        grid-template-columns: 1fr;
    }

    .bf-scaling-header h2 {
        font-size: 1.75rem;
    }

    .bf-cta {
        padding: 4rem 1.5rem;
        margin: 0 1rem 4rem;
        border-radius: 1rem;
    }

    .bf-cta h2 {
        font-size: 1.75rem;
    }

    .bf-cta p {
        font-size: 1rem;
    }

    .bf-cta-actions {
        flex-direction: column;
    }

    .bf-cta-actions .btn-gradient,
    .bf-cta-actions .btn-ghost {
        width: 100%;
        text-align: center;
    }
}

/* =============================================
   TECHNICAL SUPPORT PAGE STYLES
   ============================================= */

.tech-support-page {
    max-width: 100%;
    padding: 0;
    padding-top: 5rem;
}

/* --- Hero --- */
.ts-hero {
    padding: 4rem 2rem 6rem;
    max-width: 80rem;
    margin: 0 auto;
}

.ts-hero-inner {
    max-width: 48rem;
}

.ts-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-headline);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tertiary);
    margin-bottom: 1.5rem;
}

.ts-hero-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tertiary);
    box-shadow: 0 0 8px var(--tertiary);
    animation: ts-pulse 2s ease-in-out infinite;
}

@keyframes ts-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ts-hero h1 {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

.ts-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.ts-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Section Shared --- */
.ts-section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ts-label-line {
    width: 2rem;
    height: 1px;
    background: var(--outline-variant);
}

.ts-label-text {
    font-family: var(--font-headline);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
}

.ts-section-title {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 3rem;
    color: var(--on-surface);
}

/* --- How It Works --- */
.ts-how-it-works {
    padding: 0 2rem 6rem;
    max-width: 80rem;
    margin: 0 auto;
}

.ts-how-inner {
    max-width: 80rem;
}

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

.ts-step-card {
    background: var(--surface-container);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ts-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.ts-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.ts-step-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-step-icon-wrap--primary {
    background: rgba(221, 183, 255, 0.1);
    color: var(--primary);
}

.ts-step-icon-wrap--secondary {
    background: rgba(235, 178, 255, 0.1);
    color: var(--secondary);
}

.ts-step-icon-wrap--tertiary {
    background: rgba(0, 221, 221, 0.1);
    color: var(--tertiary);
}

.ts-step-number {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--outline-variant);
    opacity: 0.3;
    line-height: 1;
}

.ts-step-title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--on-surface);
}

.ts-step-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

/* --- Services Grid --- */
.ts-services {
    padding: 0 2rem 6rem;
    max-width: 80rem;
    margin: 0 auto;
}

.ts-services-inner {
    max-width: 80rem;
}

.ts-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ts-service-card {
    background: var(--surface-container);
    padding: 2.5rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ts-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

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

.ts-service-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(221, 183, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ts-service-glow--tertiary {
    background: radial-gradient(circle, rgba(0, 221, 221, 0.06) 0%, transparent 70%);
}

.ts-service-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
}

.ts-service-icon--primary {
    color: var(--primary);
}

.ts-service-icon--secondary {
    color: var(--secondary);
}

.ts-service-icon--tertiary {
    color: var(--tertiary);
}

.ts-service-title {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--on-surface);
}

.ts-service-title--lg {
    font-size: 1.5rem;
}

.ts-service-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

.ts-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.ts-service-tag {
    background: var(--surface-container-high);
    color: var(--on-surface-variant);
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-headline);
    letter-spacing: 0.02em;
}

/* --- Diagnosis Report Section --- */
.ts-report {
    padding: 0 2rem 6rem;
    max-width: 80rem;
    margin: 0 auto;
}

.ts-report-inner {
    max-width: 80rem;
}

.ts-report-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ts-report-text h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.ts-report-text > p {
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ts-report-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ts-report-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--on-surface-variant);
}

.ts-check-icon {
    color: var(--tertiary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Report Preview Card */
.ts-report-card {
    background: var(--surface-container);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.ts-report-card-header {
    background: var(--surface-container-high);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--on-surface);
}

.ts-report-card-header .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

.ts-report-card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ts-report-line {
    height: 8px;
    border-radius: 4px;
    background: var(--surface-container-high);
}

.ts-report-line--full { width: 100%; }
.ts-report-line--80 { width: 80%; }
.ts-report-line--75 { width: 75%; }
.ts-report-line--60 { width: 60%; }
.ts-report-line--50 { width: 50%; }
.ts-report-line--40 { width: 40%; }

.ts-report-spacer {
    height: 0.5rem;
}

.ts-report-severity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ts-severity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ts-severity-dot--high { background: var(--error); }
.ts-severity-dot--medium { background: #ffb74d; }
.ts-severity-dot--low { background: var(--tertiary); }

/* --- CTA --- */
.ts-cta {
    padding: 0 2rem 6rem;
    max-width: 80rem;
    margin: 0 auto;
}

.ts-cta-inner {
    background: var(--surface-container);
    border-radius: 2rem;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ts-cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(221, 183, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ts-cta h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--on-surface);
    position: relative;
    z-index: 1;
}

.ts-cta p {
    font-size: 1.25rem;
    color: var(--on-surface-variant);
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.ts-cta-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.ts-cta-actions .btn-gradient {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.ts-cta-actions .btn-outline--light {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border: 1px solid rgba(76, 68, 81, 0.2);
    color: var(--on-surface);
    transition: border-color 0.3s;
}

.ts-cta-actions .btn-outline--light:hover {
    border-color: rgba(76, 68, 81, 0.5);
}

/* --- Technical Support Tablet (max-width: 992px) --- */
@media (max-width: 992px) {
    .ts-hero h1 {
        font-size: 2.75rem;
    }

    .ts-section-title {
        font-size: 2rem;
    }

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

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

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

    .ts-report-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ts-report-text h2 {
        font-size: 2rem;
    }

    .ts-cta h2 {
        font-size: 2rem;
    }
}

/* --- Technical Support Mobile (max-width: 767px) --- */
@media (max-width: 767px) {
    .tech-support-page {
        padding-top: 4rem;
    }

    .ts-hero {
        padding: 3rem 1.5rem 4rem;
    }

    .ts-hero h1 {
        font-size: 2rem;
    }

    .ts-hero-subtitle {
        font-size: 1.05rem;
    }

    .ts-hero-actions {
        flex-direction: column;
    }

    .ts-hero-actions .btn-gradient,
    .ts-hero-actions .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .ts-how-it-works {
        padding: 0 1.5rem 4rem;
    }

    .ts-section-title {
        font-size: 1.75rem;
    }

    .ts-steps-grid {
        grid-template-columns: 1fr;
    }

    .ts-step-card {
        padding: 2rem;
    }

    .ts-services {
        padding: 0 1.5rem 4rem;
    }

    .ts-services-grid {
        grid-template-columns: 1fr;
    }

    .ts-service-card--wide {
        grid-column: span 1;
    }

    .ts-service-card {
        padding: 2rem;
    }

    .ts-service-title--lg {
        font-size: 1.25rem;
    }

    .ts-report {
        padding: 0 1.5rem 4rem;
    }

    .ts-report-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ts-report-text h2 {
        font-size: 1.75rem;
    }

    .ts-cta {
        padding: 0 1.5rem 4rem;
    }

    .ts-cta-inner {
        padding: 3rem 1.5rem;
        border-radius: 1rem;
    }

    .ts-cta h2 {
        font-size: 1.75rem;
    }

    .ts-cta p {
        font-size: 1rem;
    }

    .ts-cta-actions {
        flex-direction: column;
    }

    .ts-cta-actions .btn-gradient,
    .ts-cta-actions .btn-outline--light {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ============================================================ */

.legal-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: var(--surface-container-lowest);
}

.legal-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-family: 'Manrope', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--on-surface);
    margin: 1rem 0 0.5rem;
}

.legal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--outline-variant);
}

.legal-content {
    padding: 3rem 2rem 5rem;
    background: var(--surface);
}

.legal-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--on-surface);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--on-surface-variant);
    margin-bottom: 0.75rem;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.legal-section ul li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--on-surface-variant);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-section a:hover {
    color: var(--secondary);
}

@media (max-width: 600px) {
    .legal-hero {
        padding: 6rem 1.25rem 2rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-content {
        padding: 2rem 1.25rem 3rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }
}


/* ===== Print Stylesheet ===== */
@media print {
    /* Force light backgrounds and dark text */
    :root {
        --surface: #ffffff;
        --surface-dim: #ffffff;
        --surface-container-lowest: #ffffff;
        --surface-container-low: #ffffff;
        --surface-container: #ffffff;
        --surface-container-high: #f5f5f5;
        --surface-container-highest: #eeeeee;
        --surface-bright: #ffffff;
        --on-surface: #1a1a1a;
        --on-surface-variant: #333333;
        --on-background: #1a1a1a;
        --primary: #4a0080;
        --primary-container: #f0e6ff;
        --outline: #666666;
        --outline-variant: #cccccc;
    }

    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #1a1a1a !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: 'Inter', Georgia, serif;
        font-size: 12pt;
        line-height: 1.5;
        background: #ffffff !important;
        color: #1a1a1a !important;
    }

    /* Hide non-essential elements */
    .glass-nav,
    .nav-toggle,
    .nav-actions,
    .site-footer,
    .hero-glow,
    .hero-glow--left,
    .hero-glow--right,
    .hero-bg-overlay,
    .hero-bg,
    .back-to-top,
    .cta-inner,
    .ambient-glow,
    .scroll-indicator {
        display: none !important;
    }

    /* Ensure content fills the page width */
    body,
    main,
    .hero-content,
    .hero-text,
    .legal-content,
    .legal-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Page title styling */
    h1, h2, h3, h4, h5, h6 {
        color: #1a1a1a !important;
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    /* Paragraphs and block elements */
    p, li, blockquote {
        orphans: 3;
        widows: 3;
    }

    /* Show link URLs inline for reference */
    a {
        color: #4a0080 !important;
        text-decoration: underline !important;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666666 !important;
        font-weight: normal;
    }

    /* Don't show URL for nav or internal links */
    .glass-nav a::after,
    .site-footer a::after,
    a[href^="#"]::after,
    a[href^="/"]::after {
        content: none !important;
    }

    /* Images */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Legal pages (Privacy Policy, Terms of Service) */
    .legal-hero {
        padding: 0 !important;
        min-height: auto !important;
    }

    .legal-title {
        font-size: 24pt !important;
        margin-bottom: 0.5rem !important;
    }

    .legal-subtitle {
        font-size: 10pt !important;
        color: #666666 !important;
    }

    .legal-content {
        padding: 1rem 0 !important;
    }

    .legal-section {
        padding: 0.75rem 0 !important;
        border: none !important;
    }

    .legal-section h2 {
        font-size: 14pt !important;
    }

    .legal-section p,
    .legal-section li {
        font-size: 11pt !important;
        line-height: 1.5 !important;
        color: #333333 !important;
    }

    .legal-section ul li::before {
        background: #1a1a1a !important;
    }

    /* Cards and sections — flatten for print */
    .card,
    .bento-card,
    .service-card,
    .project-card {
        border: 1px solid #cccccc !important;
        page-break-inside: avoid;
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }

    /* Page margins */
    @page {
        margin: 2cm;
    }
}
