@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #ffffff;
    --card-bg: #f5f5f7;
    --text-main: #1d1d1f;
    --text-dim: #6e6e73;
    --accent-blue: #0071e3;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.hero {
    text-align: center;
    padding: 100px 20px;
}

.dymelia-logo {
    height: 24px;
    /* O la dimensione che preferisci */
    vertical-align: middle;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin: 0;
    color: #1d1d1f;
}

.hero .tagline {
    font-size: 24px;
    color: var(--text-dim);
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 28px;
    height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    overflow: hidden;
    cursor: pointer;
    /* Cambia la freccia in manina */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    /* Fondamentale per contenere il link espanso */
    /* ... il resto del codice che avevi già ... */
}

.product-card:hover {
    transform: scale(1.03);
    /* Si ingrandisce leggermente */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* Ombra più profonda */
}

/* Rende il link un contenitore che non altera i colori */
.product-card-link {
    text-decoration: none;
    color: inherit;
    /* Mantiene i colori che abbiamo già impostato */
    display: block;
    /* Fondamentale per farlo comportare come una card */
}

.product-card-link:hover .product-card {
    transform: scale(1.02);
}

.card-content h2 {
    font-size: 40px;
    margin: 10px 0;
}

.libra-card {
    background-image: url('../assets/img/dym-law-bg.jpg');
    /* Percorso della tua immagine */
    background-size: cover;
    background-position: center;
    position: relative;
    /* Per posizionare bene il contenuto */
}

/* Effetto sfumatura sopra l'immagine per far leggere bene il testo */
.libra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    /* Sfumatura dal basso */
    border-radius: 28px;
    /* Stesso raggio del card */
}

.libra-card .card-content {
    position: relative;
    /* Per assicurare che il testo sia sopra l'overlay */
    z-index: 2;
    /* Più alto dell'overlay */
}

.category {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-dim);
}

.cta-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Copre tutta la card */
}

.cta-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    margin-top: 15px;
}

.coming-soon {
    background: #ffffff;
    border: 1px solid #d2d2d7;
}

.status {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 12px;
    border: 1px solid var(--text-dim);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dim);
}

/* --- RESPONSIVE GENERALI --- */
@media (max-width: 1024px) {

    /* Tablet e schermi più piccoli */
    .hero h1 {
        font-size: 48px;
    }

    .hero .tagline {
        font-size: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* Una colonna su tablet */
        max-width: 700px;
    }

    .product-card {
        height: 400px;
    }

    .card-content h2 {
        font-size: 32px;
    }


}

@media (max-width: 768px) {

    /* Smartphone */
    .navbar {
        height: 50px;
    }

    /* Navbar leggermente più alta per il tocco */
    .nav-content {
        padding: 0 15px;
    }

    /* Gestione Hamburger Menu */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        font-size: 24px;
        z-index: 30000;
        /* Superiore all'overlay per restare cliccabile */
    }

    /* GLOBAL MOBILE OVERLAY MENU (Apple Style) */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 40px;
        box-sizing: border-box;
        z-index: 20000;
        /* Sopra tutto */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        gap: 15px;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        height: 100vh;
        max-height: none;
        padding: 80px 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        border: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation */
    .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links a {
        font-size: 28px !important;
        font-weight: 700 !important;
        color: #1d1d1f !important;
        padding: 10px 0 !important;
        letter-spacing: -0.02em;
    }

    /* DARK MODE OVERLAY (Libra) */
    .product-page .nav-links {
        background: #000000 !important;
    }

    .product-page .nav-links a {
        color: #ffffff !important;
    }

    .menu-toggle {
        font-size: 20px !important;
        transition: transform 0.3s ease;
    }

    .close-overlay {
        position: fixed;
        top: 15px;
        right: 15px;
        font-size: 24px;
        z-index: 10002;
        cursor: pointer;
        display: none;
    }

    .nav-links.active~.menu-toggle {
        display: none;
    }

    .nav-btn {
        background: transparent !important;
        width: 100%;
        text-align: left !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        border: none !important;
    }

    .hero {
        padding: 80px 15px 40px 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .tagline {
        font-size: 18px;
    }

    .product-grid {
        padding: 15px;
    }

    .product-card {
        height: 350px;
        padding: 30px;
    }

    .card-content h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 1 colonna nel footer */
    .footer-bottom {
        text-align: left;
        padding-top: 20px;
        margin-top: 0;
        /* Rimosso margine extra */
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10001;
    /* Sopra la sub-navbar dell'account */
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Linea apparata al content */
}

.logo a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.5px;
}

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

