:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #121212;
    --bg-card-hover: #1c1c1c;
    --text: #ccc;
    --text-secondary: #999;
    --text-muted: #777;
    --border: #2a2a2a;
    --accent: #ff4d4d;
    --accent-hover: #cc3a3a;
    --accent-soft: rgba(255, 77, 77, 0.08);
    --shadow: 0 8px 24px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.2);
    --shadow-hover: 0 16px 36px rgba(0,0,0,0.5), 0 4px 10px rgba(0,0,0,0.3);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 18px;
    --transition: 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    --max-width: 1060px;
    --header-height: 72px;
    --scanline: rgba(255,255,255,0.018)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height)
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0a0a0a;
    color: #ccc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.018) 2px, rgba(255,255,255,0.018) 4px);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 180px rgba(0,0,0,0.9);
    pointer-events: none;
    z-index: 9998
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #2a2a2a;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: background 0.3s, box-shadow 0.3s
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5)
}

.header-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: #ccc;
    font-family: 'Inter', sans-serif;
    transition: transform 0.3s
}

.logo:hover {
    transform: scale(1.05)
}

.logo span {
    color: #ff4d4d
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center
}

.nav-links a {
    text-decoration: none;
    color: #999;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s, border-color 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff4d4d;
    border-bottom-color: #ff4d4d
}

.nav-cta {
    background: #ff4d4d;
    color: #fff !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    border-radius: 40px !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
    box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s
}

.nav-cta:hover {
    background: #cc3a3a !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(255, 77, 77, 0.4);
    transform: translateY(-1px)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #ccc;
    border-radius: 4px;
    transition: 0.2s;
    transform-origin: center
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px)
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px)
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: #0d0d0d;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.6);
    border-left: 1px solid #2a2a2a
}

.mobile-menu.open {
    right: 0
}

.mobile-menu a {
    text-decoration: none;
    color: #ccc;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s
}

.mobile-menu a:hover {
    color: #ff4d4d
}

.mobile-menu .mobile-cta {
    background: #ff4d4d;
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    text-transform: none
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all
}

.section {
    padding: 100px 24px;
    position: relative;
    z-index: 1
}

.section-inner {
    max-width: 1060px;
    margin: 0 auto
}

.section-label {
    display: inline-block;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff4d4d;
    background: rgba(255,77,77,0.08);
    padding: 6px 16px;
    margin-bottom: 16px;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 10px rgba(255,77,77,0.1)
}

.section-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.2
}

.section-desc {
    color: #999;
    font-size: 1.1rem;
    max-width: 580px;
    margin-bottom: 48px;
    line-height: 1.7
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

.delay-1 { transition-delay: 0.04s }
.delay-2 { transition-delay: 0.08s }
.delay-3 { transition-delay: 0.12s }
.delay-4 { transition-delay: 0.16s }
.delay-5 { transition-delay: 0.20s }
.delay-6 { transition-delay: 0.24s }

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 72px
}

.hero-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%
}

.hero-greeting {
    font-weight: 500;
    font-size: 1.1rem;
    color: #777;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-family: 'Fira Code', monospace;
    min-height: 30px;
    display: flex;
    align-items: center
}

.hero-greeting .cursor {
    display: inline-block;
    background: #ff4d4d;
    width: 2px;
    height: 1.2em;
    margin-left: 2px;
    animation: blink 0.8s infinite
}

@keyframes blink {
    0%, 50% { opacity: 1 }
    51%, 100% { opacity: 0 }
}

.hero-name {
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 5.2rem);
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,77,77,0.2)
}

.hero-title {
    font-weight: 500;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: #ff4d4d;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #999;
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.7
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: -0.2px;
    font-family: 'Inter', sans-serif;
    border-radius: 40px;
    position: relative;
    overflow: hidden
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s
}

.btn:hover::after {
    width: 300px;
    height: 300px
}

.btn-primary {
    background: #ff4d4d;
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4)
}

.btn-primary:hover {
    background: #cc3a3a;
    box-shadow: 0 10px 28px rgba(255, 77, 77, 0.5);
    transform: translateY(-2px)
}

.btn-outline {
    background: transparent;
    color: #ff4d4d;
    border: 2px solid #ff4d4d
}

.btn-outline:hover {
    background: rgba(255,77,77,0.08);
    border-color: #cc3a3a;
    color: #cc3a3a
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.about-image-wrapper {
    background: #121212;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    font-size: 6rem;
    color: #ff4d4d;
    opacity: 0.9;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, box-shadow 0.3s
}

.about-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 36px rgba(0,0,0,0.5)
}

.about-text h3 {
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 14px;
    color: #fff
}

.about-text p {
    color: #999;
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1rem
}

.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 32px;
    flex-wrap: wrap
}

.stat-item {
    text-align: left
}

.stat-number {
    font-weight: 800;
    font-size: 2.4rem;
    color: #ff4d4d;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    transition: transform 0.3s
}

.stat-item:hover .stat-number {
    transform: scale(1.1)
}

.stat-label {
    font-size: 0.85rem;
    color: #777;
    margin-top: 6px
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px
}

.setup-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.25s ease;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px)
}

.setup-card:hover {
    background: #1c1c1c;
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    transform: translateY(-3px)
}

.setup-icon {
    font-size: 1.8rem;
    color: #ff4d4d;
    background: rgba(255,77,77,0.1);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    transition: transform 0.3s
}

