:root {
    /* Color Palette - Premium Dark Theme */
    --bg-base: #020617;
    /* Very Dark Slate */
    --bg-surface: #0f172a;
    --bg-glass: rgba(30, 41, 59, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;

    /* Accents (Derived from logo) */
    --accent-blue: #008dd5;
    /* Logo Dot */
    --accent-orange: #ff7b00;
    /* Logo POS Text Primary */
    --accent-orange-light: #ffb300;
    /* Logo Gradient Light */
    --accent-dark: #333135;
    /* Logo iMARA Text */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-light) 100%);
    --gradient-text: linear-gradient(to right, var(--accent-orange-light), var(--accent-orange));
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(255, 123, 0, 0.15) 0%, transparent 60%);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);

    /* Metrics */
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --spacing-container: clamp(1.5rem, 5vw, 4rem);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    /* Color Palette - Premium Light Theme */
    --bg-base: #f8fafc;
    /* Very Light Slate */
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;

    /* Gradients */
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(255, 123, 0, 0.08) 0%, transparent 60%);
    --navbar-blur: rgba(255, 255, 255, 0.8);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Color Utilities */
.text-blue {
    color: #3b82f6;
}

.text-green {
    color: #10b981;
}

.text-orange {
    color: #f97316;
}

.text-teal {
    color: #14b8a6;
}

.text-center {
    text-align: center;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 65ch;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
}

.btn-secondary:hover {
    color: var(--accent-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-icon:hover {
    background: rgba(128, 128, 128, 0.1);
    color: var(--accent-orange);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar.scrolled {
    background: var(--navbar-blur);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    list-style: none;
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1001;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-dropdown li a.active {
    color: var(--accent-cyan);
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: var(--gradient-glow);
    z-index: -1;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.hero-text {
    max-width: 950px;
    /* Increased from 800px to allow wider text rows */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-cyan);
    backdrop-filter: blur(10px);
}

.hero-text h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    /* Reduced max size to prevent 4-row wraps */
    line-height: 1.15;
}

.hero-text p {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmerGlow 3.5s infinite;
    pointer-events: none;
}

@keyframes shimmerGlow {
    0% {
        left: -100%;
    }

    30% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.hero-trust {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.platform-support {
    margin-top: 2rem;
    text-align: center;
    background: var(--bg-surface);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.platform-support p {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.platform-support p i {
    font-size: 1.2rem;
    vertical-align: middle;
    margin: 0 4px;
}

.platform-support .coming-soon {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.platform-support .coming-soon i {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 2px;
}

/* Visual Mockup (Glassmorphism UI Simulation) */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1060px;
    /* Slightly wider to fit both */
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.glass-mockup {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform var(--transition-smooth);
}

.window-mockup {
    width: 85%;
    position: relative;
    z-index: 1;
    transform: rotateX(5deg) scale(0.95) translateX(-5%);
}

.window-mockup:hover {
    transform: rotateX(0deg) scale(1) translateX(-5%);
}

.mobile-mockup {
    position: absolute;
    bottom: -20px;
    right: 5%;
    width: 28%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 9 / 19;
    background: #000;
    border-radius: 36px;
    border: 8px solid #1e293b;
    transform: rotateX(5deg) rotateY(-10deg) scale(0.95);
    box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.mobile-mockup:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05);
    z-index: 10;
}

[data-theme="light"] .mobile-mockup {
    border-color: #f1f5f9;
}

.mockup-header {
    height: 48px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.mockup-header.mobile {
    height: 32px;
    padding: 0 1rem;
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.status-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
}

.status-bar .icons {
    display: flex;
    gap: 4px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
}

.dots span:nth-child(1) {
    background: #ef4444;
}

.dots span:nth-child(2) {
    background: #f59e0b;
}

.dots span:nth-child(3) {
    background: #10b981;
}

.url {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 20px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mockup-body {
    padding: 20px;
}

/* Desktop Slider Styling */
.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.mobile-mockup .mockup-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    border-radius: 28px;
    display: flex;
    position: relative;
    background: #111;
}

.mobile-mockup .mockup-body .mobile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: inherit;
}

/* Dashboard Simulation */
.dashboard-sim {
    display: flex;
    gap: 20px;
    height: 100%;
}

.sim-sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-nav-item {
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sim-nav-item.active {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.sim-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sim-header {
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sim-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sim-stat-card {
    height: 100px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
}

.sim-chart {
    flex: 1;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--border-glass);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.fe-1 {
    top: 10%;
    left: -10px;
    animation-delay: 0s;
    color: var(--color-blue);
}

.fe-2 {
    bottom: -10px;
    right: 35%;
    animation-delay: 2s;
    color: var(--color-teal);
    z-index: 20;
}

.fe-3 {
    top: 40%;
    right: -20px;
    animation-delay: 4s;
    color: var(--color-orange);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Integrations Strip */
.integrations-strip {
    padding: 3rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

.trust-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin: 0 auto 2rem auto;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    max-width: none;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface), transparent);
}

.logo-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    min-width: 100%;
    flex-shrink: 0;
    padding-right: 4rem;
    /* Match gap so the jump is seamless */
    opacity: 0.7;
    filter: grayscale(100%);
    animation: scroll 20s linear infinite;
    transition: filter var(--transition-smooth), opacity var(--transition-smooth);
}

.logo-track:hover {
    opacity: 1;
    filter: grayscale(0%);
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.integration-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.integration-logo i {
    font-size: 2rem;
    color: var(--accent-blue);
}

/* Typing Effect */
.typing-container::after {
    content: '|';
    color: var(--accent-orange);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 0;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Icon Background Colors */
.bg-orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-orange);
}

.bg-blue {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-blue);
}

.bg-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
}

.bg-purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-purple);
}

.bg-pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--color-pink);
}

.bg-teal {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-teal);
}

/* Target Segment */
.target-segment {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 1) 100%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.target-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.target-text p {
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--accent-cyan);
    font-size: 1.5rem;
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.target-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all var(--transition-fast);
}

