/* Bosk8 - Terminal Style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

/* Premium Animation System - Smooth Spring-Based Animations with Emphasis on Fading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 6px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-6px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(6px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -6px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Premium Hover Animations */
@keyframes hoverLift {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-3px);
    }
}

@keyframes hoverSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(3px);
    }
}

/* Universal Animation Variables - Smooth Spring Easing - Slower for Smooth Feel */
:root {
    --animation-duration: 1.4s;
    --animation-easing: linear(0, 0.6796, 1.0326, 1.0275, 1.0011, 0.9981, 0.9997, 1);
    --animation-easing-quick: linear(0, 1.0141, 1.0015, 0.9998, 1);
    --animation-easing-smooth: linear(0, 0.3772, 0.8604, 1.0738, 1.0846, 1.0353, 1.0006, 0.991, 0.9941, 0.9985, 1.0006, 1);
    --animation-delay-step: 0.12s;
    --animation-stagger: 0.15s;
}

/* JavaScript-driven animations will override CSS animations with inline styles */
/* This ensures top-to-bottom loading based on DOM position */
/* Elements without JavaScript will still have CSS animations as fallback */

/* Prevent FOUC (Flash of Unstyled Content) - Hide animated elements before JS runs */
/* These elements will be made visible by JavaScript animations using inline styles */
/* Inline styles set by JS will override these CSS rules */
body:not(.js-loaded) .container,
body:not(.js-loaded) .header,
body:not(.js-loaded) .logo,
body:not(.js-loaded) .feature-box,
body:not(.js-loaded) .project-item,
body:not(.js-loaded) .service-item,
body:not(.js-loaded) .tool-item,
body:not(.js-loaded) .tech-tag,
body:not(.js-loaded) .cta-btn,
body:not(.js-loaded) .content-page > *,
body:not(.js-loaded) .feature-section,
body:not(.js-loaded) .back-to-home-link,
body:not(.js-loaded) .hero-section,
body:not(.js-loaded) .value-strip,
body:not(.js-loaded) .about-content,
body:not(.js-loaded) .service-intro,
body:not(.js-loaded) .service-section,
body:not(.js-loaded) .service-outcomes,
body:not(.js-loaded) .service-benefits,
body:not(.js-loaded) .portfolio-intro,
body:not(.js-loaded) .process-steps,
body:not(.js-loaded) .process-step,
body:not(.js-loaded) .testimonials-grid,
body:not(.js-loaded) .testimonial-item,
body:not(.js-loaded) .contact-intro {
    opacity: 0;
}

/* Fallback: hide elements without data-animated attribute, but show after 3 seconds if JS fails */
.container:not([data-animated]),
.header:not([data-animated]),
.logo:not([data-animated]),
.feature-box:not([data-animated]),
.project-item:not([data-animated]),
.service-item:not([data-animated]),
.tool-item:not([data-animated]),
.tech-tag:not([data-animated]),
.cta-btn:not([data-animated]),
.content-page > *:not([data-animated]),
.feature-section:not([data-animated]),
.back-to-home-link:not([data-animated]),
.hero-section:not([data-animated]),
.value-strip:not([data-animated]),
.about-content:not([data-animated]),
.service-intro:not([data-animated]),
.service-section:not([data-animated]),
.service-outcomes:not([data-animated]),
.service-benefits:not([data-animated]),
.portfolio-intro:not([data-animated]),
.process-steps:not([data-animated]),
.process-step:not([data-animated]),
.testimonials-grid:not([data-animated]),
.testimonial-item:not([data-animated]),
.contact-intro:not([data-animated]) {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 3s forwards;
}

/* Animation Performance Optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce layout shifts */
a {
    display: inline-block;
}

/* Fix for inline block causing issues with logo */
.logo {
    display: inline;
}

/* Optimize repaints */
.cta-btn,
.feature-box,
.project-item,
.service-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Force GPU acceleration for animated elements */
.project-item,
.feature-box,
.tech-tag,
.service-item,
.tool-item {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Prevent animation stutter on page load */
body {
    font-family: 'IBM Plex Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    background-color: #111111;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.4;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    opacity: 1;
    contain: layout style paint;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Layout */
.container {
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    will-change: transform, opacity;
    animation: fadeIn 1.4s var(--animation-easing-smooth) 0s both;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Header */
.header {
    border: 2px solid #333333;
    padding: 1.5rem 2rem;
    margin-bottom: 0;
    will-change: transform, opacity;
    animation: fadeInDown 1.4s var(--animation-easing-smooth) 0.5s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    transition: color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    will-change: transform, opacity;
    animation: fadeInLeft 1.4s var(--animation-easing-smooth) 0.8s both;
}

.logo:hover {
    color: #cccccc;
}

/* Back to Home Grid Item */
.back-to-home-item {
    border-top: 2px solid #333333 !important;
    border-right: 2px solid #333333 !important;
    border-bottom: 2px solid #333333 !important;
    border-left: 2px solid #333333 !important;
    padding: 1.5rem;
    background: #111111;
    margin-top: 1rem;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0) translateX(-6px);
    backface-visibility: hidden;
    animation-fill-mode: forwards;
}

.back-to-home-link {
    display: inline-block;
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #333333;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    font-family: 'IBM Plex Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    font-weight: 400;
    transition: background-color 0.6s var(--animation-easing-smooth), color 0.6s var(--animation-easing-smooth), border-color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth), transform 0.6s var(--animation-easing-smooth);
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0) translateX(-6px);
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    isolation: isolate;
    cursor: pointer;
}

