:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-secondary: #888888;
    --brand-color: #FFB000;
    --accent-color: #ffffff;
    /* Will adjust if needed based on logo */
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --spacing-unit: 1rem;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 50px rgba(255, 176, 0, 0.08);
}

::selection {
    background: var(--brand-color);
    color: #000;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 4rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.glitch {
    animation: glitch-anim 0.3s infinite;
}

@keyframes glitch-anim {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

/* Main Content */
main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

@media (min-width: 768px) {
    main {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
    }
}

/* Hero Section */
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .subtitle {
        margin: 0;
    }
}

#matrix-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--brand-color);
    display: inline-block;
    /* Needed for transform */
    text-shadow: 0 0 15px rgba(255, 176, 0, 0.8);
}

#matrix-trigger:hover {
    transform: scale(1.1);
}

.text-brand {
    color: var(--brand-color);
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--input-border);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-list .icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--brand-color);
}

.contact-list .icon svg {
    fill: var(--text-color);
    transition: fill 0.3s ease;
}

.contact-list li:hover .icon svg {
    fill: var(--brand-color);
}

/* Form */
.form-group {
    margin-bottom: 1rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    background: var(--brand-color);
    box-shadow: 0 5px 15px rgba(255, 176, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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