/* ============================================
   VISORIA FREE MAP LP - DESKTOP STYLES
   URL: visoria.app/free-map
   All classes use fm- prefix. Do not load main LP styles.
   ============================================ */

/* CSS Variables (same as main LP for consistency) */
.fm-page {
    --fm-primary-purple: #8E70FF;
    --fm-purple-light: #a78bfa;
    --fm-purple-dark: #8b5cf6;
    --fm-lavender: #F4F0FF;
    --fm-mint: #E0F7FA;
    --fm-pink: #FFF0F6;
    --fm-white: #ffffff;
    --fm-text-dark: #2d1b69;
    --fm-text-light: #6b5b95;
    --fm-shadow-purple: rgba(142, 112, 255, 0.1);
    --fm-shadow-strong: rgba(142, 112, 255, 0.2);
}

/* Reset & Base */
.fm-page {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', 'Nunito', sans-serif;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1f9 50%, #e0f7fa 100%);
    background-attachment: fixed;
    color: var(--fm-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.fm-page * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.fm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fm-glow-ring {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fm-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fm-mascot-float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-15px) rotate(2deg) scale(1.02); }
    50% { transform: translateY(-25px) rotate(0deg) scale(1.05); }
    75% { transform: translateY(-15px) rotate(-2deg) scale(1.02); }
}

@keyframes fm-mascot-magic {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-8px) rotate(1deg) scale(1.02); }
}

/* Glass card */
.fm-glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 var(--fm-shadow-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fm-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 var(--fm-shadow-strong);
}

/* ============================================
   HEADER - Logo + Contact only
   ============================================ */
.fm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(142, 112, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.fm-header.fm-header-scrolled {
    background: rgba(142, 112, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fm-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    position: relative;
    z-index: 1;
}

.fm-logo {
    display: flex;
    align-items: center;
    height: 50px;
    text-decoration: none;
}

.fm-logo-image {
    height: 100%;
    width: auto;
    max-height: 50px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.fm-logo:hover .fm-logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.fm-nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.fm-nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fm-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.fm-nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.fm-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fm-purple-light), var(--fm-purple-dark));
    color: white;
    padding: 16px 40px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 26px rgba(31, 41, 55, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    overflow: visible;
}

.fm-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.02);
    color: var(--fm-text-dark);
    box-shadow: 0 16px 32px rgba(31, 41, 55, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.fm-cta-btn::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(168, 85, 247, 0.9), rgba(56, 189, 248, 0.8), rgba(255, 255, 255, 0.95));
    background-size: 300% 300%;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.fm-cta-btn:hover::before {
    animation: fm-glow-ring 1.4s linear infinite;
    opacity: 0.9;
}

/* ============================================
   HERO SECTION
   ============================================ */
.fm-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    overflow: hidden;
}

.fm-hero-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fm-hero-picture .fm-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(142, 112, 255, 0.3) 0%, rgba(226, 209, 249, 0.2) 100%);
    z-index: 1;
}

.fm-hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
    position: relative;
    z-index: 1;
}

.fm-hero-text {
    max-width: 600px;
    z-index: 2;
}

.fm-hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fm-hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.fm-hero-visual {
    margin-bottom: 2rem;
}

.fm-hero-visual-placeholder {
    width: 100%;
    max-width: 400px;
    height: 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(226, 209, 249, 0.3) 100%);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.fm-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fm-hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fm-hero-cta {
    width: auto;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.fm-how-it-works {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(244, 240, 255, 0.3));
    padding: 50px 0;
    position: relative;
    animation: fm-fadeIn 0.6s ease-out;
}

.fm-how-it-works-mascot {
    display: none;
}

.fm-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--fm-text-dark);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.fm-how-it-works-desktop-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.fm-how-it-works-desktop-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5rem;
    width: 100%;
    position: relative;
    overflow: visible;
    min-width: 0;
}

