/* ===================================================================
   AperiTeams Conference 2026 v2 - Modern Design
   Complete UI/UX Revolution
   =================================================================== */

/* ===== CSS Reset & Variables ===== */
:root {
    /* Modern Color Palette - Viola Predominante */
    --primary-gradient: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --primary-color: #764ba2;
    --secondary-color: #667eea;
    --accent-color: #f093fb;
    --success-color: #4ade80;
    --danger-color: #f43f5e;
    --warning-color: #fbbf24;
    
    /* Neutral Colors */
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --dark-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.event-pre .event-phase-video,
html.event-post .event-phase-registration {
    display: none !important;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.speaker-card h4,
.countdown-title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

p, a, span, label, input, textarea, button {
    font-family: var(--font-primary);
}

/* ===== Modern Navigation ===== */
.header-area {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.menu-area {
    padding: 1rem 0 !important;
}

.logo img {
    max-height: 45px !important;
    width: auto !important;
    transition: transform var(--transition-base);
}

.logo img:hover {
    transform: scale(1.05);
}

/* Hide old navigation style */
.main-menu {
    display: none !important;
}

/* Modern Hamburger Menu */
.mobile-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    transition: transform var(--transition-base);
}

.mobile-nav-toggle:hover {
    transform: scale(1.05);
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--transition-base);
}

.mobile-nav-toggle span:nth-child(1) { top: 12px; }
.mobile-nav-toggle span:nth-child(2) { top: 19px; }
.mobile-nav-toggle span:nth-child(3) { top: 26px; }

.mobile-nav-toggle.active span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Modern Navigation Pills */
.modern-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.modern-nav a {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-700);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.modern-nav a:hover {
    color: var(--primary-color);
    background: var(--gray-100);
    transform: translateY(-2px);
}

.modern-nav a.cta-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.modern-nav a.cta-btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.05);
}

/* ===== Hero Section Revolution ===== */
.slider-area {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    padding-top: 80px !important;
}

/* Dark overlay for better text readability */
.slider-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slider-area .container,
.slider-area .row,
.slider-area .col-12 {
    position: relative;
    z-index: 2;
}

/* Hide old shapes */
.slider-shape {
    display: none !important;
}

.slider-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.slider-content ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem !important;
    list-style: none;
    flex-wrap: wrap;
}

.slider-content ul li {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-content h2 {
    font-size: clamp(3rem, 8vw, 6rem) !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
}

.slider-content h2 span {
    color: #e91e63 !important;
    display: inline-block;
}

/* Modern Countdown - Più Visibile */
.conterdown {
    margin-top: 3rem !important;
    margin-bottom: 2rem !important;
}

.timer {
    display: flex !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    flex-wrap: wrap;
}

.timer-outer {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(233, 30, 99, 0.85)) !important;
    backdrop-filter: blur(20px) !important;
    border: 3px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 20px !important;
    padding: 2.5rem 3rem !important;
    min-width: 150px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
    position: relative;
    overflow: hidden;
}

.timer-outer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.timer-outer:hover {
    transform: translateY(-10px) scale(1.1) !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 1), rgba(233, 30, 99, 0.95)) !important;
    box-shadow: 0 25px 70px rgba(233, 30, 99, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.4) inset !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.timer-outer span {
    display: block !important;
    font-size: 3.5rem !important;
    font-weight: 600 !important;
    color: white !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.timer-outer .smalltext {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 500 !important;
}

.timer-outer .value-bar {
    display: none !important;
}

/* Modern CTA Buttons */
.header-btn {
    margin-top: 3rem !important;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-btn .btn {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    border: none !important;
    cursor: pointer;
    transition: all var(--transition-base) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.header-btn .btn:first-child {
    background: white !important;
    color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.header-btn .btn:first-child:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

/* ===== Section Styles Revolution ===== */
section {
    padding: 5rem 0 !important;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem !important;
}

.section-title span {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    color: var(--dark-900) !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.section-title p {
    font-size: 1.25rem !important;
    color: var(--gray-500) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Remove old section decoration */
.section-t {
    display: none !important;
}

.circal1, .circal2, .circal3, .circal4 {
    display: none !important;
}

/* ===== About Section ===== */
.about-area {
    background: var(--gray-100);
}

.about-area img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    height: auto;
}

.about-content {
    padding-left: 3rem !important;
}

.about-title .text-outline {
    display: none;
}

.about-title span {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.about-title h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 600 !important;
    color: var(--dark-900) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.about-content p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: var(--dark-700) !important;
    margin-bottom: 1.5rem !important;
}

.about-content ul {
    list-style: none;
    margin: 2rem 0;
}

.about-content ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--dark-700);
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-content .btn {
    margin-top: 2rem !important;
    padding: 1rem 2rem !important;
    background: var(--primary-gradient) !important;
    color: white !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-lg);
}

.about-content .btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* ===== Speakers Section ===== */
.team-area {
    background: white;
}

.single-team {
    background: white;
    border-radius: var(--radius-xl) !important;
    padding: 2rem !important;
    transition: all var(--transition-base) !important;
    border: 2px solid var(--gray-200);
    height: 100%;
}

.single-team:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-2xl) !important;
    border-color: var(--primary-color);
}

.team-thumb {
    margin-bottom: 1.5rem !important;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.team-thumb img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-lg) !important;
    transition: transform var(--transition-slow) !important;
}

