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

:root {
    --bg-dark: #000000;
    --bg-dark-alt: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #00d9ff;
    --border-color: #1f1f1f;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 150, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: drift 15s ease-in-out infinite;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 217, 255, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 217, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -20px);
    }
    50% {
        transform: translate(-20px, 30px);
    }
    75% {
        transform: translate(-30px, -30px);
    }
}

/* Starfield */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
    animation: float linear infinite;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) translateX(100px) scale(0.8);
        opacity: 0;
    }
}

@keyframes float-left {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) translateX(-100px) scale(0.8);
        opacity: 0;
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    95% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) translateX(50px) scale(0.6);
        opacity: 0;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 4rem;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

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



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4rem;
    position: relative;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.letter {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.letter:hover {
    color: var(--accent-color);
    animation: bounce 0.6s ease-out;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.8), 0 0 40px rgba(0, 217, 255, 0.5);
}

@keyframes bounce {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.15);
    }
    100% {
        transform: translateY(-10px) scale(1.1);
    }
}

.hero-email {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.hero-email:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: bounce-gentle 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

@keyframes bounce-gentle {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator-bottom {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: bounce-gentle 2s ease-in-out infinite;
    z-index: 10;
}
.work {
    min-height: auto;
    padding: 5rem 4rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.work-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.work-header-section {
    text-align: center;
    margin-bottom: 4rem;
}

.work-main-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.work-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.work-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-showcase,
.business-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.8) 0%, rgba(0, 217, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.9) 0%, rgba(0, 217, 255, 0.1) 100%);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

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

.project-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.project-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-secondary);
    opacity: 0.6;
}

.project-title-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

.link-icon {
    color: var(--accent-color);
    opacity: 0;
    transform: translate(-10px, -10px);
    transition: var(--transition);
    width: 20px;
    height: 20px;
}

.project-title-link:hover .link-icon {
    opacity: 1;
    transform: translate(0, 0);
}

.project-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value.active {
    color: var(--accent-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(0, 217, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.stats-card {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08) 0%, rgba(0, 150, 255, 0.04) 100%);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stats-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

.stats-header {
    margin-bottom: 2.5rem;
}

.stats-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.stat-box {
    text-align: center;
}

.stat-box-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-box-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 6px;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(8px);
}

.service-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 255, 0.15);
    border-radius: 6px;
    color: var(--accent-color);
}

.service-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.work-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(10px);
}

.work-item:hover {
    border-color: var(--accent-color);
    background: rgba(0, 217, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.15);
    transform: translateY(-8px);
}

.work-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    transition: var(--transition);
}

.work-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-item:hover .work-title {
    color: var(--accent-color);
}

.work-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

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

.business-stats-column {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08) 0%, rgba(0, 150, 255, 0.04) 100%);
    backdrop-filter: blur(10px);
}

.business-stats-column:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.1);
}

.business-stats-content {
    text-align: center;
}

.business-number {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.business-stats-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.business-stats-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: var(--transition);
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
}

.work-item:hover .tag {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 217, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

/* Stack Section */
.stack {
    min-height: auto;
    padding: 5rem 4rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.stack-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stack-header h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stack-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stack-category h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stack-tag {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: var(--transition);
    font-family: 'Courier New', monospace;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 4px;
}

.stack-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
    transform: translateY(-4px);
}

/* Contact Section */
.contact {
    min-height: auto;
    padding: 5rem 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.contact-content h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: -0.01em;
    background: rgba(0, 217, 255, 0.08);
    border-radius: 6px;
}

.contact-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 217, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.25);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