.fm-how-it-works-desktop-mascot-img {
    width: 140%;
    max-width: 800px;
    height: auto;
    display: block;
    flex-shrink: 0;
    animation: fm-mascot-float 6s ease-in-out infinite;
    transform-origin: center;
}

.fm-steps-grid {
    display: none;
}

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

.fm-step-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    background: linear-gradient(90deg, rgba(226, 209, 249, 0.9) 0%, rgba(224, 247, 250, 0.9) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(142, 112, 255, 0.15);
    border: none;
}

.fm-step-card.fm-glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.fm-step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fm-purple-light), var(--fm-purple-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px var(--fm-shadow-purple);
}

.fm-steps-grid-desktop .fm-step-number {
    font-size: 0;
    line-height: 0;
}

.fm-steps-grid-desktop .fm-step-number .fm-step-icon {
    font-size: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fm-steps-grid-desktop .fm-step-number .fm-step-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.fm-step-icon {
    font-size: 4.5rem;
    margin: 1.5rem 0 1rem;
}

.fm-step-content {
    display: block;
}

.fm-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fm-text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.8rem;
}

.fm-step-number-text {
    font-weight: 700;
}

.fm-step-description {
    color: var(--fm-text-light);
    font-size: 1rem;
}

/* ============================================
   FORM SECTION
   ============================================ */

   .fm-section-subtitle{
    text-align: center;
    margin-top: -1rem;
   }
.fm-form-section {
    padding: 50px 0;
    position: relative;
    animation: fm-fadeIn 0.6s ease-out;
}

.fm-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fm-form-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fm-text-dark);
    display: block;
    margin-bottom: 0.25rem;
    text-align: center;
}

.fm-form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid rgba(142, 112, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--fm-text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-form-input::placeholder {
    color: var(--fm-text-light);
    opacity: 0.8;
}

.fm-form-input:focus {
    outline: none;
    border-color: var(--fm-primary-purple);
    box-shadow: 0 0 0 3px rgba(142, 112, 255, 0.2);
}

.fm-form-submit {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.1rem;
}

.fm-form-micro {
    font-size: 0.9rem;
    color: var(--fm-text-light);
    margin: 0;
    text-align: center;
}

.fm-form-message {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.fm-form-message--success {
    background: rgba(34, 197, 94, 0.2);
    color: #166534;
}

.fm-form-message--error {
    background: rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.fm-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   FOOTER - DESKTOP
   ============================================ */
.fm-final-cta-footer-mobile {
    display: none !important;
}

.fm-final-cta-footer-desktop {
    background: linear-gradient(180deg, rgba(88, 0, 122, 0.645) 0%, rgba(88, 0, 122, 0.645) 100%);
    padding: 4rem 0;
    display: block;
}

.fm-cta-footer-card-desktop {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
}

.fm-cta-footer-card-desktop.fm-glass-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.fm-footer-section-desktop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
    padding-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.fm-footer-social-desktop {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fm-footer-social-desktop a {
    font-size: 1.75rem;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
    color: white;
    opacity: 0.9;
}

.fm-footer-social-desktop a:hover {
    transform: scale(1.2);
    opacity: 1;
}

.fm-footer-social-desktop a svg {
    fill: white !important;
    color: white !important;
    display: block;
}

.fm-footer-links-row-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-items: center;
    justify-content: center;
}

.fm-footer-links-row-desktop a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    opacity: 0.9;
    position: relative;
}

.fm-footer-links-row-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.fm-footer-links-row-desktop a:hover {
    color: white;
    opacity: 1;
}

.fm-footer-links-row-desktop a:hover::after {
    width: 100%;
}

.fm-footer-bottom-row-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    min-height: 48px;
}

.fm-footercopyright-desktop {
    color: white;
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
    opacity: 0.9;
}

.fm-scroll-to-top-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    position: absolute;
    right: 0;
}

.fm-scroll-to-top-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.fm-scroll-to-top-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}
