/* ============================================
   EASYBUDGET - LANDING & AUTH MASTER STYLE
   Importa solo fintech-theme.css per le variabili
   ============================================ */
@import url('fintech-theme.css?v=20260624b');

/* ============================================
   1. RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.landing-page,
body.auth-page {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

.landing-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   2. DECORAZIONI NEURALI
   ============================================ */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.neural-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(13, 13, 13, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.neural-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.neural-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.neural-decoration .node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(13, 13, 13, 0.15);
    border-radius: 50%;
}

.neural-decoration .node:nth-child(1) { top: 15%; left: 10%; }
.neural-decoration .node:nth-child(2) { top: 25%; right: 15%; }
.neural-decoration .node:nth-child(3) { top: 45%; left: 5%; }
.neural-decoration .node:nth-child(4) { top: 60%; right: 8%; }
.neural-decoration .node:nth-child(5) { top: 75%; left: 20%; }
.neural-decoration .node:nth-child(6) { top: 35%; left: 85%; }

.neural-decoration .connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(13, 13, 13, 0.1), rgba(255, 122, 0, 0.08), transparent);
    transform-origin: left center;
}

.neural-decoration .connection:nth-child(7) {
    top: 20%;
    left: 10%;
    width: 200px;
    transform: rotate(15deg);
}

.neural-decoration .connection:nth-child(8) {
    top: 50%;
    right: 10%;
    width: 180px;
    transform: rotate(-10deg);
}

.neural-decoration .connection:nth-child(9) {
    top: 70%;
    left: 15%;
    width: 250px;
    transform: rotate(5deg);
}

/* ============================================
   3. HEADER FISSO
   ============================================ */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(248, 249, 251, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.landing-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.landing-header .landing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.landing-logo i {
    font-size: 1.5rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid var(--brand-orange);
    border-radius: var(--radius-sm);
    color: var(--brand-orange);
    background: transparent;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--brand-orange);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--brand-orange-lighter);
    color: var(--brand-orange);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-normal);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* ============================================
   5. WAITLIST FORM
   ============================================ */
.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 16px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.waitlist-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-lighter);
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.btn-waitlist {
    padding: 14px 28px;
    background: var(--gradient-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-brand);
}

.btn-waitlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

.waitlist-privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.waitlist-privacy i {
    margin-right: 4px;
    color: var(--accent-green);
}

.waitlist-success {
    display: none;
    padding: 14px 24px;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    max-width: 480px;
    margin: 0 auto 16px;
    animation: fadeInUp 0.4s ease forwards;
}

.waitlist-success i {
    margin-right: 8px;
}

/* ============================================
   6. FEATURE SHOWCASE
   ============================================ */
.features-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--brand-purple-lighter);
    color: var(--brand-purple);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-icon.orange {
    background: var(--brand-orange-lighter);
    color: var(--brand-orange);
}

.feature-icon.purple {
    background: var(--brand-purple-lighter);
    color: var(--brand-purple);
}

.feature-icon.green {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.feature-icon.amber {
    background: #fef3c7;
    color: #d97706;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
}

/* ============================================
   7. TRUST / SECURITY
   ============================================ */
.trust-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 32px 20px;
}

.trust-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    background: var(--brand-orange-lighter);
    color: var(--brand-orange);
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   7a-bis. IL METODO
   ============================================ */
.method-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #f8f9fb 0%, #f0f2f8 100%);
}

.method-badge {
    background: var(--brand-orange-lighter) !important;
    color: var(--brand-orange) !important;
}

.method-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto 40px;
}

.method-step {
    flex: 1;
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.method-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.2rem;
}

.method-step-icon.orange { background: var(--brand-orange-lighter); color: var(--brand-orange); }
.method-step-icon.purple { background: var(--brand-purple-lighter); color: var(--brand-purple); }
.method-step-icon.green { background: var(--accent-green-light); color: var(--accent-green); }

.method-step-content h4 {
    font-size: 0.88rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.method-step-example {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.method-step-example span {
    display: block;
    font-size: 0.75rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-muted);
    letter-spacing: 0;
    margin-top: 2px;
}

.method-arrow {
    color: #d1d5db;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.method-tagline {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   7b. PREVIEW / SPLIT SLIDES
   ============================================ */
.preview-section {
    padding: 80px 0 100px;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

/* Slider */
.preview-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 740px;
    margin: 0 auto;
}

.slider-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 360px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    position: relative;
}

.slider-slide.exit-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
}

