/* -------------------------------------
   CSS Variables & Tokens 
------------------------------------- */
:root {
    /* Colors */
    --color-primary: #1b5a45;
    /* Dark Green */
    --color-primary-light: #2d7a5b;
    --color-accent: #fd6b56;
    /* Vibrant Orange/Coral */
    --color-accent-hover: #e85945;
    --color-bg-light: #fbfbfa;
    /* Off-white background */
    --color-bg-gray: #f3f4f1;
    /* Slightly darker section */
    --color-text-main: #222222;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-border: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}

/* -------------------------------------
   Reset & Base Styles
------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: inherit;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* -------------------------------------
   Typography Util
------------------------------------- */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 600px;
}

.section-subtitle-center {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(27, 90, 69, 0.1);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-outline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--color-primary);
    letter-spacing: -0.02em;
    display: inline-block;
}

.text-highlight {
    color: #000000 !important;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0 4px;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 0.35em;
    background-color: var(--color-accent);
    opacity: 0.15;
    z-index: -1;
    border-radius: 4px;
}

/* -------------------------------------
   Buttons
------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 107, 86, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-text-main);
}

.btn-outline:hover {
    border-color: var(--color-text-main);
}

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.btn-outline-light:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 10px;
    padding-left: 2px;
}

/* -------------------------------------
   Navigation
------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(251, 251, 250, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    z-index: 101;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.logo-icon.white {
    background: var(--color-white);
}

.logo-icon.white::after {
    background: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

/* -------------------------------------
   Nav Dropdown
------------------------------------- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0;
    position: relative;
}

.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    width: 100%;
}

.dropdown-caret {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
    display: inline-block;
    margin-left: 2px;
}

.nav-dropdown:hover .dropdown-caret,
.nav-dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 240px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}

/* Invisible bridge fills the gap so hover isn't lost */
.dropdown-panel::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 22px;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dp-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    transition: background var(--transition-fast);
    text-decoration: none;
    color: var(--color-text-main);
}

.dp-item:hover {
    background: var(--color-bg-gray);
}

.dp-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(27, 90, 69, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.dp-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-main);
}

.dp-item small {
    display: block;
    font-size: 0.775rem;
    color: var(--color-text-light);
    margin-top: 1px;
}

.dp-divider {
    height: 1px;
    background: var(--color-border);
    margin: 0.5rem 0.4rem;
}

.dp-item.dp-cta .dp-icon {
    background: rgba(253, 107, 86, 0.1);
}

.dp-item.dp-cta strong {
    color: var(--color-accent);
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .dropdown-panel {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--color-bg-gray);
        border-radius: 10px;
        margin-top: 0.5rem;
        padding: 0.4rem;
        display: none;
    }

    .nav-dropdown.open .dropdown-panel {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.5rem 0;
    }
}

/* -------------------------------------
   Hero Section
------------------------------------- */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
    background: radial-gradient(circle at center 20%, #ffffff 0%, var(--color-bg-light) 70%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-banner-title {
    font-size: clamp(1.8rem, 4.7vw, 3.8rem);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ── Neural Network Canvas ─────────────────── */
.nn-canvas-wrap {
    position: relative;
    width: 100%;
    max-width: 1060px;
    margin: 20px auto 0;
    height: 300px;
    z-index: 1;
}

#nn-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Animated Nodes Vector */
.hero-nodes-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    height: 250px;
    z-index: 1;
}

.nodes-svg {
    width: 100%;
    height: 100%;
}

.node-line {
    fill: none;
    stroke-width: 1.5;
}

.static-line {
    stroke: var(--color-primary);
    opacity: 0.15;
}

.flow-line {
    stroke-dasharray: 50 150;
    animation: flowLine 5s linear infinite;
    stroke-width: 2;
}

@keyframes flowLine {
    to {
        stroke-dashoffset: -200;
    }
}

.node-outer {
    fill: var(--color-white);
    stroke: var(--color-primary);
    stroke-width: 1.5;
    transition: all var(--transition-normal);
}

.node-inner {
    transition: all var(--transition-fast);
}

.node-text {
    font-family: var(--font-body);
    font-size: 14px;
    fill: var(--color-primary);
    font-weight: bold;
}

.node-hex {
    fill: var(--color-white);
    stroke: var(--color-primary);
    stroke-width: 1.5;
}

.node-radar {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1;
    opacity: 0;
    animation: pulseRadar 3s infinite;
}

