:root {
    --primary: #008C45; /* Italian Green */
    --secondary: #CD212A; /* Italian Red */
    --accent: #F4F5F0; /* Off-white */
    --dark: #1a1a1a;
    --text: #333;
    --light-text: #666;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--accent);
    overflow-x: hidden;
}

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

/* Header */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

/* Hero Section */
#hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f7f6 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), #00A352);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 140, 69, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 140, 69, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #eee;
}

/* Mockup */
.hero-image {
    position: relative;
}

.app-mockup {
    width: 320px;
    height: 640px;
    background: #111;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.15);
    margin: 0 auto;
    position: relative;
}

.screen {
    background: var(--white);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-header {
    width: 100%;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 4rem;
    border-radius: 12px;
}

.app-card {
    width: 200px;
    height: 200px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.word { font-weight: 800; font-size: 1.5rem; color: var(--primary); }
.translation { color: var(--light-text); font-size: 1.1rem; }

.app-stats {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stat-bar::after {
    content: '';
    position: absolute;
    left: 0;
    height: 100%;
    width: 60%;
    background: var(--secondary);
}

/* Features */
#features {
    padding: 8rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3.5rem 2.5rem;
    background: #fbfbfb;
    border-radius: 32px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Download Section */
#download {
    padding: 8rem 0;
}

.download-box {
    background: var(--dark);
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.download-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.download-box p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.status-tag {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-text);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--dark);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    .hero-btns {
        justify-content: center;
    }
    h1 { font-size: 3rem; }
}
/* About Section */
#about {
    padding: 8rem 0;
    background-color: var(--accent);
}

.about-content {
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.demo-note {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    max-width: 800px;
    margin: 3rem auto;
    text-align: left;
}

/* Side-by-Side Gallery */
.image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0;
    margin-top: 2rem;
}

.gallery-item {
    flex: 0 0 160px; /* Small thumbnails */
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid var(--white);
}

.gallery-item:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Modal */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
    cursor: pointer;
}

#lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .image-gallery {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Interest Note */
.interest-note {
    background: #f0fdf4;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto 3rem;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 140, 69, 0.05);
}

.interest-note a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}