.slider-slide.exit-right {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.slider-arrow:hover {
    color: var(--brand-orange);
    box-shadow: 0 4px 20px rgba(255, 122, 0, 0.2);
    transform: scale(1.08);
}

.slider-arrow:disabled {
    opacity: 0.25;
    cursor: default;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-dot.active {
    background: var(--brand-orange);
    width: 24px;
    border-radius: 4px;
}

/* Split slide layout */
.split-slide {
    display: flex;
    align-items: stretch;
    min-height: 360px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.split-problem {
    flex: 1;
    background: #f0f1f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center;
    position: relative;
}

.split-problem::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, #d1d5db, transparent);
}

.split-solution {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center;
}

.split-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 18px;
    padding: 5px 14px;
    border-radius: 50px;
}

.split-label i {
    font-size: 0.55rem;
}

.split-label.problem {
    background: #fef2f2;
    color: #dc2626;
}

.split-label.solution {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.split-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.split-icon.red {
    background: #fef2f2;
    color: #dc2626;
}

.split-icon.green {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.split-num {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 6px;
}

.split-num.orange { color: var(--brand-orange); }
.split-num.green { color: var(--accent-green); }
.split-num.danger { color: #dc2626; }

.split-num-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0;
}

.split-text {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.split-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   7c. CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-field {
    margin-bottom: 16px;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.contact-field label .optional {
    font-weight: var(--font-weight-normal);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-lighter);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--text-muted);
}

.contact-field textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-brand);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

.contact-success {
    display: none;
    padding: 16px 24px;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.4s ease forwards;
}

.contact-success i {
    margin-right: 8px;
}

/* ============================================
   8. FOOTER
   ============================================ */
.landing-footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
}

.landing-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.landing-footer .landing-logo {
    font-size: 1.1rem;
    justify-content: center;
    margin-bottom: 8px;
}

/* ============================================
   9. AUTH CARD (login.html)
   ============================================ */
body.auth-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(229, 231, 235, 0.6);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.auth-header h1 i {
    margin-right: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.auth-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form-group input:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-lighter);
}

.auth-form-group input::placeholder {
    color: var(--text-muted);
}

.auth-form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-input-with-icon {
    position: relative;
}

.auth-input-with-icon input {
    padding-right: 44px;
}

.auth-input-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--brand-orange);
    font-size: 1rem;
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-input-toggle:hover {
    color: var(--brand-orange-light);
}

.btn-auth-primary {
    width: 100%;
    padding: 14px;
    background: var(--gradient-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

.btn-auth-secondary {
    width: 100%;
    padding: 14px;
    background: var(--gradient-purple);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(13, 13, 13, 0.2);
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 13, 13, 0.3);
}

.auth-forgot-link {
    text-align: center;
    margin-top: 16px;
}

.auth-forgot-link a {
    color: var(--brand-orange);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-forgot-link a:hover {
    color: var(--brand-orange-light);
    text-decoration: underline;
}

.auth-error {
    color: var(--color-danger);
    margin-top: 16px;
    text-align: center;
    padding: 10px 16px;
    background: var(--color-danger-bg);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.auth-success {
    color: var(--accent-green);
    margin-top: 16px;
    text-align: center;
    padding: 10px 16px;
    background: var(--accent-green-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    padding-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color 0.2s ease;
    display: inline-block;
    padding: 10px 16px;
    margin: -10px -16px;
}

.auth-switch a:hover {
    text-decoration: underline;
    color: var(--brand-orange-light);
}

/* ============================================
   10. ANIMAZIONI
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-up-delay-4 {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* ============================================
   11. RESPONSIVE
   ============================================ */

/* Large desktop */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .landing-container {
        max-width: 960px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .features-grid {
        gap: 20px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-slider {
        max-width: 100%;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    .neural-bg,
    .neural-decoration {
        display: none;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form input[type="email"],
    .btn-waitlist {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .method-flow {
        flex-direction: column;
        gap: 12px;
    }

    .method-arrow {
        transform: rotate(90deg);
    }

    .method-step {
        padding: 20px 16px;
    }

    .method-step-example {
        font-size: 1.4rem;
    }

    .split-slide {
        flex-direction: column;
        min-height: auto;
    }

    .split-problem::after {
        display: none;
    }

    .split-problem,
    .split-solution {
        padding: 28px 20px;
    }

    .split-num {
        font-size: 2rem;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .preview-slider {
        gap: 10px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .preview-slider {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .landing-container {
        padding: 0 var(--spacing-md);
    }

    .auth-card {
        padding: 28px 20px;
    }

    .auth-wrapper {
        padding: 88px 16px 32px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .feature-card {
        padding: 24px;
    }

    .landing-header {
        height: 60px;
    }

    .landing-logo {
        font-size: 1.2rem;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .auth-card {
        padding: 24px 16px;
        border-radius: var(--radius-lg);
    }
}