.menu-toggle {
    display: none;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active {
    font-weight: 600;
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

/* Padding per evitare che l'ero finisca sotto la barra */
main {
    padding-top: 44px;
}

/* --- FOOTER SECTION --- */
.footer {
    background: #f5f5f7;
    padding: 50px 0 20px 0;
    margin-top: 60px;
    border-top: 1px solid #d2d2d7;
    text-align: left;
    /* Fondamentale per annullare il center del body */
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 12px;
    color: #1d1d1f;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #86868b;
    text-decoration: none;
    font-size: 12px;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 20px;
    font-size: 11px;
    color: #6e6e73;
    text-align: left;
}

/* --- PRODUCT PAGE (LIBRA) --- */
.product-page {
    background-color: #000;
    /* Nero assoluto per Libra */
}

.hero-product {
    text-align: center;
    padding: 120px 20px;
    background: radial-gradient(circle at center, #111 0%, #000 70%);
}

.product-name {
    font-size: 21px;
    font-weight: 600;
    color: #818cf8;
    /* Un viola/blu soft per Libra */
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.hero-product h1 {
    font-size: 72px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 24px;
    color: #86868b;
    max-width: 700px;
    margin: 30px auto;
}

.btn-primary {
    background: #0071e3;
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #0077ed;
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #86868b;
    line-height: 1.5;
}

/* Responsive Libra */
@media (max-width: 768px) {
    .hero-product h1 {
        font-size: 42px;
    }

    .features-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- LEGAL PAGES STYLE --- */
.legal-page {
    background-color: #ffffff;
    /* Le pagine legali spesso sono migliori su bianco */
    color: #1d1d1f;
}

.legal-container {
    max-width: 680px;
    /* Larghezza ottimale per la lettura */
    margin: 0 auto;
    padding: 100px 20px;
}

.legal-header {
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.last-updated {
    color: #86868b;
    margin-top: 10px;
}

.legal-content h2 {
    font-size: 24px;
    margin: 40px 0 20px 0;
}

.legal-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #424245;
    margin-bottom: 20px;
}

/* --- PRIVACY SUMMARY BOX --- */
.privacy-summary {
    margin-bottom: 60px;
}

.summary-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #f5f5f7;
    /* Grigio Dymelia Light */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #d2d2d7;
}

.summary-item .icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.summary-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.summary-item p {
    font-size: 13px;
    line-height: 1.4;
    color: #6e6e73;
    margin: 0;
}

/* Mobile Responsive per il Box */
@media (max-width: 768px) {
    .summary-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .summary-item {
        margin-bottom: 20px;
    }

    .summary-item:last-child {
        margin-bottom: 0;
    }
}

/* --- STORE HUB STYLE --- */
.store-hub {
    background-color: #f5f5f7;
    color: #1d1d1f;
}

.store-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.hub-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 50px;
}

.hub-header h1 span {
    color: #86868b;
}

.shelf-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
}

.product-shelf-container {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    overflow-x: auto;
    /* Permette lo scroll orizzontale su mobile */
    padding-bottom: 20px;
}

.hub-card-link {
    text-decoration: none;
    color: inherit;
    flex: 0 0 450px;
    /* Larghezza fissa per le card grandi */
}

.hub-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0, 0, 0.5, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hub-card:hover {
    transform: scale(1.02);
}

.libra-theme {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
}

.future-theme {
    background: #1d1d1f;
    color: #fff;
}

.hub-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    display: block;
}

.hub-card h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hub-card p {
    font-size: 17px;
    color: #424245;
}

.future-theme p {
    color: #86868b;
}

.hub-price,
.hub-status {
    font-weight: 600;
    margin-top: 20px;
    display: block;
}

/* Griglia categorie */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.category-item {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}

.category-item:hover {
    background: #e8e8ed;
}

.cat-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* --- STORE & PRICING --- */
/* --- RESET STORE PER BACKGROUND BIANCO --- */
.store-page {
    background-color: #ffffff !important;
    /* Forza il bianco */
    color: #1d1d1f !important;
}

.buy-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 150px 20px 100px 20px;
}

.buy-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* GALLERY A SINISTRA (FISSA) */
.product-gallery {
    flex: 1.2;
    position: sticky;
    top: 120px;
    /* Distanza dalla navbar quando scorri */
}

.placeholder-img {
    background-color: #f5f5f7;
    border-radius: 20px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #86868b;
}

/* SELEZIONE A DESTRA (SCORREVOLE) */
.product-selection {
    flex: 1;
}

.selection-header h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.delivery-info {
    font-size: 14px;
    color: #6e6e73;
    margin-bottom: 40px;
}

.selection-group h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.selection-group h2 span {
    color: #86868b;
}

.selection-box {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
}

.selection-box input {
    display: none;
}

