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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-color: #00ff41;
    --accent-secondary: #0099ff;
    --hacker-green: #00ff41;
    --hacker-blue: #0099ff;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --border-color: #27272a;
    --hover-color: #00cc33;
    --card-bg: #141414;
    --glow-color: rgba(0, 255, 65, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 100%;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.company-name-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.company-name {
    font-size: clamp(2rem, 6vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 4;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(0.1rem, 1vw, 0.3rem);
    line-height: 1.1;
    text-align: center;
    width: 100%;
}

/* Hacker-style Letter Containers */
.letter-container {
    display: inline-block;
    position: relative;
    margin: 0 clamp(0.05rem, 0.5vw, 0.15rem);
}

.letter {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    animation: hackerReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    will-change: transform, opacity;
}

.letter-main {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, var(--hacker-green) 0%, var(--hacker-blue) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--glow-color);
    display: inline-block;
    animation: hackerFlicker 4s ease-in-out infinite;
}

/* Geometric Mosaic Fragments */
.letter-fragment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hacker-green);
    opacity: 0;
    z-index: 5;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    animation: fragmentGlitch 3s ease-in-out infinite;
}

.letter-fragment:nth-child(1) {
    clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 50%);
    animation-delay: 0s;
    background: var(--hacker-green);
}

.letter-fragment:nth-child(2) {
    clip-path: polygon(50% 0%, 100% 0%, 100% 50%, 50% 50%);
    animation-delay: 0.5s;
    background: var(--hacker-blue);
}

.letter-fragment:nth-child(3) {
    clip-path: polygon(0% 50%, 50% 50%, 50% 100%, 0% 100%);
    animation-delay: 1s;
    background: var(--hacker-green);
}

.letter-fragment:nth-child(4) {
    clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
    animation-delay: 1.5s;
    background: var(--hacker-blue);
}

/* Staggered animation delays */
.letter-container:nth-child(1) .letter { animation-delay: 0.1s; }
.letter-container:nth-child(2) .letter { animation-delay: 0.2s; }
.letter-container:nth-child(3) .letter { animation-delay: 0.3s; }
.letter-container:nth-child(4) .letter { animation-delay: 0.4s; }
.letter-container:nth-child(5) .letter { animation-delay: 0.5s; }
.letter-container:nth-child(7) .letter { animation-delay: 0.7s; }
.letter-container:nth-child(8) .letter { animation-delay: 0.8s; }
.letter-container:nth-child(9) .letter { animation-delay: 0.9s; }
.letter-container:nth-child(10) .letter { animation-delay: 1.0s; }
.letter-container:nth-child(11) .letter { animation-delay: 1.1s; }
.letter-container:nth-child(12) .letter { animation-delay: 1.2s; }
.letter-container:nth-child(13) .letter { animation-delay: 1.3s; }
.letter-container:nth-child(14) .letter { animation-delay: 1.4s; }

.word-space {
    display: inline-block;
    width: clamp(0.5rem, 2vw, 1rem);
    animation-delay: 0.6s;
}

.text-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: hackerGlow 6s ease-in-out infinite;
    z-index: 1;
}

.hacker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    z-index: 3;
    animation: scanlines 2s linear infinite;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1.5s ease-out 2s both;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hacker-green), transparent);
    animation: lineExpand 1s ease-out 2.5s both;
}

.cta-section {
    animation: fadeInUp 1.5s ease-out 2.2s both;
    position: relative;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--hacker-green);
    position: relative;
    overflow: hidden;
    z-index: 1;
    will-change: transform;
}

.button-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--hacker-green), var(--hacker-blue));
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.button-text {
    position: relative;
    z-index: 2;
}

.cta-button:hover .button-bg {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.3);
    border-color: var(--hacker-blue);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.cta-button:hover .arrow-icon {
    transform: translate(3px, -3px) rotate(5deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    animation: fadeIn 2s ease-out 3s both;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--hacker-green), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.scroll-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.5s ease-out 3.5s both;
}

/* Enhanced Definition Section */
.definition-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #0f0f0f 100%);
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.definition-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 255, 65, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.definition-header {
    margin-bottom: 4rem;
}

.definition-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    text-align: center;
}

.nocte-highlight {
    background: linear-gradient(135deg, var(--hacker-green), var(--hacker-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.nocte-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--hacker-green), var(--hacker-blue));
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 1.5s both;
}

.definition-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    text-align: center;
}

.definition-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.text-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.text-card:nth-child(1) { animation-delay: 0.6s; }
.text-card:nth-child(2) { animation-delay: 0.8s; }
.text-card:nth-child(3) { animation-delay: 1.0s; }

.text-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.text-card.highlight-card {
    border-color: rgba(0, 255, 65, 0.2);
    background: rgba(0, 255, 65, 0.05);
}

.card-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.6s ease;
}

.text-card:hover .card-glow {
    left: 100%;
}

.definition-main {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.definition-secondary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

.definition-tertiary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* Portfolio Section */
.portfolio-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: var(--primary-bg);
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.portfolio-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.portfolio-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.4s; }
.portfolio-item:nth-child(2) { animation-delay: 0.6s; }
.portfolio-item:nth-child(3) { animation-delay: 0.8s; }

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.05), transparent);
    transition: left 0.5s ease;
}

