/* === Global rules === */

* {
    box-sizing: border-box;
}

*::before {
    box-sizing: border-box;
}

*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    font-family: "Inter", sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

h1 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h2 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h3 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h4 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

p {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

ol {
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
    padding: 0;
}

figcaption {
    margin: 0;
    padding: 0;
}

blockquote {
    margin: 0;
    padding: 0;
}

dl {
    margin: 0;
    padding: 0;
}

dd {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0098C1;
    --primary-dark: #007BA1;
    --primary-light: #27C2DD;
    --secondary-color: #22D999;
    --accent-color: #17EFA5;
    --dark-color: #1A2B48;
    --light-color: #F8F9FA;
    --text-color: #333;
    --text-light: #718096;
    --text-lighter: #A0AEC0;
    --white: #fff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 15px 35px rgba(0, 152, 193, 0.15);
    --border-radius-sm: 6px;
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #17EFA5 0%, #0098C1 100%);
    --gradient-secondary: linear-gradient(135deg, #22D999 0%, #09BDBA 100%);
    --gradient-accent: linear-gradient(135deg, #17EFA5 0%, #27C2DD 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 43, 72, 0.8) 0%, rgba(13, 25, 48, 0.9) 100%);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 1rem;
    position: relative;
}

.pre-heading {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(78, 106, 255, 0.3);
}

.btn-primary:hover {
    transform: translatey(-3px);
    box-shadow: 0 6px 15px rgba(78, 106, 255, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1.5px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(78, 106, 255, 0.1);
    transform: translatey(-2px);
    color: var(--primary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translatey(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(78, 106, 255, 0.1);
    transform: translatey(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: calc(var(--border-radius) + 2px);
    width: 100%;
    max-width: 100%;
}

header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 0.75rem;
}

.logo span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-color);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.hero {
    padding: 8rem 0 6rem;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--primary-color);
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-buttons {
    display: flex;
    margin: 1rem 0 2rem;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.cta-buttons .btn:hover {
    transform: translatey(-5px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    margin-bottom: 2rem;
    margin: 0 auto;
}

.placeholder-container {
    position: relative;
    width: 280px;
    height: 280px;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
}

.placeholder-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 152, 193, 0.2);
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.float-card:hover {
    transform: scale(1.05) !important;
    box-shadow: var(--shadow-xl);
}

.float-card-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.float-card-content {
    flex: 1;
}

.float-card-content p {
    font-size: 0.76rem;
    color: var(--dark-color);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    flex: 1;
}

.hero-stat:hover {
    transform: translatey(-5px);
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.9);
}

.hero-stat-icon {
    margin-bottom: 0.5rem;
}

.hero-stat-icon span {
    font-size: 1.8rem;
}

.hero-stat-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

float-card-content {
    flex: 1;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(78, 106, 255, 0.2);
    z-index: 1;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-cta {
    display: flex;
    align-items: center;
}

.header-cta .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: var(--white);
}

.section-header.light .highlight-text {
    color: rgba(255, 255, 255, 0.9);
}

.features {
    padding: 8rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translatey(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(78, 106, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 152, 193, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background-color: rgba(0, 152, 193, 0.15);
}

.discovery-feed {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.feed-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feed-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-header {
    background: var(--accent-color);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.feed-header h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.feed-header h3 i {
    font-size: 1rem;
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feed-item:hover {
    transform: translatey(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feed-item-user {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 2px solid var(--primary-light);
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
}

.item-distance {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feed-item-content {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.5;
}

.feed-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feed-item-tag {
    background-color: rgba(78, 106, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
}

.feed-item-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.feed-cta {
    text-align: center;
    margin-top: 4rem;
    background-color: rgba(78, 106, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: rgba(0, 152, 193, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 152, 193, 0.1);
}

.feed-cta p {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.how-it-works {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.steps-container {
    position: relative;
    margin-top: 4rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto 2rem;
    position: relative;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e5e7eb;
    transform: translatey(-50%);
    z-index: 0;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.step-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--white);
    transition: var(--transition);
}

.step-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.step-dot.active::after {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(0.6);
}

.steps-content {
    position: relative;
    min-height: 400px;
    margin-bottom: 2rem;
}

.step-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, visibility, transform;
}

.step-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.step-info {
    flex: 1;
    padding-right: 2rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.step-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.step-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.step-features {
    list-style: none;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.step-features li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.step-image {
    flex: 1;
}

.step-image img {
    width: 100%;
    max-width: 350px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotatey(-5deg);
    transition: var(--transition);
    border: 10px solid var(--white);
}

.step-image img:hover {
    transform: perspective(1000px) rotatey(0deg);
}

/* Step Icon Container Styles - Enhanced Animation System */
.step-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    height: 280px;
    margin: 0 auto;
}

.step-icon-animated {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    color: var(--primary-color);
    animation: stepIconFloat 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.step-icon-animated:hover {
    transform: scale(1.1) rotateY(15deg);
    color: var(--secondary-color);
}

.step-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(83, 162, 190, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: stepGlowPulse 2s ease-in-out infinite alternate;
    z-index: 1;
}

/* Different animation delays for each step */
.step-icon-animated[data-step="1"] {
    animation-delay: 0s;
}

.step-icon-animated[data-step="2"] {
    animation-delay: 0.5s;
}

.step-icon-animated[data-step="3"] {
    animation-delay: 1s;
}

.step-icon-animated[data-step="4"] {
    animation-delay: 1.5s;
}

/* Enhanced Typography for Steps */
.step-content .step-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0.7;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active .step-info h3 {
    opacity: 1;
    transform: translateY(0);
    color: var(--dark-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Rimuovo il gradient che causava il testo bianco */
}

.step-content .step-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.6;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active .step-info p {
    opacity: 1;
    transform: translateY(0);
}

.step-features {
    transform: translateY(20px);
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active .step-features {
    transform: translateY(0);
    opacity: 1;
}

.step-features li {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.3rem 0;
    letter-spacing: -0.01em;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Keyframe Animations */
@keyframes stepIconFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(5deg);
    }
}

@keyframes stepGlowPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* New Step Activation Animations */
@keyframes stepIconActivate {
    0% {
        transform: scale(1) rotateY(0deg);
        color: var(--primary-color);
    }
    30% {
        transform: scale(1.2) rotateY(-10deg);
        color: var(--secondary-color);
    }
    60% {
        transform: scale(1.1) rotateY(5deg);
        color: var(--primary-color);
    }
    100% {
        transform: scale(1.05) rotateY(0deg);
        color: var(--primary-color);
    }
}

@keyframes stepGlowActive {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
        background: radial-gradient(circle, rgba(83, 162, 190, 0.2) 0%, transparent 70%);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.3);
        background: radial-gradient(circle, rgba(83, 162, 190, 0.4) 0%, rgba(242, 176, 96, 0.2) 50%, transparent 80%);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
        background: radial-gradient(circle, rgba(83, 162, 190, 0.2) 0%, transparent 70%);
    }
}

.steps-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.step-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.step-prev:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translatey(-3px);
    box-shadow: var(--shadow-md);
}

.step-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translatey(-3px);
    box-shadow: var(--shadow-md);
}

.step-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.step-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.step-indicator-mobile {
    display: none;
    font-weight: 600;
    color: var(--dark-color);
}

.use-cases {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.use-case-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translatey(-10px);
    box-shadow: var(--shadow-xl);
}

.use-case-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: var(--gradient-light);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    color: var(--primary-color);
    transform: scale(1);
    flex-shrink: 0;
}

.use-case-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.use-case-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.use-case-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid #f0f0f0;
}

.use-case-result:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.result-value {
    font-weight: 600;
    color: var(--primary-color);
}

.use-cases-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 4rem 0;
    justify-content: center;
    perspective: 1000px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.use-case-item {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 220px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s forwards;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    max-width: 350px;
    transform: translatey(20px);
    animation-delay: calc(var(--order) * 0.1s);
    opacity: 0;
    flex: 1 0 300px;
    font-weight: 500;
    line-height: 1.5;
    height: 100%;
    align-items: flex-start;
    z-index: 1;
    border: 1px solid rgba(0, 152, 193, 0.1);
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.use-case-item:hover {
    transform: translatey(-10px) scale(1.03);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 5;
    border-color: rgba(0, 152, 193, 0.3);
}

.use-case-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color);
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.use-case-item:nth-child(odd) {
    background: var(--gradient-secondary);
    transform: rotate(-1deg);
}

.use-case-item:nth-child(even) {
    background: var(--gradient-primary);
    transform: rotate(1deg);
}

.use-case-item:nth-child(3n) {
    background: var(--gradient-accent);
}

.use-cases-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 3rem 0;
    overflow: hidden;
    display: grid;
    justify-content: center;
    margin-top: 3rem;
    padding: 20px 0;
    width: 100%;
    min-height: 300px;
}

.use-cases-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 110%;
    top: 50%;
    transform: translatey(-50%);
    z-index: 10;
    pointer-events: none;
    align-items: center;
    margin-bottom: 1.5rem;
    left: -5%;
    right: 0;
}

.carousel-arrow {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    pointer-events: auto;
    color: var(--dark-color);
    background: var(--white);
    position: relative;
    z-index: 10;
    font-size: 1rem;
    opacity: 0.9;
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 152, 193, 0.3);
    background: var(--primary-color);
    transform: scale(1.1);
}

.prev-use-case {
    margin-left: 10px;
}

.next-use-case {
    margin-right: 10px;
}

.use-cases-carousel {
    display: flex;
    width: 100%;
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.use-cases-slide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 10px 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

/* Stile specifico per la slide active */
.use-cases-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5;
    position: relative;
}

.use-case-item {
    background-color: var(--color-light);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 10;
}

.use-cases-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 10px;
    z-index: 10;
    position: relative;
}

.use-cases-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 152, 193, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #e0e0e0;
    margin: 0 5px;
}

.use-cases-indicator.active {
    width: 30px;
    border-radius: 5px;
    background: var(--primary-color);
}

/* Fix per la visualizzazione desktop */
@media (min-width: 992px) {
    .use-cases-carousel-container {
        min-height: 400px;
        overflow: hidden;
        position: relative;
    }
    
    .use-cases-carousel {
        min-height: 350px;
        position: relative;
    }
    
    .use-cases-slide {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .use-cases-slide.active {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .use-cases-slide:not(.active) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* Semplificazione delle animazioni */
.use-case-fade-in {
    animation: simpleFadeIn 0.4s forwards;
}

.use-case-fade-out {
    animation: simpleFadeOut 0.3s forwards;
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes simpleFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.use-cases-slide:nth-child(3n+1) .use-case-item:nth-child(1) {
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 100%);
}

.use-cases-slide:nth-child(3n+1) .use-case-item:nth-child(2) {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1ebf2 100%);
}

.use-cases-slide:nth-child(3n+1) .use-case-item:nth-child(3) {
    background: linear-gradient(135deg, #f4e8f8 0%, #ebd1f2 100%);
}

.use-cases-slide:nth-child(3n+2) .use-case-item:nth-child(1) {
    background: linear-gradient(135deg, #f8f4e8 0%, #f2ebd1 100%);
}

.use-cases-slide:nth-child(3n+2) .use-case-item:nth-child(2) {
    background: linear-gradient(135deg, #e8f8ec 0%, #d1f2d9 100%);
}

.use-cases-slide:nth-child(3n+2) .use-case-item:nth-child(3) {
    background: linear-gradient(135deg, #f8e8ea 0%, #f2d1d5 100%);
}

.use-cases-slide:nth-child(3n+3) .use-case-item:nth-child(1) {
    background: linear-gradient(135deg, #f0f8e8 0%, #e1f2d1 100%);
}

.use-cases-slide:nth-child(3n+3) .use-case-item:nth-child(2) {
    background: linear-gradient(135deg, #f8ece8 0%, #f2d9d1 100%);
}

.use-cases-slide:nth-child(3n+3) .use-case-item:nth-child(3) {
    background: linear-gradient(135deg, #e8ecf8 0%, #d1d9f2 100%);
}

.community-impact {
    padding: 8rem 0;
    background-color: var(--dark-color);
    position: relative;
    color: var(--white);
    background-image: url(https://images.unsplash.com/photo-1529156069898-49953e39b3ac?ixlib=rb-1.2.1&auto=format&fit=crop&w=2089&q=80);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 0;
}

.community-impact .container {
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.impact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translatey(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.impact-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.impact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.community-quote {
    position: relative;
    max-width: 800px;
    margin: 6rem auto 0;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quote-mark {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translatex(-50%);
    font-size: 6rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.3;
}

.community-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.quote-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-author-info {
    text-align: left;
}

.quote-author-name {
    font-weight: 600;
    color: var(--white);
    display: block;
}

.quote-author-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.stats-section {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translatey(-10px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var (--primary-color);
    margin-bottom: 1rem;
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.testimonials {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.testimonial-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    min-width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    flex-direction: column;
}

.testimonial-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 0 auto 2rem;
    border: 5px solid rgba(0, 152, 193, 0.2);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.quote {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    line-height: 1.7;
}

.quote::before {
    content: "\"";
    font-size: 4rem;
    color: rgba(0, 152, 193, 0.2);
    position: absolute;
    top: -2rem;
    left: -1.5rem;
    z-index: -1;
    font-family: Georgia, serif;
    line-height: 1;
}

.author-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var (--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.prev-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    font-size: 1rem;
}

.next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var (--shadow-sm);
    color: var(--primary-color);
    font-size: 1rem;
}

.prev-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translatey(-3px);
    box-shadow: var(--shadow-md);
}

.next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translatey(-3px);
    box-shadow: var(--shadow-md);
}

.pagination {
    display: flex;
    gap: 0.6rem;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.cta-download {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-download::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M0,16h32v2H0V16z M2,12h28v2H2V12z M2,8h28v2H2V8z M2,4h28v2H2V4z M2,20h28v2H2V20z M2,24h28v2H2V24z M2,28h28v2H2V28z' fill='%23ffffff' fill-opacity='0.05'%3E%3C/path%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.6;
}

.cta-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed duplicate phone-mockup - using enhanced version below */

.phone-logo {
    margin-bottom: 2rem;
}

.phone-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.phone-cta-message {
    margin-bottom: 2.5rem;
}

.phone-cta-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.phone-cta-message p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.phone-cta-button {
    width: 100%;
}

.btn-phone-start {
    background: linear-gradient(135deg, var(--primary-color) 0%, #007299 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 152, 193, 0.3);
}

.btn-phone-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 152, 193, 0.4);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatex(-50%);
    width: 150px;
    height: 30px;
    background-color: #1A1A1A;
    border-radius: 0 0 20px 20px;
    z-index: 2;
    background: linear-gradient(135deg, #1A1A1A 0%, #333 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* ===================================================================
   PHONE MOCKUP ONLY - REALISTIC SMARTPHONE DESIGN
   =================================================================== */

/* Main phone mockup container with realistic smartphone proportions */
.phone-mockup {
    position: relative;
    width: 280px;  /* Smartphone width - narrower than tablet */
    height: 580px; /* Smartphone height - proper 2:1 ratio */
    background: linear-gradient(145deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 0 0 4px #333,
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 16px 64px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transform-origin: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.phone-mockup:hover {
    transform: scale(0.92);
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 0 0 4px #333,
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 20px 80px rgba(0, 0, 0, 0.25);
}

/* Phone screen (inner content area) */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Status bar - smartphone optimized */
.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 16px 2px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    height: 28px;
    flex-shrink: 0;
}

/* App header - smartphone optimized */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: linear-gradient(180deg, #0098c1 0%, #007299 100%);
    color: white;
    height: 44px;
    flex-shrink: 0;
    position: relative;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-logo img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.header-icons {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
}

/* App content area */
.app-content {
    flex: 1;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Location bar */
.location-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 12px;
    color: #495057;
    flex-shrink: 0;
}

/* Mockup app CTA button */
.mockup-app-cta {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-btn-app-join {
    width: 100%;
    background: linear-gradient(135deg, #0098c1 0%, #007299 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: enhancedPulse 2.5s infinite;
    position: relative;
    overflow: visible;
}

@keyframes enhancedPulse {
    0% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(0, 152, 193, 0.3),
            0 0 0 0 rgba(0, 152, 193, 0.7),
            0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    25% {
        transform: scale(1.02);
        box-shadow: 
            0 6px 20px rgba(0, 152, 193, 0.4),
            0 0 0 8px rgba(0, 152, 193, 0.3),
            0 0 0 4px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 
            0 8px 25px rgba(0, 152, 193, 0.5),
            0 0 0 15px rgba(0, 152, 193, 0.1),
            0 0 0 8px rgba(255, 255, 255, 0.1);
    }
    75% {
        transform: scale(1.02);
        box-shadow: 
            0 6px 20px rgba(0, 152, 193, 0.4),
            0 0 0 20px rgba(0, 152, 193, 0.05),
            0 0 0 12px rgba(255, 255, 255, 0.05);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(0, 152, 193, 0.3),
            0 0 0 0 rgba(0, 152, 193, 0),
            0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.mockup-btn-app-join:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 152, 193, 0.4);
    animation: none; /* Ferma l'animazione al hover */
}

/* Bottom navigation - smartphone optimized */
.mockup-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 4px 8px 4px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    height: 52px;
    flex-shrink: 0;
}

.mockup-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    color: #6c757d;
    transition: color 0.2s ease;
}

.mockup-nav-item.active {
    color: #0098c1;
}

.mockup-nav-icon {
    font-size: 16px;
}

.mockup-nav-label {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .phone-mockup {
        width: 240px;
        height: 490px;
        transform: scale(1);
        padding: 8px;
        border-radius: 28px;
    }
    
    .phone-screen {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 220px;
        height: 450px;
        padding: 6px;
        border-radius: 24px;
    }
    
    .phone-screen {
        border-radius: 18px;
    }
    
    .phone-status-bar {
        height: 24px;
        font-size: 10px;
        padding: 2px 12px 1px;
    }
    
    .app-header {
        height: 40px;
        padding: 6px 12px;
    }
    
    .app-title {
        font-size: 14px;
    }
    
    .mockup-bottom-nav {
        height: 48px;
        padding: 3px 3px 6px 3px;
    }
    
    .mockup-nav-icon {
        font-size: 14px;
    }
    
    .mockup-nav-label {
        font-size: 8px;
    }
}

/* ===================================================================
   FINE PHONE MOCKUP ONLY - REALISTIC SMARTPHONE DESIGN
   =================================================================== */


footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    max-width: 300px;
}

.footer-logo img {
    height: 40px;
    margin-right: 0.75rem;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo .tagline {
    color: var(--text-lighter);
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--text-lighter);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translatey(-5px);
    color: var(--white);
}

.newsletter h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    height: 50px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.app-links {
    display: flex;
    gap: 1.5rem;
}

.app-links a {
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-links a:hover {
    color: var(--white);
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.scale-up {
    animation: scaleUp 0.5s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

.use-case-item:nth-child(3n+1) {
    background: linear-gradient(135deg, #17EFA5 0%, #0098C1 100%);
    box-shadow: 0 8px 15px rgba(23, 239, 165, 0.2);
}

.use-case-item:nth-child(3n+2) {
    background: linear-gradient(135deg, #22D999 0%, #09BDBA 100%);
    box-shadow: 0 8px 15px rgba(34, 217, 153, 0.2);
}

.use-case-item:nth-child(3n+3) {
    background: linear-gradient(135deg, #0098C1 0%, #27C2DD 100%);
    box-shadow: 0 8px 15px rgba(0, 152, 193, 0.2);
}

.feed-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39, 194, 221, 0.1) 0%, rgba(0, 152, 193, 0) 70%);
    z-index: 0;
    animation: pulse 10s infinite ease-in-out;
}

.feed-cta .btn {
    position: relative;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.3s ease;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.feed-cta .btn:hover {
    transform: scale(1.05);
}

.use-case-item:hover .use-case-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px rgba(0, 152, 193, 0.15);
}

.use-case-item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.use-case-item:hover:before {
    width: 100%;
}

.use-cases-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 152, 193, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #e0e0e0;
}

.use-cases-indicator.active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary-color);
    background-color: var(--primary-color);
}

.use-case-fade-in {
    animation: fadeInSlide 0.6s forwards;
}

.use-case-fade-out {
    animation: fadeOutSlide 0.4s forwards;
}

.carousel-arrow:active {
    transform: scale(0.95);
    box-shadow: 0 4px 12px rgba(0, 152, 193, 0.2);
}

.use-case-item:hover::before {
    height: 6px;
    opacity: 0.8;
    transform: scale(1);
    animation: ripple 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.use-cases-slide:nth-child(3n+1) .use-case-item:nth-child(1)::before {
    background: linear-gradient(90deg, #20c997, #0ea5e9);
}

.use-cases-slide:nth-child(3n+1) .use-case-item:nth-child(2)::before {
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
}

.use-cases-slide:nth-child(3n+1) .use-case-item:nth-child(3)::before {
    background: linear-gradient(90deg, #a855f7, #ec4899);
}

.use-cases-slide:nth-child(3n+2) .use-case-item:nth-child(1)::before {
    background: linear-gradient(90deg, #eab308, #f97316);
}

.use-cases-slide:nth-child(3n+2) .use-case-item:nth-child(2)::before {
    background: linear-gradient(90deg, #22c55e, #10b981);
}

.use-cases-slide:nth-child(3n+2) .use-case-item:nth-child(3)::before {
    background: linear-gradient(90deg, #f43f5e, #e11d48);
}

@media (min-width: 992px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        gap: 4rem;
        align-items: center;
    }

    .hero-content {
        align-items: flex-start;
        padding-right: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-image {
        flex: 1;
        margin-bottom: 0;
        max-width: 550px;
        min-height: 300px;
               order: 2;
    }

    .placeholder-container {
        width: 340px;
        height: 340px;
    }

    .cta-buttons {
        justify-content: flex-start;
        margin: 2rem 0;
        width: 90%;
    }

    .hero-stats {
        justify-content: flex-start;
        margin-top: 2rem;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .fixed-header {
        transform: translatey(-100%);
        opacity: 0;
    }

    .fixed-header.visible {
        transform: translatey(0);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .use-case-item {
        min-height: 230px;
    }
}

@media (max-width: 768px) {
    .use-case-item {
        min-height: 180px;
        padding: 20px;
    }

    .use-case-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 12px;
    }
}

@media (max-width: 576px) {
    .use-cases-slide {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        gap: 15px;
    }

    .use-case-item {
        min-height: auto;
        padding: 20px;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .use-case-item:last-child {
        margin-bottom: 0;
    }

    .use-case-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .use-case-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .prev-use-case {
        width: 40px;
        height: 40px;
    }

    .next-use-case {
        width: 40px;
        height: 40px;
    }

    .use-cases-controls {
        z-index: 10;
        top: unset;
        bottom: -30px;
        transform: none;
        width: 100%;
        left: 0;
        right: 0;
    }

    .use-cases-carousel-container {
        display: block;
        overflow: visible;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .use-cases-carousel {
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        overflow: visible;
    }

    .use-cases-slide.active {
        position: relative;
        display: grid;
        width: 100%;
        max-width: 100%;
        padding: 0 0;
        left: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .use-cases-slide.active .use-case-item {
        opacity: 1;
        visibility: visible;
        display: block;
        transform: none;
    }    .use-cases-slide:not(.active) {
        display: none;
    }

    .use-cases-slide.active {
        display: grid;
    }

    .use-case-item:hover {
        transform: translatey(-5px);
    }
}

@media (min-width: 768px) {
    .testimonial {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .testimonial-image {
        margin: 0 2rem 0 0;
    }
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .feed-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 15px;
        padding-inline: 10px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        min-height: 300px;
    }

    .device-mockup {
        max-width: 280px;
    }

    .float-card {
        position: absolute;
        width: 200px;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }

    .cta-buttons {
        justify-content: center;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .step-content {
        flex-direction: column;
        text-align: center;
    }

    .step-info {
        padding-right: 0;
    }

    .step-features li {
        justify-content: center;
    }

    .step-image {
        margin-top: 2rem;
    }

    .step-image img {
        margin: 0 auto;
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-text {
        text-align: center;
        margin-bottom: 3rem;
    }

    .testimonial {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-image {
        margin: 0 auto 1.5rem;
    }

    .footer-content {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 0rem 0 0rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .feed-container {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .step-indicator {
        display: none;
    }

    .step-indicator-mobile {
        display: block;
    }

    .steps-content {
        min-height: auto;
    }

    .step-content {
        position: relative;
    }    .step-content:not(.active) {
        display: none;
    }

    /* Step Icon Responsive Styles */
    .step-icon-container {
        height: 200px;
        max-width: 250px;
    }

    .step-icon-animated {
        font-size: 3rem;
    }

    .step-icon-glow {
        width: 150px;
        height: 150px;
    }

    /* Enhanced Typography for Mobile */
    .step-content.active .step-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .step-content.active .step-info p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .step-features li {
        font-size: 0.95rem;
        padding: 0.25rem 0;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        max-width: 400px;
    }

    .hero-stat {
        padding: 0.75rem;
    }

    .hero-stat-text {
        font-size: 0.85rem;
    }

    .hero-stat-icon span {
        font-size: 1.5rem;
    }

    .cta-buttons {
        width: 100%;
        max-width: 400px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
    }

    .footer-links {
        width: 100%;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .app-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .community-quote blockquote {
        font-size: 1.2rem;
    }    .steps-navigation {
        gap: 1rem;
    }

    /* Step Icon Extra Small Devices */
    .step-icon-container {
        height: 160px;
        max-width: 200px;
    }

    .step-icon-animated {
        font-size: 2.5rem;
    }

    .step-icon-glow {
        width: 120px;
        height: 120px;
    }

    /* Enhanced Typography for Small Mobile */
    .step-content.active .step-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .step-content.active .step-info p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .step-features li {
        font-size: 0.9rem;
        padding: 0.2rem 0;
    }

    .step-prev {
        width: 40px;
        height: 40px;
    }

    .step-next {
        width: 40px;
        height: 40px;
    }    .phone-mockup {
        width: 240px;
        height: 490px;
    }

    .phone-content {
        padding: 1.5rem 1rem;
    }

    .phone-logo img {
        width: 60px;
        height: 60px;
    }

    .phone-cta-message h3 {
        font-size: 1.1rem;
    }

    .phone-cta-message p {
        font-size: 0.85rem;
    }

    .btn-phone-start {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
    }

    .hero-stats {
        max-width: 100%;
    }

    .cta-buttons {
        max-width: 100%;
    }

    .hero-stat {
        padding: 0.5rem 0.6rem;
    }

    .hero-stat-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .use-cases-wall {
        gap: 1rem;
    }

    .use-case-item {
        flex: 1 0 280px;
    }
}

@media (max-width: 768px) {
    .use-cases-wall {
        gap: 0.8rem;
    }

    .use-case-item {
        flex: 1 0 100%;
        max-width: 100%;
        font-size: 0.95rem;
        padding: 1.2rem 1.5rem;
    }

    .feed-cta p {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .use-case-item {
        transform: rotate(0) !important;
        animation-delay: calc(var(--order) * 0.05s);
    }

    .feed-cta p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .use-cases-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .use-cases-slide {
        grid-template-columns: 1fr;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1024px) {
    .use-cases-slide {
        gap: 20px;
    }

    .use-case-item {
        min-height: 230px;
        padding: 25px;
    }

    .use-case-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .use-cases-slide {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .use-case-item {
        min-height: 220px;
        padding: 22px;
    }

    .use-case-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .use-case-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .use-cases-slide {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .use-case-item:nth-child(3) {
        display: none;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .use-cases-slide {
        grid-template-columns: 1fr;
    }

    .use-case-item:nth-child(2) {
        display: none;
    }

    .use-case-item {
        min-height: 200px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 992px) {
    .use-cases-slide {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 577px) {
    .use-cases-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .use-cases-slide {
        grid-template-columns: 1fr;
        max-width: 90%;
        margin: 0 auto;
    }

    .use-case-item {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
        min-height: 0;
    }

    .use-case-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Assicura la visibilità degli elementi nei device desktop */
@media (min-width: 992px) {
    .use-cases-carousel-container {
        min-height: 400px;
    }
    
    .use-cases-carousel {
        min-height: 350px;
    }
    
    .use-cases-slide {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .use-cases-slide.active {
        display: grid !important;
    }
    
    .use-case-item {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Altre regole per garantire la compatibilità desktop */
.use-cases-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 10px;
    z-index: 10;
    position: relative;
}

.use-cases-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 152, 193, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #e0e0e0;
    margin: 0 5px;
}

/* Nasconde i controlli del carosello dei casi d'uso su dispositivi mobili */
@media (max-width: 991px) {
    .use-cases-controls {
        display: none !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* Modal styles for Early Access Form */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 20px;
    max-width: 800px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.5s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #0098c1, #006c8e);
    position: relative;
    border-bottom: none;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.modal-body {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-intro {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.modal-icon {
    font-size: 36px;
    background: linear-gradient(135deg, #0098c1, #00b0e0);
    color: white;
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 152, 193, 0.3);
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #505050;
}

/* Form styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.25s;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0098c1;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 152, 193, 0.1);
}

.service-employment-row {
    background-color: #f0f8fb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e0f0f5;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.radio-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    background-color: white;
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid #d1d1d1;
    transition: all 0.2s;
}

.radio-button:hover {
    border-color: #0098c1;
}

.radio-button input {
    margin-right: 8px;
}

.radio-label {
    font-weight: 500;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.4;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 3px;
}

.privacy-link {
    color: #0098c1;
    text-decoration: underline;
}

.privacy-link:hover {
    text-decoration: none;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================================================
   MOCKUP FEED CONTENT - ENHANCED READABILITY STYLES
   =================================================================== */

/* Mockup app feed container */
.mockup-app-feed {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f4 100%);
}

/* Individual feed items with enhanced visibility and subtle entrance animation */
.mockup-feed-item {
    display: block;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 152, 193, 0.1);
    transition: all 0.2s ease;
    position: relative;
    animation: feedItemSlideIn 0.6s ease-out forwards;
}

@keyframes feedItemSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mockup-feed-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 152, 193, 0.2);
}

.mockup-feed-item.urgent {
    border-left: 3px solid #ff3b30;
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
}

/* User avatars with better contrast */
.mockup-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid rgba(0, 152, 193, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Feed content layout */
.mockup-feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* User info section with better spacing */
.mockup-user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.mockup-username {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

.mockup-distance {
    font-size: 10px;
    font-weight: 600;
    color: #0098c1;
    background: rgba(0, 152, 193, 0.12);
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 152, 193, 0.2);
}

.mockup-rating {
    font-size: 10px;
    font-weight: 600;
    color: #f57c00;
    background: rgba(255, 193, 7, 0.1);
    padding: 1px 4px;
    border-radius: 6px;
}

/* Post text with enhanced readability */
.mockup-post-text {
    font-size: 13px;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 500;
    max-height: none; /* Allows vertical expansion */
    overflow: visible; /* Clip content if it still overflows */
    white-space: normal; /* Ensure text wraps to the next line */
    overflow-wrap: break-word; /* Allow breaking long words to prevent overflow */
}

/* Post metadata with better contrast */
.mockup-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.mockup-post-tag {
    font-size: 9px;
    font-weight: 600;
    color: #495057;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-urgent-tag {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b47 100%) !important;
    color: white !important;
    border: none !important;
    animation: urgentPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 6px rgba(255, 59, 48, 0.3);
}

@keyframes urgentPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(255, 59, 48, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 59, 48, 0.5);
    }
}

.mockup-post-time {
    font-size: 9px;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}

/* Enhanced CTA button above bottom nav */
.mockup-app-cta {
    padding: 10px 14px 8px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.mockup-btn-app-join {
    width: 100%;
    background: linear-gradient(135deg, #0098c1 0%, #007299 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 152, 193, 0.3);
    letter-spacing: 0.3px;
    text-transform: none;
    animation: enhancedPulse 2.5s infinite;
    position: relative;
    overflow: visible;
}

.mockup-btn-app-join:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 12px rgba(0, 152, 193, 0.4);
    background: linear-gradient(135deg, #00a8d1 0%, #0082a9 100%);
    animation: none; /* Ferma l'animazione al hover */
}

.mockup-btn-app-join:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 152, 193, 0.3);
}

/* Enhanced bottom navigation with better contrast */
.mockup-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 4px 8px 4px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    height: 52px;
    flex-shrink: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

.mockup-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    color: #8e8e93;
    transition: all 0.2s ease;
    border-radius: 6px;
    min-width: 40px;
}

.mockup-nav-item:hover {
    background: rgba(0, 152, 193, 0.08);
    color: #0098c1;
}

.mockup-nav-item.active {
    color: #0098c1;
    background: rgba(0, 152, 193, 0.12);
}

.mockup-nav-icon {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.mockup-nav-item.active .mockup-nav-icon {
    transform: scale(1.1);
}

.mockup-nav-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
}

.mockup-nav-item.active .mockup-nav-label {
    font-weight: 700;
}

/* Location bar enhancement */
.location-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 11px;
    color: #495057;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.location-icon {
    font-size: 12px;
    color: #0098c1;
}

.location-text {
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Mobile-specific improvements */
@media (max-width: 480px) {
    .mockup-app-feed {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .mockup-feed-item {
        padding: 8px;
        gap: 8px;
    }
    
    .mockup-user-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .mockup-username {
        font-size: 11px;
    }
    
    .mockup-post-text {
        font-size: 10px;
    }
    
    .mockup-distance,
    .mockup-rating {
        font-size: 8px;
    }
    
    .mockup-post-tag,
    .mockup-post-time {
        font-size: 8px;
    }
    
    .mockup-btn-app-join {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .mockup-app-cta {
        padding: 8px 10px 6px 10px;
    }
}

/* Effetto glow aggiuntivo per il pulsante CTA */
.mockup-btn-app-join::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #0098c1, #007299, #00a8d1);
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    animation: glowPulse 2.5s infinite;
    filter: blur(8px);
}

@keyframes glowPulse {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    25% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
    75% {
        opacity: 0.3;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.mockup-btn-app-join:hover::before {
    animation: none;
    opacity: 0;
}