.box-content {
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

.selection-box input:checked+.box-content {
    border-color: #0071e3;
    border-width: 2px;
}

.box-title {
    font-size: 17px;
    font-weight: 600;
}

.box-price {
    font-size: 14px;
    color: #1d1d1f;
}

/* BOTTONE FINALE */
.add-to-cart {
    width: 100%;
    background: #0071e3;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    margin-top: 40px;
    cursor: pointer;
}

/* RESPONSIVE PER CELLULARE */
@media (max-width: 834px) {
    .buy-layout {
        flex-direction: column;
    }

    .product-gallery {
        position: relative;
        top: 0;
        width: 100%;
    }
}

/* --- LIBRA PRODUCT PAGE (DARK OVERRIDE) --- */
.product-page {
    background-color: #000000;
    --text-main: #f5f5f7;
    --text-dim: #86868b;
}

.product-page .navbar {
    background: #000000 !important;
    /* Nero solido per fusione totale */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-page .navbar .logo a,
.product-page .navbar .nav-links a {
    color: #ffffff !important;
}

.product-page .logo a,
.product-page .nav-links a {
    color: #f5f5f7;
}

.product-page .nav-links {
    background: transparent;
}

.product-page .nav-links li {
    border: none;
}

.product-page .nav-links a:hover {
    color: #ffffff;
}

.product-page .footer {
    background: #161617;
    color: #f5f5f7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    /* Riga superiore più morbida */
}

.product-page .footer-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    /* Separatore interno più armonioso */
}

.product-page .footer-col h3 {
    color: #ffffff;
    text-transform: uppercase;
}

.product-page .footer-col ul li a {
    color: #86868b;
}

.libra-product-page {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Hero Section */
.libra-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.eyebrow {
    color: #f5f5f7;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.libra-hero h1 {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 28px;
    color: #f5f5f7;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Gradient Text Section */
.libra-statement {
    padding: 150px 20px;
    text-align: center;
}

.gradient-text {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #86868b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.libra-statement p {
    font-size: 24px;
    color: #86868b;
    max-width: 800px;
    margin: 0 auto;
}

/* Griglia Feature Dymelia */
.libra-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 100px auto;
    padding: 20px;
}

.feature-card {
    background: #161617;
    border-radius: 30px;
    padding: 40px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.feature-card.large {
    grid-column: span 2;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8)), url('../assets/img/polisweb-bg.jpg');
    background-size: cover;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #86868b;
    font-size: 17px;
}

/* Button Stile Dymelia */
.dym-btn-buy {
    background: #0071e3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 980px;
    /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    font-size: 17px;
    transition: background 0.3s;
}

.dym-btn-buy:hover {
    background: #0077ed;
}

/* --- EARLY ACCESS STORE STYLE --- */
.early-access-box {
    background: #f5f5f7;
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
}

.early-access-box h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.early-access-box p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.4;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    font-size: 17px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #0071e3;
}

.btn-subscribe {
    background: #0071e3;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-subscribe:hover {
    background: #0077ed;
    transform: scale(1.01);
}

.privacy-note {
    font-size: 12px !important;
    margin-top: 15px !important;
    text-align: center;
}

/* --- DYMELIA ID: EVOLUTION --- */
.dym-id-env {
    background-color: #ffffff;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.dym-id-wrapper {
    width: 100%;
    max-width: 440px;
    text-align: center;
    padding: 60px 40px;
    /* Più respiro interno */
    background: #ffffff;
    border-radius: 30px;

    /* Ombra Dymelia: stratificata per massima morbidezza */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.01),
        0 10px 40px -10px rgba(0, 0, 0, 0.08);

    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dym-symbol {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.dym-id-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #86868b;
}

.dym-id-header p {
    font-size: 17px;
    color: #86868b;
    line-height: 1.4;
    margin-bottom: 48px;
}

/* Azioni Primarie */
.primary-action {
    background: #0071e3;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-action:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.secondary-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.sec-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.dot {
    width: 3px;
    height: 3px;
    background: #d2d2d7;
    border-radius: 50%;
}

/* Il Form Elegante */
.input-stack {
    border: 1px solid #d2d2d7;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: border-color 0.3s;
}

.input-stack:focus-within {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}

.input-stack input {
    width: 100%;
    padding: 18px;
    border: none;
    font-size: 17px;
    outline: none;
    background: #f5f5f7;
}

.input-stack input:first-child {
    border-bottom: 1px solid #d2d2d7;
}

.submit-arrow {
    background: #1d1d1f;
    color: white;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submit-arrow:hover {
    transform: scale(1.05);
    background: #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Animazioni e Classi Utility */
.hidden {
    display: none;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.4s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-link {
    background: none;
    border: none;
    color: #86868b;
    margin-top: 24px;
    cursor: pointer;
    font-size: 14px;
}