/* Extracted from resources/views\pages\landing.blade.php. Keep page-specific styles centralized here. */
:root {
            --ink: #0f1c1b;
            --ink-soft: #1f2e2d;
            --slate: #4b5c5a;
            --muted: #6b7b78;
            --surface: #f7f4ee;
            --surface-2: #fffdf8;
            --accent: #f28c28;
            --accent-2: #12b5a5;
            --accent-3: #0a6b6b;
            --shadow: 0 20px 60px rgba(15, 28, 27, 0.12);
            --shadow-soft: 0 12px 30px rgba(15, 28, 27, 0.08);
            --radius-xl: 28px;
            --radius-lg: 18px;
            --radius-md: 12px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
        }

        body {
            margin: 0;
            font-family: 'DM Sans', system-ui, sans-serif;
            color: var(--ink);
            background: var(--theme-bg);
            overflow-x: hidden;
        }

        @supports (overflow-x: clip) {
            html,
            body {
                overflow-x: clip;
            }
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Sora', system-ui, sans-serif;
            color: var(--ink);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            max-width: 1180px;
        }

        .navbar {
            position: sticky;
            top: 0;
            z-index: 999;
            min-height: 68px;
            background: rgba(var(--theme-surface-rgb), 0.92);
            -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--theme-border);
            box-shadow: 0 4px 20px rgba(15, 28, 27, .04);
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            letter-spacing: 0.5px;
        }

        .navbar-brand img {
            width: 34px;
            height: 34px;
            object-fit: contain;
        }

        .landing-navbar-actions {
            align-items: center;
            display: flex;
            flex: 0 0 auto;
            gap: .15rem;
            margin-inline-start: .4rem;
            order: 2;
        }

        .navbar-collapse {
            order: 1;
        }

        .landing-navbar-actions .theme-toggle--public,
        .landing-navbar-actions .language-selector--public {
            align-self: center;
            margin: 0;
        }

        .nav-link {
            color: var(--ink-soft);
            font-weight: 600;
            margin-inline-end: 16px;
        }

        .nav-link:hover {
            color: var(--accent-3);
        }

        .navbar .dropdown-menu {
            min-width: 210px;
            padding: 8px;
            border: 1px solid var(--theme-border);
            border-radius: var(--radius-md);
            background: var(--surface-2);
            box-shadow: var(--shadow-soft);
        }

        .navbar .dropdown-item {
            padding: 10px 12px;
            border-radius: 8px;
            color: var(--ink-soft);
            font-weight: 600;
        }

        .navbar .dropdown-item:hover,
        .navbar .dropdown-item:focus {
            color: var(--accent-3);
            background: rgba(18, 181, 165, 0.1);
        }

        .navbar-toggler {
            border: 1px solid var(--theme-border-strong);
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 28, 27, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        .navbar .btn-main {
            gap: 8px;
            padding: 10px 20px;
        }

        .btn-main {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 28px;
            border-radius: 999px;
            font-weight: 700;
            border: none;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .btn-accent {
            --bs-btn-color: #ffffff;
            --bs-btn-bg: var(--theme-action);
            --bs-btn-border-color: var(--theme-action);
            --bs-btn-hover-color: #ffffff;
            --bs-btn-hover-bg: var(--theme-action-hover);
            --bs-btn-hover-border-color: var(--theme-action-hover);
            --bs-btn-active-color: #ffffff;
            --bs-btn-active-bg: var(--theme-action-hover);
            --bs-btn-active-border-color: var(--theme-action-hover);
            --bs-btn-disabled-color: #ffffff;
            --bs-btn-disabled-bg: var(--theme-action);
            --bs-btn-disabled-border-color: var(--theme-action);
            background: var(--theme-action);
            color: #ffffff;
            box-shadow: 0 18px 35px rgba(var(--theme-action-rgb), 0.25);
        }

        .btn-accent:hover,
        .btn-accent:focus-visible {
            background: var(--theme-action-hover);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 22px 45px rgba(var(--theme-action-rgb), 0.3);
        }

        .btn-accent:focus-visible,
        .btn-ghost:focus-visible {
            outline: 3px solid rgba(var(--theme-action-rgb), .35);
            outline-offset: 2px;
        }

        .btn-accent:active {
            background: var(--theme-action-hover);
            color: #ffffff;
            transform: translateY(0);
        }

        .btn-ghost {
            --bs-btn-color: var(--ink);
            --bs-btn-bg: var(--surface-2);
            --bs-btn-border-color: var(--theme-border-strong);
            --bs-btn-hover-color: var(--theme-text);
            --bs-btn-hover-bg: var(--theme-surface-hover);
            --bs-btn-hover-border-color: var(--theme-action);
            --bs-btn-active-color: var(--theme-text);
            --bs-btn-active-bg: var(--theme-surface-hover);
            --bs-btn-active-border-color: var(--theme-action);
            border: 1px solid var(--theme-border-strong);
            background: var(--surface-2);
            color: var(--ink);
        }

        .btn-ghost:hover,
        .btn-ghost:focus-visible {
            background: var(--theme-surface-hover);
            border-color: var(--theme-action);
            color: var(--theme-text);
            transform: translateY(-2px);
            box-shadow: var(--shadow-soft);
        }

        .btn-ghost:active {
            background: var(--theme-surface-hover);
            border-color: var(--theme-action);
            color: var(--theme-text);
            transform: translateY(0);
        }

        .hero {
            padding: 110px 0 90px;
            position: relative;
        }

        .hero::before,
        .hero::after {
            content: "";
            position: absolute;
            width: 340px;
            height: 340px;
            border-radius: 50%;
            display: none;
            z-index: 0;
        }

        .hero::before {
            top: -80px;
            left: -120px;
        }

        .hero::after {
            bottom: -140px;
            right: -80px;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 48px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 16px;
            border-radius: 999px;
            background: rgba(18, 181, 165, 0.15);
            color: var(--accent-3);
            font-weight: 700;
            margin-bottom: 18px;
        }

        .hero-title {
            font-size: clamp(2.6rem, 4vw, 4.2rem);
            line-height: 1.05;
            font-weight: 800;
            margin-bottom: 18px;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .hero-short {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--ink-soft);
            margin-bottom: 14px;
        }

        .hero-lead {
            font-size: 1.05rem;
            color: var(--muted);
            line-height: 1.7;
            margin-bottom: 28px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            align-items: center;
        }

        .hero-proof {
            align-items: center;
            color: var(--slate);
            display: flex;
            flex-wrap: wrap;
            font-size: .88rem;
            font-weight: 600;
            gap: .6rem 1.1rem;
            margin-top: 1.25rem;
        }

        .hero-proof i {
            color: var(--accent-2);
            margin-inline-end: .3rem;
        }

        .play-badge {
            display: inline-flex;
            align-items: center;
        }

        .google-play-badge {
            display: inline-block;
            height: 70px;
            max-width: 100%;
            width: auto;
        }

        .hero-visual {
            position: relative;
        }

        .hero-visual-card {
            border-radius: var(--radius-xl);
            overflow: hidden;
            background: #1b2a28;
            box-shadow: var(--shadow);
        }

        .hero-visual-card img {
            width: 100%;
            height: auto;
            display: block;
        }

        .floating-card {
            position: absolute;
            bottom: -22px;
            left: 24px;
            background: var(--surface-2);
            border-radius: 16px;
            padding: 12px 16px;
            box-shadow: var(--shadow-soft);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
        }

        .floating-card i {
            color: var(--accent);
        }

        .capability-strip {
            position: relative;
            z-index: 2;
        }

        .capability-grid {
            background: rgba(var(--theme-surface-rgb), .88);
            border: 1px solid var(--theme-border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            overflow: hidden;
        }

        .capability-item {
            align-items: center;
            color: var(--slate);
            display: flex;
            gap: .75rem;
            min-width: 0;
            padding: 1.15rem 1.25rem;
        }

        .capability-item + .capability-item {
            border-inline-start: 1px solid var(--theme-border);
        }

        .capability-item i {
            align-items: center;
            background: rgba(18, 181, 165, .11);
            border-radius: 10px;
            color: var(--accent-3);
            display: flex;
            flex: 0 0 38px;
            height: 38px;
            justify-content: center;
        }

        .capability-item span {
            font-size: .9rem;
            line-height: 1.35;
        }

        section {
            padding: 90px 0;
        }

        section[id] {
            scroll-margin-top: 80px;
        }

        .section-head {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 48px;
        }

        .section-head h2 {
            font-size: clamp(2rem, 3vw, 2.8rem);
            font-weight: 800;
            margin-bottom: 16px;
            overflow-wrap: break-word;
        }

        .section-head p {
            color: var(--muted);
            font-size: 1.05rem;
            line-height: 1.7;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
        }

        .feature-card {
            background: var(--surface-2);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: var(--shadow-soft);
            border: 1px solid var(--theme-border);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow);
        }

        .feature-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: rgba(18, 181, 165, 0.12);
            display: grid;
            place-items: center;
            color: var(--accent-3);
            font-size: 1.4rem;
            margin-bottom: 16px;
        }

        .feature-card h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .feature-card p {
            color: var(--muted);
            line-height: 1.6;
        }

        .api-card-label {
            display: inline-block;
            margin-bottom: 8px;
            color: var(--accent-3);
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .api-card-note {
            padding-top: 14px;
            border-top: 1px solid var(--theme-border);
            font-size: 0.95rem;
        }

        .split {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 32px;
            align-items: center;
        }

        .panel-card {
            background: var(--theme-welcome-background);
            border-radius: var(--radius-xl);
            padding: 32px;
            border: 1px solid var(--theme-border);
        }

        .panel-card h3 {
            font-size: 1.6rem;
            margin-bottom: 12px;
        }

        .panel-card p {
            color: var(--muted);
            line-height: 1.7;
        }

        .pill-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .pill {
            padding: 10px 16px;
            border-radius: 999px;
            background: var(--surface-2);
            border: 1px solid var(--theme-border);
            font-weight: 600;
            color: var(--ink-soft);
        }

        .tunnel-pill {
            align-items: center;
            display: inline-flex;
            gap: 9px;
        }

        .tunnel-pill img {
            flex: 0 0 20px;
            height: 20px;
            object-fit: contain;
            width: 20px;
        }

        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }

        .step-card {
            background: var(--surface-2);
            border-radius: var(--radius-lg);
            padding: 24px;
            border: 1px solid var(--theme-border);
            box-shadow: var(--shadow-soft);
        }

        .step-index {
            width: 42px;
            height: 42px;
            border-radius: 14px;
            display: grid;
            place-items: center;
            background: rgba(242, 140, 40, 0.2);
            font-weight: 800;
            margin-bottom: 14px;
        }

        .shot-grid {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding: 8px 6px 18px;
            scroll-padding-inline: 6px;
            scroll-snap-type: x mandatory;
            scrollbar-width: thin;
            scrollbar-color: rgba(15, 28, 27, 0.35) transparent;
            scroll-behavior: smooth;
            overscroll-behavior-inline: contain;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-x;
            cursor: grab;
            user-select: none;
        }

        .shot-grid.dragging {
            cursor: grabbing;
            scroll-snap-type: none;
        }

        .shot-wrap {
            position: relative;
        }

        .shot-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--theme-border-strong);
            background: rgba(var(--theme-surface-rgb), 0.95);
            box-shadow: var(--shadow-soft);
            display: grid;
            place-items: center;
            color: var(--ink);
            z-index: 2;
        }

        .shot-nav:hover {
            transform: translateY(-50%) scale(1.05);
        }

        .shot-prev {
            left: -10px;
        }

        .shot-next {
            right: -10px;
        }

        .shot-grid::-webkit-scrollbar {
            height: 8px;
        }

        .shot-grid::-webkit-scrollbar-thumb {
            background: var(--theme-border-strong);
            border-radius: 999px;
        }

        .shot-grid::-webkit-scrollbar-track {
            background: var(--theme-border);
            border-radius: 999px;
        }

        .shot {
            padding: 0;
            border-radius: 22px;
            overflow: hidden;
            background: #101b1a;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.12);
            flex: 0 0 210px;
            scroll-snap-align: start;
            scroll-snap-stop: normal;
            cursor: zoom-in;
            text-align: left;
        }

        .shot:focus-visible {
            outline: 3px solid var(--accent-2);
            outline-offset: 4px;
        }

        .shot img {
            width: 100%;
            height: auto;
            display: block;
            pointer-events: none;
            user-select: none;
            -webkit-user-drag: none;
        }

        .shot-viewer[hidden] {
            display: none !important;
        }

        .shot-viewer {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px 72px;
            background: rgba(7, 14, 13, 0.94);
            backdrop-filter: blur(10px);
        }

        .shot-viewer-image {
            display: block;
            height: auto;
            object-fit: contain;
            max-width: min(92vw, 620px);
            max-height: calc(100vh - 110px);
            border-radius: 18px;
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
        }

        .shot-viewer-close,
        .shot-viewer-nav {
            position: absolute;
            display: grid;
            place-items: center;
            width: 46px;
            height: 46px;
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
            font-size: 1.1rem;
        }

        .shot-viewer-close:hover,
        .shot-viewer-nav:hover,
        .shot-viewer-close:focus-visible,
        .shot-viewer-nav:focus-visible {
            background: rgba(255, 255, 255, 0.22);
        }

        .shot-viewer-close {
            top: 20px;
            right: 20px;
        }

        .shot-viewer-prev {
            left: 20px;
        }

        .shot-viewer-next {
            right: 20px;
        }

        .shot-viewer-count {
            position: absolute;
            bottom: 18px;
            left: 50%;
            transform: translateX(-50%);
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
            font-weight: 700;
        }

        .cta-section {
            background: var(--theme-welcome-background);
            border: 1px solid var(--theme-border);
            color: var(--theme-text);
            border-radius: var(--radius-xl);
            padding: 48px;
        }

        .cta-section h2,
        .cta-section p {
            color: var(--theme-text);
        }

        .cta-section p {
            opacity: 0.85;
        }

        .cta-section .btn-accent {
            background: transparent;
            border: 1px solid var(--theme-border-strong);
            box-shadow: none;
            color: var(--theme-text);
        }

        .cta-section .btn-accent:hover,
        .cta-section .btn-accent:focus {
            background: var(--theme-surface-hover);
            border-color: var(--theme-action);
            color: var(--theme-text);
        }

        .link-card {
            background: var(--surface-2);
            border-radius: var(--radius-lg);
            padding: 26px;
            border: 1px solid var(--theme-border);
            box-shadow: var(--shadow-soft);
        }

        .link-card h4 {
            margin-bottom: 8px;
        }

        .footer {
            padding: 60px 0 30px;
            color: var(--muted);
        }

        .footer a {
            color: var(--muted);
        }

        .footer a:hover {
            color: var(--accent-3);
        }

        .social-links {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
        }

        .social-link {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: var(--theme-surface-hover);
            display: grid;
            place-items: center;
            color: var(--ink);
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .social-link:hover {
            transform: translateY(-2px);
            background: var(--theme-border-strong);
        }

        .reveal {
            opacity: 0;
            transform: translateY(18px);
            animation: fadeUp 0.8s ease forwards;
        }

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Collapsed navbar (Bootstrap expand-lg breakpoint) */
        @media (max-width: 991.98px) {
            .landing-navbar-actions {
                margin-inline-start: auto;
                order: 1;
            }

            .navbar-collapse {
                background: var(--surface-2);
                border: 1px solid var(--theme-border);
                border-radius: var(--radius-md);
                box-shadow: var(--shadow-soft);
                flex-basis: 100%;
                margin-top: .75rem;
                order: 2;
                padding: .65rem;
            }

            .navbar-nav {
                align-items: stretch !important;
                padding-top: 0;
            }
            .navbar-nav .nav-link {
                border-radius: 8px;
                margin: 0;
                padding: .7rem .8rem;
            }
            .navbar-nav .nav-link:hover,
            .navbar-nav .nav-link:focus {
                background: rgba(18, 181, 165, .09);
            }
            .navbar-nav .btn-main {
                margin-top: 12px;
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 992px) {
            .hero {
                padding-top: 90px;
            }
            .floating-card {
                position: static;
                margin-top: 16px;
            }

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

            .capability-item:nth-child(3) {
                border-inline-start: 0;
                border-top: 1px solid var(--theme-border);
            }

            .capability-item:nth-child(4) {
                border-top: 1px solid var(--theme-border);
            }
        }

        @media (max-width: 768px) {
            .navbar .container {
                gap: 12px;
            }
            .navbar-brand span {
                font-size: 1rem;
            }
            .nav-link {
                margin-inline-end: 0;
            }
            .hero {
                padding: 80px 0 60px;
            }
            .hero-grid {
                gap: 32px;
            }
            .hero-title {
                font-size: 2.4rem;
            }
            .hero-short {
                font-size: 1.05rem;
            }
            .hero-lead {
                font-size: 0.98rem;
            }
            .hero-actions {
                align-items: stretch;
            }
            .hero-proof {
                align-items: flex-start;
                flex-direction: column;
            }
            .play-badge {
                width: 100%;
                justify-content: center;
            }
            .section-head {
                text-align: left;
            }
            .panel-card {
                padding: 24px;
            }
            .cta-section {
                padding: 28px;
            }
            .cta-section h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 576px) {
            .navbar {
                min-height: 62px;
            }

            .landing-navbar-actions {
                gap: 0;
            }

            .landing-navbar-actions .language-selector__button {
                min-width: 3rem;
                padding-inline: .4rem;
            }

            .landing-navbar-actions .theme-toggle--public {
                height: 2.35rem;
                min-width: 2.35rem;
                width: 2.35rem;
            }

            .landing-navbar-actions .navbar-toggler {
                padding: .28rem .45rem;
            }

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

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

            .capability-item + .capability-item,
            .capability-item:nth-child(3) {
                border-inline-start: 0;
                border-top: 1px solid var(--theme-border);
            }
            .cta-section {
                padding: 24px;
            }
            .cta-section h2 {
                font-size: 1.6rem;
            }
            .shot {
                flex-basis: 180px;
            }
            .shot-nav {
                width: 36px;
                height: 36px;
            }
            .shot-viewer {
                padding: 64px 12px 58px;
            }
            .shot-viewer-image {
                max-width: 94vw;
                max-height: calc(100vh - 130px);
            }
            .shot-viewer-nav {
                top: auto;
                bottom: 12px;
                width: 40px;
                height: 40px;
            }
            .shot-viewer-prev {
                left: 14px;
            }
            .shot-viewer-next {
                right: 14px;
            }
            .shot-prev {
                left: -4px;
            }
            .shot-next {
                right: -4px;
            }
            section {
                padding: 70px 0;
            }
            .feature-grid,
            .steps {
                gap: 16px;
            }
        }

        @media (max-width: 359.98px) {
            .navbar-brand span {
                display: none;
            }
        }

        @media (max-width: 360px) {
            .hero-title {
                font-size: 2rem;
            }
            .google-play-badge {
                height: 58px;
            }
        }

        @media (min-width: 1200px) {
            .shot {
                flex-basis: 240px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .reveal {
                animation: none;
                opacity: 1;
                transform: none;
            }
        }
