:root {
    --primary: #0a0e17;
    --secondary: #1a2233;
    --accent: #d4af37; /* Gold for Serie A */
    --accent-silver: #c0c0c0; /* Silver/Metal for Serie B */
    --accent-blue: #007aff; /* Tech blue for Serie D */
    --text-main: #ffffff;
    --text-dim: #a0aec0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Header */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a2233 0%, #0a0e17 100%);
    position: relative;
}

header h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 1.5rem;
    color: var(--text-dim);
    max-width: 700px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s infinite;
    color: var(--accent);
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

/* Logo Grid */
.logo-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.logo-item {
    text-align: center;
}

.logo-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.logo-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.logo-info p {
    color: var(--text-dim);
}

/* Legacy Section */
.legacy-card {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.legacy-img {
    flex: 1;
}

.legacy-img img {
    width: 100%;
    border-radius: 12px;
}

.legacy-content {
    flex: 1;
}

/* Specific Accent Colors */
.serie-a { --accent: #d4af37; }
.serie-b { --accent: #c0c0c0; }
.serie-c { --accent: #e2e8f0; }
.serie-d { --accent: #007aff; }

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 3rem; }
    .legacy-card { flex-direction: column; }
    .logo-display { grid-template-columns: 1fr; }
}