.single-team:hover .team-thumb img {
    transform: scale(1.1) !important;
}

.team-info h5 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--dark-900) !important;
    margin-bottom: 0.5rem !important;
}

.team-info p {
    color: var(--gray-600) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.25rem !important;
}

.team-info strong {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid var(--gray-200);
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--dark-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
}

/* ===== Agenda Section ===== */
.event-list {
    background: var(--gray-100);
}

/* Modern Track Tabs */
.track-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem !important;
    flex-wrap: wrap;
}

.track-tab {
    padding: 1rem 2rem !important;
    background: white !important;
    border: 2px solid var(--gray-300) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--dark-700) !important;
    cursor: pointer;
    transition: all var(--transition-base) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.track-tab:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.track-tab.active {
    background: var(--primary-gradient) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: var(--shadow-lg);
}

/* Agenda Items */
.event-list-wrapper .row {
    margin-bottom: 1.5rem !important;
}

.event-list-content,
.event-list-content-break {
    background: white;
    padding: 2rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    transition: all var(--transition-base) !important;
    border-left: 4px solid var(--primary-color);
}

.event-list-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg) !important;
}

.event-list-content-break {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left-color: var(--secondary-color);
}

.event-list-content ul,
.event-list-content-break ul {
    list-style: none;
    margin-bottom: 1rem !important;
}

.event-list-content ul li,
.event-list-content-break ul li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.event-list-content h2 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--dark-900) !important;
    margin-bottom: 0.75rem !important;
}

.event-list-content p {
    color: var(--gray-600) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user .title img {
    width: 80px !important;
    height: 80px !important;
    border-radius: var(--radius-lg) !important;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.user .title h6 {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--dark-700) !important;
    margin-top: 0.5rem !important;
}

.crical {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 1rem auto 0;
}

/* ===== Registration Section ===== */
#registration,
#videos {
    background-image: url(../img/header-overlay.png) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

#registration::before,
#videos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#registration .container,
#videos .container {
    position: relative;
    z-index: 2;
}

/* ===== Event Videos Section ===== */
.videos-area {
    background: transparent !important;
}

.videos-area .section-title h2,
.videos-area .section-title p {
    color: white !important;
}

.event-videos-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    padding: 3.5rem 2.5rem;
    position: relative;
    text-align: center;
}

.event-videos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
}

.event-videos-icon {
    align-items: center;
    background: linear-gradient(135deg, #ff0033 0%, #764ba2 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 18px 40px rgba(255, 0, 51, 0.25);
    color: white;
    display: inline-flex;
    font-size: 2.5rem;
    height: 96px;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 96px;
}

.event-videos-kicker {
    color: var(--primary-color) !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem !important;
    text-transform: uppercase;
}

.event-videos-card h3 {
    color: var(--dark-900);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.event-videos-card p {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
}

.event-videos-link {
    align-items: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    color: white;
    display: inline-flex;
    font-weight: 700;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding: 0.95rem 1.6rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.event-videos-link:hover {
    box-shadow: var(--shadow-xl);
    color: white;
    transform: translateY(-3px);
}

/* ===== Registration Section ===== */
.registration-area {
    background: transparent !important;
}

.registration-area .section-title h2,
.registration-area .section-title p {
    color: white !important;
}

.registration-form {
    background: white !important;
    border-radius: var(--radius-xl) !important;
    padding: 3rem !important;
    box-shadow: var(--shadow-2xl) !important;
}

.registration-form .form-group {
    margin-bottom: 1.5rem;
}

.registration-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-800);
    font-size: 0.95rem;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.registration-form .btn {
    width: 100%;
    padding: 1.125rem 2rem !important;
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-lg);
}

.registration-form .btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: var(--shadow-xl) !important;
}

.registration-form .required {
    color: #e91e63;
    margin-left: 2px;
}