@keyframes pulseRadar {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.pulsing-node {
    animation: floatNode 4s ease-in-out infinite alternate;
}

.pulsing-node.delay-1 {
    animation-delay: -1s;
}

.pulsing-node.delay-2 {
    animation-delay: -2s;
}

.pulsing-node.delay-3 {
    animation-delay: -3s;
}

@keyframes floatNode {
    0% {
        transform: translate(var(--tx, 0), calc(var(--ty, 0) - 5px));
    }

    100% {
        transform: translate(var(--tx, 0), calc(var(--ty, 0) + 5px));
    }
}

/* -------------------------------------
   Trust Bar
------------------------------------- */
.trust-bar {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--color-white);
    margin-top: -20px;
}

.trust-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

.trust-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.t-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text-main);
}

/* ══════════════════════════════════════
   Mission Section — Redesigned
   ══════════════════════════════════════ */
.section-mission {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Dot-grid background */
.mission-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

/* Glowing orbs */
.mission-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.18;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #2d8a6a;
    top: -160px;
    right: -100px;
    animation: orb-drift 8s ease-in-out infinite alternate;
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: #fd6b56;
    bottom: -120px;
    left: 10%;
    animation: orb-drift 11s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 20px);
    }
}

/* Layout */
.mission-new {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Eyebrow row */
.mission-eyebrow {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mission-tag-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.mission-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fd6b56;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(253, 107, 86, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(253, 107, 86, 0);
    }
}

.mission-divider-h {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.rotating-badge-sm {
    width: 72px;
    height: 72px;
    animation: rotate 18s linear infinite;
    opacity: 0.55;
}

/* Main headline */
.mission-headline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mission-line-1,
.mission-line-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4em;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
}

.mh-outline {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
    color: transparent;
}

.mh-accent {
    color: #fd6b56;
}

.mh-underline {
    position: relative;
    display: inline-block;
}

.mh-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fd6b56, transparent);
    border-radius: 2px;
}

/* Bottom row: stats + CTA */
.mission-bottom {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ms-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ms-num {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
}

.ms-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.ms-sep {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.mission-cta-block {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mission-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 380px;
}

.mission-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    width: fit-content;
}

.mission-cta-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
    color: #fff;
    text-decoration: none;
}

.mission-cta-btn svg {
    transition: transform 0.2s;
}

.mission-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Keep old badge text for other instances */
.badge-text {
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 2px;
    fill: var(--color-white);
    text-transform: uppercase;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* Dark accent corners (kept for other uses) */
.dark-accent-corners::before,
.dark-accent-corners::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dark-accent-corners::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.dark-accent-corners::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* -------------------------------------
   Featured Product Section (Aurora)
------------------------------------- */
.section-featured {
    padding: 120px 0;
    background: var(--color-white);
}

.featured-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.featured-content {
    flex: 1;
}

.featured-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.icon-check {
    color: var(--color-primary);
    font-weight: bold;
    font-style: normal;
}

.testimonial {
    background: var(--color-bg-gray);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--color-primary);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 4rem;
    font-family: serif;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ccc;
}

.author-info strong {
    display: block;
    font-family: var(--font-heading);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.featured-visual {
    flex: 1.2;
    position: relative;
    perspective: 1000px;
}

.mockup-window {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: var(--color-bg-gray);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    height: 400px;
    background: #f8fafc;
    display: flex;
}

.dash-sidebar {
    width: 80px;
    background: var(--color-white);
    border-right: 1px solid var(--color-border);
}

/* ── Mini Dialer Card inside hero mockup ── */
.dash-dialer-card {
    width: 160px;
    flex-shrink: 0;
    background: #fff;
    border-left: 1px solid var(--color-border);
    border-radius: 0 0 12px 0;
    padding: 12px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    overflow: hidden;
}

/* ── Contact row at top ── */
.ddc-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: #f0fdf4;
    border-radius: 8px;
    padding: 7px 8px;
}

.ddc-contact-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b5a45, #2d8a6a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* pulse ring around avatar */
.ddc-contact-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(27, 90, 69, 0.3);
    animation: ddc-avatar-pulse 1.8s ease-out infinite;
}

.ddc-contact-info {
    flex: 1;
    min-width: 0;
}

.ddc-contact-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddc-calling-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    color: #22c55e;
    font-weight: 600;
    margin-top: 1px;
}

.ddc-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: ddc-blink 1.4s ease-in-out infinite;
}

/* ── Sound wave ── */
.ddc-soundwave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 18px;
}

