/* =============================================================================
   INDICE DEI CONTENUTI
   1. CORE (Variabili, Reset, Utilities)
   2. HEADER & NAVIGAZIONE
   3. HERO INTRO (Brand)
   4. MANIFESTO (Scaled)
   5. HERO SPLIT (Nova/Psiche)
   6. SHOP (Aligned Grid)
   7. CHI SIAMO (Bronze)
   8. COMMUNITY (Social Hub)
   9. FOOTER
   10. ANIMAZIONI & UTILITIES
   ============================================================================= */

/* =============================================================================
   1. CORE - VARIABILI & RESET
   ============================================================================= */
:root {
    /* --- PALETTE COLORI --- */
    --nova-cyan: #26C6DA;
    --nova-cyan-light: #E0F7FA;
    --nova-teal-dark: #00838F;

    --psiche-teal-deep: #0F3B46;
    --psiche-bronze: #C5A065;
    --psiche-cream: #F5F5F0;
    --psiche-text: #2D3345;

    /* --- TYPOGRAPHY & UI --- */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-pill: 50px;

    /* --- OMBRE --- */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-dropdown: 0 20px 40px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--psiche-text);
    background-color: var(--psiche-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.icon-sm {
    font-size: 1.2rem !important;
    vertical-align: middle;
}

.text-center {
    text-align: center;
}


/* =============================================================================
   2. HEADER & NAVIGAZIONE
   ============================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--psiche-teal-deep);
    /* Sfondo Scuro */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo (Bianco Puro tramite filtro) */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 40px;
}

.logo img {
    filter: brightness(0) invert(1);
    display: block;
    width: auto;
    max-height: 32px;
}

/* Menu Centrale */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Link & Trigger */
.nav-trigger,
.link-simple {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff !important;
    /* Testo Bianco */
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-trigger:hover,
.link-simple:hover {
    color: var(--nova-cyan) !important;
}

/* Icone freccine */
.nav-trigger .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-trigger .material-symbols-outlined {
    transform: rotate(180deg);
}

/* Dropdown Menu (Distanziato) */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 25px);
    /* Distanza aumentata */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    background: white;
    min-width: 240px;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Ponte invisibile per non chiudere il menu */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--psiche-text);
}

.dropdown-link:hover {
    background-color: var(--nova-cyan-light);
    transform: translateX(5px);
}

.dropdown-link strong {
    display: block;
    font-size: 0.95rem;
    color: var(--psiche-teal-deep);
}

.dropdown-link span {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

/* Bottoni Destra */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.btn-login:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-login .material-symbols-outlined {
    color: #ffffff !important;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    background-color: #D65A31;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(214, 90, 49, 0.25);
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background-color: #c44e26;
}


/* =============================================================================
   3. HERO INTRO (Brand Cover)
   ============================================================================= */
.brand-hero-intro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #ffffff;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Sfondo a Puntini */
.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #d1d5db 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    opacity: 0.8;
}

