/* CSS Variables - Clean Light/Corporate Red scheme based on Dashboard Theme */
:root {
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --bg-light: #F4F5FA;
    /* From theme-default */
    --text-primary: #544F5A;
    /* From theme-default */
    --text-heading: #3A3541;
    --text-muted: #89868D;

    --brand-red: #D01C1C;
    /* Main Action color extracted from theme-default.css */
    --brand-red-light: #F9E4E4;
    --brand-red-dark: #A81515;

    --border-color: rgba(58, 53, 65, 0.12);
    --border-light: rgba(58, 53, 65, 0.05);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --shadow-soft: 0 4px 18px 0 rgba(58, 53, 65, 0.05);
    --shadow-hover: 0 10px 30px 0 rgba(58, 53, 65, 0.1);
}

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

::selection {
    background: var(--brand-red-light);
    color: var(--brand-red);
}

html {
    scroll-behavior: smooth;
}

body.light-clean {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Options */
h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.highlight-red {
    color: var(--brand-red);
}

a {
    text-decoration: none;
    color: var(--brand-red);
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn-primary-solid {
    background: linear-gradient(270deg, var(--brand-red), #e68787);
    /* Extracted from primary active state in dashboard */
    color: var(--white);
    border: none;
    box-shadow: 0 4px 10px rgba(208, 28, 28, 0.2);
}

.btn-primary-solid:hover {
    box-shadow: 0 6px 15px rgba(208, 28, 28, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary-soft {
    background: var(--brand-red-light);
    color: var(--brand-red);
    border: none;
}

.btn-primary-soft:hover {
    background: var(--brand-red);
    color: var(--white);
}

.btn-secondary-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-heading);
}

.btn-secondary-outline:hover {
    border-color: var(--text-muted);
    background: rgba(58, 53, 65, 0.02);
}

.btn-primary-outline {
    background: transparent;
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
}

.btn-primary-outline:hover {
    background: var(--brand-red);
    color: var(--white);
}

/* Cards & Layout */
.white-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.bg-red-light {
    background: var(--brand-red-light);
    color: var(--brand-red);
}

.block {
    width: 100%;
    display: block;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Navigation */
.clean-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-heading);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--brand-red);
}

/* Hero Section */
.hero-clean {
    padding: 10rem 0 6rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-clean::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(208, 28, 28, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-red);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.badge-soft {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--brand-red-light);
    color: var(--brand-red);
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.trusted-brands p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Avatar Group */
.avatar-group {
    display: flex;
    list-style: none;
    margin-top: 0.5rem;
}

.avatar-group li {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.avatar-group li:first-child {
    margin-left: 0;
}

.avatar-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: var(--brand-red) !important;
}

/* Floating Cards */
.hero-visual {
    position: relative;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-red-light) 0%, transparent 60%);
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.8;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(58, 53, 65, 0.15);
    z-index: 10;
    border: 1px solid var(--border-light);
}

.verified-card {
    top: -30px;
    right: -40px;
    animation: float 6s ease-in-out infinite;
}

.alert-card {
    bottom: 20px;
    left: -50px;
    animation: float-reverse 7s ease-in-out infinite;
}

.verified-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E6F4EA;
    color: #1E8E3E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-red-light);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.verified-text strong,
.alert-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-heading);
}

.verified-text span,
.alert-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes float-reverse {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(15px);
    }

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

/* Dashboard Desktop Mockup */
.app-dashboard-preview {
    background: var(--white);
    border-radius: 20px;
    box-shadow:
        0 40px 80px -20px rgba(208, 28, 28, 0.1),
        0 25px 50px -12px rgba(58, 53, 65, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-light);
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.app-dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-10px);
}

.preview-header {
    height: 60px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: space-between;
    background: #ffffff;
}

.circles {
    display: flex;
    gap: 8px;
}

.circles i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E2E8F0;
}

.circles i:nth-child(1) {
    background: #FF5F56;
}

.circles i:nth-child(2) {
    background: #FFBD2E;
}

.circles i:nth-child(3) {
    background: #27C93F;
}

