:root {
    --bg-dark: #0D0D0F;
    --bg-card: #141417;
    --bg-elevated: #1A1A1E;
    --bg-grid: rgba(255,255,255,0.03);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.4);
    --line-color: rgba(255,255,255,0.1);
    --line-drawing: rgba(255,255,255,0.25);
    --accent-red: #E63946;
    --accent-red-glow: rgba(230,57,70,0.3);
    --accent-orange: #F4A261;
    --accent-blue: #4EA8DE;
    --font-hand: 'Caveat', cursive;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --section-padding: clamp(80px, 12vw, 140px);
}

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

html {
    -webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
    font-size: 125%; /* Scale entire site to look like 125% zoom */
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Blueprint grid background */
.blueprint-grid {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
            linear-gradient(var(--bg-grid) 1px, transparent 1px),
            linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Wider container for large screens (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
    }
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(13,13,15,0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-color);
    padding: 16px 0;
}

.nav-inner {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-red);
}

.nav-links {
    display: -webkit-flex;
    display: flex;
    gap: 40px;
    list-style: none;
    -webkit-align-items: center;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-red) !important;
    color: var(--text-primary) !important;
    padding: 12px 24px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: #ff4757 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-red-glow);
}

/* Hand-drawn leader annotation */
.hero-leader-annotation {
    position: absolute;
    top: 80px;
    /* Position relative to container edge - aligns with nav CTA button */
    right: calc(50vw - 700px + 24px + 30px);
    opacity: 0;
    -webkit-animation: fadeInAnnotation 0.8s ease 1.5s forwards;
    animation: fadeInAnnotation 0.8s ease 1.5s forwards;
    pointer-events: none;
    z-index: 10;
}

/* When viewport is smaller than container max-width */
@media (max-width: 1248px) {
    .hero-leader-annotation {
        right: 124px;
    }
}

@media (max-width: 1024px) {
    .hero-leader-annotation {
        right: 100px;
    }
}

/* Mobile - point to hamburger menu */
@media (max-width: 768px) {
    .hero-leader-annotation {
        right: 24px;
        top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-leader-annotation {
        right: 16px;
        top: 55px;
    }

    .hero-leader-annotation svg {
        -webkit-transform: scale(0.85);
        transform: scale(0.85);
        -webkit-transform-origin: top right;
        transform-origin: top right;
    }
}

@media (max-width: 380px) {
    .hero-leader-annotation {
        display: none;
    }
}

.hero-leader-annotation svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-leader-annotation .leader-path {
    stroke: var(--accent-red);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    -webkit-animation: drawLeader 1.2s ease 1.8s forwards;
    animation: drawLeader 1.2s ease 1.8s forwards;
}

.hero-leader-annotation .leader-arrow {
    stroke: var(--accent-red);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    -webkit-animation: drawLeader 0.4s ease 2.8s forwards;
    animation: drawLeader 0.4s ease 2.8s forwards;
}

.hero-leader-annotation .annotation-label {
    font-family: var(--font-hand);
    font-size: 18px;
    fill: var(--accent-red);
}

@media (max-width: 480px) {
    .hero-leader-annotation .annotation-label {
        font-size: 16px;
    }
}

/* Hand-drawn logo annotation (mirrored) */
.hero-logo-annotation {
    position: absolute;
    top: 80px;
    /* Position relative to container edge - centers under logo */
    left: calc(50vw - 700px + 24px - 30px);
    opacity: 0;
    -webkit-animation: fadeInAnnotation 0.8s ease 1.7s forwards;
    animation: fadeInAnnotation 0.8s ease 1.7s forwards;
    pointer-events: none;
    z-index: 10;
}

/* When viewport is smaller than container max-width */
@media (max-width: 1248px) {
    .hero-logo-annotation {
        left: -6px;
    }
}

@media (max-width: 1024px) {
    .hero-logo-annotation {
        left: -10px;
    }
}

/* Mobile - position under logo */
@media (max-width: 768px) {
    .hero-logo-annotation {
        left: -15px;
        top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-logo-annotation {
        display: none;
    }
    .hero-leader-annotation {
        display: none;
    }
}

.hero-logo-annotation svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-logo-annotation .leader-path {
    stroke: var(--accent-red);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    -webkit-animation: drawLeader 1.2s ease 2s forwards;
    animation: drawLeader 1.2s ease 2s forwards;
}

.hero-logo-annotation .leader-arrow {
    stroke: var(--accent-red);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    -webkit-animation: drawLeader 0.4s ease 3s forwards;
    animation: drawLeader 0.4s ease 3s forwards;
}

.hero-logo-annotation .annotation-label {
    font-family: var(--font-hand);
    font-size: 18px;
    fill: var(--accent-red);
}

@-webkit-keyframes fadeInAnnotation {
    to { opacity: 1; }
}
@keyframes fadeInAnnotation {
    to { opacity: 1; }
}

@-webkit-keyframes drawLeader {
    to { stroke-dashoffset: 0; }
}
@keyframes drawLeader {
    to { stroke-dashoffset: 0; }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    -webkit-align-items: start;
    align-items: center;
    width: 100%;
}

.hero-text {
    position: relative;
}

.hero-label {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-animation: fadeInUp 0.8s ease forwards;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent-red);
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: fadeInUp 0.8s ease 0.1s forwards;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent-red);
    opacity: 0.3;
    z-index: -1;
    transform: skewX(-12deg);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 24px;
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: fadeInUp 0.8s ease 0.2s forwards;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta-group {
    display: -webkit-flex;
    display: flex;
    gap: 16px;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 20px;
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: fadeInUp 0.8s ease 0.3s forwards;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-red);
    color: var(--text-primary);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--accent-red-glow);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--line-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--text-muted);
}