.intro-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #f0fdf4;
    border: 1px solid rgba(38, 198, 218, 0.3);
    border-radius: 50px;
    color: var(--nova-teal-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.intro-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gradient-cyan {
    background: linear-gradient(90deg, var(--psiche-teal-deep) 0%, var(--nova-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}


/* =============================================================================
   4. MANIFESTO (Scaled & Wide)
   ============================================================================= */
.section-manifesto-scaled {
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.manifesto-header-scaled {
    text-align: center;
    margin-bottom: 100px;
}

/* Tag Circle (Bubble) */
.tag-circle {
    display: inline-block;
    padding: 10px 32px;
    border: 2px solid var(--psiche-teal-deep);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--psiche-teal-deep);
    margin-bottom: 24px;
}

.section-title-scaled {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
}

.text-highlight {
    color: var(--nova-cyan);
}

/* Righe e Colonne */
.scaled-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 140px;
}

.scaled-row:last-child {
    margin-bottom: 0;
}

.scaled-visual {
    flex: 0 0 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.scaled-text {
    flex: 1;
    max-width: 650px;
}

/* Elementi Grafici (Blobs) */
.blob-large {
    position: absolute;
    width: 440px;
    height: 440px;
    z-index: 1;
    transition: all 0.5s ease;
    opacity: 0.9;
}

.blob-teal {
    background: linear-gradient(135deg, #26C6DA 0%, var(--psiche-teal-deep) 100%);
    border-radius: 64% 36% 24% 76% / 51% 55% 45% 49%;
    animation: morph 8s ease-in-out infinite;
}

.blob-sand {
    background: linear-gradient(135deg, #E6DED5 0%, #8C6B4A 100%);
    border-radius: 29% 71% 54% 46% / 44% 33% 67% 56%;
    animation: morph 10s ease-in-out infinite reverse;
}

.blob-teal-2 {
    background: linear-gradient(135deg, var(--psiche-teal-deep) 0%, #154c59 100%);
    border-radius: 71% 29% 24% 76% / 31% 65% 35% 69%;
    animation: morph 9s ease-in-out infinite;
}

.icon-large {
    font-size: 7rem;
    color: white;
    z-index: 5;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    animation: float-icon 6s ease-in-out infinite;
}

/* Testi e Liste */
.scaled-number {
    display: block;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    margin-bottom: -10px;
}

.scaled-text h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--psiche-teal-deep);
    margin-bottom: 24px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 16px;
}

.scaled-list li {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #555;
}

.scaled-list strong {
    color: var(--nova-cyan);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 4px;
}

.text-right {
    text-align: right;
    margin-left: auto;
}

.text-right .scaled-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


/* =============================================================================
   5. HERO SPLIT (Nova/Psiche)
   ============================================================================= */
.hero-split {
    display: flex;
    min-height: 100vh;
    position: relative;
    background-color: var(--psiche-cream);
    overflow: hidden;
}

/* Noise Texture */
.hero-split::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 5;
    opacity: 0.4;
}

.split-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease 0s;
    position: relative;
    z-index: 10;
}

.hero-split:hover .split-panel:not(:hover) {
    filter: grayscale(0.3) blur(2px);
    transition-delay: 3s;
}

.split-panel:hover {
    flex: 1.4;
    filter: none;
    transition-delay: 0s;
}

/* Panel Nova */
.panel-nova {
    background: linear-gradient(135deg, #ffffff 0%, #efe7dc 100%);
    border-right: 1px solid rgba(197, 160, 101, 0.2);
    color: var(--psiche-text);
}

.panel-nova:hover {
    background: linear-gradient(135deg, #FFFAF6 0%, #dbd2c6 100%);
}

/* Panel Psiche */
.panel-psiche {
    background: radial-gradient(circle at 0% 50%, #1a5f6e 0%, var(--psiche-teal-deep) 70%);
    color: var(--psiche-cream);
}

.panel-psiche:hover {
    background: radial-gradient(circle at 0% 50%, #237a8c 0%, var(--psiche-teal-deep) 80%);
}

/* Contenuti Split */
.split-content {
    max-width: 480px;
    width: 100%;
    z-index: 10;
}

.hero-visual img {
    max-width: 80%;
    height: auto;
    margin-top: 40px;
    transition: transform 0.4s ease;
}

.split-panel:hover .hero-visual img {
    transform: scale(1.05) rotate(2deg);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tag-nova {
    background-color: var(--nova-cyan);
    color: white;
}

.tag-psiche {
    border: 1px solid var(--psiche-bronze);
    color: var(--psiche-bronze);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title-nova {
    font-weight: 900;
    color: #8C6B4A;
    text-transform: uppercase;
}

.hero-title-psiche {
    font-family: var(--font-secondary);
    font-style: italic;
    color: var(--psiche-cream);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-nova {
    background-color: #00bad7;
    color: white;
}

.btn-nova:hover {
    background-color: #6E5236;
    transform: translateY(-2px);
}

.btn-psiche {
    border: 2px solid var(--psiche-bronze);
    color: var(--psiche-bronze);
}

.btn-psiche:hover {
    background-color: var(--psiche-bronze);
    color: var(--psiche-teal-deep);
}


/* =============================================================================
   6. SHOP (Aligned Grid)
   ============================================================================= */
.section-shop-aligned {
    padding: 120px 0;
    background-color: #FAFAFA;
}

.shop-header {
    text-align: center;
    margin-bottom: 80px;
}

.shop-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--psiche-text);
    margin-bottom: 16px;
}

.shop-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.shop-grid-6-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.prod-image-wrapper {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gray-light {
    background: #f0f2f5;
    color: #7f8c8d;
}

.bg-teal-light {
    background: #E0F7FA;
    color: var(--nova-teal-dark);
}

.bg-sand-light {
    background: #FDF6E8;
    color: #D65A31;
}

.icon-prod {
    font-size: 4rem;
    opacity: 0.8;
}

.prod-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
}

.badge-gray {
    background: white;
    color: #333;
}

.badge-teal {
    background: var(--nova-cyan);
    color: var(--psiche-teal-deep);
}

.badge-orange {
    background: #D65A31;
    color: white;
}

.prod-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.prod-category.color-orange {
    color: #D65A31;
}

.product-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--psiche-text);
}

.prod-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 24px;
    flex: 1;
}

.prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: auto;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--psiche-text);
}

.btn-shop-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--psiche-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-shop-icon:hover {
    background: var(--psiche-text);
    color: white;
}

.btn-link-simple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--psiche-text);
    border-bottom: 2px solid #ddd;
    padding-bottom: 4px;
}

.btn-link-simple:hover {
    border-color: var(--nova-cyan);
    color: var(--nova-cyan);
}


/* =============================================================================
   7. CHI SIAMO (Bronze Style)
   ============================================================================= */
.section-about-bronze {
    padding: 120px 0;
    background: linear-gradient(135deg, #E8E0D5 0%, #DBCBB6 100%);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-visual {
    flex: 0 0 45%;
    position: relative;
}

.image-frame-bronze {
    position: relative;
    border-radius: 20px;
}

.founder-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 50px rgba(93, 64, 55, 0.2);
    position: relative;
    z-index: 2;
    filter: sepia(0.2) contrast(1.1);
}

