/* ============================================
   BOOKSNAP LANDING PAGE V5.2 - RESPONSIVE FIX
   ============================================ */

/* VARIABLES */
:root {
    --primary: #0f766e;
    --primary-light: #14b8a6;
    --primary-dark: #134e4a;
    --accent: #f59e0b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    --gradient-text: linear-gradient(135deg, #0f766e 0%, #f59e0b 100%);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    
    --section-padding: clamp(80px, 12vw, 160px);
    --container-padding: clamp(20px, 5vw, 40px);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(15, 118, 110, 0.2);
    
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* FLOATING NAV */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1200px;
    animation: slideDown 0.6s var(--ease-smooth);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary);
    transition: transform 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo span {
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    margin-left: 24px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
}
.lang-toggle {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
}
.lang-toggle:hover {
    color: var(--text-primary);
    background: rgba(20, 184, 166, 0.1);
}
.lang-toggle.active {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient);
    color: white !important;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s var(--ease-smooth);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-smooth);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    min-width: 200px;
}

.mobile-menu a {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s var(--ease-smooth);
}
.mobile-language-switcher {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
}
.mobile-language-switcher .lang-toggle {
    font-size: 0.95rem;
}

.mobile-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.mobile-cta {
    background: var(--gradient);
    color: white !important;
    text-align: center;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 140px var(--container-padding) 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-container {
    animation: fadeInUp 0.8s var(--ease-smooth);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s var(--ease-smooth);
}

.btn-ghost:hover {
    transform: translateX(4px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-display);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* HERO VISUAL - DIMENSIONI OTTIMIZZATE */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s 0.2s var(--ease-smooth) both;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.phone-mockup {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.app-screenshot {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    min-width: 220px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-1 {
    top: 10%;
    right: -15%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -15%;
    animation-delay: 1.5s;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
    white-space: nowrap;
}

.card-text {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-secondary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* FEATURES SECTION */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    padding: 40px;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card.highlight {
    background: var(--gradient);
    color: white;
    border: none;
}

.feature-card.highlight h3,
.feature-card.highlight p {
    color: white;
}

.feature-card.highlight .feature-icon svg {
    color: white;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: inline-block;
    color: var(--primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* HOW IT WORKS */
.how-it-works {
    padding: var(--section-padding) 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.step.reverse {
    direction: rtl;
}

.step.reverse > * {
    direction: ltr;
}

.step-visual {
    position: relative;
}

.step-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.step-image img {
    width: 100%;
    height: auto;
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-display);
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* FOUNDER SECTION */
.founder {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.founder-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.founder-image-wrapper {
    position: relative;
}

.founder-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--gradient);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    z-index: 10;
}

.founder-photo {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.founder-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 24px;
    z-index: -1;
}

.founder-text h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    margin: 16px 0 32px;
    letter-spacing: -0.02em;
}

.founder-quote {
    position: relative;
    padding: 32px;
    background: white;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.quote-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--primary);
}

.founder-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.founder-bio p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-bio strong {
    color: var(--primary);
    font-weight: 600;
}

.founder-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 48px;
}

.skill-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* CONTACT SECTION */
.contact-section {
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.contact-section h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA SECTION */
.cta {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-bottom: 48px;
}

.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.cta-feature svg {
    color: var(--accent);
}

/* FOOTER */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 24px;
    font-weight: 800;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* RESPONSIVE - MOBILE CENTER & FIX */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        text-align: center;
        width: 100%;
    }
    
    .stat {
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        padding: 20px;
    }
    
    .phone-mockup {
        max-width: 300px;
    }
    
    .floating-card {
        display: none;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step.reverse {
        direction: ltr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 42px;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat {
        text-align: center;
    }
    
    .stat-number,
    .stat-label {
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        max-width: 250px;
    }
    
    .hero-visual {
        padding: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}
/* PARTNER SECTION */
.partner-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    border: 2px solid var(--border);
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 20px;
    margin-bottom: 32px;
    color: var(--primary);
    transition: all 0.4s var(--ease-smooth);
}

.partner-card:hover .partner-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

.partner-card h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.partner-card > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.partner-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.partner-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.partner-features li svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.partner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: var(--shadow-md);
    align-self: flex-start;
}

.partner-cta:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}

.partner-cta svg {
    transition: transform 0.3s var(--ease-smooth);
}

.partner-cta:hover svg {
    transform: translateX(4px);
}

/* Varianti colori per le card */
.partner-card.biblioteca:hover {
    border-color: #0f766e;
}

.partner-card.libreria:hover {
    border-color: #0f766e;
}

/* RESPONSIVE PARTNER SECTION */
@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .partner-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .partner-card {
        padding: 32px;
    }
    
    .partner-card h3 {
        font-size: 28px;
    }
    
    .partner-icon {
        width: 64px;
        height: 64px;
    }
    
    .partner-icon svg {
        width: 48px;
        height: 48px;
    }
}