.target-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.target-card.highlight {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

[data-theme="light"] .target-card.highlight span {
    color: white;
}

.target-card i {
    font-size: 3rem;
}

.target-card.highlight i {
    color: white;
}

.target-card:not(.highlight) i {
    color: var(--accent-indigo);
}

.target-card span {
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

/* Icon Dancing Rhythm Animation */
@keyframes rhythmDance {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.target-card i {
    animation: rhythmDance 3s ease-in-out infinite;
    display: inline-block;
    /* Required for transform animation on icons */
}

/* Stagger the animation timing to create a wave/rhythm effect */
.target-card:nth-child(1) i {
    animation-delay: 0s;
}

.target-card:nth-child(2) i {
    animation-delay: 0.75s;
}

.target-card:nth-child(3) i {
    animation-delay: 1.5s;
}

.target-card:nth-child(4) i {
    animation-delay: 2.25s;
}

/* Hardware Banner */
.hardware-banner {
    padding: 5rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.hardware-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.hardware-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hardware-list {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    color: var(--text-primary);
}

.hardware-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.hardware-item i {
    font-size: 1.8rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 123, 0, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card.highlight {
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.1) 0%, transparent 100%), var(--bg-surface);
    border-color: rgba(255, 123, 0, 0.4);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.pricing-card .price {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1;
    margin: 1.5rem 0 0.5rem 0;
}

.pricing-card .billing {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-card .check-list {
    margin-top: auto;
}

/* Trust Section */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.trust-stats h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* CTA Box */
.cta-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.2), transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

.cta-box p {
    margin: 0 auto 2.5rem auto;
}

.justify-center {
    justify-content: center;
}

/* Testimonial Carousel */
.carousel-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    max-width: 100%;
    margin: 0 auto 2rem auto;
}

.testimonials-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius-lg);
    padding: 10px 0;
    /* Space for box shadow on hover */
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Peace of Mind Grid */
.pom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pom-card {
    padding: 2.5rem 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: pointer;
}

.pom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pom-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform var(--transition-fast);
}

.card-backup .pom-icon {
    color: var(--accent-blue);
}

.card-security .pom-icon {
    color: var(--accent-orange);
}

.card-sync .pom-icon {
    color: #10b981;
}

.pom-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.pom-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto;
}

