:root {
    /* Color Palette */
    --bg-main: #050505;
    --bg-secondary: #0a0a0b;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);

    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-purple: #8b5cf6;
    --accent-glow: rgba(59, 130, 246, 0.4);

    --text-main: #f8fafc;
    --text-secondary: #94a3b8;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);

    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-purple: #7c3aed;
    --accent-glow: rgba(37, 99, 235, 0.2);

    --text-main: #0f172a;
    --text-secondary: #475569;
}

[data-theme="light"] .glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .bg-orb {
    opacity: 0.25;
}

[data-theme="light"] .bg-darker {
    background-color: var(--bg-secondary);
}

[data-theme="light"] .border-glass-light,
[data-theme="light"] .border-glass {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .industry-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .industry-item:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .glass-dark {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .dashed-circle-outer,
[data-theme="light"] .dashed-circle-inner {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .service-icon {
    background: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .floating-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.light-img {
    display: none;
}

[data-theme="light"] .light-img {
    display: block;
}

[data-theme="light"] .dark-img {
    display: none;
}

[data-theme="light"] .map-pack-img {
    filter: invert(0.92) hue-rotate(180deg) grayscale(0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-blue);
}

.text-green {
    color: #10b981;
}

.text-muted {
    color: var(--text-secondary);
}

/* Background Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(139, 92, 246, 0.15);
}

.orb-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(59, 130, 246, 0.15);
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.py-lg {
    padding: 4rem 0;
}

.pt-md {
    padding-top: 2rem;
}

.ml-sm {
    margin-left: var(--spacing-sm);
}

.border-top {
    border-top: 1px solid var(--border-glass);
}

.border-none {
    border: none;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-main);
    font-size: 1.1rem;
    padding: 0;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

[data-theme="light"] .btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-glow {
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
}

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

.logo {
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--accent-blue);
}

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

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--accent-blue);
}

/* Navbar Dropdown */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-link {
    display: block !important;
    padding: 0.75rem 1rem;
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main) !important;
}

[data-theme="light"] .dropdown-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border-radius: 999px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-num {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    width: 100%;
    max-width: 400px;
    height: 100%;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mockup-header {
    height: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.2);
}

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

.dot.red {
    background-color: #ef4444;
}

.dot.yellow {
    background-color: #f59e0b;
}

.dot.green {
    background-color: #10b981;
}

.mockup-body {
    flex: 1;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
}

.dashboard-skeleton {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Map Pack Mockup */
.search-header {
    background: rgba(255, 255, 255, 0.02);
}

.search-bar-skel {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.25rem 0.75rem;
    flex: 1;
    border: 1px solid var(--border-glass);
}

.mr-sm {
    margin-right: var(--spacing-sm);
}

.p-0 {
    padding: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-xs {
    margin-bottom: 0.25rem;
}

.map-skel {
    height: 150px;
    background: linear-gradient(135deg, #1e293b, #0f172a, #1e293b);
    /* Dark map look */
    position: relative;
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

/* Simulated streets */
.map-skel::before,
.map-skel::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
}

.map-skel::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px;
    transform: translateY(-50%) rotate(10deg);
}

.map-skel::after {
    top: 0;
    left: 60%;
    width: 12px;
    height: 100%;
    transform: translateX(-50%) rotate(-15deg);
}

.map-pin {
    position: absolute;
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -100%);
}

.map-pin.p1 {
    top: 40%;
    left: 30%;
}

.map-pin.p2 {
    top: 60%;
    left: 50%;
    font-size: 2rem;
    color: #ef4444;
    z-index: 10;
    animation: bounce 2s infinite;
}

/* Highlighted Red Pin */
.map-pin.p3 {
    top: 30%;
    left: 70%;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, -100%);
    }

    40% {
        transform: translate(-50%, -120%);
    }

    60% {
        transform: translate(-50%, -110%);
    }
}

.listings-skel {
    display: flex;
    flex-direction: column;
}

.listing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.listing-item:last-child {
    border-bottom: none;
}

.active-listing {
    background: rgba(59, 130, 246, 0.08);
    /* subtle blue bg */
    border-left: 3px solid var(--accent-blue);
}

.listing-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-details .title {
    height: 14px;
    background: var(--text-main);
    opacity: 0.85;
}

.stars {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.text-yellow {
    color: #facc15;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    transition: var(--transition-fast);
    cursor: pointer;
}

.action-btn:hover {
    background: var(--accent-blue);
    color: white;
}

.border-accent {
    border-color: var(--accent-blue);
}

.w-1\/3 {
    width: 33%;
}

.w-2\/3 {
    width: 66%;
}

.w-half {
    width: 50%;
}

.w-3\/4 {
    width: 75%;
}

.w-full {
    width: 100%;
}

.skel-text {
    height: 10px;
    background: var(--bg-glass);
    border-radius: 4px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    padding: 1rem;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gbp-card {
    top: 20%;
    left: -10%;
}

.leads-card {
    bottom: 20%;
    right: -10%;
}

.flex-align {
    display: flex;
    align-items: center;
}

.icon-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.bg-accent {
    background: var(--accent-blue);
    color: white;
}

.rounded-full {
    border-radius: 50%;
}

.fw-600 {
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

/* Float Animations */
@keyframes float1 {

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

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

@keyframes float2 {

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

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

.float-anim-1 {
    animation: float1 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: float2 7s ease-in-out infinite;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Services */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
}

.service-features li {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-card {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.highlight-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    box-shadow: 0 0 20px 2px var(--accent-blue);
}

.border-glass-light {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-md {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Industries Section */
.industries-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.industry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.industry-item {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
    cursor: pointer;
}

.industry-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.graphic-container {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.glass-dark {
    background: rgba(10, 10, 11, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.border-glass {
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.border-radius-lg {
    border-radius: 20px;
}

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

.dashed-circle-outer {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    animation: rotate-slow 60s linear infinite;
}

.dashed-circle-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    animation: rotate-slow-reverse 40s linear infinite;
}

.chart-icon {
    animation: pulse-glow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

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

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

@keyframes rotate-slow-reverse {
    from {
        transform: rotate(360deg);
    }

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

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8));
        transform: scale(1.05);
    }
}

/* Contact */
.contact-box {
    max-width: 800px;
    padding: 4rem 3rem;
}

.contact-form {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-control {
    flex: 1;
    padding: 1rem 1.25rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Footer */
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-ul a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delayed {
    transition-delay: 0.2s;
}

.delayed-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    /* Hide complex visual on mobile for simplicity, or simplify it */
    .hero-cta {
        justify-content: center;
    }

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

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

    .highlight-card {
        transform: none;
    }

    .highlight-card:hover {
        transform: translateY(-5px);
    }

    .industries-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .industry-item {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-box {
        padding: 2rem 1rem;
    }
}