:root {
    --color-bg-dark: #0a0e17;
    --color-primary: #1e3a8a; /* corporate blue */
    --color-primary-light: #3b82f6;
    --color-accent-purple: #8b5cf6;
    --color-accent-pink: #ec4899;
    --color-text-main: #f8fafc;
    --color-text-muted: #cbd5e1;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1, h2, h3, h4, .logo-text, .stat-number {
    font-family: var(--font-heading);
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-purple), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-purple));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--color-accent-purple);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--color-accent-pink);
}

.btn-outline:hover {
    background: rgba(236, 72, 153, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo-icon path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 5s linear infinite alternate;
}

@keyframes dash {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links > li > a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links > li > a:hover {
    color: var(--color-accent-pink);
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    min-width: 260px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--color-accent-purple);
    padding-left: 1.8rem;
}

/* Main Content */
main {
    margin-top: 5rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
}

.hero-text-block {
    max-width: 800px;
    padding: 4rem;
}

.hero-text-block h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 20%, #cbd5e1 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Statistics Banner */
.statistics-banner {
    padding: 3rem 0;
    background: linear-gradient(90deg, rgba(30,58,138,0.2) 0%, rgba(139,92,246,0.2) 50%, rgba(236,72,153,0.2) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-desc {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-main);
    max-width: 400px;
    text-align: left;
}

/* Sections General */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent-pink));
    border-radius: 2px;
}

.value-proposition, .product-portfolio, .lead-gen {
    padding: 6rem 0;
}

/* Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Hover Cards */
.hover-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.hover-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.hover-card:hover::before {
    opacity: 1;
}

.hover-card > * {
    position: relative;
    z-index: 1;
}

.icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.hover-card:hover .icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.hover-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

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

/* Product Cards */
.product-card {
    background: linear-gradient(180deg, rgba(15,23,42,0.8) 0%, rgba(10,14,23,0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.product-header {
    padding: 2.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(to right, rgba(30,58,138,0.2), rgba(139,92,246,0.2));
}

.product-header h3 {
    font-size: 1.5rem;
}

.product-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-body p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.learn-more {
    color: var(--color-accent-purple);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.learn-more:hover {
    letter-spacing: 0.5px;
    color: var(--color-accent-pink);
}

/* Lead Gen */
.lead-gen-content {
    padding: 5rem 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(15,23,42,0.6), rgba(30,58,138,0.3));
    border: 1px solid rgba(139,92,246,0.3);
}

.lead-gen-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text-main), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-gen-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.tool-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .navbar {
        padding: 1rem 2rem;
    }
    .hero-text-block h1 {
        font-size: 3rem;
    }
    .hero-text-block {
        padding: 2rem;
    }
    .stat-item {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .hero-text-block h1 {
        font-size: 2.5rem;
    }
    .grid-4, .grid-3 {
        grid-template-columns: 1fr;
    }
    .cta-group, .tool-buttons {
        flex-direction: column;
    }
    .lead-gen-content {
        padding: 3rem 2rem;
    }
    .split-layout {
        flex-direction: column;
    }
    .cta-buttons {
        flex-direction: column;
    }
}

/* =========================================
   Products & Services Page Styles
   ========================================= */
#products-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.products-hero {
    min-height: 70vh;
    justify-content: center;
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

.hero-subtitle {
    margin: 0 auto 2rem;
}

.pt-100 { padding-top: 100px; }
.pt-50 { padding-top: 50px; }
.mt-20 { margin-top: 20px; }

/* Sticky Sub-Menu */
.sticky-submenu {
    position: sticky;
    top: 80px; /* Below main navbar */
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    z-index: 90;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.submenu-container {
    display: flex;
    justify-content: center;
}

.submenu-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.submenu-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.submenu-links a:hover, .submenu-links a.active {
    color: var(--color-text-main);
}

.submenu-links a::after {
    content: '';
    position: absolute;
    bottom: -1rem; /* Align with bottom border of container */
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent-pink));
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.submenu-links a.active::after, .submenu-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Section Common */
.product-section {
    padding: 6rem 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 30%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-description, .section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.section-subtitle {
    margin: 0 auto;
}

/* Split Layout */
.split-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.split-text {
    flex: 1;
}

.split-visual {
    flex: 1;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

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

/* UI Mockup Placeholder */
.mockup-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(30,58,138,0.1) 0%, rgba(15,23,42,0.8) 100%);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    color: #64748b;
    font-family: var(--font-body);
}

.mockup-body {
    display: flex;
    height: 400px;
}

.mockup-sidebar {
    width: 80px;
    background: rgba(0,0,0,0.2);
    border-right: 1px solid var(--glass-border);
}

.mockup-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.mockup-card {
    flex: 1;
    height: 80px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.02);
}

.mockup-chart {
    height: 120px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-row {
    height: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
}

/* Service Cards (Hexagon icon) */
.service-card {
    padding: 3rem 2rem;
    text-align: center;
}

.hexagon-icon {
    width: 80px;
    height: 90px;
    background: linear-gradient(135deg, rgba(30,58,138,0.4), rgba(236,72,153,0.4));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent-purple);
}

.icon-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
}