/* Hero annotation */
.hero-annotation {
    display: none;
}

/* CTA Button Annotations */
.cta-annotations {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    gap: 60px;
    margin-top: 10px;
    opacity: 0;
    -webkit-animation: fadeInAnnotation 0.8s ease 1.8s forwards;
    animation: fadeInAnnotation 0.8s ease 1.8s forwards;
}

.cta-annotation svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.cta-annotation .leader-path {
    stroke: var(--accent-red);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    -webkit-animation: drawLeader 1s ease 2.2s forwards;
    animation: drawLeader 1s ease 2.2s forwards;
}

.cta-annotation .leader-arrow {
    stroke: var(--accent-red);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    -webkit-animation: drawLeader 0.4s ease 3s forwards;
    animation: drawLeader 0.4s ease 3s forwards;
}

.cta-annotation .annotation-label {
    font-family: var(--font-hand);
    font-size: 22px;
    fill: var(--accent-red);
}

.cta-annotation-left {
    margin-left: -10px;
}

.cta-annotation-right {
    margin-left: 20px;
}

@media (max-width: 1024px) {
    .cta-annotations {
        -webkit-justify-content: center;
        justify-content: center;
        gap: 40px;
    }

    .cta-annotation-left {
        margin-left: 0;
    }

    .cta-annotation-right {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .cta-annotations {
        gap: 20px;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .cta-annotation .annotation-label {
        font-size: 18px;
    }

    .cta-annotation svg {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .cta-annotations {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        align-items: center;
        gap: 0;
        margin-top: 5px;
    }

    .cta-annotation-left svg,
    .cta-annotation-right svg {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        max-width: 160px;
    }

    .cta-annotation .annotation-label {
        font-size: 16px;
    }
}

@media (max-width: 580px) {
    .cta-annotations {
        display: none;
    }
}

.annotation-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.annotation-line {
    width: 80px;
    height: 60px;
    stroke: var(--accent-red);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 1s ease 0.8s forwards;
}

.annotation-text {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--accent-red);
    transform: rotate(-3deg);
    white-space: nowrap;
}

/* Hero visual */
.hero-visual {
    position: relative;
    opacity: 0;
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
    -webkit-animation: fadeInRight 1s ease 0.4s forwards;
    animation: fadeInRight 1s ease 0.4s forwards;
}

.blueprint-frame {
    position: relative;
    background: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* AutoCAD-style title bar */
.acad-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: linear-gradient(180deg, #3b3b3b 0%, #2d2d2d 100%);
    border-bottom: 1px solid #1a1a1a;
}

.acad-titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.acad-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    border-radius: 2px;
}

.acad-title {
    font-family: 'Segoe UI', var(--font-body);
    font-size: 12px;
    color: #cccccc;
}

.acad-window-controls {
    display: flex;
    gap: 4px;
}

.acad-window-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
}

.acad-window-btn.minimize { background: #f4bf4f; }
.acad-window-btn.maximize { background: #61c554; }
.acad-window-btn.close { background: #ec6a5e; }

/* AutoCAD ribbon/toolbar */
.acad-ribbon {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    background: #2d2d2d;
    border-bottom: 1px solid #1a1a1a;
}

.acad-tab {
    padding: 4px 12px;
    font-family: 'Segoe UI', var(--font-body);
    font-size: 11px;
    color: #888;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
}

.acad-tab.active {
    background: #3d3d3d;
    color: #fff;
}

.acad-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: #252526;
    border-bottom: 1px solid #1a1a1a;
}

.acad-tool {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.acad-tool:hover {
    background: #3d3d3d;
    border-color: #555;
}

.acad-tool svg {
    width: 14px;
    height: 14px;
    stroke: #888;
    stroke-width: 1.5;
    fill: none;
}

.acad-tool:hover svg {
    stroke: #ccc;
}

.acad-separator {
    width: 1px;
    height: 20px;
    background: #3a3a3a;
    margin: 0 4px;
}

/* Drawing area */
.blueprint-content {
    padding: 16px;
    position: relative;
    min-height: 300px;
    background: #1a1a1a;
    overflow: hidden;
}

/* Properties Palette */
.acad-palette {
    position: absolute;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100%;
    background: #2d2d2d;
    border-left: 1px solid #1a1a1a;
    z-index: 10;
    -webkit-transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.acad-palette.open {
    right: 0;
}

.palette-header {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 8px 10px;
    background: #3d3d3d;
    border-bottom: 1px solid #1a1a1a;
}

.palette-title {
    font-family: 'Segoe UI', var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: #ccc;
}

.palette-close {
    background: none;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.palette-close:hover {
    color: #fff;
}

.palette-content {
    -webkit-flex: 1;
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.palette-section {
    margin-bottom: 8px;
}

.palette-section-header {
    padding: 6px 10px;
    font-family: 'Segoe UI', var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: #4fc3f7;
    background: #252526;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.palette-row {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 1px solid #3a3a3a;
}

.palette-row:hover {
    background: #3a3a3a;
}

.palette-row.highlight {
    background: rgba(230, 57, 70, 0.15);
}

.palette-row.highlight .palette-value {
    color: var(--accent-red);
}

.palette-label {
    font-family: 'Segoe UI', var(--font-body);
    font-size: 10px;
    color: #888;
}

.palette-value {
    font-family: 'Segoe UI', var(--font-body);
    font-size: 10px;
    color: #ccc;
    text-align: right;
}

@media (max-width: 480px) {
    .acad-palette {
        width: 160px;
        right: -160px;
    }
}


/* Command line */
.acad-commandline {
    padding: 6px 10px;
    background: #1e1e1e;
    border-top: 1px solid #3a3a3a;
    font-family: 'Consolas', 'JetBrains Mono', monospace;
    font-size: 11px;
}

.acad-command-history {
    color: #888;
    margin-bottom: 4px;
    text-align: left;
}

.acad-command-prompt {
    display: flex;
    align-items: center;
    gap: 6px;
}

.acad-command-prompt span {
    color: #4fc3f7;
}

.acad-command-input {
    color: #fff;
}

.acad-cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: #fff;
    animation: blink 1s step-end infinite;
}

@-webkit-keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Status bar */
.acad-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    background: #007acc;
    font-family: 'Segoe UI', var(--font-body);
    font-size: 10px;
    color: #fff;
}

.acad-status-left,
.acad-status-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acad-status-item {
    opacity: 0.9;
}

/* Animated cabinet drawing */
.cabinet-drawing {
    width: 100%;
    height: 280px;
}

.cabinet-drawing path,
.cabinet-drawing line,
.cabinet-drawing rect,
.cabinet-drawing circle {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;
}

.cabinet-drawing .delay-1 { animation-delay: 0.5s; }
.cabinet-drawing .delay-2 { animation-delay: 0.8s; }
.cabinet-drawing .delay-3 { animation-delay: 1.1s; }
.cabinet-drawing .delay-4 { animation-delay: 1.4s; }
.cabinet-drawing .delay-5 { animation-delay: 1.7s; }

/* Markup annotations on drawing */
.markup-annotation {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}


.markup-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    position: relative;
}

.markup-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

.markup-label {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--accent-red);
    white-space: nowrap;
}

/* Experience badge */
.experience-badge {
    display: none;
}

/* Toast notifications */
.acad-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(100px);
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-elevated);
    border: 1px solid var(--line-color);
    border-left: 4px solid var(--accent-red);
    padding: 16px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    -webkit-transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 90%;
    text-align: center;
}

.acad-toast.show {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
}

.acad-toast .toast-icon {
    margin-right: 10px;
}

/* Interactive window buttons */
.acad-window-btn {
    cursor: pointer;
    -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acad-window-btn:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.acad-window-btn:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

/* Interactive tools */
.acad-tool {
    cursor: pointer;
}

.acad-tool.active {
    background: #4a4a4a;
    border-color: var(--accent-red);
}

.acad-tool.active svg {
    stroke: var(--accent-red);
}

/* Window shake animation */
@-webkit-keyframes windowShake {
    0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
    20% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
    40% { -webkit-transform: translateX(5px); transform: translateX(5px); }
    60% { -webkit-transform: translateX(-3px); transform: translateX(-3px); }
    80% { -webkit-transform: translateX(3px); transform: translateX(3px); }
}
@keyframes windowShake {
    0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
    20% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
    40% { -webkit-transform: translateX(5px); transform: translateX(5px); }
    60% { -webkit-transform: translateX(-3px); transform: translateX(-3px); }
    80% { -webkit-transform: translateX(3px); transform: translateX(3px); }
}

/* Window bounce animation */
@-webkit-keyframes windowBounce {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(0.95); transform: scale(0.95); }
}
@keyframes windowBounce {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(0.95); transform: scale(0.95); }
}

