:root {
    --bg-color: #030305;
    --text-pure: #f2f2f7;
    --text-muted: #555566;
    
    --chroma-1: rgba(0, 102, 255, 0.75);   
    --chroma-2: rgba(235, 40, 40, 0.75); 
    --chroma-3: rgba(0, 240, 255, 0.5);  
    
    --border-color: rgba(255, 255, 255, 0.04);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    color: var(--text-pure);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::after {
    content: ""; 
    position: fixed; 
    top: -20%; 
    right: -20%;
    width: 80vw; 
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03) 0%, rgba(0, 102, 255, 0.04) 50%, transparent 100%);
    filter: blur(120px); 
    pointer-events: none; 
    z-index: 0;
    contain: strict;
}

.chromatic-grain {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(rgba(255, 255, 255, 0.12) 0.5px, transparent 0.5px);
    background-size: 3px 3px;
    opacity: 0.18; 
    pointer-events: none; 
    z-index: 9999;
}

.hero {
    height: 100vh; 
    display: flex; 
    align-items: center;
    padding: 0 8%; 
    position: relative; 
    background-color: var(--bg-color); 
    z-index: 1;
}

.hero-video {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    z-index: -1;
    filter: brightness(0.25) contrast(1.1); 
}

.hero-content { 
    max-width: 700px; 
    position: relative; 
    z-index: 2; 
}

.sub-title {
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5em;
    color: var(--text-muted); 
    font-weight: 700; 
    display: block; 
    margin-bottom: 25px;
    font-family: monospace;
}

.chroma-text {
    font-size: clamp(3.5rem, 9vw, 7rem); 
    font-weight: 900; 
    line-height: 0.9;
    position: relative; 
    color: var(--text-pure); 
    letter-spacing: -0.03em;
    margin-bottom: 30px; 
    text-transform: uppercase;
    cursor: default;
}

.chroma-text::before,
.chroma-text::after {
    content: attr(data-text); 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.chroma-text::before {
    left: -3px; 
    color: var(--chroma-1); 
    z-index: -1; 
    animation: glitch-1 3s infinite linear alternate-reverse;
}

.chroma-text::after {
    left: 3px; 
    color: var(--chroma-2); 
    z-index: -2;
    text-shadow: 2px -1px 0px var(--chroma-3); 
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(1px, -1px); }
    40% { transform: translate(1px, 1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(-1px, 1px); }
    100% { transform: translate(0); }
}

.hero-desc {
    font-size: 1.15rem; 
    color: rgba(242, 242, 247, 0.6);
    line-height: 1.7;
    margin-bottom: 45px; 
    font-weight: 300;
}

.btn-chroma {
    display: inline-block; 
    padding: 18px 42px; 
    color: var(--text-pure);
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.8rem;
    text-transform: uppercase; 
    letter-spacing: 0.2em;
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-chroma:hover {
    background: var(--text-pure); 
    color: var(--bg-color);
    box-shadow: -6px -2px 16px var(--chroma-1), 6px 2px 16px var(--chroma-3);
    border-color: var(--text-pure);
}

.section { 
    padding: clamp(80px, 10vw, 140px) 8%; 
    position: relative; 
    z-index: 1; 
}
.border-top { border-top: 1px solid var(--border-color); }

.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 60px; 
    gap: 20px;
}
.section-title { font-size: 2rem; font-weight: 800; text-transform: lowercase; letter-spacing: -0.03em; }
.section-meta { font-size: 0.8rem; color: var(--text-muted); font-family: monospace; letter-spacing: 0.1em; }

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

.social-card {
    position: relative;
    background: rgba(4, 4, 7, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 35px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    text-decoration: none;
    color: var(--text-pure);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-wrapper i {
    font-size: 1.25rem;
    color: rgba(242, 242, 247, 0.8);
    transition: color 0.4s ease;
}

.social-card-text {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.social-meta-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: monospace;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
}

.social-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    text-transform: uppercase; 
}

.social-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.social-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    z-index: 2;
    margin-left: auto;
}

.hud-corners::before,
.hud-corners::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.3;
    pointer-events: none;
    z-index: 3;
}

.hud-corners::before {
    top: 8px;
    left: 8px;
    border-top: 1px solid var(--text-pure);
    border-left: 1px solid var(--text-pure);
}

.hud-corners::after {
    bottom: 8px;
    right: 8px;
    border-bottom: 1px solid var(--text-pure);
    border-right: 1px solid var(--text-pure);
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: -8px 0 25px rgba(0, 102, 255, 0.12), 
                8px 0 25px rgba(235, 40, 40, 0.08);
}

.social-card:hover .social-icon-wrapper {
    background: rgba(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.social-card:hover .social-icon-wrapper i {
    color: rgba(0, 240, 255, 1);
}

.social-card:hover .hud-corners::before {
    top: 0;
    left: 0;
    border-color: rgba(0, 240, 255, 0.8);
    opacity: 1;
}

.social-card:hover .hud-corners::after {
    bottom: 0;
    right: 0;
    border-color: rgba(235, 40, 40, 0.8);
    opacity: 1;
}

.social-card:hover .social-link-arrow {
    transform: translateX(4px);
    color: rgba(0, 240, 255, 0.9);
}

.social-card:hover p {
    color: rgba(242, 242, 247, 0.7); 
}

.social-card:hover .social-meta-tag {
    color: rgba(0, 240, 255, 0.6);
}

.footer { 
    padding: 60px 8%; 
    border-top: 1px solid var(--border-color); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    font-family: monospace;
    letter-spacing: 0.05em;
}

@media(max-width: 768px) {
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .social-grid { grid-template-columns: 1fr; gap: 16px; }
    .social-card { padding: 30px 24px; }
    .footer { flex-direction: column; text-align: center; gap: 20px; }
}
