/* ==========================================
   MOTOMINDER V2 - PREMIUM STYLES
   Racing theme, dark mode, impactful
   ========================================== */

:root {
    --primary: #FF4D00;
    --primary-light: #FF6B2C;
    --primary-dark: #CC3D00;
    --primary-glow: rgba(255, 77, 0, 0.5);
    --accent: #00D4FF;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --bg-dark: #000000;
    --bg-darker: #050505;
    --bg-card: #0D0D0F;
    --bg-card-light: #141418;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B8;
    --text-muted: #606068;
    --border: #1F1F24;
    --border-light: #2A2A30;
    --success: #00E676;
    --warning: #FFD600;
    --danger: #FF3B30;
    --gradient-fire: linear-gradient(135deg, #FF4D00 0%, #FF6B2C 50%, #FFB800 100%);
    --gradient-racing: linear-gradient(135deg, #FF4D00 0%, #CC3D00 100%);
    --gradient-dark: linear-gradient(180deg, #0D0D0F 0%, #000000 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   ANIMATED BACKGROUND
   ========================================== */

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 77, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 77, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.04;
}

.speed-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: speedLine 3s linear infinite;
}

@keyframes speedLine {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 77, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   NAVIGATION
   ========================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 77, 0, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.6rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 1px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-fire);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.lang-switch {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-card);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 0.4rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--gradient-racing);
    color: white;
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 6rem;
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.15) 0%, rgba(255, 77, 0, 0.05) 100%);
    border: 1px solid rgba(255, 77, 0, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-title {
    font-family: 'Racing Sans One', cursive;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title .line1 {
    display: block;
    color: var(--text-primary);
}

.hero-title .line2 {
    display: block;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 540px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-feature svg {
    color: var(--primary);
}

/* ==========================================
   FORMS
   ========================================== */

.hero-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.input-group {
    position: relative;
    flex: 1;
    max-width: 340px;
}

.input-group input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow), 0 0 30px var(--primary-glow);
}

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

.btn-cta {
    padding: 1.1rem 2rem;
    background: var(--gradient-fire);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-cta .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-cta.loading .spinner { display: block; }
.btn-cta.loading .btn-text { opacity: 0; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-note svg {
    color: var(--success);
}

.early-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.early-count strong {
    color: var(--primary-light);
}

.success-message {
    display: none;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1) 0%, rgba(0, 230, 118, 0.05) 100%);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 14px;
    color: var(--success);
    align-items: center;
    gap: 0.75rem;
    animation: fadeInUp 0.5s ease-out;
}

.success-message.show { display: flex; }

/* ==========================================
   PHONE MOCKUP
   ========================================== */

.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.phone-container {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.phone-frame {
    position: relative;
    background: linear-gradient(145deg, #1a1a1f 0%, #0a0a0c 100%);
    border-radius: 45px;
    padding: 10px;
    border: 1px solid var(--border-light);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(255, 77, 0, 0.1);
    z-index: 1;
}

.phone-screen {
    background: var(--gradient-dark);
    border-radius: 38px;
    padding: 1.5rem;
    min-height: 580px;
    position: relative;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
}

.phone-content {
    margin-top: 2.5rem;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.app-logo {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.1rem;
    color: var(--primary);
}

.app-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-fire);
    border-radius: 50%;
}

.moto-card {
    background: linear-gradient(135deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.moto-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.moto-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.moto-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.moto-badge {
    padding: 0.3rem 0.6rem;
    background: rgba(255, 77, 0, 0.15);
    color: var(--primary-light);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.moto-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.moto-stat {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.moto-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.moto-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scadenze-section {
    margin-top: 1rem;
}

.scadenze-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.scadenze-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.scadenze-header span {
    font-size: 0.75rem;
    color: var(--primary);
}

.scadenza-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border-left: 3px solid transparent;
}

.scadenza-item.urgent { border-left-color: var(--danger); }
.scadenza-item.warning { border-left-color: var(--warning); }
.scadenza-item.ok { border-left-color: var(--success); }

.scadenza-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.scadenza-icon.urgent { background: rgba(255, 59, 48, 0.15); }
.scadenza-icon.warning { background: rgba(255, 214, 0, 0.15); }
.scadenza-icon.ok { background: rgba(0, 230, 118, 0.15); }

.scadenza-info {
    flex: 1;
}

.scadenza-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.scadenza-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.scadenza-days {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.scadenza-days.urgent { background: rgba(255, 59, 48, 0.15); color: var(--danger); }
.scadenza-days.warning { background: rgba(255, 214, 0, 0.15); color: var(--warning); }
.scadenza-days.ok { background: rgba(0, 230, 118, 0.15); color: var(--success); }

/* Floating cards */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.floating-card.whatsapp {
    top: 5%;
    right: -15%;
    color: #25D366;
    animation: float 4s ease-in-out infinite;
}

.floating-card.motogp {
    bottom: 15%;
    left: -10%;
    color: var(--accent);
    animation: float 4s ease-in-out infinite 1s;
}

.floating-card.cost {
    top: 40%;
    right: -20%;
    color: var(--warning);
    animation: float 4s ease-in-out infinite 2s;
}

.floating-card.luoghi {
    bottom: 35%;
    left: -15%;
    color: #A855F7;
    animation: float 4s ease-in-out infinite 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 77, 0, 0.02) 50%, transparent 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 77, 0, 0.1);
    border: 1px solid rgba(255, 77, 0, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Racing Sans One', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

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

.feature-card {
    background: linear-gradient(145deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-fire);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(255, 77, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-icon.scadenze { background: linear-gradient(135deg, rgba(255, 77, 0, 0.2) 0%, rgba(255, 77, 0, 0.1) 100%); }
.feature-icon.scheda { background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%); }
.feature-icon.diario { background: linear-gradient(135deg, rgba(0, 230, 118, 0.2) 0%, rgba(0, 230, 118, 0.1) 100%); }
.feature-icon.costi { background: linear-gradient(135deg, rgba(255, 214, 0, 0.2) 0%, rgba(255, 214, 0, 0.1) 100%); }
.feature-icon.luoghi { background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%); }
.feature-icon.motogp { background: linear-gradient(135deg, rgba(255, 77, 0, 0.2) 0%, rgba(255, 77, 0, 0.1) 100%); }

.feature-tag.coming-soon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    color: #A855F7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Large feature card (MotoGP) */
.feature-card.large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-card.large .feature-visual {
    display: flex;
    justify-content: center;
}

.motogp-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    max-width: 320px;
}

.motogp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.motogp-header h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 59, 48, 0.15);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--danger);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.race-info {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.race-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.race-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.standings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.standing-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.standing-pos {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.standing-pos.gold { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: #000; }
.standing-pos.silver { background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%); color: #000; }
.standing-pos.bronze { background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%); color: #fff; }

.standing-rider {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
}

.standing-points {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: 'Racing Sans One', cursive;
    font-size: 3.5rem;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================
   HOW IT WORKS
   ========================================== */

.how-it-works {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem;
}

.how-container {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 40px var(--primary-glow);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -1rem;
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.step-card:last-child .step-connector {
    display: none;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 77, 0, 0.05) 100%);
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Racing Sans One', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta .hero-form {
    justify-content: center;
    animation: none;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.3rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-fire);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

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

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-form {
        flex-direction: column;
        align-items: center;
    }

    .input-group {
        max-width: 100%;
        width: 100%;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .form-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-card {
        display: none;
    }

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

    .feature-card.large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .nav-links a:not(.lang-switch):not(.lang-btn) {
        display: none;
    }

    .hero {
        padding: 6rem 1rem 4rem;
    }

    .phone-container {
        max-width: 300px;
    }

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

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

    .step-connector {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
