/* Palette Colori Agrovai eSport */
:root {
    --bg-dark: #070b12;
    --card-bg: #0e1626;
    --card-border: #142038;
    --blue-primary: #004fb6;
    --blue-glow: #0075ff;
    --blue-light: #a3d3ff;
    --text-color: #ffffff;
    --text-muted: #8a99ad;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
}

/* Header & Navbar */
header {
    background-color: rgba(7, 11, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--blue-primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--blue-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--blue-glow);
}

/* Bottoni */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-glow));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 117, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--blue-primary);
}

.btn-secondary:hover {
    background-color: var(--blue-primary);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.7) 0%, var(--bg-dark) 100%),
                radial-gradient(circle at center, #0e1626 0%, var(--bg-dark) 70%);
    padding: 0 1rem;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--blue-glow);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats Strip */
.stats-strip {
    background-color: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 2rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--blue-glow);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sezioni Generali */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Chi Siamo (About) */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sub-title {
    color: var(--blue-glow);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--blue-glow);
    background-color: rgba(0, 117, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
}

.highlight-item h4 {
    margin-bottom: 0.2rem;
}

.highlight-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.about-card-visual {
    background: linear-gradient(145deg, #0e1626, #142038);
    border: 1px solid var(--blue-primary);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.visual-icon {
    font-size: 3.5rem;
    color: var(--blue-glow);
    margin-bottom: 1.5rem;
}

.visual-box h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.visual-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Servizi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue-glow);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--blue-glow);
    margin-bottom: 1.2rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Progetti */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(145deg, var(--card-bg), var(--card-border));
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--blue-glow);
}

.project-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--blue-light);
    background-color: rgba(0, 117, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.project-info h3 {
    margin: 1rem 0 0.5rem 0;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Prezzi */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.price-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    text-align: center;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--blue-glow);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-glow);
    padding: 0.2rem 1rem;
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 1.5rem 0;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.price-card li {
    padding: 0.6rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--card-border);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #04060a;
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* In seguito si può aggiungere un menù a tendina mobile */
    }
}