.frame-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(93, 64, 55, 0.3);
    border-radius: 24px;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.tag-circle.tag-dark {
    border-color: #5D4037;
    color: #5D4037;
    margin-bottom: 30px;
}

.about-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #3E2723;
    margin-bottom: 30px;
}

.about-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #5D4037;
    margin-bottom: 20px;
}

.lead-paragraph {
    font-weight: 600;
    font-size: 1.25rem;
}

.founder-signature {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.signature-line {
    width: 60px;
    height: 3px;
    background-color: #D65A31;
}

.founder-name {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: #3E2723;
    text-transform: uppercase;
}

.founder-role {
    font-size: 0.9rem;
    color: #795548;
    font-style: italic;
}


/* =============================================================================
   8. COMMUNITY (Social Hub)
   ============================================================================= */
.section-social-hub {
    padding: 120px 0;
    background-color: #fcfcfc;
    background-image: radial-gradient(#ddd 1px, transparent 1px);
    background-size: 24px 24px;
}

.social-header {
    text-align: center;
    margin-bottom: 80px;
}

.social-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--psiche-text);
    margin-top: 24px;
}

.social-desc {
    font-size: 1.2rem;
    color: #666;
}

.social-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.social-card {
    position: relative;
    background: white;
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 0 rgba(0, 0, 0, 0.05);
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-content {
    position: relative;
    z-index: 2;
}

.social-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.social-action {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    background: #f4f4f4;
    color: var(--psiche-text);
}

.card-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
}

/* Hover Colors */
.social-card:hover .social-action {
    color: white;
}

.social-card:hover .card-bg-decoration {
    opacity: 0.08;
}

.card-tiktok:hover {
    border-color: #000000;
}

.card-tiktok:hover .card-bg-decoration {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
}

.card-tiktok:hover .social-action {
    background: #000000;
}

.card-ig:hover {
    border-color: #E1306C;
}

.card-ig:hover .card-bg-decoration {
    background: linear-gradient(45deg, #405DE6, #E1306C, #FFDC80);
}

.card-ig:hover .social-action {
    background: #E1306C;
}

.card-yt:hover {
    border-color: #FF0000;
}

.card-yt:hover .card-bg-decoration {
    background: #FF0000;
}

.card-yt:hover .social-action {
    background: #FF0000;
}

.card-fb:hover {
    border-color: #1877F2;
}

.card-fb:hover .card-bg-decoration {
    background: #1877F2;
}

.card-fb:hover .social-action {
    background: #1877F2;
}

.card-x:hover {
    border-color: #000000;
}

.card-x:hover .card-bg-decoration {
    background: #000000;
}

.card-x:hover .social-action {
    background: #000000;
}

.card-reddit:hover {
    border-color: #FF4500;
}

.card-reddit:hover .card-bg-decoration {
    background: #FF4500;
}

.card-reddit:hover .social-action {
    background: #FF4500;
}


/* =============================================================================
   9. FOOTER
   ============================================================================= */
.site-footer {
    background-color: var(--psiche-teal-deep);
    color: #ffffff;
    padding-top: 80px;
    padding-bottom: 30px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: white;
    opacity: 0.5;
    transition: 0.3s;
}

.footer-socials a:hover {
    opacity: 1;
    color: var(--nova-cyan);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.2s;
}

.footer-nav a:hover {
    color: var(--nova-cyan);
    padding-left: 5px;
}

.footer-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
}

.footer-form input {
    background: transparent;
    border: none;
    padding: 10px 16px;
    color: white;
    width: 100%;
    outline: none;
}

.footer-form button {
    background: var(--nova-cyan);
    color: var(--psiche-teal-deep);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.legal-text {
    font-family: monospace;
}


/* =============================================================================
   10. ANIMAZIONI & MEDIA QUERIES
   ============================================================================= */

/* Animazioni CSS Base */
@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 90, 49, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(214, 90, 49, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 90, 49, 0);
    }
}

.pulse-effect {
    animation: pulse-orange 2s infinite;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes morph {
    0% {
        border-radius: 64% 36% 24% 76% / 51% 55% 45% 49%;
    }

    50% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 64% 36% 24% 76% / 51% 55% 45% 49%;
    }
}

/* Classi per JavaScript (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* MEDIA QUERIES GENERALI (Mobile) */
@media (max-width: 968px) {

    /* Header & Nav */
    .header {
        padding: 0 20px;
    }

    .nav-list {
        display: none;
    }

    /* Nasconde menu desktop (da implementare hamburger se necessario) */

    /* Layout Generali */
    .hero-split,
    .scaled-row,
    .about-grid {
        flex-direction: column;
    }

    .shop-grid-6-items,
    .social-grid-6,
    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    /* Typography */
    .intro-title,
    .section-title-scaled {
        font-size: 2.8rem;
    }

    /* Fix specifici */
    .text-left,
    .text-right {
        text-align: center;
    }

    .scaled-visual {
        order: -1;
        width: 100%;
        height: 350px;
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Social Cards Mobile */
    .social-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .social-icon-wrapper {
        margin-bottom: 0;
        margin-right: 20px;
        width: 50px;
        height: 50px;
    }
}