/**
 * Styles de la landing page
 */

body {
    background: var(--white);
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--spacing-lg) 0;
    transition: all var(--transition-base);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.navbar .logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--white);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.navbar .btn-ghost {
    color: var(--white);
    font-weight: 500;
    font-size: var(--font-size-md);
    padding: 12px 20px;
}

.navbar .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

.navbar .btn-white-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-md);
    transition: all var(--transition-base);
}

.navbar .btn-white-outline:hover {
    background: var(--white);
    color: var(--main-color);
}

/* Navbar scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .logo-text {
    color: var(--text-title);
}

.navbar.scrolled .btn-ghost {
    color: var(--text-title);
}

.navbar.scrolled .btn-ghost:hover {
    background: var(--bg-light);
}

.navbar.scrolled .btn-white-outline {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--white);
}

.navbar.scrolled .btn-white-outline:hover {
    background: var(--main-dark);
    border-color: var(--main-dark);
    color: var(--white);
}

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

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 50%, #3730A3 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 220px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.btn-white {
    background: var(--white);
    color: var(--main-color);
    font-weight: 600;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-solid-dark {
    background: rgba(0, 0, 0, 0.25);
    color: var(--white);
    font-weight: 600;
    border: none;
}

.btn-solid-dark:hover {
    background: rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
}

.hero-trial-note {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.hero-trial-note span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   HERO VISUAL - EQUIPMENT CARD & NOTIFS
   ======================================== */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Equipment Card */
.hero-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    width: 320px;
    overflow: hidden;
    animation: cardSlideUp 0.8s ease-out;
}

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

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.hero-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-success);
}

.hero-card-status .status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-card-badge {
    background: var(--main-light);
    color: var(--main-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-card-body {
    padding: 28px 20px;
    text-align: center;
}

.hero-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.hero-card-icon .lnr {
    font-size: 28px;
    color: var(--white);
}

.hero-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title);
    margin: 0 0 4px;
}

.hero-card-ref {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    font-family: monospace;
}

.hero-card-qr {
    padding: 20px;
    background: var(--bg-light);
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qr-svg {
    width: 100%;
    height: 100%;
    fill: var(--text-title);
}

.qr-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.hero-card-stat {
    text-align: center;
    flex: 1;
}

.hero-card-stat .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
}

.hero-card-stat .stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hero-card-divider {
    width: 1px;
    height: 36px;
    background: var(--border-light);
}

/* Floating Notifications */
.hero-notif {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: notifFloat 4s ease-in-out infinite;
}

.hero-notif-1 {
    top: 0;
    left: -60px;
    animation-delay: 0s;
}

.hero-notif-2 {
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    animation-delay: 1.3s;
}

.hero-notif-3 {
    bottom: 20px;
    left: -40px;
    animation-delay: 2.6s;
}

@keyframes notifFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-notif-2 {
    animation-name: notifFloat2;
}

@keyframes notifFloat2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 8px)); }
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon .lnr {
    font-size: 16px;
}

.notif-icon.notif-success {
    background: rgba(39, 174, 96, 0.12);
    color: var(--color-success);
}

.notif-icon.notif-warning {
    background: rgba(241, 196, 15, 0.15);
    color: var(--color-warning);
}

.notif-icon.notif-info {
    background: var(--main-light);
    color: var(--main-color);
}

.notif-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-content strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-title);
    white-space: nowrap;
}

.notif-content span {
    font-size: 11px;
    color: var(--text-light);
    white-space: nowrap;
}

/* ========================================
   DECORATIONS - GLOWING ORBS
   ======================================== */

.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.deco-circle-1 {
    width: 450px;
    height: 450px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: orbFloat1 8s ease-in-out infinite;
}

.deco-circle-2 {
    width: 320px;
    height: 320px;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    animation: orbFloat2 10s ease-in-out infinite;
}

.deco-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: orbFloat3 6s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translateY(-50%) translate(0, 0) scale(1);
    }
    50% {
        transform: translateY(-50%) translate(-20px, 30px) scale(1.05);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translateY(-50%) translate(0, 0) scale(1);
    }
    50% {
        transform: translateY(-50%) translate(30px, -20px) scale(0.95);
    }
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translateY(-50%) translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50%) translate(-15px, 15px);
        opacity: 0.3;
    }
}

/* ========================================
   PAGE HEADER GRADIENT (pages secondaires)
   ======================================== */

.page-header-gradient {
    text-align: center;
    padding: 140px 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 50%, #3730A3 100%);
}

.page-header-gradient h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.page-header-gradient p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

.section-label-light {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

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

.features {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--main-light);
    color: var(--main-dark);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.section-desc {
    color: var(--text-light);
    font-size: var(--font-size-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
}

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

.feature-card .card-icon {
    width: 65px;
    height: 65px;
    background: var(--main-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.feature-card:hover .card-icon {
    background: var(--main-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

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

.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -15%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), var(--main-light));
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--main-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0 auto var(--spacing-lg);
}

.step h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-sm);
}

.step p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin: 0;
}

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

.cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    text-align: center;
}

.cta h2 {
    font-size: var(--font-size-4xl);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--white);
    font-weight: 500;
}

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

.footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    background: #1a1a2e;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    margin: var(--spacing-sm) 0 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    margin: 0;
}

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

@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        max-width: none;
    }

    .hero-visual {
        display: none;
    }

    .hero-notif {
        display: none;
    }

    .deco-circle {
        display: none;
    }

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

    .hero-trial-note {
        justify-content: center;
    }

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

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

    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: var(--spacing-md) 0;
    }

    .navbar .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-buttons {
        gap: var(--spacing-sm);
    }

    .navbar .btn-ghost {
        padding: 8px 14px;
        font-size: var(--font-size-sm);
    }

    .navbar .btn-white-outline {
        padding: 10px 20px;
        font-size: var(--font-size-sm);
    }

    .hero {
        padding-top: 140px;
    }

    .page-header-gradient {
        padding-top: 120px;
        padding-bottom: var(--spacing-2xl);
    }

    .page-header-gradient h1 {
        font-size: var(--font-size-2xl);
    }

    .page-header-gradient p {
        font-size: var(--font-size-base);
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-trial-note {
        gap: var(--spacing-sm);
    }

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

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

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .cta h2 {
        font-size: var(--font-size-2xl);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
