/* Colori principali (dark theme “rock”) */
:root {
    /* Palette ispirata al darkTheme Flutter */
    --primary-color: #009300; /* kPrimaryColorDark */
    --secondary-color: #FFD700; /* kSecondaryColorDark */
    --accent-color: #1a72e7; /* kBLUBUTTON */
    --light-bg: #2A3640; /* tono più chiaro del surface per bordi */
    --features-bg: transparent; /* niente pannello chiaro in dark */
    --dark-bg: #18242C; /* kSurfaceDark */
    --appbar-bg: #052305; /* kBackgroundAPPBarDark */
    --text-light: #9fb2c2;
    --text-dark: #FFFFFF; /* testo principale */
    --gradient-bg: radial-gradient(1200px 600px at 10% -20%, #0c2a0c 0%, #0a210a 45%, #0b0f0b 100%);
}

/* Stili globali */
body {
    font-family: 'Montserrat', 'Roboto', system-ui, -apple-system, Segoe UI, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--dark-bg);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    background-color: var(--appbar-bg);
    color: var(--text-dark);
    padding: 16px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    border-bottom: 1px solid var(--light-bg);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}


header .logo-link {
    margin-right: 15px; /* Spaziatura tra logo e titolo */
    text-decoration: none; /* Rimuove decorazioni dal link */
}

header .logo {
    width: 75px; /* Dimensione del logo */
    height: auto; /* Mantiene il rapporto d'aspetto */
}

header h1 {
    font-size: 24px;
    margin: 0;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

nav {
    margin-top: 10px;
}

nav a {
    color: var(--text-dark);
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1rem;
}

nav a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    color: var(--text-dark);
    padding: 72px 20px;
    text-align: center;
    border-bottom: 1px solid var(--light-bg);
}
.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 147, 0, 0.45), 0 0 24px rgba(255, 215, 0, 0.25);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-light);
}

.cta-button {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-color);
}
.screenshots-inner {
    display: flex;
    gap: 16px;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; /* tutti sulla stessa riga */
}

.screenshots-inner .shot {
    margin: 0;
}

.screenshots-inner img {
    display: block;
    height: auto;
    /* rimuovi width fisso se vuoi adattamento fluido:
       max-width: 300px; width: 100%; */
}
/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 48px 0;
    background-color: var(--features-bg);
}

.feature {
    padding: 24px;
    border-radius: 14px;
    background-color: #0f171d;
    border: 1px solid var(--light-bg);
    border-left: 6px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: center;
    flex: 1;
    min-width: 250px;
    margin: 10px;
    color: var(--text-dark);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 215, 0, 0.12);
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--appbar-bg);
    color: var(--text-dark);
    text-align: center;
    padding: 24px 0;
    margin-top: 10px;
    border-top: 1px solid var(--light-bg);
}
.detail-info {
    background-color: #0f171d;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 24px;
    margin: 24px auto;
    max-width: 900px;
    line-height: 1.7;
    font-size: 16px;
    color: var(--text-dark);
    border: 1px solid var(--light-bg);
}

.detail-info h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
}

.detail-info h3 {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.detail-info p {
    margin: 10px 0;
    text-align: justify;
    color: var(--text-light);
}

.detail-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.detail-info ul li {
    margin-bottom: 6px;
}

.detail-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.detail-info a:hover {
    text-decoration: underline;
}
.app-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 rgba(255, 215, 0, 0);
}

.store-button:hover,
.store-button:focus-visible {
    background-color: #0aa10a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 16px rgba(255, 215, 0, 0.35);
    outline: none;
}

#email-placeholder a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline dotted;
    transition: color 0.3s ease;
}

#email-placeholder a:hover {
    color: var(--accent-color, #006400);
    text-decoration: underline solid;
}
.wrapper {
    padding: 10px;
    max-width: 1200px;
    margin: 5px auto;
    border: 1px solid var(--light-bg);
    border-radius: 12px;
    background-color: #0b1116;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
/* Responsive header styles */
.responsive-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

@media (min-width: 600px) {
    .responsive-header {
        padding-left: 20px;
        flex-direction: row;
        justify-content: start;
        text-align: left;
    }
    .responsive-header h1 {
        font-size: 2.8em;
    }
}

.responsive-header .logo {
    max-width: 120px;
    height: auto;
}

.responsive-header h1 span {
    font-size: 0.6em;
    display: block;
}

@media (min-width: 600px) {
    .responsive-header h1 span {
        display: inline;
    }
}