.search-bar {
    width: 350px;
    padding: 0.6rem 1.2rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.search-bar:hover {
    border-color: var(--border-light);
    background: #ffffff;
}

.header-profile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E2E8F0;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preview-body {
    display: flex;
    flex-grow: 1;
}

.sidebar {
    width: 80px;
    border-right: 1px solid var(--border-light);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    gap: 1.5rem;
}

.nav-item {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-light);
    transition: background 0.3s;
}

.nav-item.active {
    background: var(--brand-red-light);
    box-shadow: inset 2px 0 0 0 var(--brand-red);
}

.main-content {
    flex-grow: 1;
    background: #FAFAFA;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

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

.stat-box {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.text-red {
    color: var(--brand-red);
}

.stat-chart {
    height: 3px;
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 3px;
}

.chart-up {
    background: linear-gradient(90deg, #E6F4EA, #1E8E3E);
}

.chart-neutral {
    background: linear-gradient(90deg, #E2E8F0, #94A3B8);
}

.chart-down {
    background: linear-gradient(90deg, var(--brand-red-light), var(--brand-red));
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 1.5rem;
    flex-grow: 1;
    margin-top: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.card-map {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.map-bg {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 15px 15px;
    position: relative;
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.pin-1 {
    top: 40%;
    left: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(208, 28, 28, 0.2);
}

.pin-2 {
    top: 60%;
    left: 30%;
    background: #64748B;
}

.pin-3 {
    top: 30%;
    left: 70%;
    background: #64748B;
}

.card-list {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.list-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.item-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    flex-shrink: 0;
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-line1 {
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
}

.item-line2 {
    height: 6px;
    background: #F1F5F9;
    border-radius: 3px;
}

.w-90 {
    width: 90%;
}

.w-70 {
    width: 70%;
}

.w-60 {
    width: 60%;
}

.w-50 {
    width: 50%;
}

.w-40 {
    width: 40%;
}

.w-30 {
    width: 30%;
}

/* Problem/Features Section */
.features-soft {
    width: 100%;
    padding: 5rem 2rem;
    background-color: #f4f6f9;
    /* Distinct contrast grey background */
    /* Bold tech 'Plus' pattern to fill the whitespace */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231f2937' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    z-index: 1;
}

.features-soft::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.features-soft::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(58, 53, 65, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Keep cards above background effects */
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: feature-card-counter;
}

.feature-card {
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    counter-increment: feature-card-counter;
    content: "0" counter(feature-card-counter);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Caveat', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(220, 38, 38, 0.06);
    z-index: -1;
    pointer-events: none;
    transform: rotate(8deg);
    transition: color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--brand-red-light);
}

.feature-card:hover::before {
    color: rgba(220, 38, 38, 0.12);
    transform: rotate(0deg) scale(1.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--brand-red);
    background: radial-gradient(circle at top left, var(--brand-red-light), transparent);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.clean-grid h3 {
    color: var(--text-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.clean-grid p {
    color: var(--text-primary);
    /* Darker gray for better contrast */
    font-size: 0.9rem;
    /* Slightly larger for easier reading */
    line-height: 1.55;
}

/* Solutions/Steps Wrapper */
.how-it-works-clean {
    background: var(--white);
    padding: 8rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.solutions-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.solutions-content h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.steps-list {
    list-style: none;
}

.steps-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    background: var(--brand-red-light);
    color: var(--brand-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.step-text {
    color: var(--text-primary);
}

/* Animated Scanner Video Placeholder */
.video-mockup-container {
    position: absolute;
    right: -45%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 570px;
    /* 16:9 vertical ratio roughly */
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.15);
}

.generated-scanner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    /* Will help blend any solid white/light grey video backgrounds seamlessly */
}

/* Mobile App Mockup */
.mobile-app-mockup {
    width: 300px;
    height: 600px;
    background: var(--white);
    border: 12px solid #E2E8F0;
    border-radius: 40px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(58, 53, 65, 0.15);
    position: relative;
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-bar {
    width: 50%;
    height: 20px;
    background: #E2E8F0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 0 auto 2rem;
}

.app-header {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 3rem;
}

.app-scanner {
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(208, 28, 28, 0.3);
    border-radius: 20px;
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--brand-red);
}

.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 18px;
}

.top-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 18px;
}

.bottom-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 18px;
}

.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 18px;
}

/* QR Code & Laser Details */
.qr-simulation {
    width: 130px;
    height: 130px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231f2937' d='M0 0h30v30H0zm5 5h20v20H5zM10 10h10v10H10zM70 0h30v30H70zm5 5h20v20H75zM80 10h10v10H80zM0 70h30v30H0zm5 5h20v20H5zM10 80h10v10H10zM40 10h20v10H40zM10 40h10v20H10zM30 40h10v10H30zM50 30h20v10H50zM40 50h10v10H40zM60 50h30v10H60zM40 70h20v10H40zM10 40h10v20H10zM80 40h10v20H80zM70 70h20v10H70zM80 80h10v20H80zM60 80h10v20H60zM30 80h20v10H30zM50 90h10v10H50z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.qr-logo {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: white;
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.scan-laser {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--brand-red);
    box-shadow: 0 0 12px 2px var(--brand-red);
    top: 0;
    left: 0;
    z-index: 5;
    animation: scanner-laser 1.8s infinite linear alternate;
}

@keyframes scanner-laser {
    0% {
        top: 5%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        top: 95%;
        opacity: 0;
    }
}

/* Facial Recognition Details */
.facial-scanner {
    width: 200px;
    height: 240px;
    border: 2px solid rgba(208, 28, 28, 0.1);
    border-radius: 60px;
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(208, 28, 28, 0.02) 0%, rgba(208, 28, 28, 0.08) 100%);
}

.face-outline {
    width: 120px;
    height: 150px;
    position: relative;
}

.face-svg {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    color: var(--brand-red);
}

.face-laser {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--brand-red);
    box-shadow: 0 0 10px 2px rgba(208, 28, 28, 0.5);
    top: 50%;
    left: 0;
    z-index: 5;
    animation: face-scan-move 1.5s infinite ease-in-out alternate;
}

@keyframes face-scan-move {
    0% {
        top: 10%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

.face-points span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--brand-red);
    border-radius: 50%;
    animation: pulse-point 1.5s infinite;
}

.pt-1 {
    top: 35%;
    left: 30%;
}

.pt-2 {
    top: 35%;
    right: 30%;
}

.pt-3 {
    top: 55%;
    left: 47%;
    animation-delay: 0.2s;
}

.pt-4 {
    bottom: 20%;
    left: 47%;
    animation-delay: 0.4s;
}

@keyframes pulse-point {

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

    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 6px var(--brand-red);
    }
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 600;
}

.auth-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #E2E8F0;
    border-top-color: var(--brand-red);
    border-radius: 50%;
    animation: auth-spin 1s infinite linear;
}

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

/* SOS Panic Button Simulation */
.sos-container {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.sos-btn {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #e11d48, #be123c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.5), inset 0 5px 10px rgba(255, 255, 255, 0.3);
    z-index: 10;
    cursor: pointer;
    border: 4px solid #fecdd3;
    animation: sos-pulse 2s infinite alternate;
}

.sos-ripple {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(225, 29, 72, 0.4);
    border-radius: 50%;
    z-index: 1;
}

.pulse-1 {
    animation: ripple-expand 2s infinite linear;
}

.pulse-2 {
    animation: ripple-expand 2s infinite linear 1s;
}

@keyframes ripple-expand {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes sos-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(225, 29, 72, 0.5);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 5px 15px rgba(225, 29, 72, 0.8);
    }
}

.sos-status {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Route Navigation Details */
.route-map-container {
    width: 200px;
    height: 200px;
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.map-svg {
    width: 100%;
    height: 100%;
}

.route-path {
    fill: none;
    stroke: #CBD5E1;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 6 6;
}

.route-path-active {
    fill: none;
    stroke: var(--brand-red);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-path 3s infinite linear;
}

@keyframes draw-path {
    0% {
        stroke-dashoffset: 200;
    }

    70%,
    100% {
        stroke-dashoffset: 0;
    }
}

.cp-done {
    fill: #22C55E;
}

.cp-active {
    fill: var(--brand-red);
}

.cp-pending {
    fill: #94A3B8;
}

.loc-pulse {
    fill: rgba(220, 38, 38, 0.4);
    transform-origin: 70px 20px;
    animation: loc-pulse-anim 1.5s infinite alternate;
}

@keyframes loc-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.route-status {
    width: 100%;
    display: flex;
    justify-content: center;
}

.route-badge {
    background: #F1F5F9;
    color: var(--text-heading);
    border: 1px solid #E2E8F0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.app-btn {
    width: 80%;
    padding: 1rem;
    text-align: center;
    background: var(--brand-red);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.btn-dark {
    background: var(--text-heading);
}

/* 4-Image Slider Track */
.app-slider {
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    padding-top: 1rem;
}

.app-slide-track {
    display: flex;
    width: 400%;
    /* 4 slides */
    height: 100%;
    animation: phone-slider 16s ease-in-out infinite;
}

.app-slide {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

/* Keyframe for 4 screens (0%, 25%, 50%, 75% logic for display) */
@keyframes phone-slider {

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

    25%,
    45% {
        transform: translateX(-25%);
    }

    50%,
    70% {
        transform: translateX(-50%);
    }

    75%,
    95% {
        transform: translateX(-75%);
    }

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

/* Dot Navigation indicators */
.app-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
    justify-content: center;
    width: 100%;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: #CBD5E1;
    border-radius: 50%;
    display: inline-block;
    animation: dot-active 16s infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: -12s;
}

.dot:nth-child(3) {
    animation-delay: -8s;
}

.dot:nth-child(4) {
    animation-delay: -4s;
}

@keyframes dot-active {

    0%,
    20% {
        background: var(--brand-red);
        transform: scale(1.3);
    }

    25%,
    100% {
        background: #CBD5E1;
        transform: scale(1);
    }
}

/* Mockup UI Elements */
.mock-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    border-left: 3px solid var(--brand-red);
}

.mock-fade {
    border-left: 3px solid #CBD5E1;
    opacity: 0.6;
}

.mock-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.mock-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mock-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-active {
    background: #DCFCE7;
    color: #166534;
}

.mock-form {
    width: 100%;
    margin-bottom: 1.5rem;
}

.mock-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: white;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.mock-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: white;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
    height: 80px;
}

.mock-photo-box {
    width: 100%;
    height: 80px;
    border: 2px dashed #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--brand-red);
    font-weight: 600;
    cursor: pointer;
}

.mock-feed {
    width: 100%;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dotted #E2E8F0;
}

.feed-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bg-green {
    background: #22C55E;
}

.bg-red {
    background: var(--brand-red);
}

.bg-blue {
    background: #3B82F6;
}

.feed-text {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
}


/* Pricing Grid */
.pricing-clean {
    max-width: var(--container);
    margin: 8rem auto;
    padding: 0 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-primary);
    margin-bottom: 2rem;
    min-height: 48px;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.features-list li {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

/* Custom Stylized Checkmark for bullet points */
.features-list li::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D01C1C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Modifier class to remove checkmark for headers internally */
.features-list li.no-check::before {
    display: none;
}

.main-tier {
    position: relative;
    border: 2px solid var(--brand-red);
    box-shadow: 0 20px 40px rgba(208, 28, 28, 0.08);
}

.main-tier:hover {
    box-shadow: 0 25px 50px rgba(208, 28, 28, 0.12);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Contact / Action Area */
.cta-clean {
    max-width: 800px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.cta-container {
    text-align: center;
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-form form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.full-width {
    grid-column: 1 / -1;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-light);
    color: var(--text-heading);
    box-sizing: border-box;
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--brand-red);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--brand-red-light);
}

/* Footer */
.clean-footer {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-container,
    .solutions-container,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-container {
        text-align: center;
        padding-top: 4rem;
    }

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

    .solutions-image {
        order: -1;
    }
}

@media (max-width: 768px) {

    .clean-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

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

    .logo-group {
        justify-content: center;
    }

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