.registration-form .error {
    display: none;
    color: #e91e63;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.registration-form .phone-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.registration-form .phone-prefix {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
}

.registration-form .phone-input-row input[type="tel"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.registration-form .form-group.error .error {
    display: block;
}

.registration-form .form-group.error input,
.registration-form .form-group.error select,
.registration-form .form-group.error textarea {
    border-color: #e91e63;
}

.registration-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.registration-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
}

.registration-form .checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.registration-form .checkbox-group.privacy-text label {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.registration-form .checkbox-group a {
    color: #e91e63;
    text-decoration: underline;
}

.registration-form .radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.registration-form .radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.registration-form .radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.registration-form .radio-label span {
    font-weight: 400;
}

@media (max-width: 767px) {
    .registration-form .phone-prefix,
    .registration-form .phone-input-row input[type="tel"] {
        min-width: 0;
    }
}

.registration-form .success-message,
.registration-form .error-message {
    display: none;
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.registration-form .success-message {
    background: #e8f5e9;
    color: #2e7d32;
}

.registration-form .success-message i {
    color: #2e7d32;
    font-size: 24px;
    margin-bottom: 10px;
}

.registration-form .error-message {
    background: #ffebee;
    color: #c62828;
}

.registration-form .error-message i {
    color: #c62828;
    font-size: 24px;
    margin-bottom: 10px;
}

.registration-form .success-message.show,
.registration-form .error-message.show {
    display: block;
}

.registration-form .text-center .btn {
    width: auto !important;
    padding: 15px 60px !important;
}

/* ===== Location Section ===== */
.contact-area {
    background: white;
}

.feature-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.feature-box:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.feature-box .icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-box .content h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.5rem;
}

.feature-box .content p,
.feature-box .content a {
    color: var(--gray-600);
    font-size: 1rem;
    text-decoration: none;
}

.feature-box .content a:hover {
    color: var(--primary-color);
}

.contact-area iframe {
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-xl);
}

.contact-circal div {
    display: none;
}

/* ===== Wave Divider: Location → Sponsors ===== */
.location-sponsors-divider {
    position: relative;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    overflow: hidden;
    line-height: 0;
}

.lsd-wave-top,
.lsd-wave-bottom {
    display: block;
    width: 100%;
    height: 72px;
}

.lsd-content {
    padding: 22px 0;
    text-align: center;
    line-height: 1;
}

.lsd-dots {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.lsd-dots span {
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    width: 9px;
    height: 9px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.lsd-dots span:nth-child(2) {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.90);
}

.location-sponsors-divider:hover .lsd-dots span {
    background: rgba(255, 255, 255, 0.80);
    transform: scale(1.15);
}

/* ===== Sponsors Section — Tiered Grid / Albo d'oro ===== */
#sponsors-container {
    --sp-purple: #764ba2;
    --sp-indigo: #667eea;
    --sp-gold:   #bd8f1f;
    --sp-ink:    #1b1730;
    --sp-muted:  #6c6885;
    --sp-line:   rgba(118, 75, 162, .14);
    font-family: inherit;
    padding-bottom: 20px;
}

.sponsors__inner {
    max-width: 920px;
    margin: 0 auto;
}

/* intestazione */
.sponsors__head {
    text-align: center;
    margin-bottom: 56px;
}

.spons-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--sp-purple);
}

.spons-overline::before,
.spons-overline::after {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

.sponsors__title {
    font-size: clamp(28px, 4vw, 38px) !important;
    line-height: 1.1 !important;
    color: var(--sp-ink) !important;
    margin: 14px 0 12px !important;
}

.sponsors__sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sp-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* etichette di livello (divisori) */
.tier-label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 40px 0 22px;
}

.tier-label:first-of-type {
    margin-top: 0;
}

.tier-label .ln {
    flex: 1;
    height: 1px;
    background: var(--sp-line);
}

.tier-label span {
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--sp-purple);
    white-space: nowrap;
}

.tier-label--gold span { color: var(--sp-gold); }
.tier-label--gold .ln  { background: rgba(189, 143, 31, .28); }

/* griglie dei livelli */
.tier {
    display: grid;
    gap: 18px;
}

.tier--main   { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.tier--purple { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 920px; margin: 0 auto; }
.tier--gold   { grid-template-columns: repeat(auto-fit, minmax(150px, 220px)); max-width: 840px; margin: 0 auto; justify-content: center; }
.tier--silver { grid-template-columns: repeat(auto-fit, minmax(140px, 220px)); max-width: 840px; margin: 0 auto; justify-content: center; }

/* riquadro logo */
.box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.box--main,
.tier--purple .box,
.tier--gold   .box,
.tier--silver .box { height: 120px; }

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px -26px rgba(118, 75, 162, .6);
    border-color: transparent;
}