.ddc-soundwave span {
    display: block;
    width: 2.5px;
    border-radius: 2px;
    background: var(--color-primary, #1b5a45);
    animation: ddc-bar-wave 0.9s ease-in-out infinite alternate;
}

.ddc-soundwave span:nth-child(1) {
    height: 4px;
    animation-delay: 0s;
}

.ddc-soundwave span:nth-child(2) {
    height: 9px;
    animation-delay: 0.1s;
}

.ddc-soundwave span:nth-child(3) {
    height: 16px;
    animation-delay: 0.2s;
}

.ddc-soundwave span:nth-child(4) {
    height: 18px;
    animation-delay: 0.05s;
}

.ddc-soundwave span:nth-child(5) {
    height: 16px;
    animation-delay: 0.15s;
}

.ddc-soundwave span:nth-child(6) {
    height: 10px;
    animation-delay: 0.25s;
}

.ddc-soundwave span:nth-child(7) {
    height: 14px;
    animation-delay: 0.1s;
}

.ddc-soundwave span:nth-child(8) {
    height: 8px;
    animation-delay: 0.3s;
}

.ddc-soundwave span:nth-child(9) {
    height: 4px;
    animation-delay: 0.2s;
}

/* ── Full 3×4 Keypad ── */
.ddc-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 100%;
}

.ddc-key {
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    cursor: default;
    transition: background 0.15s;
}

.ddc-key sub {
    font-size: 0.38rem;
    font-weight: 500;
    color: #aaa;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ddc-key-sym {
    font-size: 0.85rem;
    color: #555;
}

/* ── Call controls row ── */
.ddc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 2px;
}

.ddc-ctrl-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.ddc-mute {
    background: #f1f5f9;
    color: #555;
}

.ddc-speaker {
    background: #f1f5f9;
    color: #555;
}

.ddc-end-call {
    width: 38px;
    height: 38px;
    background: #dc2626;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.4);
}

/* ── Keyframe animations ── */
@keyframes ddc-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