/* Hover Animations */
@keyframes sync-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-sync:hover .pom-icon {
    animation: sync-rotate 1.5s linear infinite;
}

@keyframes backup-pulse {
    0% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

.card-backup:hover .pom-icon {
    animation: backup-pulse 1.2s ease-in-out infinite;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stars {
    color: var(--accent-orange-light);
    display: flex;
    gap: 0.25rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    flex: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
}
.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author .info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author .info span {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-surface);
    transition: background var(--transition-fast);
}

.faq-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-header i {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 1.5rem;
    background: var(--bg-base);
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 0 2rem 0;
    background: var(--bg-base);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-group h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Core Features Showcase */
.core-features {
    position: relative;
    overflow: hidden;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}

.feature-text h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-bullets {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-bullets li i {
    color: var(--accent-orange);
    font-size: 1.25rem;
    background: rgba(255, 123, 0, 0.1);
    padding: 0.25rem;
    border-radius: 50%;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-visual .mobile-mockup {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 238px;
}

.visual-mockup:hover,
.feature-visual .mobile-mockup:hover {
    transform: translateY(-10px) scale(1.02) !important;
}

.visual-mockup::before,
.feature-visual .mobile-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.blue-glow::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.orange-glow::before {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
}

/* Device Experience Toggle */
.device-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.toggle-switch {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 0.5rem;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn:hover {
    color: var(--text-secondary);
}

.toggle-btn.active {
    background: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
}

.toggle-btn i {
    font-size: 1.2rem;
}

.device-mockup-container {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

.device-mockup-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.device-mockup-container img.fade-out {
    opacity: 0;
    transform: scale(0.98);
}

/* Responsiveness */
@media (max-width: 968px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-large {
        width: 100%;
    }

    .floating-element {
        display: none;
    }

    .glass-mockup {
        transform: rotateX(0deg) scale(1);
    }

    .footer-links {
        gap: 2rem;
    }
}

/* Modal Overlay & Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.modal-icon-display {
    font-size: 3rem;
    color: var(--accent-orange);
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.modal-body li {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}

.modal-body li i {
    color: #10b981;
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

/* ==========================================================================
   Navigation Dropdown & Modern Megamenu
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.dropdown-toggle:hover,
.nav-item-dropdown:hover .dropdown-toggle {
    color: white;
}

[data-theme="light"] .dropdown-toggle:hover,
[data-theme="light"] .nav-item-dropdown:hover .dropdown-toggle {
    color: var(--accent-orange);
}

.dropdown-toggle i {
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 640px;
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-fast);
    z-index: 1100;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass);
    transform: translateX(4px);
}

[data-theme="light"] .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.dropdown-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.dropdown-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin-top: 0.2rem;
}

.bg-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.bg-teal { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.bg-pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.bg-orange { background: rgba(255, 123, 0, 0.15); color: #ff9800; }
.bg-blue { background: rgba(0, 141, 213, 0.15); color: #38bdf8; }
.bg-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-glass);
    padding: 1.75rem;
    z-index: 1250;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-header .logo img {
    height: 38px;
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-sub-menu {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding-left: 1rem;
    margin-top: 0.35rem;
}

.mobile-sub-menu.active {
    display: flex;
}

.mobile-sub-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
}

.mobile-sub-item:hover {
    color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Industry Dedicated Pages Styling
   ========================================================================== */
.industry-hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 80px;
    overflow: hidden;
}

.industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid rgba(255, 123, 0, 0.3);
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.industry-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 968px) {
    .industry-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.industry-hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.industry-hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.industry-hero-image-wrapper:hover img {
    transform: scale(1.02);
}

.floating-kpi-pill {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .floating-kpi-pill {
    background: rgba(255, 255, 255, 0.92);
}

.floating-kpi-pill i {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.floating-kpi-pill .kpi-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.floating-kpi-pill .kpi-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pain vs Solution Comparison */
.challenge-solution-section {
    padding: 5rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.pain-card {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.solution-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.comparison-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.pain-card h3 { color: #f87171; }
.solution-card h3 { color: #34d399; }

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pain-card .comparison-list li i {
    color: #ef4444;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.solution-card .comparison-list li i {
    color: #10b981;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

/* Operational Workflow Pipeline */
.workflow-section {
    padding: 6rem 0;
    position: relative;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
    position: relative;
}

.pipeline-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: all var(--transition-smooth);
}

.pipeline-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 30px rgba(255, 123, 0, 0.1);
}

.pipeline-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.pipeline-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pipeline-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* App Module Cross-Check Badges */
.app-module-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(0, 141, 213, 0.1);
    border: 1px solid rgba(0, 141, 213, 0.25);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Color utilities for QR / Amber */
.bg-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.text-amber { color: #fbbf24; }

.badge-mini {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7b00, #f59e0b);
    color: #fff;
    margin-left: 0.35rem;
    vertical-align: middle;
    letter-spacing: 0.05em;
}

/* Industries Showcase Cards on Homepage */
.industry-preview-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.industry-preview-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 123, 0, 0.4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .industry-preview-card:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.industry-card-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.industry-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-preview-card:hover .industry-card-thumb img {
    transform: scale(1.05);
}

.industry-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.industry-card-body h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.industry-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.industry-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-orange);
    transition: gap var(--transition-fast);
}

.industry-preview-card:hover .industry-card-link {
    gap: 0.7rem;
}

@media (max-width: 900px) {
    .qr-portal-card {
        grid-template-columns: 1fr !important;
    }
    .qr-portal-card .industry-card-thumb {
        height: 220px !important;
    }
}
 / *   H o r i z o n t a l   S c r o l l   f o r   I n d u s t r i e s   G r i d   * / 
 . i n d u s t r i e s - c a r d - g r i d   { 
         d i s p l a y :   f l e x ; 
         o v e r f l o w - x :   a u t o ; 
         g a p :   1 . 5 r e m ; 
         m a r g i n - t o p :   3 r e m ; 
         p a d d i n g - b o t t o m :   2 r e m ; 
         s c r o l l - s n a p - t y p e :   x   m a n d a t o r y ; 
         s c r o l l b a r - w i d t h :   t h i n ; 
         s c r o l l b a r - c o l o r :   v a r ( - - a c c e n t - o r a n g e )   v a r ( - - b o r d e r - g l a s s ) ; 
 } 
 . i n d u s t r i e s - c a r d - g r i d : : - w e b k i t - s c r o l l b a r   { 
         h e i g h t :   8 p x ; 
 } 
 . i n d u s t r i e s - c a r d - g r i d : : - w e b k i t - s c r o l l b a r - t r a c k   { 
         b a c k g r o u n d :   v a r ( - - b o r d e r - g l a s s ) ; 
         b o r d e r - r a d i u s :   4 p x ; 
 } 
 . i n d u s t r i e s - c a r d - g r i d : : - w e b k i t - s c r o l l b a r - t h u m b   { 
         b a c k g r o u n d :   v a r ( - - a c c e n t - o r a n g e ) ; 
         b o r d e r - r a d i u s :   4 p x ; 
 } 
 . i n d u s t r y - p r e v i e w - c a r d   { 
         f l e x :   0   0   3 2 0 p x ; 
         s c r o l l - s n a p - a l i g n :   s t a r t ; 
 } 
 . i n d u s t r y - p r e v i e w - c a r d . q r - p o r t a l - c a r d   { 
         f l e x :   0   0   6 4 0 p x ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
 } 
 . q r - p o r t a l - c a r d   . i n d u s t r y - c a r d - t h u m b , 
 . q r - p o r t a l - c a r d   . i n d u s t r y - c a r d - b o d y   { 
         f l e x :   1 ; 
 } 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . i n d u s t r y - p r e v i e w - c a r d . q r - p o r t a l - c a r d   { 
                 f l e x :   0   0   3 2 0 p x ; 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
         } 
 }  
 