:root {
    --bg-color: #17191d;
    --surface-color: #22252a;
    --surface-light: #2d3138;
    --accent-copper: #b8735b;
    --accent-silver: #cccccc;
    --text-main: #f0f0f0;
    --text-dim: #9ca3af;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(23, 25, 29, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-light);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    background: linear-gradient(rgba(23, 25, 29, 0.85), rgba(23, 25, 29, 0.95)), url('/img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-copper) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 750px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 35px;
    background: var(--accent-copper);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 115, 91, 0.3);
    background: #c98066;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-copper);
    color: var(--accent-copper);
}

.btn-outline:hover {
    background: rgba(184, 115, 91, 0.1);
    box-shadow: none;
}

/* Sezioni generiche */
section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--accent-silver);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Progetto di punta (Aryanna) */
.aryanna-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-light);
    border-radius: 16px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.aryanna-text {
    flex: 1;
}

.aryanna-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(184, 115, 91, 0.15);
    color: var(--accent-copper);
    border-radius: 30px;
    font-size: 0.75rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(184, 115, 91, 0.3);
}

.aryanna-text h3 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.aryanna-text p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--accent-silver);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-copper);
    font-weight: bold;
}

.aryanna-visual {
    flex: 1;
    background: #1b1e23;
    border: 1px solid var(--surface-light);
    height: 350px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.aryanna-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(184, 115, 91, 0.05) 50%, transparent 60%);
    pointer-events: none;
}

/* Servizi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--surface-color);
    padding: 50px 40px;
    border-radius: 12px;
    border-top: 4px solid transparent;
    transition: all 0.3s;
    border: 1px solid var(--surface-light);
}

.service-card:hover {
    border-top-color: var(--accent-copper);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Metodo */
.method-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.method-step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--surface-light);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(184, 115, 91, 0.2);
    margin-bottom: -15px;
}

.method-step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-silver);
}

/* Footer */
footer {
    padding: 50px 8%;
    border-top: 1px solid var(--surface-light);
    background: var(--surface-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-logo {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(23, 25, 29, 0.98);
    border-top: 1px solid var(--accent-copper);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    transition: bottom 0.5s ease-in-out;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    margin-right: 40px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.cookie-text a {
    color: var(--accent-copper);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--accent-copper);
    color: #fff;
    border: none;
}

.btn-accept:hover {
    background: #c98066;
}

.btn-reject {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--surface-light);
}

.btn-reject:hover {
    color: #fff;
    border-color: var(--text-main);
}

/* Media Queries */
@media (max-width: 992px) {
    .aryanna-card, .method-container { flex-direction: column; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cookie-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    .btn-cookie {
        width: 100%;
    }
}