.setup-card:hover .setup-icon {
    transform: rotate(5deg) scale(1.1)
}

.setup-info h4 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #fff
}

.setup-info p {
    font-size: 0.88rem;
    color: #999;
    line-height: 1.5
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px
}

.lang-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3)
}

.lang-card:hover {
    background: #1c1c1c;
    box-shadow: 0 16px 36px rgba(0,0,0,0.5)
}

.lang-icon {
    font-size: 2.2rem;
    color: #ff4d4d;
    width: 48px;
    text-align: center;
    transition: transform 0.3s
}

.lang-card:hover .lang-icon {
    transform: scale(1.2)
}

.lang-info {
    flex: 1
}

.lang-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #ddd
}

.lang-bar {
    width: 100%;
    height: 8px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px
}

.lang-fill {
    height: 100%;
    background: #ff4d4d;
    width: 0%;
    transition: width 1.2s ease 0.3s;
    border-radius: 10px
}

.lang-used-in {
    font-size: 0.78rem;
    color: #777;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px
}

.tech-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.25s ease;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3)
}

.tech-card:hover {
    background: #1c1c1c;
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    transform: translateY(-3px)
}

.tech-icon {
    font-size: 2.4rem;
    color: #ff4d4d;
    margin-bottom: 14px;
    transition: transform 0.3s
}

.tech-card:hover .tech-icon {
    transform: scale(1.1)
}

.tech-name {
    font-weight: 600;
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif
}

.tech-desc {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 8px
}

.tech-used-for {
    font-size: 0.72rem;
    color: #ff4d4d;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px
}

.service-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    padding: 36px 28px;
    transition: all 0.25s ease;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px)
}

.service-card:hover {
    background: #1c1c1c;
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    transform: translateY(-4px)
}

.service-icon {
    font-size: 2.4rem;
    color: #ff4d4d;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s
}

.service-card:hover .service-icon {
    transform: scale(1.1)
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff
}

.service-card p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px
}

.service-tech-stack {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center
}

.service-tech-stack .stack-label {
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600
}

.service-tech-stack i {
    font-size: 1.2rem;
    color: #ff4d4d;
    opacity: 0.8;
    transition: 0.2s
}

.service-tech-stack i:hover {
    opacity: 1;
    transform: scale(1.2)
}

.service-tech-stack .tech-divider {
    color: #444;
    font-size: 0.8rem
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px
}

.contact-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
    color: #ccc;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3)
}

.contact-card:hover {
    border-color: #ff4d4d;
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    transform: translateY(-3px)
}

.contact-card i {
    font-size: 2.8rem;
    color: #ff4d4d;
    transition: transform 0.3s
}

.contact-card:hover i {
    transform: scale(1.1)
}

.contact-card span {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.3px
}

.contact-card small {
    color: #777;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif
}

.footer {
    border-top: 1px solid #2a2a2a;
    padding: 36px 24px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    background: #0a0a0a;
    position: relative;
    z-index: 1
}

.footer-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px
}

.footer a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 500
}

.footer a:hover {
    text-decoration: underline
}

* {
    cursor: none !important
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 12px #ff4d4d, 0 0 24px rgba(255, 77, 77, 0.6)
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 77, 77, 0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.3)
}

a:hover ~ .cursor-ring,
button:hover ~ .cursor-ring,
.btn:hover ~ .cursor-ring,
.setup-card:hover ~ .cursor-ring,
.lang-card:hover ~ .cursor-ring,
.tech-card:hover ~ .cursor-ring,
.service-card:hover ~ .cursor-ring,
.contact-card:hover ~ .cursor-ring,
.stat-item:hover ~ .cursor-ring {
    width: 50px;
    height: 50px;
    background: rgba(255, 77, 77, 0.08);
    border-color: #ff4d4d;
    box-shadow: 0 0 25px rgba(255, 77, 77, 0.6)
}

a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot,
.btn:hover ~ .cursor-dot,
.setup-card:hover ~ .cursor-dot,
.lang-card:hover ~ .cursor-dot,
.tech-card:hover ~ .cursor-dot,
.service-card:hover ~ .cursor-dot,
.contact-card:hover ~ .cursor-dot,
.stat-item:hover ~ .cursor-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: 0 0 18px #ff4d4d, 0 0 36px rgba(255, 77, 77, 0.9)
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none
}

.scroll-indicator.hidden {
    opacity: 0
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 14px;
    position: relative
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px)
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: arrow-blink 1.5s infinite
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s
}

@keyframes arrow-blink {
    0%, 100% { opacity: 0.3 }
    50% { opacity: 1 }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }
    .about-image-wrapper {
        max-width: 320px;
        margin: 0 auto
    }
    .nav-links {
        display: none
    }
    .hamburger {
        display: flex
    }
    .section {
        padding: 80px 20px
    }
}

@media (max-width: 600px) {
    .hero-name {
        font-size: 2.8rem
    }
    .section {
        padding: 64px 16px
    }
    .setup-grid,
    .languages-grid,
    .tech-grid,
    .services-grid,
    .contact-cards {
        grid-template-columns: 1fr
    }
    .about-stats {
        gap: 24px
    }
    .stat-number {
        font-size: 2rem
    }
    .footer-inner {
        flex-direction: column;
        text-align: center
    }
}