*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0e17;
    --color-bg-secondary: #0d1321;
    --color-primary: #00b4d8;
    --color-primary-dark: #0077b6;
    --color-accent: #48cae4;
    --color-text: #e8f1f5;
    --color-text-muted: #8b9eb0;
    --color-border: rgba(72, 202, 228, 0.15);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Effects */
.background-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        filter: blur(60px);
    }
    50% {
        opacity: 0.7;
        filter: blur(50px);
    }
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary-dark) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s, -2s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(72, 202, 228, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(72, 202, 228, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Diagonal Band - BIANCA PURA */
.diagonal-band {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.diagonal-band::before {
    content: '';
    position: absolute;
    top: 28%;
    left: 0;
    width: 100%;
    height: 163px;
    background: #FFFFFF;
    transform: translateY(calc(-50% + 1.5px));
}

.band-content {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-top: 10px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    pointer-events: none;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    text-align: center;
    margin-top: 220px;
    pointer-events: auto;
}

/* Tagline */
.tagline {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tagline .line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.tagline .line-1 {
    animation-delay: 0.6s;
    color: var(--color-text);
}

.tagline .line-2 {
    animation-delay: 0.8s;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

/* Contact Link */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    background: rgba(13, 19, 33, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-link:hover {
    border-color: var(--color-primary);
    background: rgba(0, 180, 216, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 180, 216, 0.15);
}

.contact-link:hover .mail-icon {
    stroke: var(--color-accent);
}

.mail-icon {
    width: 20px;
    height: 20px;
    stroke: var(--color-text-muted);
    transition: stroke 0.3s ease;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.2s forwards;
    text-align: center;
    padding: 0 1rem;
    pointer-events: auto;
}

.footer .company-name {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.85rem;
}

.footer .company-address {
    opacity: 0.8;
}

.footer .legal-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.footer .separator {
    opacity: 0.4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .tagline {
        font-size: 1.5rem;
    }

    .logo {
        width: 140px;
        height: 140px;
    }

    .diagonal-band::before {
        height: 180px;
    }

    .content {
        margin-top: 250px;
    }

    .contact-link {
        font-size: 0.85rem;
        padding: 0.875rem 1.5rem;
    }

    .footer {
        bottom: 1.5rem;
    }

    .footer .legal-info {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .diagonal-band::before {
        height: 160px;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .content {
        margin-top: 220px;
    }

    .footer .legal-info span:not(.separator) {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer .separator {
        display: none;
    }
}

@media (max-width: 380px) {
    .tagline {
        font-size: 1.25rem;
    }

    .contact-link {
        font-size: 0.8rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