.portfolio-card:hover::before {
    left: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.2);
    border-color: rgba(0, 255, 65, 0.4);
}

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

.coming-soon-icon {
    font-size: 2rem;
    animation: gentleBounce 4s ease-in-out infinite;
}

.card-status {
    font-size: 0.8rem;
    color: var(--hacker-green);
    background: rgba(0, 255, 65, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.portfolio-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hacker-green), var(--hacker-blue));
    border-radius: 2px;
    animation: progressLoad 6s ease-in-out infinite;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hacker-green), transparent);
    animation: shimmer 6s ease-in-out infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.company-info p {
    margin-bottom: 0.25rem;
}

.company-info strong {
    color: var(--text-secondary);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hacker-green);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: var(--hacker-green);
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.legal-text h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.legal-text h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Hacker-Style Animations */
@keyframes hackerReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(90deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.95) rotateX(45deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes hackerFlicker {
    0%, 100% { 
        opacity: 1; 
        text-shadow: 0 0 20px var(--glow-color);
    }
    5% { 
        opacity: 0.3; 
        text-shadow: 0 0 10px var(--glow-color);
    }
    10% { 
        opacity: 1; 
        text-shadow: 0 0 25px var(--glow-color);
    }
    15% { 
        opacity: 0.8; 
        text-shadow: 0 0 15px var(--glow-color);
    }
    20% { 
        opacity: 1; 
        text-shadow: 0 0 20px var(--glow-color);
    }
    25% { 
        opacity: 0.4; 
        text-shadow: 0 0 8px var(--glow-color);
    }
    30% { 
        opacity: 1; 
        text-shadow: 0 0 22px var(--glow-color);
    }
    70% { 
        opacity: 1; 
        text-shadow: 0 0 20px var(--glow-color);
    }
    75% { 
        opacity: 0.6; 
        text-shadow: 0 0 12px var(--glow-color);
    }
    80% { 
        opacity: 1; 
        text-shadow: 0 0 24px var(--glow-color);
    }
    90% { 
        opacity: 0.9; 
        text-shadow: 0 0 18px var(--glow-color);
    }
}

@keyframes fragmentGlitch {
    0%, 90% { 
        opacity: 0; 
        transform: translate(0, 0) scale(1);
    }
    92% { 
        opacity: 0.8; 
        transform: translate(-2px, -1px) scale(1.05);
    }
    94% { 
        opacity: 0.6; 
        transform: translate(1px, 1px) scale(0.95);
    }
    96% { 
        opacity: 0.9; 
        transform: translate(-1px, 0px) scale(1.02);
    }
    98% { 
        opacity: 0.4; 
        transform: translate(0px, -1px) scale(0.98);
    }
    100% { 
        opacity: 0; 
        transform: translate(0, 0) scale(1);
    }
}

@keyframes hackerGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.15; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05); 
        opacity: 0.3; 
    }
}

@keyframes scanlines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

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

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

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.6; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes progressLoad {
    0% { width: 0%; }
    50% { width: 50%; }
    100% { width: 0%; }
}

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

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .company-name {
        font-size: clamp(1.8rem, 7vw, 4.5rem);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
        height: 100vh;
    }
    
    .company-name {
        font-size: clamp(1.5rem, 8vw, 3.5rem);
        gap: clamp(0.05rem, 0.5vw, 0.1rem);
    }
    
    .letter-container {
        margin: 0 clamp(0.02rem, 0.3vw, 0.08rem);
    }
    
    .tagline {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .definition-section,
    .portfolio-section {
        padding: 4rem 1rem;
        min-height: auto;
    }
    
    .text-card {
        padding: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }
    
    .company-name {
        font-size: clamp(1.3rem, 9vw, 2.8rem);
        gap: clamp(0.02rem, 0.2vw, 0.05rem);
    }
    
    .letter-container {
        margin: 0 clamp(0.01rem, 0.2vw, 0.05rem);
    }
    
    .tagline {
        font-size: clamp(0.8rem, 5vw, 1rem);
    }
    
    .definition-title,
    .portfolio-title {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
    }
    
    .definition-main {
        font-size: 1rem;
    }
    
    .definition-secondary,
    .definition-tertiary {
        font-size: 0.95rem;
    }
    
    .portfolio-card {
        padding: 1.5rem;
    }
    
    .text-card {
        padding: 1.25rem;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .letter {
        animation: hackerReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }
    
    .letter-main {
        animation: none;
    }
    
    .letter-fragment {
        animation: none;
    }
}
/* Updated Footer with Social Links */
.footer {
    background: var(--primary-bg);
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hacker-green), transparent);
    animation: shimmer 6s ease-in-out infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.company-info p {
    margin-bottom: 0.25rem;
}

.company-info strong {
    color: var(--text-secondary);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.5);
}

.social-link:hover {
    color: var(--hacker-green);
    border-color: var(--hacker-green);
    background: rgba(0, 255, 65, 0.1);
    transform: translateY(-2px);
}

.social-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hacker-green);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: var(--hacker-green);
}

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

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
}