/* Media Queries */
@media (max-width: 1024px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .work,
    .stack,
    .contact {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-wrapper {
        gap: 1rem;
    }

    .nav-menu {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 100vh;
        padding: 3rem 1.5rem;
        margin-top: 0;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .work,
    .stack,
    .contact {
        min-height: auto;
        padding: 3rem 1.5rem 3rem 1.5rem;
        position: relative;
    }

    .work-main-title,
    .stack-header h2,
    .contact-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

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

    .project-card,
    .stats-card {
        border-radius: 10px;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-number {
        font-size: 2rem;
    }

    .project-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .stat-box-number {
        font-size: 2rem;
    }

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

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

    .business-stats-column {
        padding: 2rem;
    }

    .business-number {
        font-size: 4rem;
    }

    .business-stats-content h2 {
        font-size: 1.8rem;
    }

    .business-stats-content p {
        font-size: 0.95rem;
    }

    .work-item {
        padding: 1.25rem;
    }

    .work-number {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .work-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .work-description {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .tag {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }

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

    .stack-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .stack-tags {
        gap: 0.5rem;
    }

    .stack-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .contact-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-link {
        font-size: 0.9rem;
    }

    .scroll-indicator-bottom {
        bottom: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .navbar {
        padding: 0.75rem 1rem;
        z-index: 1000;
    }

    .nav-wrapper {
        gap: 0.5rem;
    }

    .nav-menu {
        gap: 0.6rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .hero {
        min-height: 100vh;
        padding: 3rem 1rem;
        margin-top: 0;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .work,
    .stack,
    .contact {
        min-height: auto;
        padding: 2.5rem 1rem 2.5rem 1rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .work-content {
        padding: 0;
    }

    .work-main-title,
    .stack-header h2,
    .contact-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .work-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
        color: var(--text-secondary);
    }

    .work-showcase {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .project-card,
    .stats-card {
        padding: 1.1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .project-header {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .project-badge {
        padding: 0.4rem 0.9rem;
        font-size: 0.65rem;
        background: rgba(0, 217, 255, 0.1);
        border: 1px solid rgba(0, 217, 255, 0.3);
        border-radius: 4px;
    }

    .project-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        font-weight: 600;
    }

    .project-number {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--accent);
    }

    .link-icon {
        width: 16px;
        height: 16px;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        color: var(--text-secondary);
    }

    .project-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat {
        gap: 0.35rem;
        text-align: center;
    }

    .stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .stat-value {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .project-tags {
        gap: 0.6rem;
        display: flex;
        flex-wrap: wrap;
    }

    .tech-tag {
        padding: 0.4rem 0.85rem;
        font-size: 0.75rem;
        background: rgba(0, 217, 255, 0.08);
        border: 1px solid rgba(0, 217, 255, 0.2);
        border-radius: 6px;
        color: var(--text-secondary);
    }

    .stats-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-header h3 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
        font-weight: 600;
    }

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.2rem;
        padding-bottom: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-box {
        text-align: center;
        padding: 0.8rem 0;
    }

    .stat-box-number {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
        font-weight: 700;
        color: var(--accent);
    }

    .stat-box-label {
        font-size: 0.65rem;
        line-height: 1.2;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .services-list {
        gap: 0.75rem;
        display: flex;
        flex-direction: column;
    }

    .service-item {
        padding: 0.75rem 0;
        gap: 0.75rem;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .service-item:first-child {
        border-top: none;
        padding-top: 0;
    }

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

    .service-item span {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .scroll-indicator-bottom {
        bottom: 0.8rem;
        font-size: 0.7rem;
    }

    .scroll-indicator-bottom .scroll-arrow {
        width: 16px;
        height: 16px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .work-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .business-stats-column {
        padding: 1.5rem;
        border: 1px solid var(--border-color);
    }

    .business-number {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .business-stats-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .business-stats-content p {
        font-size: 0.8rem;
    }

    .work-item {
        padding: 1rem;
    }

    .work-number {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .work-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .work-description {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }

    .work-tags {
        gap: 0.4rem;
    }

    .tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }

    .stack-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stack-category {
        width: 100%;
    }

    .stack-category h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .stack-tags {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .stack-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .contact-content {
        width: 100%;
        padding: 0 0.5rem;
    }

    .contact-content p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .contact-link {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .scroll-indicator,
    .scroll-indicator-bottom {
        bottom: 1rem;
        font-size: 0.7rem;
    }

    .scroll-arrow svg {
        width: 16px;
        height: 16px;
    }

    .footer {
        padding: 2rem 1rem;
        font-size: 0.75rem;
    }
}

/* Smooth animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