.blueprint-frame.shake {
    -webkit-animation: windowShake 0.5s ease;
    animation: windowShake 0.5s ease;
}

.blueprint-frame.bounce {
    -webkit-animation: windowBounce 0.3s ease;
    animation: windowBounce 0.3s ease;
}

/* Highlight effect for drawing elements */
.cabinet-drawing .highlight-element {
    stroke: var(--accent-red) !important;
    stroke-width: 2.5 !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* ========== TRUST BAR ========== */
.trust-bar {
    padding: 60px 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
    background: var(--bg-card);
}

.trust-content {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 40px;
}

.trust-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.trust-items {
    display: -webkit-flex;
    display: flex;
    gap: 48px;
    -webkit-align-items: center;
    align-items: center;
}

.trust-item {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-red);
}

/* ========== PROBLEM SECTION (Video) ========== */
.problem-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problem-content {
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-red);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.pain-points {
    list-style: none;
    margin-bottom: 40px;
}

.pain-points li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-color);
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.pain-points li:last-child {
    border-bottom: none;
}

.pain-points .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: var(--accent-orange);
}

.pain-annotation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-top: 16px;
}

.pain-annotation svg {
    width: 32px;
    height: 32px;
}

/* Video container */
.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(0,0,0,0.3);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--accent-red-glow);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 12px 48px var(--accent-red-glow);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-left: 4px;
}