/* Bespoke Banner */
.bespoke-banner {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%);
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.bespoke-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bespoke-text {
    flex: 1.5;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--color-accent-purple);
    font-weight: 500;
    margin-bottom: 1rem;
}

.bespoke-graphics {
    flex: 1;
    position: relative;
    height: 300px;
}

.floating-hex {
    position: absolute;
    width: 100px;
    height: 115px;
    background: rgba(236,72,153,0.1);
    border: 1px solid rgba(236,72,153,0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    backdrop-filter: blur(5px);
}

.hex-1 { top: 0; left: 20%; animation: float 6s ease-in-out infinite; }
.hex-2 { top: 40%; left: 60%; width: 150px; height: 173px; animation: float 8s ease-in-out infinite reverse; background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.4); }
.hex-3 { bottom: 0; left: 10%; width: 80px; height: 92px; animation: float 5s ease-in-out infinite; background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.4);}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Vibrant CTA Footer */
.vibrant-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b5cf6 50%, var(--color-accent-pink) 100%);
    position: relative;
}

.vibrant-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><polygon points="50,5 93,30 93,80 50,105 7,80 7,30" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') repeat;
    opacity: 0.5;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(10, 14, 23, 0.7);
    padding: 5rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.cta-title .highlight {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   Solutions by Industry Page Styles
   ========================================= */
#solutions-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.solutions-hero {
    min-height: 70vh;
    justify-content: center;
}

.industry-section {
    padding: 6rem 0;
    position: relative;
}

.alternate-bg {
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(139,92,246,0.05) 50%, rgba(15,23,42,0) 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.industry-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.industry-layout.reverse {
    flex-direction: row-reverse;
}

.industry-text {
    flex: 1.2;
}

.industry-visual {
    flex: 1;
}

.dual-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.key-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.point-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.hex-bullet {
    min-width: 14px;
    height: 16px;
    background: var(--color-accent-pink);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-top: 5px;
}

.point-item p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.point-item strong {
    color: var(--color-text-main);
    font-weight: 500;
}

/* Video Placeholders */
.video-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30,58,138,0.2) 0%, rgba(15,23,42,0.8) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.video-placeholder.mini {
    height: 200px;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(10, 14, 23, 0.5);
    transition: background 0.3s ease;
    cursor: pointer;
}

