/* Clean & Minimalist Landing Page - Website Match */

/* Hide mobile nav/left sidebar on landing page */
.landing-page-active #left-sidebar,
.landing-page-active .sidebar-overlay,
.landing-page-active .mobile-nav-bar {
    display: none !important;
}

.landing-page-root {
    --landing-bg: var(--bg-primary);
    --landing-text: var(--text-primary);
    --landing-border: var(--border-color);
    background-color: var(--landing-bg);
    color: var(--landing-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--fontH);
}

/* Base Container */
.landing-nav-inner,
.landing-hero-inner,
.landing-features-inner,
.landing-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

/* Header - Match Website Header */
.landing-nav {
    height: 53px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(var(--bg-primary-rgb), 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
}

.landing-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-brand {
    color: var(--text-primary);
    margin: 0;
    font-size: var(--font-28);
    font-weight: 500;
    font-family: var(--fontO);
    line-height: 1.3125;
    text-decoration: none;
}

.landing-nav-links {
    display: flex;
    gap: 25px;
}

.landing-nav-link {
    color: var(--text-secondary);
    font-size: var(--font-15);
    font-weight: 400;
    line-height: 1.3125;
    padding: 14px 0;
    border: none;
    border-radius: 0;
    white-space: nowrap;
    transition: color 0.2s;
    text-decoration: none;
    display: block;
    flex-shrink: 0;
    box-sizing: border-box;
    position: relative;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.landing-nav-link:hover {
    color: var(--primary-color);
}

.landing-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.landing-login-btn {
    color: var(--text-primary);
    font-size: var(--font-15);
    font-weight: 500;
    line-height: 1.3125;
    border: none;
    text-decoration: none;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.landing-get-started {
    background-color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: var(--font-15);
    font-weight: 400;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: white;
}

.landing-get-started:hover {
    opacity: 0.9;
}

/* Hero Section - Clean & Typographic */
.landing-hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Ensure hero content is above decorations */
.landing-hero-inner {
    position: relative;
    z-index: 2;
}

.landing-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.hero-text-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

.hero-text-content p {
    color: var(--text-secondary);
    font-size: var(--font-18);
    max-width: 520px;
    margin-bottom: 40px;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.3;
    font-weight: 400;
}

.hero-cta-btn {
    background-color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: var(--font-15);
    font-weight: 400;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: white;
}

.hero-cta-btn:hover {
    transform: scale(1.02);
}

.hero-visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* New Multi-Icon Hero Styles */
.hero-icons-wrapper {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.hero-icon-item {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: var(--bg-secondary, #f5f5f5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-icon-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(var(--primary-color-rgb, 16, 131, 252), 0.2);
}

.hero-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 16, 131, 252), 0.1), rgba(var(--primary-color-rgb, 16, 131, 252), 0.05));
    z-index: 0;
}

.hero-feature-icon {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 12px rgba(var(--primary-color-rgb, 16, 131, 252), 0.3));
}

/* Generic floating animation keyframes */
@keyframes floatingIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Legacy styles kept for backwards compatibility */
.bolt-illustration-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bolt-bg-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Center Logo */
.hero-center-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.latestor-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.landing-bolt-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 10px 30px rgba(var(--primary-color-rgb), 0.25));
}

/* Multi-icons scattered on circles */
.hero-multi-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb, 16, 131, 252), 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-icon:hover {
    background: rgba(var(--primary-color-rgb, 16, 131, 252), 0.25);
    transform: scale(1.15);
}

/* Position icons at different spots */
.hero-icon.floating-delay-1 {
    /* Bolt - Top center */
    top: 30px;
    left: 50%;
    margin-left: -45px;
    /* Half of width for centering */
    animation: floatTopCenter 4s ease-in-out infinite;
}

.hero-icon.floating-delay-2 {
    /* Post - Bottom left */
    bottom: 50px;
    left: 40px;
    animation: floatBottomLeft 4s ease-in-out infinite 0.5s;
}

.hero-icon.floating-delay-3 {
    /* Puzzle - Right side middle */
    top: 50%;
    right: 20px;
    margin-top: -45px;
    /* Half of height for centering */
    animation: floatRightMiddle 4s ease-in-out infinite 1s;
}

