/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --accent-color: #000000;
    --background: #ffffff;
    --surface: #fafafa;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --grid-color: #f0f0f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Scroll-based gradient colors */
    --scroll-gradient-hue: 0;
    --scroll-gradient-saturation: 0%;
    --scroll-gradient-lightness: 100%;
    --scroll-gradient-overlay: rgba(0, 0, 0, 0);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    transition: background-color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        hsl(var(--scroll-gradient-hue), var(--scroll-gradient-saturation), var(--scroll-gradient-lightness)) 0%,
        hsl(calc(var(--scroll-gradient-hue) + 20), var(--scroll-gradient-saturation), calc(var(--scroll-gradient-lightness) - 5%)) 50%,
        hsl(calc(var(--scroll-gradient-hue) + 40), var(--scroll-gradient-saturation), calc(var(--scroll-gradient-lightness) - 10%)) 100%
    );
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease, background 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.logo-code {
    color: var(--text-primary);
}

.logo-creative {
    color: var(--text-secondary);
    font-weight: 400;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.btn-contact {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition), color 0.3s ease;
}

.btn-contact:hover {
    background: var(--text-primary);
    transform: translateY(-1px);
}

.btn-contact::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        width: 100%;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 80px 0;
}

.hero-title {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--surface);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    background: var(--background);
}

.cursor-trail {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    mix-blend-mode: multiply;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.cursor-trail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.cursor-trail.active {
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.6);
}

.scan-line {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 9;
    opacity: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 0, 0, 0.2);
}

.brand-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.brand-text {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: clamp(120px, 25vw, 300px);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 0.85;
    letter-spacing: -8px;
    text-transform: lowercase;
    animation: brandFade 15s ease-in-out infinite;
}

.brand-creative {
    font-size: clamp(80px, 18vw, 220px);
    font-weight: 300;
    letter-spacing: -4px;
    margin-top: -20px;
    animation-delay: 2s;
}

@keyframes brandFade {
    0%, 100% {
        opacity: 0.03;
    }
    50% {
        opacity: 0.06;
    }
}

.circuit-board-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    mix-blend-mode: multiply;
}

.circuit-board-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.circuit-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 2;
}

.circuit-lines {
    animation: circuitPulse 8s ease-in-out infinite;
}

.circuit-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: circuitDraw 20s linear infinite;
    transition: opacity 0.4s ease, stroke-width 0.4s ease, stroke-dashoffset 0.6s ease, filter 0.4s ease;
    cursor: none;
    opacity: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dynamic-connection {
    pointer-events: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.path-1 {
    animation-delay: 0s;
}

.path-2 {
    animation-delay: 4s;
}

.path-3 {
    animation-delay: 8s;
}

.circuit-component {
    animation: componentPulse 4s ease-in-out infinite;
}

.comp-1 {
    animation-delay: 0s;
}

.comp-2 {
    animation-delay: 0.8s;
}

.comp-3 {
    animation-delay: 1.6s;
}

.comp-4 {
    animation-delay: 2.4s;
}

.comp-5 {
    animation-delay: 3.2s;
}

.comp-6 {
    animation-delay: 1.2s;
}

.circuit-node {
    animation: nodePulse 3s ease-in-out infinite;
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    transform-origin: center;
    cursor: none;
}

.circuit-component {
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    transform-origin: center;
    cursor: none;
}

.node-1 {
    animation-delay: 0s;
}

.node-2 {
    animation-delay: 1s;
}

.node-3 {
    animation-delay: 2s;
}

.node-4 {
    animation-delay: 1.5s;
}

.node-5 {
    animation-delay: 2.5s;
}

.code-overlay {
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.2;
    line-height: 1.8;
    pointer-events: auto;
    animation: codeFade 12s ease-in-out infinite;
    z-index: 3;
    background: rgba(255, 255, 255, 0.6);
    padding: 16px;
    border: 1px solid var(--border-color);
    cursor: default;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.code-line {
    font-weight: 400;
    letter-spacing: 0.5px;
}

@keyframes circuitDraw {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.1;
    }
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes componentPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.35;
    }
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.2;
        r: 4;
    }
    50% {
        opacity: 0.3;
        r: 5;
    }
}

@keyframes codeFade {
    0%, 100% {
        opacity: 0.1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.2;
        transform: translateY(-10px);
    }
}

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

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.06;
    mix-blend-mode: multiply;
    z-index: 0;
}

.services-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.3);
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: white;
    padding: 48px 32px;
    border-radius: 0;
    transition: var(--transition), border-color 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    border-left: 2px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-width: 3px;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--primary-color);
    opacity: 0.9;
}

.service-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* Technical Showcase Section */
.technical-showcase {
    background: var(--background);
    padding: 120px 0;
}

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

.technical-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    background: var(--surface);
}

.technical-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-primary);
}

.technical-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition);
}

.technical-item:hover .technical-img {
    filter: grayscale(70%) contrast(1.3);
    transform: scale(1.1);
}

.technical-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 24px;
    transform: translateY(100%);
    transition: var(--transition);
}

.technical-item:hover .technical-overlay {
    transform: translateY(0);
}

.technical-label {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

/* About Section */
.about {
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    mix-blend-mode: multiply;
    z-index: 0;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-section {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-code-display {
    width: 100%;
    max-width: 500px;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    box-shadow: var(--shadow-md);
}

.terminal-header {
    background: #2a2a2a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #3a3a3a;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.terminal-dot:nth-child(1) {
    background: #ff5f56;
}

.terminal-dot:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dot:nth-child(3) {
    background: #27c93f;
}

.terminal-title {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.terminal-content {
    padding: 24px;
    background: #1a1a1a;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.8;
    min-height: 200px;
}

.code-line {
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.code-prompt {
    color: #4ec9b0;
    margin-right: 8px;
}

.code-command {
    color: #569cd6;
}

.code-output {
    color: #9cdcfe;
    margin-left: 20px;
    display: block;
}

.code-cursor {
    color: #e0e0e0;
    animation: blink 1s infinite;
}

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

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 0;
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

/* Contact Section */
.contact {
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    mix-blend-mode: multiply;
    z-index: 0;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-item p {
    font-size: 18px;
    color: var(--text-secondary);
}

.email-reveal {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    display: inline-block;
    padding: 4px 8px;
    border-bottom: 1px dashed var(--border-color);
}

.email-reveal:hover {
    border-bottom-color: var(--text-primary);
}

.email-placeholder {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 16px;
    color: var(--text-secondary);
}

.email-address {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 16px;
    color: var(--text-primary);
}

.email-reveal.revealed .email-placeholder {
    display: none;
}

.email-reveal.revealed .email-address {
    display: inline !important;
}

.email-reveal {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    display: inline-block;
    padding: 4px 8px;
    border-bottom: 1px dashed var(--border-color);
}

.email-reveal:hover {
    border-bottom-color: var(--text-primary);
}

.email-placeholder {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 16px;
    color: var(--text-secondary);
}

.email-address {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 16px;
    color: var(--text-primary);
}

.email-reveal.revealed .email-placeholder {
    display: none;
}

.email-reveal.revealed .email-address {
    display: inline !important;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

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

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 80px 0;
    }

    .services-grid,
    .technical-grid {
        grid-template-columns: 1fr;
    }
    
    .technical-item {
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-section {
        grid-column: 1;
        grid-row: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .code-overlay {
        font-size: 12px;
        bottom: 5%;
        right: 3%;
    }
    
    .circuit-grid {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .service-card,
    .work-content {
        padding: 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