.back-to-home-link::before {
    content: '← ';
    font-size: 0.8rem;
    color: #ffffff;
    transition: color 0.6s var(--animation-easing-smooth);
}

.back-to-home-link:hover {
    background: #222222;
    color: #cccccc;
}

.back-to-home-link:hover::before {
    color: #cccccc;
}

.back-to-home-link:focus {
    outline: none;
    border-color: #555555;
}

/* Terminal Typing Animation */
.terminal-typing {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.terminal-typing::after {
    content: '|';
    color: #cccccc;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Tagline */
.tagline {
    border: 2px solid #333333;
    border-top: none;
    padding: 3rem 2rem;
    text-align: center;
}

.tagline h1 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* Features Grid */
.features {
    border-left: 2px solid #333333;
    border-right: 2px solid #333333;
    border-bottom: 2px solid #333333;
    border-top: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    will-change: transform, opacity;
    animation: fadeInUp 1.4s var(--animation-easing-smooth) 1.1s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
}

.feature-box {
    border: none;
    padding: 1.5rem;
    text-align: center;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.6s var(--animation-easing-smooth), color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    opacity: 0;
    animation-fill-mode: forwards;
    min-width: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
}

.feature-box:hover {
    background: #1a1a1a;
    color: #cccccc;
}

.feature-box .icon {
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 1.2em;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

.feature-box .icon i {
    font-size: 1.2em;
    color: #ffffff;
    width: 1em;
    text-align: center;
}

.feature-box .text {
    vertical-align: middle;
}

/* Internal borders with negative margins to prevent doubling - use -1px for half overlap */
.feature-box:nth-child(1) {
    border-right: 2px solid #333333;
    margin-right: -1px;
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
    animation: fadeIn 1.4s var(--animation-easing-smooth) 1.5s both;
}

.feature-box:nth-child(2) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
    animation: fadeIn 1.4s var(--animation-easing-smooth) 1.7s both;
}

.feature-box:nth-child(3) {
    border-right: 2px solid #333333;
    margin-right: -1px;
    border-top: 2px solid #333333;
    margin-top: -1px;
    animation: fadeIn 1.4s var(--animation-easing-smooth) 1.9s both;
}

.feature-box:nth-child(4) {
    border-top: 2px solid #333333;
    margin-top: -1px;
    animation: fadeIn 1.4s var(--animation-easing-smooth) 2.1s both;
}

/* Navigation */
.nav {
    border: 2px solid #333333;
    border-bottom: none;
    padding: 1rem 0;
    background: #111111;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Inline Navigation Links */
.nav-links-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links-inline a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    white-space: nowrap;
}

.nav-links-inline a:hover {
    color: #cccccc;
    text-decoration: underline;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.nav-toggle-open .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle-open .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Content Pages */
.page-content {
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    will-change: transform, opacity;
    animation: fadeInDown 1.4s var(--animation-easing-smooth) 0s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}

.content-page {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    will-change: transform, opacity;
    animation: fadeInUp 1.4s var(--animation-easing-smooth) 0.4s both;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}

.content-page h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 2rem;
}

.content-page h1 i {
    color: #ffffff;
    margin-right: 0.5rem;
}

.content-page p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #cccccc;
    border: 2px solid #333333;
    padding: 1rem 2rem;
}

.content-page p:first-of-type {
    border-top: 2px solid #333333;
}

.content-page p:not(:first-of-type) {
    border-top: none;
    margin-top: 0;
}

/* Enhanced Responsive Design */
/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .content-page {
        padding: 0 1.5rem;
    }
    
    .content-page h1 {
        font-size: 1.6rem;
        padding: 1.5rem;
    }
    
    .content-page p {
        padding: 1rem 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-box {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
    
    .header {
        padding: 1.5rem;
    }
    
    .logo {
        font-size: 1.75rem;
    }
    
    .terminal-typing {
        font-size: 1.1rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .phase-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        min-height: 100vh;
    }
    
    .header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-links-inline {
        gap: 1rem;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .nav-links-inline a {
        font-size: 0.8rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .terminal-typing {
        font-size: 1rem;
        white-space: normal;
        display: block;
        word-break: break-word;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111111;
        border: 2px solid #333333;
        border-top: none;
        flex-direction: column;
        gap: 0;
        padding: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        border-bottom: 2px solid #333333;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 0.9rem;
        border: none;
    }
    
    .nav-links a:hover {
        background: #1a1a1a;
        text-decoration: none;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .feature-box:nth-child(1),
    .feature-box:nth-child(2),
    .feature-box:nth-child(3) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .feature-box:nth-child(4) {
        border-right: none;
        border-bottom: none;
    }
    
    .content-page {
        padding: 0 1rem;
    }
    
    .content-page h1 {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    .content-page p {
        padding: 1rem 1.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .project-item {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .project-item:last-child {
        border-bottom: none;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .process-step:last-child {
        border-bottom: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .testimonial-item:last-child {
        border-bottom: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tool-item:nth-child(odd) {
        border-right: 2px solid #333333;
    }
    
    .tool-item:nth-child(even) {
        border-right: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item:nth-child(1),
    .stat-item:nth-child(3) {
        border-right: 2px solid #333333;
    }
    
    .stat-item:nth-child(2),
    .stat-item:nth-child(4) {
        border-right: none;
    }
    
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 2px solid #333333;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline-item:nth-child(1),
    .timeline-item:nth-child(3) {
        border-right: 2px solid #333333;
    }
    
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(4) {
        border-right: none;
    }
    
    .timeline-item:nth-child(3),
    .timeline-item:nth-child(4) {
        border-top: 2px solid #333333;
    }
    
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-item:nth-child(odd) {
        border-right: 2px solid #333333;
    }
    
    .tech-item:nth-child(even) {
        border-right: none;
    }
    
    .tech-item:nth-child(n+3) {
        border-top: 2px solid #333333;
    }
    
    .phase-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-category .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-category .tool-item:nth-child(odd),
    .tools-category .tool-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .tools-category .tool-item:last-child {
        border-bottom: none;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .status-item:nth-child(odd),
    .status-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .status-item:last-child {
        border-bottom: none;
    }
    
    .faq-section {
        padding: 0 1rem;
    }
    
    .faq-heading {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.5rem;
        font-size: 0.8rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }
    
    .header {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .nav-links-inline {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .nav-links-inline a {
        font-size: 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .terminal-typing {
        font-size: 0.85rem;
    }
    
    .tagline h1 {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .feature-box:nth-child(1),
    .feature-box:nth-child(2),
    .feature-box:nth-child(3),
    .feature-box:nth-child(4) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .feature-box:nth-child(4) {
        border-bottom: none;
    }
    
    .feature-box {
        padding: 1.25rem;
        font-size: 0.85rem;
    }
    
    .content-page {
        padding: 0 0.75rem;
    }
    
    .content-page h1 {
        font-size: 1.25rem;
        padding: 1rem;
    }
    
    .content-page p {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .project-item {
        padding: 1rem;
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .project-item:last-child {
        border-bottom: none;
    }
    
    .project-item h3 {
        font-size: 0.9rem;
    }
    
    .project-item p {
        font-size: 0.75rem;
    }
    
    .tech-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-item:nth-child(odd),
    .tool-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .tool-item:last-child {
        border-bottom: none;
    }
    
    .tool-item {
        padding: 1rem;
    }
    
    .tool-name {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .stat-item:nth-child(4) {
        border-bottom: none;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item:nth-child(1),
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(3) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .timeline-item:nth-child(4) {
        border-bottom: none;
    }
    
    .timeline-item {
        padding: 1rem;
    }
    
    .timeline-item h3 {
        font-size: 0.9rem;
    }
    
    .timeline-item p {
        font-size: 0.8rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item:nth-child(odd),
    .tech-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .tech-item:last-child {
        border-bottom: none;
    }
    
    .tech-item {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
    
    .phase-grid {
        grid-template-columns: 1fr;
    }
    
    .phase-item {
        padding: 1rem;
    }
    
    .phase-item h3 {
        font-size: 0.8rem;
    }
    
    .phase-item p {
        font-size: 0.75rem;
    }
    
    .phase-tag {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
    }
    
    .tools-category .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-category .tool-item:nth-child(odd),
    .tools-category .tool-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .tools-category .tool-item:last-child {
        border-bottom: none;
    }
    
    .tools-category .tool-item {
        padding: 0.75rem;
    }
    
    .tool-name {
        font-size: 0.75rem;
    }
    
    .tool-cost {
        font-size: 0.65rem;
    }
    
    .total-cost {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .challenge-item {
        padding: 1rem;
    }
    
    .challenge-item h3 {
        font-size: 0.9rem;
    }
    
    .challenge-item p {
        font-size: 0.75rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        padding: 0.75rem 1rem;
    }
    
    .step-number {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
        margin-right: 0.75rem;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .status-item:nth-child(odd),
    .status-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .status-item:last-child {
        border-bottom: none;
    }
    
    .status-item {
        padding: 0.75rem 1rem;
    }
    
    .status-label {
        font-size: 0.75rem;
    }
    
    .status-value {
        font-size: 0.65rem;
    }
    
    .faq-heading {
        font-size: 1.25rem;
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.75rem;
    }
    
    .goal-item {
        padding: 1rem;
    }
    
    .goal-item h3 {
        font-size: 0.9rem;
    }
    
    .goal-item p {
        font-size: 0.8rem;
    }
    
    .goal-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .back-to-home-item {
        padding: 1rem;
    }
    
    .back-to-home-link {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
    .container {
        padding: 0.5rem;
    }
    
    .header {
        padding: 0.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .terminal-typing {
        font-size: 0.75rem;
    }
    
    .tagline h1 {
        font-size: 0.9rem;
    }
    
    .feature-box {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .content-page {
        padding: 0 0.5rem;
    }
    
    .content-page h1 {
        font-size: 1.1rem;
        padding: 0.75rem;
    }
    
    .content-page p {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .project-item {
        padding: 0.75rem;
    }
    
    .project-item h3 {
        font-size: 0.85rem;
    }
    
    .project-item p {
        font-size: 0.7rem;
    }
    
    .tech-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .tool-item {
        padding: 0.75rem;
    }
    
    .tool-name {
        font-size: 0.75rem;
    }
    
    .stat-item {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-item h3 {
        font-size: 1.25rem;
    }
    
    .stat-item p {
        font-size: 0.7rem;
    }
    
    .timeline-item {
        padding: 0.75rem;
    }
    
    .timeline-item h3 {
        font-size: 0.85rem;
    }
    
    .timeline-item p {
        font-size: 0.75rem;
    }
    
    .tech-item {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    .phase-item {
        padding: 0.75rem;
    }
    
    .phase-item h3 {
        font-size: 0.75rem;
    }
    
    .phase-item p {
        font-size: 0.7rem;
    }
    
    .phase-tag {
        font-size: 0.5rem;
        padding: 0.1rem 0.25rem;
    }
    
    .tools-category .tool-item {
        padding: 0.5rem;
    }
    
    .tool-name {
        font-size: 0.7rem;
    }
    
    .tool-cost {
        font-size: 0.6rem;
    }
    
    .total-cost {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .challenge-item {
        padding: 0.75rem;
    }
    
    .challenge-item h3 {
        font-size: 0.85rem;
    }
    
    .challenge-item p {
        font-size: 0.7rem;
    }
    
    .step-item {
        padding: 0.5rem 0.75rem;
    }
    
    .step-number {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.65rem;
        margin-right: 0.5rem;
    }
    
    .step-text {
        font-size: 0.7rem;
    }
    
    .status-item {
        padding: 0.5rem 0.75rem;
    }
    
    .status-label {
        font-size: 0.7rem;
    }
    
    .status-value {
        font-size: 0.6rem;
    }
    
    .faq-heading {
        font-size: 1.1rem;
        padding: 0.75rem;
    }
    
    .faq-question {
        padding: 0.75rem;
        font-size: 0.7rem;
    }
    
    .faq-answer {
        padding: 0 0.75rem 0.75rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .goal-item {
        padding: 0.75rem;
    }
    
    .goal-item h3 {
        font-size: 0.85rem;
    }
    
    .goal-item p {
        font-size: 0.75rem;
    }
    
    .goal-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .back-to-home-item {
        padding: 0.75rem;
    }
    
    .back-to-home-link {
        font-size: 0.75rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 0.75rem;
    }
    
    .content-page {
        padding: 0 0.75rem;
    }
    
    .features {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-box {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .timeline-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .phase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ Section Styles */
.faq-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.faq-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 2rem;
}

.faq-card {
    border: 2px solid #333333;
    border-top: none;
}

.faq-item {
    border-bottom: 2px solid #333333;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

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

.faq-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.faq-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.faq-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.faq-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.faq-item:nth-child(5) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.faq-question {
    width: 100%;
    background: #111111;
    border: none;
    padding: 2rem;
    color: #ffffff;
    font-family: 'IBM Plex Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.6s var(--animation-easing-smooth), color 0.6s var(--animation-easing-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faq-question:hover {
    background: #1a1a1a;
    color: #cccccc;
}

.faq-question.active {
    background: #1a1a1a;
}

.faq-question span {
    flex: 1;
    text-align: left;
}

.faq-icon {
    color: #ffffff;
    transition: transform 0.6s var(--animation-easing-smooth);
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 2rem 2rem 2rem;
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    border-top: 2px solid #333333;
}

.faq-answer.active {
    display: block;
}

.faq-answer code {
    background: #1a1a1a;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
    font-family: 'IBM Plex Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
    color: #ffffff;
}

/* Content Sections */
.content-section {
    border: 2px solid #333333;
    border-top: none;
    padding: 2rem;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

.content-card {
    margin-bottom: 2rem;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

.content-card:last-child {
    margin-bottom: 0;
}

.content-card:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.content-card:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.content-card:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.content-card:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.content-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 1.5rem;
}

.content-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cccccc;
    border: 2px solid #333333;
    border-top: none;
    padding: 1rem 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 1rem;
    border: 2px solid #333333;
    border-top: none;
}

.service-item {
    border: none;
    padding: 1.5rem;
    background: #111111;
    transition: background-color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.service-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-item p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #cccccc;
    margin: 0;
    border: none;
    padding: 0;
}

.service-item:hover {
    background: #1a1a1a;
}

/* Use negative margins to overlap borders and prevent doubling */
.service-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.service-item:not(:last-child):not(:nth-last-child(2):nth-child(odd)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.service-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.service-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.service-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.service-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

/* Feature Sections */
.feature-section {
    margin: 0;
    margin-bottom: 0;
    width: 100%;
    animation: fadeInLeft 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.8s;
}

.feature-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 1.5rem;
    width: 100%;
    display: block;
}

.feature-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #cccccc;
    border: 2px solid #333333;
    padding: 1rem 1.5rem;
}

.feature-section p:first-of-type {
    border-top: 2px solid #333333;
}

.feature-section p:not(:first-of-type) {
    border-top: none;
}

/* Tools Section */
.tools-section {
    margin: 2rem 0;
}

.tools-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 1.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    border: 2px solid #333333;
}

.tool-item {
    border: none;
    padding: 1.5rem;
    text-align: center;
    background: #111111;
    transition: background-color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.tool-item:nth-child(1),
.tool-item:nth-child(2) {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

.tool-item:hover {
    background: #1a1a1a;
}

/* For auto-fit grids, we can't predict columns, so handle dynamically */
/* Items that are likely the last in their row (this is approximate for auto-fit) */
.tool-item:nth-child(even) {
    border-right: none;
}

.tool-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

/* Remove bottom borders from items that appear to be in the last row */
/* This is approximate since we don't know exact column count */
.tool-item:last-child {
    border-bottom: none;
}

/* Ensure borders are visible for items not in last row */
.tool-item:not(:last-child) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.tool-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.tool-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.tool-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.tool-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.tool-item:nth-child(5) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.tool-item:nth-child(6) {
    animation-delay: calc(var(--animation-delay-step) * 11);
}

.tool-name {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 0;
    margin-bottom: 0;
    contain: layout;
    border: 2px solid #333333;
}

/* Single item grid - make it full width (higher specificity) */
.project-grid.single-item {
    grid-template-columns: 1fr !important;
}

.project-item {
    border: none;
    padding: 1.5rem;
    background: #111111;
    transition: background-color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    will-change: transform, opacity;
    transform: translateZ(0);
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.project-item:nth-child(1),
.project-item:nth-child(2) {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

.project-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.project-item:not(:last-child):not(:nth-last-child(2):nth-child(odd)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.project-item h3 a {
    color: #cccccc;
    text-decoration: none;
    margin-left: 0.5rem;
    font-size: 0.9em;
    transition: color 0.6s var(--animation-easing-smooth);
    font-weight: 400;
}

.project-item h3 a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.project-item p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #cccccc;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

/* Project actions (CTA area at bottom of card) */
.project-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
}

.cta-btn {
    display: inline-block;
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #333333;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    font-family: 'IBM Plex Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    font-weight: 400;
    transition: background-color 0.6s var(--animation-easing-smooth), color 0.6s var(--animation-easing-smooth), border-color 0.6s var(--animation-easing-smooth);
    animation: fadeIn 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    cursor: pointer;
}

/* Stagger CTA button animations based on their parent project item */
.project-item:nth-child(1) .cta-btn {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.project-item:nth-child(2) .cta-btn {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.project-item:nth-child(3) .cta-btn {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.project-item:nth-child(4) .cta-btn {
    animation-delay: calc(var(--animation-delay-step) * 11);
}

.project-item:nth-child(n+5) .cta-btn {
    animation-delay: calc(var(--animation-delay-step) * 12);
}

.cta-btn:hover {
    background: #222222;
    color: #cccccc;
}

.cta-btn:focus {
    outline: none;
    border-color: #555555;
}

.cta-primary {
    background: #ffffff;
    color: #111111;
    border: 2px solid #333333;
}

.cta-primary:hover {
    background: #cccccc;
    color: #111111;
}

.cta-secondary {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #333333;
}

/* Hero Section */
.hero-section {
    border: 2px solid #333333;
    border-top: none;
    padding: 3rem 2rem;
    margin-bottom: 0;
    will-change: transform, opacity;
    animation: fadeInUp 1.4s var(--animation-easing-smooth) 0.8s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.hero-title {
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.hero-features li {
    color: #ffffff;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.hero-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cccccc;
}

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

/* Value Strip */
.value-strip {
    border: 2px solid #333333;
    border-top: none;
    padding: 2rem;
    margin-bottom: 0;
    will-change: transform, opacity;
    animation: fadeInUp 1.4s var(--animation-easing-smooth) 1.2s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.value-strip-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.value-strip-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.value-strip-list li {
    color: #ffffff;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.value-strip-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cccccc;
}

.value-strip-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

/* About Page Styles */
.about-content {
    margin-top: 2rem;
}

.about-intro {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    border: 2px solid #333333;
    padding: 1rem 2rem;
}

.about-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    border: 2px solid #333333;
    border-top: none;
    padding: 1rem 2rem;
}

.about-content p:first-of-type {
    border-top: 2px solid #333333;
}

.about-content h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.about-list li {
    color: #ffffff;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cccccc;
}

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

/* Service Pages Styles */
.service-intro {
    margin-top: 0;
    margin-bottom: 2rem;
    border: 2px solid #333333;
    padding: 1.5rem 2rem;
}

.service-intro h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.service-intro p {
    color: #cccccc;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.service-section {
    margin-top: 0;
    margin-bottom: 2rem;
    border: 2px solid #333333;
    padding: 1.5rem 2rem;
}

/* First service-section after service-intro should connect (no top border) */
.service-intro + .service-section {
    border-top: none;
}

/* First service-section (if no service-intro before it) should have top border */
.feature-section > .service-section:first-child {
    border-top: 2px solid #333333;
}

.service-section h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    color: #ffffff;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cccccc;
}

.service-outcomes,
.service-benefits {
    margin-top: 0;
    margin-bottom: 2rem;
    border: 2px solid #333333;
    padding: 1.5rem 2rem;
}

/* Service-outcomes and service-benefits after service-section should connect */
.service-section + .service-outcomes,
.service-section + .service-benefits,
.service-intro + .service-outcomes,
.service-intro + .service-benefits {
    border-top: none;
}

.service-outcomes h3,
.service-benefits h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.outcomes-list,
.benefits-list {
    list-style: none;
    padding-left: 0;
}

.outcomes-list li,
.benefits-list li {
    color: #ffffff;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.outcomes-list li::before,
.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cccccc;
}

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

/* Portfolio Intro */
.portfolio-intro {
    margin-top: 0;
    margin-bottom: 2rem;
    border: 2px solid #333333;
    padding: 1.5rem 2rem;
}

.portfolio-intro h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.portfolio-intro p {
    color: #cccccc;
    margin-bottom: 0;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin-top: 0;
    margin-bottom: 2rem;
    border: 2px solid #333333;
}

.process-step {
    border: none;
    padding: 1.5rem;
    background: #111111;
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.process-step:nth-child(1),
.process-step:nth-child(2) {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

.process-step:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.process-step:not(:last-child):not(:nth-last-child(2):nth-child(odd)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.process-step h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #cccccc;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin-top: 0;
    margin-bottom: 2rem;
    border: 2px solid #333333;
}

.testimonial-item {
    border: none;
    padding: 1.5rem;
    background: #111111;
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.testimonial-item:nth-child(1),
.testimonial-item:nth-child(2) {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

.testimonial-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.testimonial-item:not(:last-child):not(:nth-last-child(2):nth-child(odd)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.testimonial-quote {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contact Page */
.contact-intro {
    margin-top: 0;
    margin-bottom: 0;
    border: 2px solid #333333;
    padding: 1.5rem 2rem;
}

.contact-intro h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.contact-intro p {
    color: #cccccc;
    margin-bottom: 0;
    margin-top: 0.5rem;
}


.contact-info strong {
    color: #ffffff;
}

.form-note {
    margin-top: 1rem;
    color: #cccccc;
    font-size: 0.85rem;
    text-align: center;
}

.project-item:hover {
    background: #1a1a1a;
}

.project-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.project-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.project-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.project-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #333333;
    transition: background-color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    animation: scaleIn 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.tech-tag:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.tech-tag:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.tech-tag:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.tech-tag:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 11);
}

.tech-tag:nth-child(5) {
    animation-delay: calc(var(--animation-delay-step) * 12);
}

.tech-tag:nth-child(n+6) {
    animation-delay: calc(var(--animation-delay-step) * 13);
}

.tech-tag:hover {
    background: #333333;
    transform: scale(1.01);
}

/* Portfolio Category Headings */
.project-category-heading {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #333333;
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
    width: 100%;
}

.project-category-heading:first-child {
    margin-top: 0;
}

/* Single item grid - make it full width */
.project-grid:has(.project-item:only-child),
.project-grid.single-item {
    grid-template-columns: 1fr !important;
}

/* Stats Section */
.stats-section {
    margin: 2rem 0;
}

.stats-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 2px solid #333333;
    border-top: none;
}

.stat-item {
    border: none;
    padding: 1.5rem;
    text-align: center;
    background: #111111;
    transition: background-color 0.6s var(--animation-easing-smooth), opacity 0.6s var(--animation-easing-smooth);
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.stat-item:nth-child(4n+1),
.stat-item:nth-child(4n+2),
.stat-item:nth-child(4n+3) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.stat-item:not(:last-child):not(:nth-last-child(-n+4)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.stat-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.stat-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.stat-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.stat-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
}

.stat-item p {
    font-size: 0.8rem;
    color: #cccccc;
    margin: 0;
    border: none;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item:hover {
    background: #1a1a1a;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tool-item:nth-child(odd) {
        border-right: 2px solid #333333;
    }
    
    .tool-item:nth-child(even) {
        border-right: none;
    }
    
.project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-grid.single-item {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item:nth-child(1),
    .stat-item:nth-child(3) {
        border-right: 2px solid #333333;
    }
    
    .stat-item:nth-child(2),
    .stat-item:nth-child(4) {
        border-right: none;
    }
    
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 2px solid #333333;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .stat-item:nth-child(4) {
        border-bottom: none;
    }
}

/* Dream Solution Page Styles */
.timeline-section,
.learning-stack-section,
.goals-section,
.methodology-section,
.tools-section,
.challenges-section,
.next-steps-section,
.status-section {
    margin: 2rem 0;
}

.timeline-section h2,
.learning-stack-section h2,
.goals-section h2,
.methodology-section h2,
.tools-section h2,
.challenges-section h2,
.next-steps-section h2,
.status-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #333333;
    padding: 1.5rem;
}

/* Timeline Grid */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 2px solid #333333;
    border-top: none;
}

.timeline-item {
    border: none;
    padding: 1.5rem;
    text-align: center;
    background: #111111;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.timeline-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.timeline-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.timeline-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

/* Use negative margins to overlap borders and prevent doubling */
.timeline-item:nth-child(4n+1),
.timeline-item:nth-child(4n+2),
.timeline-item:nth-child(4n+3) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.timeline-item:nth-child(4n) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.timeline-item:not(:last-child):not(:nth-last-child(-n+4)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.timeline-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-item:hover {
    background: #1a1a1a;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0;
    border: none;
    padding: 0;
}

/* Stack Categories */
.stack-category {
    margin-bottom: 2rem;
}

.stack-category h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #333333;
    padding: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    border: 2px solid #333333;
    border-top: none;
}

.tech-item {
    border: none;
    padding: 1.5rem;
    text-align: center;
    background: #111111;
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.6s var(--animation-easing-smooth);
    animation: scaleIn 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.tech-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.tech-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.tech-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.tech-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.tech-item:nth-child(n+5) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.tech-item:hover {
    background: #1a1a1a;
}

/* Use negative margins to overlap borders and prevent doubling */
.tech-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.tech-item:not(:last-child):not(:nth-last-child(-n+2)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

/* Goals Section */
.goal-item {
    border: 2px solid #333333;
    padding: 1.5rem;
    background: #111111;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

.goal-item:first-child {
    border-top: 2px solid #333333;
}

.goal-item:not(:first-child) {
    border-top: none;
}

.goal-item:not(:last-child) {
    border-bottom: none;
}

.goal-item:last-child {
    border-bottom: 2px solid #333333;
}

.goal-item:hover {
    background: #1a1a1a;
}

.goal-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.goal-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.goal-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.goal-item:nth-child(n+4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.goal-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.goal-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #cccccc;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.goal-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.goal-tag {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #333333;
    animation: scaleIn var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

.goal-tag:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.goal-tag:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 11);
}

.goal-tag:nth-child(n+3) {
    animation-delay: calc(var(--animation-delay-step) * 12);
}

/* Phase Grid */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin-top: 1rem;
    border: 2px solid #333333;
    border-top: none;
}

.phase-item {
    border: none;
    padding: 1.5rem;
    background: #111111;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
/* Phase grid items should have top borders except first row (first 2 items) */
.phase-item:nth-child(n+3) {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

/* Remove right borders from even columns in 2-column layout */
@media (min-width: 769px) {
    .phase-item:nth-child(odd) {
        border-right: 2px solid #333333;
        margin-right: -1px;
    }
}

.phase-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.phase-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.phase-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.phase-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.phase-item:hover {
    background: #1a1a1a;
}

.phase-item h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phase-item p {
    font-size: 0.8rem;
    color: #cccccc;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.phase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.phase-tag {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #333333;
    animation: scaleIn var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

.phase-tag:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.phase-tag:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 11);
}

.phase-tag:nth-child(n+3) {
    animation-delay: calc(var(--animation-delay-step) * 12);
}

/* Tools Categories */
.tools-category {
    margin-bottom: 2rem;
}

.tools-category h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #333333;
    padding: 1rem;
}

.tools-category .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    border: 2px solid #333333;
}

.tools-category .tool-item {
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111111;
    transition: background-color 0.6s var(--animation-easing-smooth);
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.tools-category .tool-item:nth-child(1),
.tools-category .tool-item:nth-child(2) {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

.tools-category .tool-item:hover {
    background: #1a1a1a;
}

.tools-category .tool-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.tools-category .tool-item:not(:last-child):not(:nth-last-child(-n+2)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.tool-name {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-cost {
    font-size: 0.7rem;
    color: #cccccc;
    font-weight: 400;
}

.total-cost {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    border: 2px solid #333333;
    background: #1a1a1a;
}

/* Challenge Items */
.challenge-item {
    border: 2px solid #333333;
    padding: 1.5rem;
    background: #111111;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
}

.challenge-item:first-child {
    border-top: 2px solid #333333;
}

.challenge-item:not(:first-child) {
    border-top: none;
}

.challenge-item:not(:last-child) {
    border-bottom: none;
}

.challenge-item:last-child {
    border-bottom: 2px solid #333333;
}

.challenge-item:hover {
    background: #1a1a1a;
}

.challenge-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.challenge-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.challenge-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.challenge-item:nth-child(n+4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.challenge-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.challenge-item p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #cccccc;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.challenge-item p strong {
    color: #ffffff;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 2px solid #333333;
    border-top: none;
}

.step-item {
    border: none;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    background: #111111;
    transition: background-color 0.6s var(--animation-easing-smooth);
    animation: fadeInLeft 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.step-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.step-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.step-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.step-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.step-item:nth-child(n+5) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

.step-item:hover {
    background: #1a1a1a;
}

/* Use negative margins to overlap borders and prevent doubling */
.step-item:first-child {
    border-top: 2px solid #333333;
    margin-top: -1px;
}

.step-item:not(:last-child) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

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

.step-number {
    background: #1a1a1a;
    color: #ffffff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 400;
    margin-right: 1rem;
    border: 2px solid #333333;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.8rem;
    color: #cccccc;
    line-height: 1.4;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 2px solid #333333;
    border-top: none;
}

.status-item {
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111111;
    animation: fadeInUp var(--animation-duration) var(--animation-easing);
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.status-item:nth-child(1) {
    animation-delay: calc(var(--animation-delay-step) * 6);
}

.status-item:nth-child(2) {
    animation-delay: calc(var(--animation-delay-step) * 7);
}

.status-item:nth-child(3) {
    animation-delay: calc(var(--animation-delay-step) * 8);
}

.status-item:nth-child(4) {
    animation-delay: calc(var(--animation-delay-step) * 9);
}

.status-item:nth-child(n+5) {
    animation-delay: calc(var(--animation-delay-step) * 10);
}

/* Use negative margins to overlap borders and prevent doubling */
.status-item:nth-child(odd) {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.status-item:not(:last-child):not(:nth-last-child(-n+2)) {
    border-bottom: 2px solid #333333;
    margin-bottom: -1px;
}

.status-label {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-value {
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-value.completed {
    color: #4ade80;
}

.status-value.pending {
    color: #fbbf24;
}

/* Responsive Design for Dream Solution */
@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline-item:nth-child(1),
    .timeline-item:nth-child(3) {
        border-right: 2px solid #333333;
    }
    
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(4) {
        border-right: none;
    }
    
    .timeline-item:nth-child(3),
    .timeline-item:nth-child(4) {
        border-top: 2px solid #333333;
    }
    
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-item:nth-child(odd) {
        border-right: 2px solid #333333;
    }
    
    .tech-item:nth-child(even) {
        border-right: none;
    }
    
    .tech-item:nth-child(n+3) {
        border-top: 2px solid #333333;
    }
    
    .phase-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-category .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-category .tool-item:nth-child(odd),
    .tools-category .tool-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .tools-category .tool-item:last-child {
        border-bottom: none;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .status-item:nth-child(odd),
    .status-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .status-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item:nth-child(1),
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(3) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .timeline-item:nth-child(4) {
        border-bottom: none;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item:nth-child(odd),
    .tech-item:nth-child(even) {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .tech-item:last-child {
        border-bottom: none;
    }
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 0 1rem;
    }
    
    .faq-heading {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.5rem;
        font-size: 0.8rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .faq-heading {
        font-size: 1.25rem;
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.75rem;
    }
}

/* Contact Form Styles */
.contact-info {
    margin: 0;
    margin-top: 0;
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.8s;
    width: 100%;
    border: 2px solid #333333;
    border-top: none;
    display: flex;
    background: #111111;
}

.contact-info .contact-phone,
.contact-info .contact-email {
    margin: 0;
    margin-top: 0;
    text-align: center;
    border: none;
    padding: 1.5rem;
    background: #111111;
    flex: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Use negative margins to overlap borders and prevent doubling */
.contact-info .contact-phone {
    border-right: 2px solid #333333;
    margin-right: -1px;
}

.phone-link,
.email-link {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.6s var(--animation-easing-smooth);
    display: inline-block;
}

.phone-link:hover,
.email-link:hover {
    color: #cccccc;
    text-decoration: underline;
}

.contact-form-wrapper {
    margin-top: 0;
    width: 100%;
    display: block;
    box-sizing: border-box;
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 1.0s;
    border-top: none;
}

.contact-form {
    border: 2px solid #333333;
    border-top: none;
    padding: 1.5rem;
    background: #111111;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-group:nth-of-type(1) {
    animation-delay: 1.2s;
}

.form-group:nth-of-type(2) {
    animation-delay: 1.35s;
}

.form-group:nth-of-type(3) {
    animation-delay: 1.5s;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', Courier, monospace;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    background: #1a1a1a;
    border: 2px solid #333333;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    transition: background-color 0.6s var(--animation-easing-smooth), border-color 0.6s var(--animation-easing-smooth), color 0.6s var(--animation-easing-smooth);
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #555555;
    background: #222222;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
    text-transform: none;
}

.form-textarea {
    min-height: 150px;
    line-height: 1.4;
}

.form-error {
    display: block;
    color: #f87171;
    font-size: 0.7rem;
    margin-top: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
}

.form-actions {
    margin-top: 1.5rem;
    animation: fadeInUp 1.4s var(--animation-easing-smooth);
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 1.65s;
}

.form-submit {
    background: #1a1a1a;
    border: 2px solid #333333;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'IBM Plex Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.6s var(--animation-easing-smooth), color 0.6s var(--animation-easing-smooth), border-color 0.6s var(--animation-easing-smooth);
    width: 100%;
    display: inline-block;
}

.form-submit:hover:not(:disabled) {
    background: #222222;
    color: #cccccc;
}

.form-submit:focus:not(:disabled) {
    outline: none;
    border-color: #555555;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #1a1a1a;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    border: 2px solid #333333;
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    display: none;
}

.form-feedback.success {
    background: #1a3a1a;
    border-color: #4ade80;
    color: #4ade80;
}

.form-feedback.error {
    background: #3a1a1a;
    border-color: #f87171;
    color: #f87171;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }
    
    .contact-info .contact-phone {
        border-right: none;
        border-bottom: 2px solid #333333;
    }
    
    .contact-info .contact-email {
        border-bottom: none;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 0.75rem;
    }
    
    .form-label {
        font-size: 0.75rem;
    }
    
    .form-submit {
        padding: 0.6rem 1.5rem;
        font-size: 0.75rem;
    }
}