/* Specific animations for each positioned icon */
@keyframes floatTopCenter {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatBottomLeft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatRightMiddle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Override hover transform for positioned icons */
.hero-icon.floating-delay-1:hover {
    animation-play-state: paused;
    transform: scale(1.15);
}

.hero-icon.floating-delay-2:hover {
    animation-play-state: paused;
    transform: scale(1.15);
}

.hero-icon.floating-delay-3:hover {
    animation-play-state: paused;
    transform: scale(1.15);
}

.floating-m-svg {
    animation: floatingIcon 6s ease-in-out infinite;
}

/* Features - Minimal & Clean */
.landing-features-simple {
    padding: 80px 0;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* ===== Features Section Vector Arts ===== */
.features-vector-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.features-vector-decorations svg {
    position: absolute;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Underline Swoosh */
.vector-underline {
    width: 150px;
    height: 20px;
    bottom: 30%;
    left: 8%;
    animation: swooshWave 4s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes swooshWave {

    0%,
    100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(1.1);
    }
}

/* Plus Signs */
.vector-plus {
    animation: plusRotate 6s linear infinite;
}

.plus-1 {
    width: 28px;
    height: 28px;
    top: 15%;
    right: 12%;
}

.plus-2 {
    width: 20px;
    height: 20px;
    bottom: 20%;
    right: 25%;
    animation-delay: 1s;
}

@keyframes plusRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Curved Line */
.vector-curve {
    width: 200px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* Small Stars in Features */
.vector-star {
    animation: starTwinkle 2s ease-in-out infinite;
}

.star-f1 {
    width: 22px;
    height: 22px;
    top: 20%;
    left: 5%;
}

.star-f2 {
    width: 16px;
    height: 16px;
    bottom: 15%;
    left: 30%;
    animation-delay: 0.5s;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

/* Scribble Circle */
.vector-scribble-circle {
    width: 50px;
    height: 50px;
    top: 25%;
    right: 5%;
    animation: spinSlow 15s linear infinite;
}

/* Arrow Right */
.vector-arrow-right {
    width: 70px;
    height: 25px;
    bottom: 35%;
    right: 8%;
    animation: arrowSlide 3s ease-in-out infinite;
}

@keyframes arrowSlide {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }
}

.landing-features-inner {
    position: relative;
    z-index: 1;
}

.landing-features-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.landing-feature-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-number {
    font-size: var(--font-13);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-info h3 {
    font-size: var(--font-20);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.feature-info p {
    font-size: var(--font-15);
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Footer - Simple */
.landing-footer-simple {
    padding: 17px 0;
    border-top: 1px solid var(--landing-border);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* ===== Footer Vector Arts ===== */
.footer-vector-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-vector-decorations svg {
    position: absolute;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.footer-sparkle {
    width: 16px;
    height: 16px;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    animation: starTwinkle 2s ease-in-out infinite;
}

.footer-wave {
    width: 80px;
    height: 12px;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    animation: waveMove 4s ease-in-out infinite;
}

@keyframes waveMove {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

.footer-arrow-up {
    width: 18px;
    height: 28px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: arrowBob 2s ease-in-out infinite;
}

@keyframes arrowBob {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 4px));
    }
}

.landing-footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--font-13);
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.footer-links-inline {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text-content p {
        margin: 0 auto 40px;
        font-size: var(--font-16);
    }

    .landing-features-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-visual-content {
        display: none;
    }

    .hero-cta-btn {
        padding: 6px 16px;
    }

    /* Vector arts - smaller on tablet */
    .vector-decorations {
        opacity: 0.6;
    }

    .vector-arrow-1 {
        width: 80px;
        height: 55px;
    }

    .vector-cursor {
        display: none;
    }

    .cta-arrow {
        display: none;
    }

    /* Features and footer vector arts - reduced on tablet */
    .features-vector-decorations,
    .footer-vector-decorations {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    main {
        margin-bottom: 0;
    }

    .hero-text-content h1 {
        font-size: 2.8rem;
    }

    .landing-nav-links {
        display: none;
    }

    .landing-brand {
        font-size: var(--font-26);
    }

    .landing-get-started {
        font-size: var(--font-13);
        font-weight: 500;
        padding: 6px 12px;
    }

    .landing-nav {
        border-bottom: 1px solid var(--landing-border);
        height: 50px;
    }

    .landing-footer-inner {
        flex-direction: column-reverse;
        /* Copyright at bottom? Or Column? usually copyright at bottom if stacked */
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-links-inline {
        gap: 15px;
        justify-content: center;
    }

    .landing-features-simple,
    .landing-hero-section {
        padding: 40px 0;
    }

    /* Hide vector arts on mobile for cleaner look */
    .vector-decorations {
        display: none;
    }

    .cta-arrow {
        display: none;
    }

    /* Hide all vector decorations on mobile */
    .features-vector-decorations,
    .footer-vector-decorations {
        display: none;
    }
}