.video-label {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--text-primary);
}

.video-annotation {
    position: absolute;
    top: -40px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.video-annotation .annotation-text {
    font-size: 1.1rem;
}

.video-annotation svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-red);
    stroke-width: 2;
    fill: none;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--bg-card);
    position: relative;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.service-card {
    background: var(--bg-dark);
    border: 1px solid var(--line-color);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    stroke: var(--text-primary);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s ease;
}

.service-card:hover .service-icon {
    stroke: var(--accent-red);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-hand);
    font-size: 1rem;
    color: var(--accent-red);
    transform: rotate(5deg);
}

/* ========== PROCESS SECTION ========== */
.process-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line-color);
    transform: translateX(-50%);
}

.process-line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: var(--accent-red);
    transform: translateX(-50%);
    height: 0;
    transition: height 0.8s ease;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    position: relative;
}

.process-step:nth-child(even) {
    direction: rtl;
}

.process-step:nth-child(even) > * {
    direction: ltr;
}

.process-content {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 16px;
    position: relative;
}

.process-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
    z-index: 2;
}

.process-step:nth-child(odd) .process-number {
    right: -108px;
}

.process-step:nth-child(even) .process-number {
    left: -108px;
}

.process-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-annotation {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .accent {
    color: var(--accent-red);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.stat-annotation {
    position: absolute;
    top: -24px;
    right: 0;
    font-family: var(--font-hand);
    font-size: 1rem;
    color: var(--accent-red);
    transform: rotate(5deg);
}

/* ========== TESTIMONIAL VIDEO SECTION ========== */
.testimonial-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.testimonial-video {
    position: relative;
}

.testimonial-video .video-container {
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.testimonial-video:hover .video-container {
    transform: rotate(0deg);
}

.testimonial-quote {
    position: relative;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 8rem;
    color: var(--line-color);
    line-height: 1;
    margin-bottom: -40px;
}

.quote-text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--bg-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-red);
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-annotation {
    position: absolute;
    bottom: -40px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-red);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--accent-red), #c0392b);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-annotation {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.urgency-text {
    margin-top: 24px;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--accent-orange);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.footer ul {
    list-style: none;
}

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