.video-overlay:hover {
    background: rgba(10, 14, 23, 0.3);
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(236,72,153,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    padding-left: 5px; /* Visual center adjustment for play triangle */
    box-shadow: 0 0 20px rgba(236,72,153,0.5);
    transition: transform 0.2s ease;
}

.play-btn.small {
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

.video-overlay:hover .play-btn {
    transform: scale(1.1);
}

.video-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

/* Route Map Placeholder */
.route-map-container {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30,58,138,0.3) 0%, rgba(10,14,23,0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.map-node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 15px #3b82f6;
    z-index: 2;
}

.n1 { top: 30%; left: 20%; animation: pulse 2s infinite; }
.n2 { top: 60%; left: 50%; animation: pulse 2s infinite 0.5s; background: #8b5cf6; box-shadow: 0 0 15px #8b5cf6;}
.n3 { top: 40%; left: 80%; animation: pulse 2s infinite 1s; background: #ec4899; box-shadow: 0 0 15px #ec4899;}

.map-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(59,130,246,0.5), rgba(139,92,246,0.5));
    transform-origin: left center;
    z-index: 1;
}

.l1 { top: 32%; left: 22%; width: 33%; transform: rotate(35deg); }
.l2 { top: 62%; left: 52%; width: 32%; transform: rotate(-25deg); background: linear-gradient(90deg, rgba(139,92,246,0.5), rgba(236,72,153,0.5)); }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.partial-overlay {
    height: auto;
    top: auto;
    bottom: 0;
    padding: 1.5rem;
    flex-direction: row;
    background: rgba(10,14,23,0.8);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Trust CTA */
.trust-cta {
    padding: 6rem 0 8rem;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(30,58,138,0.2) 100%);
}

.trust-cta .cta-inner {
    padding: 4rem;
    background: linear-gradient(135deg, rgba(15,23,42,0.8) 0%, rgba(30,58,138,0.6) 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.cta-body {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-body strong {
    color: var(--color-text-main);
}

/* =========================================
   Free Logistics Tools Page Styles
   ========================================= */
.tools-page-body {
    background: radial-gradient(circle at top, #0f172a 0%, #020617 100%);
}

#tools-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.tools-hero {
    min-height: 40vh;
    padding-top: 15rem;
    padding-bottom: 2rem;
    align-items: flex-end; /* Push content closer to the tools */
}

.tools-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.tools-subtitle {
    max-width: 700px;
    margin: 0 auto;
}

.tools-grid-section {
    padding: 3rem 0 6rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    padding: 0; /* Override glass-panel padding to allow edge-to-edge header */
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.tool-visual-header {
    height: 220px;
    background: linear-gradient(135deg, rgba(30,58,138,0.3) 0%, rgba(15,23,42,0.9) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.alternate-visual {
    background: linear-gradient(135deg, rgba(139,92,246,0.2) 0%, rgba(15,23,42,0.9) 100%);
}

.ui-mockup-bar {
    height: 30px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.tool-visual-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

/* Tool Mockup Elements */
.mock-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 60%;
}
.mock-placeholder {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}
.mock-btn-small {
    background: var(--color-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.mock-dashboard {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mock-stat-box {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(39, 201, 63, 0.2);
}
.mock-stat-icon.green-glow {
    color: #27c93f;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(39, 201, 63, 0.5);
}
.mock-stat-line {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    flex: 1;
}
.mock-stat-row {
    display: flex;
    gap: 1rem;
}
.mock-line-short, .mock-line-medium, .mock-line-long {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.mock-line-short { width: 30%; }
.mock-line-medium { width: 50%; }
.mock-line-long { width: 70%; }


.tool-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tool-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.tool-description {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1; /* Pushes button to bottom */
}

.btn-full {
    width: 100%;
    text-align: center;
}


/* Premium Upgrade Banner */
.premium-upgrade-banner {
    padding: 6rem 0;
    background: linear-gradient(to right, rgba(13,27,42,1) 0%, rgba(131,58,180,0.2) 50%, rgba(236,72,153,0.1) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
    position: relative;
    overflow: hidden;
}

.upgrade-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.upgrade-badge {
    display: inline-block;
    background: rgba(236, 72, 153, 0.2);
    color: var(--color-accent-pink);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.upgrade-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.upgrade-body {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.upgrade-benefits {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.benefit-tag {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: var(--color-text-main);
    font-weight: 500;
}

/* Trust Footer tailored for tools page */
.trust-footer {
    padding: 4rem 0;
    background: #020617; /* Very dark slate */
}

.trust-message {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.security-note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.2);
}

/* =========================================
   Knowledge Hub & About Us Page Styles
   ========================================= */
.about-page-body {
    background: var(--color-bg-dark); /* Ensure dark bg */
}

#about-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Flipbook Container */
.knowledge-hub-section {
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.flipbook-container {
    width: 100%;
    max-width: 1100px;
    height: 700px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.heyzine-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    z-index: 2;
    position: relative;
}

.flipbook-fallback {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(30,58,138,0.8) 0%, rgba(15,23,42,1) 100%);
    display: none; /* Can be toggled via JS if iframe fails */
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* About Us Hero */
.about-hero-section {
    padding: 6rem 0;
}

.about-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

.body-copy {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Abstract Map */
.abstract-map-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(30,58,138,0.2) 0%, rgba(10,14,23,0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.map-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(500px) rotateX(45deg);
    transform-origin: center top;
}

.nl-highlight {
    position: absolute;
    top: 40%;
    left: 45%;
    width: 20px;
    height: 20px;
    background: #ec4899;
    border-radius: 50%;
    box-shadow: 0 0 20px #ec4899;
    z-index: 10;
}

.pulse-ring::before, .pulse-ring::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid #ec4899;
    animation: ripple 2s linear infinite;
}

.pulse-ring::after {
    animation-delay: 1s;
}

@keyframes ripple {
    0% { width: 100%; height: 100%; opacity: 1; }
    100% { width: 400%; height: 400%; opacity: 0; }
}

.global-node {
    position: absolute;
    width: 8px; height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3b82f6;
}

.g1 { top: 30%; left: 20%; animation: float 3s ease-in-out infinite; }
.g2 { top: 60%; left: 80%; background: #8b5cf6; box-shadow: 0 0 10px #8b5cf6; animation: float 4s ease-in-out infinite 1s; }
.g3 { top: 75%; left: 35%; animation: float 3.5s ease-in-out infinite 0.5s; }


/* Mission Cards */
.mission-section {
    padding: 2rem 0 6rem;
}

.mission-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.hover-lift:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.active-card {
    background: linear-gradient(135deg, rgba(30,58,138,0.2) 0%, rgba(139,92,246,0.1) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

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

/* Contact Section */
.contact-section {
    padding: 4rem 0 8rem;
}

.contact-wrapper {
    display: flex;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-form-side {
    flex: 1.5;
    padding: 4rem;
}

.contact-details-side {
    flex: 1;
    background: linear-gradient(135deg, rgba(30,58,138,0.4) 0%, rgba(15,23,42,0.95) 100%);
    padding: 4rem;
    border-left: 1px solid rgba(255,255,255,0.05);
}

/* Form Styles */
.tensig-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(0,0,0,0.3);
}

/* Custom Radio Buttons */
.inquiry-type {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

.radio-label input {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: border-color 0.2s;
}

.radio-label input:checked + .custom-radio {
    border-color: var(--color-accent-pink);
}

.radio-label input:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: var(--color-accent-pink);
    border-radius: 50%;
}

.btn-full-width {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Contact Details Styles */
.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.detail-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: rgba(255,255,255,0.7);
}

.detail-item p {
    font-size: 1.1rem;
    color: white;
    line-height: 1.5;
}

.contact-highlight {
    font-size: 1.4rem !important;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-primary) !important;
}

.availability-badge {
    display: inline-block;
    background: rgba(39, 201, 63, 0.15);
    color: #27c93f;
    border: 1px solid rgba(39, 201, 63, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.trust-message {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.security-note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.2);
}
