:root {
    --background-color: #111111;
    --text-primary: #FFFFFF;
    --text-secondary: #a0a0a0;
    --accent-yellow: #EFBF04;
    --card-background: #1a1a1a;
    --font-family: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Navbar --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0; z-index: 1000; transition: background 0.3s ease; }
.navbar.scrolled { background: rgba(17, 17, 17, 0.8); backdrop-filter: blur(10px); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 40px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: bold; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent-yellow); }

/* --- Hero Section --- */
.hero { min-height: 100vh; display: flex; align-items: center; text-align: center; padding-top: 100px; }
.hero h1 { font-size: 5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.gradient-text { background: linear-gradient(90deg, #FFFFFF, #a0a0a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-text-pible { background: linear-gradient(90deg, #FFFFFF, var(--accent-yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero specifico per le pagine prodotto */
.product-hero .hero-content { display: flex; align-items: center; gap: 40px; text-align: left;}
.product-hero .hero-text { flex: 1; }
.product-hero .hero-image { flex: 0.8; }
.product-hero .hero-image img { max-width: 80%; filter: drop-shadow(0 30px 30px rgba(0,0,0,0.4)); }

/* --- Sezioni Generali --- */
section { padding: 100px 0; }
h2 { font-size: 3rem; font-weight: 900; text-align: center; margin-bottom: 60px; }
.philosophy { text-align: center; }
.philosophy p { font-size: 1.2rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* --- Prodotti (Homepage) --- */
.products .product-card { display: flex; gap: 50px; align-items: center; margin-bottom: 100px; }
.products .product-card.reverse { flex-direction: row-reverse; }
.products .product-image { flex: 1; }
.products .product-image img { max-width: 100%; height: auto; border-radius: 20px; }
.products .product-info { flex: 1; }
.products .product-info h3 { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
.products .product-info p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; }
.coming-soon-tag { font-weight: bold; color: var(--accent-yellow); letter-spacing: 2px; }
.products .image-placeholder { width: 100%; aspect-ratio: 3/4; background: var(--card-background); border-radius: 20px; display: flex; justify-content: center; align-items: center; font-size: 3rem; font-weight: 900; color: #444; }

/* --- Features (Pagina Pible) --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--card-background); padding: 30px; border-radius: 15px; text-align: center; }
.feature-card ion-icon { font-size: 3em; color: var(--accent-yellow); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5em; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); }

/* --- Pulsanti --- */
.cta-buttons { display: flex; gap: 15px; }
/* MODIFICA QUI: Aggiunta la regola per centrare i pulsanti */
.cta-buttons.centered { justify-content: center; }
.btn { display: inline-block; padding: 15px 30px; text-decoration: none; border-radius: 12px; font-weight: bold; transition: all 0.3s ease; }
.btn-primary { background-color: var(--accent-yellow); color: #000; }
.btn-secondary { border: 2px solid var(--text-secondary); color: var(--text-primary); }
.btn-primary:hover { background-color: #fff; }
.btn-secondary:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }

/* --- CTA & Footer --- */
.cta { text-align: center; }
.cta p { margin: 20px 0 30px; font-size: 1.2rem; color: var(--text-secondary); }
.footer { border-top: 1px solid #333; padding: 40px 0; text-align: center; }
.qadosh-link { color: var(--text-primary); font-weight: bold; text-decoration: none; }
.subscribe-form { margin-top: 30px; display: flex; justify-content: center; gap: 10px; }
.subscribe-form input { padding: 15px; border-radius: 12px; border: none; width: 300px; font-size: 1em; }

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 3rem; } h2 { font-size: 2rem; }
    
    .product-hero .hero-content,
    .products .product-card, 
    .products .product-card.reverse { flex-direction: column; text-align: center; }
    
    /* MODIFICA QUI: Centra i pulsanti nell'hero su mobile */
    .product-hero .cta-buttons { justify-content: center; }
    
    .hero-image { margin-top: 50px; }
    .cta-buttons { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
}