.footer ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--line-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== ANIMATIONS ========== */
@-webkit-keyframes fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeInRight {
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@keyframes fadeInRight {
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fadeIn {
    to {
        opacity: 1;
    }
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@-webkit-keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes pulse {
    0%, 100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 0;
    }
}
@keyframes pulse {
    0%, 100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 0;
    }
}

@-webkit-keyframes badgePop {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px) rotate(3deg) scale(0.8);
        transform: translateY(20px) rotate(3deg) scale(0.8);
    }
    70% {
        -webkit-transform: translateY(-5px) rotate(3deg) scale(1.05);
        transform: translateY(-5px) rotate(3deg) scale(1.05);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0) rotate(3deg) scale(1);
        transform: translateY(0) rotate(3deg) scale(1);
    }
}
@keyframes badgePop {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px) rotate(3deg) scale(0.8);
        transform: translateY(20px) rotate(3deg) scale(0.8);
    }
    70% {
        -webkit-transform: translateY(-5px) rotate(3deg) scale(1.05);
        transform: translateY(-5px) rotate(3deg) scale(1.05);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0) rotate(3deg) scale(1);
        transform: translateY(0) rotate(3deg) scale(1);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    -webkit-transform: translateY(40px);
    transform: translateY(40px);
    -webkit-transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav-annotation {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-annotation {
        display: none;
    }

    .hero-visual {
        max-width: 75%;
        width: 75%;
        margin: 0 auto;
    }

    .blueprint-frame {
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    .problem-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .process-line,
    .process-line-fill,
    .process-number {
        display: none;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-step:nth-child(even) {
        direction: ltr;
    }

    .process-visual {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav-annotation {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--line-color);
        -webkit-flex-direction: column;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav-links.active {
        display: -webkit-flex;
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-visual {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .hero-content {
        padding: 0 20px;
    }

    .blueprint-frame {
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }

    .trust-content {
        -webkit-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }

    .trust-items {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        justify-content: center;
        gap: 24px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-content {
        padding: 0 20px;
    }

    .blueprint-frame {
        border-radius: 4px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ========== ABOUT PAGE ========== */
.about-page {
    padding-top: 80px;
    padding-bottom: 0;
}

.about-hero {
    padding-bottom: 80px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.about-photo {
    position: relative;
}

.photo-frame {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 20px;
    transform: rotate(-2deg);
}

.photo-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #1a1d23 0%, #0f1115 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.photo-initials {
    font-family: 'Oswald', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    color: var(--accent-red);
    opacity: 0.3;
    z-index: 1;
}

.photo-annotation {
    position: absolute;
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--accent-red);
    white-space: nowrap;
}

.annotation-founder {
    bottom: -40px;
    right: 20px;
    transform: rotate(3deg);
}

.annotation-arrow {
    top: -35px;
    left: 30px;
    transform: rotate(-5deg);
}

.about-intro {
    max-width: 600px;
}

.about-intro .section-label {
    margin-bottom: 16px;
}

.about-intro h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.about-intro .role {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-red);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.about-intro p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-intro p:last-of-type {
    margin-bottom: 0;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.story-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.story-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-highlight {
    background: var(--bg-dark);
    border-left: 4px solid var(--accent-red);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.story-highlight p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0;
    font-style: italic;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--bg-card);
    border: 3px solid var(--accent-red);
    border-radius: 50%;
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-red);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scale Section */
.scale-section {
    padding: 100px 0;
}

.scale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .scale-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.scale-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.scale-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.scale-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.scale-stat {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.scale-stat .stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 8px;
}

.scale-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scale-highlight {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
}

.scale-highlight h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scale-highlight h4 svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-red);
}

.scale-highlight ul {
    list-style: none;
}

.scale-highlight ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.scale-highlight ul li svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-red);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.expertise-header {
    text-align: center;
    margin-bottom: 60px;
}

.expertise-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.expertise-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.expertise-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
}

.expertise-card svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent-red);
    margin-bottom: 20px;
}

.expertise-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

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

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    text-align: center;
    padding: 32px 24px;
}

