:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #000000;
    --grid-color: #f0f0f0;
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --max-width: 1200px;
    --spacing-unit: 1rem;
}

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

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Hero */
.hero-section {
    position: relative;
    padding: 2rem;
    padding-bottom: 0;
    min-height: 50vh;
    /* Reduced from 80vh */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.navbar {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.08em;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.resume-btn {
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 500;
}

.resume-btn:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    position: relative;
    transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--text-color);
    transition: transform 0.2s;
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

/* Mobile Menu Active State */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99 !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-color);
    }
}

.hero-content {
    text-align: center;
    margin-top: 4rem;
    z-index: 9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.hero-credibility {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    flex-wrap: wrap;
}

.hero-credibility .separator {
    color: #ddd;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.primary-cta {
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
}

.primary-cta:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.secondary-cta {
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.secondary-cta:hover {
    border-color: var(--text-color);
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    font-weight: 300;
    margin-left: 0.2rem;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

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

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Browser Window Slider */
.browser-window {
    width: 100%;
    max-width: 900px;
    margin-top: 3rem;
    background: #ffffff;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-bottom: none;
}

.browser-header {
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ff5f56;
}

.dot.yellow {
    background-color: #ffbd2e;
}

.dot.green {
    background-color: #27c93f;
}

.hero-slider {
    width: 100%;
    aspect-ratio: 16/10;
    /* Removed fixed height for responsiveness */
}

.swiper-slide {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.swiper-pagination-bullet-active {
    background-color: var(--text-color) !important;
}

/* Floating Emojis */
.floating-emoji {
    position: absolute;
    z-index: 2;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.emoji-icon {
    filter: blur(1px);
    line-height: 1;
}

.emoji-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    opacity: 0.9;
    filter: none;
    /* Ensure text is sharp */
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.emoji-1 {
    top: 12%;
    left: 5%;
    font-size: 4rem;
    animation-delay: 0s;
}

.emoji-2 {
    top: 15%;
    right: 8%;
    font-size: 3.5rem;
    animation-delay: 1.5s;
}

.emoji-3 {
    top: 45%;
    left: 8%;
    font-size: 3rem;
    animation-delay: 0.5s;
}

.emoji-4 {
    top: 40%;
    right: 5%;
    font-size: 4rem;
    animation-delay: 2s;
}

.emoji-5 {
    top: 8%;
    left: 45%;
    font-size: 2.5rem;
    animation-delay: 1s;
}

@media (max-width: 1024px) {
    .floating-emoji {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

/* @media (max-width: 768px) {
    .floating-emoji {
        display: none;
    }
} */

/* Projects Section */
.projects-section {
    max-width: var(--max-width);
    margin: 4rem auto;
    margin-top: 0px;
    margin-bottom: 0px;
    /* padding: 0 2rem; */
    padding-top: 4rem;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.highlights-section {
    max-width: var(--max-width);
    margin: 0 auto;
    margin-top: 0px;
    /* padding: 0 2rem; */
    padding-top: 4rem;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.section-header {
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.projects-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    /* padding: 0 2rem; */
}

.project-item {
    display: grid;
    grid-template-columns: 80px 2fr 2fr 60px;
    align-items: center;
    padding: 2rem 2rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}



.project-item-hightlights {
    grid-template-columns: 80px 2fr 2fr 60px 100px;
}

.project-blur {
    position: absolute;
    width: 100px;
    height: 100px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity .25s ease;
    will-change: transform;
    /* keep fade, remove transform transition */
}


.project-item>*:not(.project-blur) {
    position: relative;
    z-index: 1;
}

/* reveal blur when hovering */
.project-item:hover .project-blur {
    opacity: .2;
}


.project-left {
    display: flex;
    justify-content: center;
}

.project-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
}

.project-icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.project-icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.icon-blue {
    background: rgba(100, 108, 255, 0.1);
    color: #646cff;
}

.icon-green {
    background: rgba(66, 184, 131, 0.1);
    color: #42b883;
}

.icon-yellow {
    background: rgba(247, 223, 30, 0.1);
    color: #d4be29;
}

.project-middle-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-current-event {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
}

.project-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.project-middle-right {
    display: flex;
    gap: 3rem;
}

.stat-group {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

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

.project-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.github-link {
    color: var(--text-color);
    opacity: 0.3;
    transition: opacity 0.2s;
}

.github-link:hover {
    opacity: 1;
}

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

/* Visual Stack Animation */
.visual-stack {
    position: relative;
    width: 40px;
    height: 40px;
    transform: rotateX(60deg) rotateZ(45deg);
    transform-style: preserve-3d;
}

.visual-stack span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid;
    transition: transform 0.3s ease;
}

.visual-stack span:nth-child(1) {
    transform: translateZ(0px);
}

.visual-stack span:nth-child(2) {
    transform: translateZ(10px);
}

.visual-stack span:nth-child(3) {
    transform: translateZ(20px);
}

.project-item:hover .visual-stack span:nth-child(2) {
    transform: translateZ(15px);
}

.project-item:hover .visual-stack span:nth-child(3) {
    transform: translateZ(30px);
}

.visual-stack.blue span {
    border-color: #646cff;
    box-shadow: 0 0 5px rgba(100, 108, 255, 0.2);
}

.visual-stack.green span {
    border-color: #42b883;
    box-shadow: 0 0 5px rgba(66, 184, 131, 0.2);
}

.visual-stack.orange span {
    border-color: #f7df1e;
    box-shadow: 0 0 5px rgba(247, 223, 30, 0.2);
}

@media (max-width: 768px) {
    .project-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .project-middle-right {
        justify-content: center;
    }

    .highlight-desc {
        padding: 0 1rem;
    }

    .visual-stack {
        display: none;
    }

    .browser-window {
        display: none;
    }

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

/* Mini Projects Section */
.mini-projects-section {
    max-width: var(--max-width);
    margin: 0 auto;
    /* padding: 0 2rem; */
    /* padding-top: 4rem; */
    /* padding-bottom: 4rem; */
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.mini-projects-section .section-header {
    /* border-bottom: 1px solid #eee; */
    border-top: 1px solid #eee;
    padding: 2rem 2rem;
    padding-bottom: 0px;
}

.mini-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-top: 1px solid #eee;
    background-color: #eee;
    gap: 1px;
}

.mini-project-item {
    background: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
    min-height: 220px;
}

.mini-project-item:hover {
    background: #fcfcfc;
}

.mini-project-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mini-project-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.mini-project-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.mini-project-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: auto;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    align-self: flex-start;
}

.mini-project-item:hover .mini-project-link {
    border-color: var(--text-color);
}

.mini-project-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #f5f5f5;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Mission Section */
.mission-section {
    max-width: var(--max-width);
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.highlight-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

/* Stats Section */
.stats-section {
    max-width: var(--max-width);
    margin: 6rem auto;
    padding: 0 2rem;
    text-align: center;
}

.stats-header h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.chart-container {
    width: 100%;
    height: 300px;
    margin-bottom: 3rem;
    position: relative;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}

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

/* Logos Section */
.logos-section {
    max-width: var(--max-width);
    margin: 4rem auto;
    padding: 2rem;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.7;
}

.logo-grid img {
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo-grid img:hover {
    filter: grayscale(0%);
}

/* Beliefs Section */
.beliefs-section {
    background-color: #0a0a0a;
    color: #fff;
    padding: 6rem 2rem;
    margin-top: 4rem;
}

.beliefs-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.beliefs-content h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.belief-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.belief-list p {
    color: #888;
    line-height: 1.8;
}

.belief-list strong {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* People Section */
.people-section {
    max-width: var(--max-width);
    margin: 6rem auto;
    padding: 0 2rem;
}

.people-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.investors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.investor-col h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: serif;
}

.investor-list li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.investor-list strong {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

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

/* Pricing Section */
.pricing-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pricing-section .section-header {
    /* margin-bottom: 4rem; */
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    padding: 2rem 2rem;
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.pricing-philosophy {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.pricing-ranges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.price-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: -0.25rem;
}

.pricing-inclusions {
    list-style: none;
    padding: 0;
    margin: 0 auto 2.5rem;
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.pricing-inclusions li {
    font-size: 1.05rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.pricing-inclusions li::before {
    content: "✓";
    color: #22c55e;
    /* Green checkmark */
    font-weight: 800;
    margin-top: 2px;
}

.pricing-terms {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.pricing-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.pricing-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card {
        padding: 2rem;
    }

    .pricing-ranges {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Contact Section */
.cta-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.cta-card {
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 500px;
}

.cta-button {
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
}

/* Tech Stack Section */
.tech-stack-section {
    background-color: #050505;
    padding: 6rem 2rem;
    color: #fff;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.tech-stack-section .section-header {
    margin-bottom: 4rem;
}

.tech-stack-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-stack-section .section-desc {
    color: #888;
    font-size: 1.1rem;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 0.5rem;
}

.tech-item {
    width: 80px;
    height: 80px;
    background: #111;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #444;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #222;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: #1a1a1a;
    border-color: #444;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.tech-grid-container {
    width: 150vw;
    transform: translateX(-25vw);
}

@media screen {
    .tech-grid-container {
        width: 300vw;
        transform: translateX(-100vw);
    }


    /* RIGHT FADE */
    .tech-stack-section::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 15vw;
        height: 100%;
        pointer-events: none;
        z-index: 10;
        background: linear-gradient(to left, rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0));
    }

    /* LEFT FADE */
    .tech-stack-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 15vw;
        height: 100%;
        pointer-events: none;
        z-index: 10;
        background: linear-gradient(to right, rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0));
    }
}

.tech-item img:not(.tech-item-hover) {
    width: 40px;
    height: 40px;
    z-index: 1;
    position: relative;
}

.tech-item i:not(.tech-item-hover) {
    width: 40px;
    height: 40px;
    z-index: 1;
    position: relative;
}

.tech-item-hover {
    width: 40px;
    height: 40px;
    filter: blur(5px);
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    z-index: -1;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tech-item:hover .tech-item-hover {
    opacity: 0.5;
    transform: translateX(-50%) scale(2) !important;
}

.tech-item-label {
    font-size: 0.75rem;
    color: #fff;
    text-align: center;
    margin-top: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-item-label {
    transform: translateX(-50%) translateY(0);
}

/* .tech-item:not(:hover) {
    filter: blur(2px);
} */

/* Tooltip */
/* .tech-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.tech-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
} */

/* Footer */
footer {
    border-top: 1px solid #eee;
    padding: 4rem 2rem;
    background: #fff;
    position: relative;
}

footer .grid-background {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 999;
}

.footer-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Responsive */
/* Credibility Bar */
.credibility-bar {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
    background: #fcfcfc;
}

.credibility-bar p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Case Studies (Projects) */
.case-studies {
    gap: 0;
}

.case-study {
    display: block;
    /* Override grid */
    padding: 4rem 2rem;
    margin: 0 auto;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.case-study:last-child {
    border-bottom: none;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-study-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.case-study-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.case-study-outcomes {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Project Logo */
.project-logo {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    object-fit: contain;
    background: #f5f5f5;
    /* Fallback/Background for transparent logos */
    padding: 4px;
}

.case-study-outcomes li {
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.case-study-outcomes li::before {
    content: "✓";
    color: #22c55e;
    /* Green checkmark */
    font-weight: 800;
    margin-top: 2px;
}

.case-study-tech {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    margin-top: 0.5rem;
}

/* Service Icons */
.service-icon {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

/* Stars */
.stars {
    color: #fbbf24;
    /* Amber/Gold */
    letter-spacing: 2px;
}

.case-study-links .text-link {
    font-weight: 600;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
}

/* Services Section */
.services-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0rem 0px;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.services-section .section-header {
    border-top: 1px solid #eee;
    padding: 2rem 2rem;
    margin-bottom: 0px !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* margin-top: 3rem; */
}

.service-item {
    border: 1px solid #eee;
    padding: 2rem;
}

.service-item:nth-child(1) {
    border-left: none;
    border-bottom: none;
    border-right: none;
}

.service-item:nth-child(2) {
    border-bottom: none;
    border-right: none;
}

.service-item:nth-child(3) {
    border-bottom: none;
    border-right: none;
}

.service-item:nth-child(4) {
    border-right: none;
    border-left: none;
}

.service-item:nth-child(5) {
    border-right: none;
}

.service-item:nth-child(6) {
    border-right: none;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}


@media (max-width: 901px) {
    .service-item:nth-child(4) {
        border-left: 1px solid #eee !important;
        border-bottom: none;
    }

    .service-item:nth-child(6) {
        border-top: 1px solid #eee !important;
    }
}

.service-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.services-footer {
    margin-top: 4rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    padding-bottom: 4rem;
}

/* Process Section */
.process-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    background: #fcfcfc;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.process-steps {
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */

    gap: 2rem;
    margin-top: 3rem;
    /* max 3 per row */
}

@media (max-width: 768px) {
    .process-steps {
        flex: 1 1 calc(50% - 1rem);
        flex-wrap: wrap;
        /* 2 per row */
    }
}

@media (max-width: 480px) {
    .process-steps {
        flex: 1 1 100%;
        flex-wrap: wrap;
        /* 1 per row */
    }
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 calc(33.333% - 1rem);
    /* max 3 per row */
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: #eee;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    max-width: calc(100vw - 4rem);
}

.testimonial-card blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    word-wrap: break-word;
    word-break: keep-all;
    max-width: 100%;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* Tech Stack Humanized */
.tech-stack-human {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem 4rem;
}

.tech-stack-primary p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack-secondary p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.tech-confidence {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.confidence-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.confidence-item .stars {
    min-width: 100px;
}

.confidence-item .tech-names {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

/* About Section */
.about-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.about-section .section-header {
    padding: 2rem 2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.about-content {
    font-size: 1.25rem;
    line-height: 1.8;
    padding: 2rem;
    color: var(--text-color);
}

.about-intro {
    margin-bottom: 2rem;
}

.about-philosophy {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.about-philosophy p {
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-philosophy ul li {
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
}

/* Footer Updates */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

.footer-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    background: #f0fdf4;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cta-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cta-link-item {
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.cta-link-item:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-credibility {
        flex-direction: column;
        gap: 0.25rem;
    }

    .hero-credibility .separator {
        display: none;
    }

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

    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cta-form {
        flex-direction: column;
        width: 100%;
        margin-top: 30px;
    }

    .cta-form input {
        width: 100%;
    }

    .cta-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-stack-primary p {
        font-size: 1.2rem;
    }

    .confidence-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.w-7 {
    width: 2rem !important;
    font-size: 2rem !important;
    line-height: 100% !important;
    margin: 0 !important;
}

.h-7 {
    height: 2rem !important;
    font-size: 2rem !important;
    line-height: 100% !important;
    margin: 0 !important;
}