:root {
    --color-bg: #020610;
    --color-text: #ffffff;
    --color-text-dim: #8b9bb4;
    --color-accent: #00e5ff;
    --color-glow: rgba(0, 229, 255, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Cinematic Background */
.cinematic-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #061530 0%, #020610 60%);
}

.horizon-glow {
    position: absolute;
    bottom: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 40vh;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    filter: blur(40px);
}

.light-ray {
    position: absolute;
    bottom: -10vh;
    left: 50%;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to top, rgba(0, 229, 255, 0.3) 0%, transparent 100%);
    transform-origin: bottom center;
    animation: sweepRay 12s ease-in-out infinite alternate;
    box-shadow: 0 0 20px 2px rgba(0, 229, 255, 0.2);
}

@keyframes sweepRay {
    0% { transform: rotate(-30deg); }
    100% { transform: rotate(30deg); }
}

.stars-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.03;
}

/* Layout Wrapper */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5vh 5vw;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    animation: fadeDown 1.5s ease-out forwards;
}

.pre-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.company-name {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Hero Section */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    z-index: 10;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.title-main {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #ffffff 20%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: scale(0.95);
    animation: scaleUp 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-sub {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 200;
    letter-spacing: 0.4em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.5s ease forwards 0.5s;
}

.divider {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 2rem 0;
    animation: expandWidth 1.5s ease forwards 1s;
}

.subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--color-text-dim);
    font-weight: 400;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1.5s ease forwards 1.2s;
}

.desktop-only {
    display: block;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3vh;
    opacity: 0;
    animation: fadeUp 1.5s ease forwards 1.5s;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-col h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    font-weight: 400;
}

.contact-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: var(--color-accent);
}

.dot {
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

/* Mobile Friendly Adjustments */
@media (max-width: 768px) {
    .wrapper {
        padding: 4vh 6vw;
    }

    .pre-title {
        font-size: 0.55rem;
        letter-spacing: 0.2em;
    }

    .title-sub {
        letter-spacing: 0.2em;
        margin-left: 0.2em; /* visual balance for letter spacing */
    }

    .desktop-only {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dot {
        display: none;
    }
}