.value-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-red);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.value-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About CTA Section */
.about-cta {
    padding: 100px 0;
    text-align: center;
}

.about-cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 32px;
}

.about-cta .annotation-note {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-top: 24px;
}

/* ========== SERVICES PAGE ========== */
.services-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.services-hero {
    text-align: center;
    margin-bottom: 80px;
}

.services-hero .section-label {
    justify-content: center;
}

.services-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.services-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Service Detail Section */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--line-color);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid > * {
    direction: ltr;
}

@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail:nth-child(even) .service-detail-grid {
        direction: ltr;
    }
}

.service-detail-content {
    max-width: 540px;
}

.service-detail-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 4px;
}

.service-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.service-detail-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.service-features li svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-detail-cta:hover {
    gap: 12px;
}

.service-detail-cta svg {
    width: 20px;
    height: 20px;
}

/* Service Visual */
.service-visual {
    position: relative;
}

.service-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.service-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
}

.service-visual-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    stroke: var(--text-muted);
    stroke-width: 1;
    fill: none;
}

.service-visual-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.stat-box-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-box-number span {
    color: var(--accent-red);
}

.stat-box-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-annotation {
    position: absolute;
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-red);
    white-space: nowrap;
}

.annotation-top-right {
    top: -30px;
    right: 20px;
    transform: rotate(3deg);
}

.annotation-bottom-left {
    bottom: -35px;
    left: 20px;
    transform: rotate(-2deg);
}

/* Deliverables Section */
.deliverables-section {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.deliverables-header {
    text-align: center;
    margin-bottom: 60px;
}

.deliverables-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.deliverables-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
}

.deliverable-item {
    background: var(--bg-dark);
    border: 1px solid var(--line-color);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.deliverable-item:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
}

.deliverable-item svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-red);
    margin-bottom: 16px;
}

.deliverable-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.deliverable-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services CTA Section */
.services-cta {
    padding: 100px 0;
    text-align: center;
}

.services-cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

.services-cta .annotation-note {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-top: 24px;
}

/* ========== PORTFOLIO PAGE ========== */
.portfolio-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.portfolio-hero {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-hero .section-label {
    justify-content: center;
}

.portfolio-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.portfolio-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Filter Tabs */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--text-primary);
}

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

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent-red);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    aspect-ratio: 16/10;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(var(--line-color) 1px, transparent 1px),
            linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    z-index: 5;
}

.portfolio-item:hover .portfolio-image::after {
    background: rgba(0,0,0,0.3);
}

.portfolio-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: var(--text-muted);
    opacity: 0.3;
}

.portfolio-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Blueprint-style SVG illustrations */
.blueprint-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #1a1d23 0%, #0f1115 100%);
}

.blueprint-illustration svg {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-category {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.portfolio-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-meta {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-color);
}

.meta-item {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Featured Project */
.featured-project {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .featured-project {
        grid-column: span 1;
    }
}

.featured-project .portfolio-image {
    aspect-ratio: 21/10;
}

.featured-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--accent-red);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

/* Portfolio Empty State */
.portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.portfolio-empty svg {
    width: 64px;
    height: 64px;
    stroke: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.portfolio-empty h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Portfolio CTA Section */
.portfolio-cta {
    margin-top: 80px;
    text-align: center;
    padding: 60px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
}

.portfolio-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.portfolio-cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta .annotation-note {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-top: 20px;
}

/* Portfolio View Icon */
.portfolio-image .view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    z-index: 6;
    width: 60px;
    height: 60px;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-image .view-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.portfolio-item:hover .view-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Portfolio Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-modal.visible {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    border-color: var(--accent-red);
    background: var(--accent-red);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
}

.modal-slides {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.modal-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.modal-slide.active {
    display: block;
}

.modal-slide svg {
    width: 100%;
    height: 100%;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 1px solid var(--line-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-nav:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.modal-nav svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-info {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-top: none;
}

.modal-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.modal-counter {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.slide-dot {
    width: 10px;
    height: 10px;
    background: var(--line-color);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slide-dot.active {
    background: var(--accent-red);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-close {
        top: -45px;
        right: 0;
    }

    .modal-title {
        font-size: 1.2rem;
    }
}

/* ========== BLOG PAGE ========== */
.blog-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.blog-hero {
    text-align: center;
    margin-bottom: 60px;
}

.blog-hero .section-label {
    justify-content: center;
}

.blog-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-red);
}

.blog-card.hidden {
    display: none;
}

.blog-card-image {
    aspect-ratio: 16/9;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(var(--line-color) 1px, transparent 1px),
            linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.blog-card-category {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.blog-card-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--accent-red);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-red);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Featured Post */
.featured-post {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .featured-post {
        grid-column: span 1;
    }
}

.featured-post .blog-card-image {
    aspect-ratio: 21/9;
}

/* Newsletter CTA */
.blog-newsletter {
    margin-top: 80px;
    padding: 60px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    text-align: center;
}

.blog-newsletter h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.blog-newsletter p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--line-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--accent-red);
    border: none;
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-red-dark);
}

.blog-newsletter .annotation-note {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-top: 20px;
}

/* ========== BLOG POST PAGE ========== */
.blog-post-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.blog-post-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1024px) {
    .blog-post-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.article-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--accent-red);
}