/* loghi in proporzione — mai deformati, sempre a colori */
.box img {
    max-width: 90%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}

/* CTA */
.sponsors__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 54px;
}

.sponsors__cta p {
    margin: 0;
    color: var(--sp-muted);
    font-size: 15px;
}

.btn-sponsor {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--sp-indigo), var(--sp-purple));
    box-shadow: 0 14px 30px -14px rgba(118, 75, 162, .85);
    transition: transform .18s ease, box-shadow .2s ease;
}

.btn-sponsor:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -14px rgba(118, 75, 162, .95);
    color: #fff;
}

.btn-sponsor .arr { transition: transform .2s ease; }
.btn-sponsor:hover .arr { transform: translateX(3px); }

/* Responsive */
@media (max-width: 640px) {
    .tier--purple,
    .tier--gold,
    .tier--silver { grid-template-columns: repeat(2, 1fr); }
    .box--main    { height: 120px; }
}

.s-video-wrap {
    background-size: cover !important;
    background-position: center !important;
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
}

.s-video-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
}

.s-video-content {
    position: relative;
    z-index: 2;
}

.popup-video {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

.popup-video:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(102, 126, 234, 0.2);
}

.s-video-content h2 {
    color: white !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important;
}

.s-video-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem !important;
}

/* ===== Footer Revolution ===== */
.footer-bg {
    background: var(--dark-900) !important;
    position: relative;
}

.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.footer-top {
    padding: 4rem 0 2rem !important;
    position: relative;
    z-index: 2;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget .logo img {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.f-widget-title h2 {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8 !important;
    font-size: 1rem !important;
}

.footer-link ul {
    list-style: none;
}

.footer-link ul li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-link ul li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-link ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-link ul li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.copyright-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
}

.copyright-text a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.copyright-text a:hover {
    color: var(--accent-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .modern-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        pointer-events: none;
        z-index: 999;
    }
    
    .modern-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .about-content {
        padding-left: 0 !important;
        margin-top: 2rem;
    }
    
    .user .title img {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 767px) {
    :root {
        font-size: 14px;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .slider-content ul {
        gap: 1rem;
    }
    
    .timer {
        gap: 1rem !important;
    }
    
    .timer-outer {
        min-width: 90px !important;
        padding: 1rem 1.5rem !important;
    }
    
    .timer-outer span {
        font-size: 2rem !important;
    }
    
    .registration-form {
        padding: 2rem !important;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .copyright-text {
        text-align: center !important;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Utilities ===== */
.text-center {
    text-align: center !important;
}

.mt-20 {
    margin-top: 1.25rem !important;
}

.mb-30 {
    margin-bottom: 1.875rem !important;
}

.mb-50 {
    margin-bottom: 3.125rem !important;
}

.mb-80 {
    margin-bottom: 5rem !important;
}

.mt-50 {
    margin-top: 3.125rem !important;
}

.mt-80 {
    margin-top: 5rem !important;
}

.pt-120 {
    padding-top: 7.5rem !important;
}

.pb-120 {
    padding-bottom: 7.5rem !important;
}

.p-relative {
    position: relative !important;
}

.fix {
    overflow: hidden;
}

/* ===== MOBILE RESPONSIVE FIXES =====*/
@media (max-width: 767px) {
    /* Header - Logo responsive */
    .slider-content h2 img {
        width: 280px !important;
        max-width: 85% !important;
    }
    
    /* Header - Conference 2026 text responsive */
    .slider-content h2 span {
        font-size: 2rem !important;
        display: block;
        line-height: 1.2;
    }
    
    /* Countdown responsive */
    .conterdown .timer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }
    
    .conterdown .timer-outer {
        width: calc(50% - 10px) !important;
        max-width: 150px;
        margin: 0 !important;
    }
    
    .conterdown .timer-outer span {
        font-size: 2rem !important;
    }
    
    .conterdown .timer-outer .smalltext {
        font-size: 0.875rem !important;
    }
    
    /* Speakers grid - fix overflow */
    .team-area .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .team-area .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .team-area [class*='col'] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 30px;
    }
    
    .speaker-card {
        margin-bottom: 20px;
        max-width: 100%;
        overflow: visible !important;
    }
    
    .speaker-card img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    .team-item .thumb {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* General mobile padding */
    .container {
        max-width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 576px) and (max-width: 991px) {
    .team-area [class*='col-sm'] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.6);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