@keyframes ddc-avatar-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes ddc-bar-wave {
    0% {
        transform: scaleY(0.35);
        opacity: 0.45;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.dash-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-card {
    background: var(--color-white);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.campaign-bar {
    height: 8px;
    background: var(--color-bg-gray);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.campaign-bar .fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
}

.campaign-bar:nth-child(3) .fill {
    background: var(--color-accent);
}

.dash-activity {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    background: var(--color-white);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    border-left: 3px solid var(--color-border);
    animation: slideIn 0.5s ease backwards;
}

.activity-item.success {
    border-left-color: #27c93f;
    background: rgba(39, 201, 63, 0.05);
}

.activity-item:nth-child(2) {
    animation-delay: 0.2s;
}

.activity-item:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-decor {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px dashed var(--color-primary);
    opacity: 0.2;
    z-index: -1;
}

.visual-decor.top-left {
    top: -30px;
    left: -30px;
    border-bottom: none;
    border-right: none;
}

.visual-decor.bottom-right {
    bottom: -30px;
    right: -30px;
    border-top: none;
    border-left: none;
}

/* -------------------------------------
   Projects Section (Tabs)
------------------------------------- */
.section-projects {
    padding: 120px 0;
    background: var(--color-bg-gray);
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 2px solid var(--color-border);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.project-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.project-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.project-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list-alt li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list-alt li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* Reconciliation live site */
.recon-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.recon-title-row h3 {
    margin-bottom: 0;
}

.recon-free-badge {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid #86efac;
    white-space: nowrap;
}

.recon-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.recon-live-url {
    font-size: 0.8rem;
    color: #888;
    font-family: monospace;
    letter-spacing: 0.03em;
}

.mt-2 {
    margin-top: 1.5rem;
}

/* Abstract UI Diagrams */
.project-diagram {
    background: rgba(27, 90, 69, 0.05);
    border-radius: 12px;
    height: 350px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(27, 90, 69, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-canvas {
    width: 100%;
    height: 100%;
    position: relative;
}

/* OneDesk Diagram */
.d-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.d-node {
    position: absolute;
    background: var(--color-white);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.source {
    top: 37%;
    left: 6%;
}

.d-center {
    top: 37%;
    left: 36%;
    background: var(--color-primary);
    color: #fff;
}

.result.t-1 {
    top: 22%;
    right: 6%;
    left: auto;
}

.result.t-2 {
    top: 52%;
    right: 6%;
    left: auto;
}

/* ── Reconciliation App Mockup ── */
.statement-diagram {
    padding: 0;
}

.recon-mockup {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    font-size: 0.72rem;
    border: 1px solid #e8ecf0;
    width: 100%;
}

.rm-header {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rm-title {
    font-weight: 700;
    font-size: 0.78rem;
    color: #111;
    flex: 1;
}

.rm-badge-soon {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.6rem;
    color: #444;
    white-space: nowrap;
}

.rm-badge-soon em {
    font-style: normal;
    font-size: 0.5rem;
    background: #3b82f6;
    color: #fff;
    border-radius: 3px;
    padding: 1px 4px;
    margin-left: 3px;
}

.rm-tabs {
    display: flex;
    border-bottom: 1px solid #eef0f3;
    padding: 0 14px;
    background: #fafafa;
}

.rm-tab {
    padding: 8px 12px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #888;
    cursor: default;
    border-bottom: 2px solid transparent;
}

.rm-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.rm-stats {
    display: flex;
    gap: 0;
    padding: 10px 14px 6px;
    border-bottom: 1px solid #f0f0f0;
}

.rm-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-stat small {
    color: #999;
    font-size: 0.58rem;
}

.rm-stat strong {
    font-size: 0.9rem;
    color: #111;
}

.rm-stat strong.green {
    color: #16a34a;
}

.rm-stat strong.blue {
    color: #2563eb;
}

.rm-stat strong span {
    color: #aaa;
    font-size: 0.7rem;
}

.rm-chips {
    display: flex;
    gap: 5px;
    padding: 6px 14px;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0f0f0;
}

.rm-chip {
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 0.58rem;
    font-weight: 600;
}

.rm-chip.green {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.rm-chip.blue {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.rm-chip.orange {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

/* Dual-panel table */
.rm-table {
    display: flex;
    overflow: hidden;
}

.rm-panel {
    flex: 1;
    min-width: 0;
}

.rm-divider {
    width: 1px;
    background: #e5e7eb;
    flex-shrink: 0;
}

.rm-panel-title {
    background: #f8fafc;
    padding: 5px 8px;
    font-weight: 700;
    font-size: 0.6rem;
    color: #555;
    border-bottom: 1px solid #eef0f3;
    text-align: center;
    letter-spacing: 0.02em;
}

.rm-row {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 0.9fr;
    padding: 5px 8px;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
    gap: 2px;
}

.rm-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6rem;
    color: #444;
}

.rm-row-head span {
    font-weight: 700;
    color: #333;
    font-size: 0.6rem;
}

.rm-row.matched {
    background: #f0fdf4;
}

.rm-row.partial {
    background: #fffbeb;
}

.rm-row.unmatched {
    background: #fff5f5;
}

.rm-row.empty span {
    color: #ccc;
}

.rm-row .pos {
    color: #16a34a;
    font-weight: 600;
}

.rm-row .neg {
    color: #dc2626;
    font-weight: 600;
}

.rm-row .muted {
    color: #aaa;
}

/* Old statement diagram styles (kept for safety) */
.table-mock {
    width: 80%;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.t-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
    align-items: center;
}

.t-row.header {
    background: var(--color-bg-gray);
    font-weight: 600;
}

.ai-blip {
    color: var(--color-accent);
    position: relative;
}

.ai-blip::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Chatbot Diagram */
.chatbot-ui {
    width: 250px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.chat-header {
    background: var(--color-primary);
    color: #fff;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.chat-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    max-width: 80%;
}

.msg.bot {
    background: var(--color-bg-gray);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.msg.user {
    background: rgba(253, 107, 86, 0.1);
    color: var(--color-accent-hover);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.ai-typing {
    border-left: 2px solid var(--color-primary);
    background: transparent;
}

/* -------------------------------------
   Build CTA Section
------------------------------------- */
.section-build {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 100px 0;
    overflow: hidden;
}

.build-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.build-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.build-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.build-actions {
    display: flex;
    gap: 1rem;
}

.build-visual {
    position: relative;
    height: 400px;
}

.iso-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
}

.iso-card {
    position: absolute;
    width: 200px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: transform 1s ease;
}

.iso-card.c1 {
    transform: translateZ(0);
    top: 100px;
    left: 50px;
}

.iso-card.c2 {
    transform: translateZ(50px);
    top: 50px;
    left: 100px;
    background: rgba(255, 255, 255, 0.2);
}

.iso-card.c3 {
    transform: translateZ(100px);
    top: 0px;
    left: 150px;
    background: rgba(253, 107, 86, 0.9);
}

.iso-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50px;
    left: 50px;
    transform: translateZ(25px);
}

.animated-path {
    stroke-dasharray: 10;
    animation: dashAnim 2s linear infinite;
}

@keyframes dashAnim {
    to {
        stroke-dashoffset: -20;
    }
}

/* -------------------------------------
   Orbital Radar Animation
------------------------------------- */
.orbital-rig {
    position: relative;
    width: min(320px, 100%);
    height: 320px;
    margin: auto;
}

/* Radar sweep — rotating conic gradient */
.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            transparent 330deg,
            rgba(253, 107, 86, 0.12) 355deg,
            transparent 360deg);
    animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Orbit rings */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

.orbit-inner {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    animation: spin-cw 9s linear infinite;
}

.orbit-outer {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation: spin-ccw 15s linear infinite;
}

@keyframes spin-cw {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-ccw {
    to {
        transform: rotate(-360deg);
    }
}

/* Orbit node pills */
.orbit-dot {
    position: absolute;
    width: 48px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-dot span {
    font-size: 9px;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
}

/* Inner orbit nodes — orange tint, counter-rotate to stay upright */
.orbit-inner .orbit-dot {
    background: rgba(253, 107, 86, 0.18);
    border: 1px solid rgba(253, 107, 86, 0.55);
}

.orbit-inner .orbit-dot span {
    color: rgba(253, 200, 180, 0.95);
    animation: counter-cw 9s linear infinite;
}

/* od-1 (0°  top):    center=(90,0)  → left=90-24=66, top=0-11=-11 */
.od-1 {
    left: 66px;
    top: -11px;
}

/* od-2 (120°):       center=(168,135) → left=168-24=144, top=135-11=124 */
.od-2 {
    left: 144px;
    top: 124px;
}

/* od-3 (240°):       center=(12,135)  → left=12-24=-12, top=124 */
.od-3 {
    left: -12px;
    top: 124px;
}

@keyframes counter-cw {
    to {
        transform: rotate(-360deg);
    }
}

/* Outer orbit nodes — green tint, counter-rotate */
.orbit-outer .orbit-dot {
    background: rgba(168, 237, 207, 0.1);
    border: 1px solid rgba(168, 237, 207, 0.4);
}

.orbit-outer .orbit-dot span {
    color: rgba(180, 240, 215, 0.9);
    animation: counter-ccw 15s linear infinite;
}

/* od-4 (0°   top):    center=(150,0)   → left=150-24=126, top=-11 */
.od-4 {
    left: 126px;
    top: -11px;
}

/* od-5 (90°  right):  center=(300,150) → left=300-24=276, top=139 */
.od-5 {
    left: 276px;
    top: 139px;
}

/* od-6 (180° bottom): center=(150,300) → left=126, top=300-11=289 */
.od-6 {
    left: 126px;
    top: 289px;
}

/* od-7 (270° left):   center=(0,150)   → left=0-24=-24, top=139 */
.od-7 {
    left: -24px;
    top: 139px;
}

@keyframes counter-ccw {
    to {
        transform: rotate(360deg);
    }
}

/* Central glowing orb */
.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 35%, #ff8c7a, #fd6b56 55%, #c0392b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    z-index: 10;
    box-shadow:
        0 0 20px rgba(253, 107, 86, 0.7),
        0 0 50px rgba(253, 107, 86, 0.35),
        0 0 90px rgba(253, 107, 86, 0.15);
}

.orb-pulse {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(253, 107, 86, 0.45);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orb-expand 2.6s ease-out infinite;
    pointer-events: none;
}

.op2 {
    animation-delay: 1.3s;
}

@keyframes orb-expand {
    0% {
        width: 82px;
        height: 82px;
        opacity: 0.8;
    }

    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}

.orb-ai-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.orb-sub-text {
    font-size: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
    letter-spacing: 2.5px;
}

/* -------------------------------------
   Footer
------------------------------------- */
.site-footer {
    background: #0f2c20;
    /* Very dark green */
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    max-width: 250px;
}

.footer-book-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.55rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-book-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a3d2c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.social-links a:hover {
    background: var(--color-accent);
}

/* -------------------------------------
   Scroll Animations 
------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.fade-up {
    transform: translateY(60px);
}

.fade-in {
    transform: translateY(0) scale(0.96);
}

.fade-left {
    transform: translateX(-60px);
}

.fade-right {
    transform: translateX(60px);
}

.scale-in {
    transform: scale(0.8);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) translateX(0) scale(1);
}

/* -------------------------------------
   Responsive Design
------------------------------------- */
@media (max-width: 992px) {

    .mission-container,
    .featured-container {
        flex-direction: column;
        text-align: center;
    }

    .build-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .project-grid,
    .project-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .project-tabs {
        flex-wrap: wrap;
        gap: 0;
    }

    .mission-badge {
        margin: 0 auto;
    }

    .mission-actions {
        justify-content: center;
    }

    .feature-list li {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
        /* simple mobile menu fallback in JS */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        background: var(--color-white);
        padding: 1rem 1.25rem 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: left;
        z-index: 999;
    }

    /* Fix: desktop rule has higher specificity, so explicitly reset transform for mobile */
    .nav-dropdown.open .dropdown-panel {
        transform: none;
    }

    .nav-links.active > li {
        border-bottom: 1px solid var(--color-border);
        padding: 0.75rem 0;
    }

    .nav-links.active > li:last-child {
        border-bottom: none;
    }

    .nav-links.active a {
        font-size: 1rem;
        padding: 0.25rem 0;
        display: block;
    }

    .dp-item {
        padding: 0.6rem 0.5rem;
    }

    .project-grid,
    .project-grid.reverse {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .project-diagram {
        height: 260px;
    }

    .chatbot-ui {
        width: 90%;
        max-width: 250px;
    }

    .table-mock {
        width: 90%;
    }

    .project-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-btn {
        border-bottom: 1px solid var(--color-border);
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }

    .tab-btn.active::after {
        display: none;
    }

    .tab-btn.active {
        background: rgba(27, 90, 69, 0.05);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .nn-canvas-wrap {
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Build CTA section mobile fixes */
    .build-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .build-content h2 {
        font-size: 2rem;
    }

    .build-content p {
        font-size: 1rem;
    }

    .build-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .build-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .build-visual {
        height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 1rem auto;
    }
}

/* ════════════════════════════════════════════════════
   IMMERSIVE EFFECTS (CURSOR, NOISE, TILT)
   ════════════════════════════════════════════════════ */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

@media (pointer: fine) {

    body,
    a,
    button,
    .btn,
    .tab-btn {
        cursor: none;
    }
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    display: none;
}

@media (pointer: fine) {

    .cursor-dot,
    .cursor-ring {
        display: block;
    }
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 20000;
    border-radius: 50%;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(253, 107, 86, 0.4);
    box-shadow: 0 0 10px rgba(253, 107, 86, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 20000;
    border-radius: 50%;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.cursor-ring.hovering {
    width: 50px;
    height: 50px;
    border-color: rgba(253, 107, 86, 0.8);
    background-color: rgba(253, 107, 86, 0.1);
}

.tilt-element {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ════════════════════════════════════════════════════
   USECASE AI DIAGRAM SECTION
   ════════════════════════════════════════════════════ */
.section-usecase {
    background-color: var(--color-bg-light);
    padding: 100px 0 120px;
}

.pb-6 {
    padding-bottom: 3rem;
}

.uc-diagram {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 40px auto 0;
    background-color: #a2ccb9;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
}

.uc-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.horizontal-lines {
    display: block;
}

.vertical-lines {
    display: none;
}

.uc-path {
    fill: none;
    stroke: #1b5a45;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.uc-card {
    position: absolute;
    background: #fff;
    width: 130px;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-50%);
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.uc-card:hover {
    transform: translateY(-55%) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.uc-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1b5a45;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: normal;
}

.uc-badge.wide {
    right: -25px;
    font-size: 0.7rem;
    padding: 4px 10px;
}

.uc-card-chip {
    background: rgba(253, 107, 86, 0.08);
    color: #1b5a45;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 4px;
    border-radius: 3px;
    font-family: var(--font-heading);
    display: inline-block;
    letter-spacing: 0.5px;
}

.uc-card-chip.gray {
    background: rgba(0, 0, 0, 0.04);
    /* color: transparent; */
    user-select: none;
}

.uc-card-val {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.uc-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    z-index: 10;
}

.uc-center-msg {
    background: rgba(251, 251, 250, 0.95);
    border: 1px dashed #fd6b56;
    padding: 10px 18px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    color: #1b5a45;
}

.uc-center-node {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.uc-ring {
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border: 4px solid #fd6b56;
    opacity: 0.6;
    animation: pingNode 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ring-2 {
    width: 70%;
    height: 70%;
    border: 4px solid #8cb8a3;
}

.uc-core {
    width: 30%;
    height: 30%;
    background: #fd6b56;
    border-radius: 50%;
}

@keyframes pingNode {

    75%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.uc-l1 {
    left: 25%;
    top: 20%;
}

.uc-l2 {
    left: 10%;
    top: 40%;
}

.uc-l3 {
    left: 10%;
    top: 60%;
}

.uc-l4 {
    left: 25%;
    top: 80%;
}

.uc-r1 {
    left: 75%;
    top: 20%;
}

.uc-r2 {
    left: 90%;
    top: 40%;
}

.uc-r3 {
    left: 90%;
    top: 60%;
}

.uc-r4 {
    left: 75%;
    top: 80%;
}

/* -------------------------------------
   Call Action Highlight
------------------------------------- */
.btn-call-action {
    position: relative;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent), #ff5a5f);
    box-shadow: 0 8px 25px rgba(253, 107, 86, 0.35);
    border: none;
    z-index: 1;
}

.btn-call-action::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: 50px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
    animation: callPulseGlow 2s infinite alternate;
}

@keyframes callPulseGlow {
    from {
        opacity: 0.5;
        filter: blur(8px);
    }

    to {
        opacity: 0.9;
        filter: blur(14px);
    }
}

.btn-call-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(253, 107, 86, 0.5);
}

.pulse-icon {
    display: inline-block;
    animation: callRing 2.5s infinite;
    transform-origin: center;
}

@keyframes callRing {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

/* -------------------------------------
   Modern Modal
------------------------------------- */
/* ════════════════════════════════════════════════════
   Modern Modal & Dialer (Theme Optimized)
   ════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-white);
    width: 90%;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header-bar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-header-bar h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
    font-family: var(--font-heading);
}

.modal-back-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.header-dots {
    font-size: 1.2rem;
    opacity: 0.8;
}

.dialer-body {
    background: #fff;
    padding: 1.5rem 1rem 1.5rem;
    overflow: visible;
    /* Ensure dropdown is not cut off */
}

.dialer-display {
    text-align: right;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    overflow: visible;
    /* Critical for dropdown */
}

.dial-name-field {
    margin-bottom: 0.2rem;
}

.dial-name-field label {
    display: block;
    font-size: 0.65rem;
    color: var(--color-text-light);
    margin-bottom: 1px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-minimal {
    border: none;
    text-align: right;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    width: 100%;
    background: transparent;
}

.input-minimal:focus {
    outline: none;
}

.dial-number-field {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.2rem;
    position: relative;
    overflow: visible;
}

.custom-dropdown {
    position: relative;
    user-select: none;
}

.selected-country {
    font-size: 1.8rem;
    color: #333;
    font-weight: 300;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.2s;
}

.selected-country:hover {
    color: var(--color-primary);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    width: 180px;
    /* Wider for search */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    overflow: hidden;
    /* For search header rounded top */
}

/* Custom Scrollbar for the UL inside */
#countryOptions::-webkit-scrollbar {
    width: 5px;
}

#countryOptions::-webkit-scrollbar-track {
    background: transparent;
}

#countryOptions::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

#countryOptions {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.search-box {
    padding: 8px;
    border-bottom: 1px solid #eee;
    background: #fcfcfc;
}

.search-box input {
    width: 100%;
    border: 1px solid #eee;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
    transition: border 0.2s;
}

.search-box input:focus {
    border-color: var(--color-primary);
}

.custom-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-options li {
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #444;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    border-bottom: 1px solid #f9f9f9;
}

.dropdown-options li:hover {
    background: var(--color-bg-gray);
    color: var(--color-primary);
}

.dropdown-options li.hidden {
    display: none !important;
}

.no-results {
    padding: 10px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.input-display {
    border: none;
    font-size: 2.2rem;
    color: #333;
    font-weight: 300;
    width: 100%;
    text-align: right;
    background: transparent;
}

.input-display:focus {
    outline: none;
}

.dialer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 0;
    margin-bottom: 1.5rem;
}

.dial-key {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.8rem;
    color: #333;
    font-weight: 400;
    line-height: 1;
    font-family: var(--font-body);
}

.dial-key span {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1px;
    margin-top: 3px;
}

.dial-key:hover {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
}

.dial-key:active {
    background: rgba(0, 0, 0, 0.08);
}

.dialer-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.btn-dial-del {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.2s;
}

.btn-dial-del:hover {
    color: var(--color-accent);
}

.btn-dial-call {
    background: var(--color-primary);
    border: none;
    width: 110px;
    height: 44px;
    border-radius: 100px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(27, 90, 69, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dial-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(27, 90, 69, 0.3);
}

.btn-dial-call i {
    font-size: 1.4rem;
    font-style: normal;
}

@media (max-width: 992px) {
    .horizontal-lines {
        display: none !important;
    }

    .vertical-lines {
        display: block !important;
    }

    .uc-diagram {
        height: 900px;
        padding: 0;
        display: block;
        background-color: #a2ccb9;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    }

    .uc-lines {
        display: block;
    }

    .uc-card,
    .uc-center {
        position: absolute;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 140px;
        text-align: center;
    }

    .uc-center {
        width: auto;
        top: 50%;
        left: 50%;
    }

    .uc-card:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }

    .uc-badge,
    .uc-badge.wide {
        position: absolute;
        top: -10px;
        right: -10px;
        display: inline-block;
        margin-bottom: 0;
    }

    .uc-badge.wide {
        right: -25px;
    }

    /* Vertical card grid mapping */
    .uc-l1 {
        left: 25%;
        top: 12%;
    }

    .uc-l2 {
        left: 75%;
        top: 12%;
    }

    .uc-l3 {
        left: 25%;
        top: 30%;
    }

    .uc-l4 {
        left: 75%;
        top: 30%;
    }

    .uc-r1 {
        left: 25%;
        top: 70%;
    }

    .uc-r2 {
        left: 75%;
        top: 70%;
    }

    .uc-r3 {
        left: 25%;
        top: 88%;
    }

    .uc-r4 {
        left: 75%;
        top: 88%;
    }
}

/* -------------------------------------
   AI Call Dialer Spinner
------------------------------------- */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin-loader 0.8s linear infinite;
}

@keyframes spin-loader {
    to {
        transform: rotate(360deg);
    }
}

/* -------------------------------------
   OTP Modal Styles
------------------------------------- */
.otp-modal-content {
    max-width: 420px !important;
    border-radius: 20px !important;
}

.otp-body {
    padding: 30px !important;
    text-align: center;
}

.otp-illustration {
    background: rgba(27, 90, 69, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.otp-instruction p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.otp-main-input {
    font-size: 32px !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 12px !important;
    padding: 15px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    margin: 25px 0 !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.otp-main-input:focus {
    border-color: #1b5a45 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(27, 90, 69, 0.1) !important;
}

.btn-full-width {
    width: 100%;
    margin-top: 10px;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: underline;
    color: #1b5a45;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

/* -------------------------------------
   Premium Bento Grid System
------------------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 60px;
}

.bento-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    padding: 35px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

/* Specific Bento Areas */
.area-small-1 {
    grid-column: span 3;
    grid-row: span 1;
}

.area-small-2 {
    grid-column: span 3;
    grid-row: span 1;
}

.area-large {
    grid-column: span 5;
    grid-row: span 2;
    min-height: 540px;
}

.area-medium-1 {
    grid-column: span 4;
    grid-row: span 1;
}

.area-medium-2 {
    grid-column: span 4;
    grid-row: span 1;
}

@media (max-width: 1200px) {

    .area-small-1,
    .area-small-2,
    .area-large,
    .area-medium-1,
    .area-medium-2 {
        grid-column: span 12;
        grid-row: auto;
        min-height: auto;
    }
}

/* Card Variants */
.card-dark {
    background: #0f172a;
    color: #fff;
}

.card-white {
    background: #fff;
}

.card-hero-image {
    background: #f1f5f9;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.hero-content {
    padding: 45px;
    padding-bottom: 0px;
    z-index: 2;
    position: relative;
}

.hero-bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
    opacity: 0.9;
}

/* Typography & Decorations */
.bento-item h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.bento-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

.card-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: auto;
    letter-spacing: -2px;
}

/* Glass Badge */
.glass-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    z-index: 3;
}

/* Responsive Grid Gap */
@media (max-width: 768px) {
    .bento-grid {
        gap: 16px;
    }

    .bento-item {
        padding: 25px;
        border-radius: 24px;
    }
}

/* -------------------------------------
   Dialer Calling State
-------------------------------------- */
.dialer-calling-state {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
    min-height: 340px;
    gap: 0.75rem;
}

.calling-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(27, 90, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    animation: calling-pulse 1.8s ease-in-out infinite;
}

.calling-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary, #1b5a45);
}

.calling-phone-display {
    color: #666;
    font-size: 0.95rem;
}

.calling-dots {
    display: flex;
    gap: 7px;
    margin: 0.5rem 0;
}

.calling-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary, #1b5a45);
    animation: calling-bounce 1.4s ease-in-out infinite;
}

.calling-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.calling-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.calling-info {
    font-size: 0.85rem;
    color: #888;
    max-width: 220px;
    line-height: 1.5;
}

/* Dialer call visual (Aurora → Jack) */
.dialer-call-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.dialer-caller-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.dialer-caller-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.agent-avatar {
    background: linear-gradient(135deg, #1b5a45 0%, #2d8a6a 100%);
}

.contact-avatar {
    background: linear-gradient(135deg, #3b6fd4 0%, #6fa0f5 100%);
}

.dialer-caller-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
}

.dialer-caller-tag {
    font-size: 0.7rem;
    color: #888;
}

/* Animated wave phone icon in the middle */
.dialer-wave-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialer-wave-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(27, 90, 69, 0.4);
    animation: dialer-ring-grow 2s ease-out infinite;
}

.dialer-wave-ring.r1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.dialer-wave-ring.r2 {
    width: 75%;
    height: 75%;
    animation-delay: 0.5s;
}

.dialer-wave-ring.r3 {
    width: 50%;
    height: 50%;
    animation-delay: 1s;
}

.dialer-wave-phone {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary, #1b5a45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    animation: dialer-phone-ring 0.6s ease-in-out infinite alternate;
}

@keyframes dialer-ring-grow {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes dialer-phone-ring {
    0% {
        transform: rotate(-12deg);
    }

    100% {
        transform: rotate(12deg);
    }
}

.calling-done-btn {
    margin-top: 1rem;
    padding: 0.55rem 1.75rem;
    border-radius: 50px;
    background: #dc2626;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: background 0.2s;
}

.calling-done-btn:hover {
    background: #b91c1c;
}

@keyframes calling-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.5);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes calling-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 90, 69, 0.35);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(27, 90, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 90, 69, 0);
    }
}