.article-breadcrumb span {
    color: var(--text-muted);
}

.article-category {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.article-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-meta .author-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-elevated);
    overflow: hidden;
}

.article-meta .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-reading-time {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-reading-time svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 40px;
    aspect-ratio: 16/9;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.article-featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(var(--line-color) 1px, transparent 1px),
            linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 1;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--accent-red);
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content a {
    color: var(--accent-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    text-decoration: none;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--bg-card);
    border-left: 4px solid var(--accent-red);
    font-style: italic;
    color: var(--text-primary);
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content pre {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    padding: 20px;
    margin: 24px 0;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-card);
    padding: 2px 6px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
}

/* Callout Box */
.callout-box {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    padding: 24px;
    margin: 32px 0;
}

.callout-box.tip {
    border-left: 4px solid #4CAF50;
}

.callout-box.warning {
    border-left: 4px solid #FF9800;
}

.callout-box.important {
    border-left: 4px solid var(--accent-red);
}

.callout-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.callout-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Article Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--line-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.article-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.article-tag:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.share-btn:hover {
    border-color: var(--accent-red);
    background: var(--accent-red);
}

.share-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.share-btn:hover svg {
    stroke: white;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .blog-sidebar {
        position: static;
    }
}

.sidebar-section {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-color);
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-red);
}

.toc-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--line-color);
    margin-top: 8px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.toc-list a:hover::before {
    background: var(--accent-red);
}

/* Related Posts */
.related-post {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-color);
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post:first-child {
    padding-top: 0;
}

.related-post-image {
    width: 80px;
    height: 60px;
    background: var(--bg-dark);
    flex-shrink: 0;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
}

.related-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--accent-red);
}

.related-post-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Sidebar CTA Box */
.sidebar-cta {
    background: linear-gradient(135deg, var(--accent-red) 0%, #a02030 100%);
    border: none;
    text-align: center;
}

.sidebar-cta h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.sidebar-cta .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.sidebar-cta .btn-outline:hover {
    background: white;
    color: var(--accent-red);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-bio-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.author-bio-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--line-color);
}

@media (max-width: 600px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

.post-nav-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.post-nav-item:hover {
    border-color: var(--accent-red);
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-nav-item.next .post-nav-label {
    justify-content: flex-end;
}

.post-nav-label svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.post-nav-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* ========== QUOTE PAGE ========== */
.quote-page {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

.quote-header {
    text-align: center;
    margin-bottom: 60px;
}

.quote-header .section-label {
    justify-content: center;
}

.quote-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.quote-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1024px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.quote-form-container {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 40px;
}

@media (max-width: 480px) {
    .quote-form-container {
        padding: 24px;
    }
}

.quote-form h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-form h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-red);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--accent-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--line-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

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

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--accent-red);
}

.form-checkbox span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    margin-top: 24px;
}

/* Quote Info sidebar */
.quote-info {
    position: sticky;
    top: 100px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h4 svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-red);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-card ul {
    list-style: none;
    margin-top: 16px;
}

.info-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.annotation-note {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

/* Form Success message */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 64px;
    height: 64px;
    stroke: #4CAF50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
}