/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f766e;
    --primary-dark: #0b5f59;
    --primary-rgb: 15, 118, 110;
    --secondary-color: #134e4a;
    --accent-color: #2dd4bf;
    --dark-color: #12141a;
    --dark-secondary: #1c1f28;
    --light-color: #f3f1ec;
    --surface: #ebe8e2;
    --text-color: #2a2e37;
    --text-light: #5c6370;
    --white: #ffffff;
    --gray: #5c6370;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 10px;
    --gradient-1: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
    --gradient-2: linear-gradient(145deg, #1c1f28 0%, #12141a 100%);
    --gradient-3: linear-gradient(145deg, #0f766e 0%, #2dd4bf 100%);
    --gradient-primary: linear-gradient(145deg, #0f766e 0%, #0b5f59 100%);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation — superseded by css/section1.css (.site-nav).
   Legacy rules kept inert so older page chrome still parses cleanly.
   Exclude footer nav blocks so they are never treated as a fixed header. */
nav:not(.site-nav):not(.nx-footer__nav) {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

nav:not(.site-nav):not(.nx-footer__nav).scrolled {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(18, 20, 26, 0.08);
}

nav:not(.site-nav):not(.nx-footer__nav) .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.2s ease;
}

.logo-link:hover {
    color: var(--primary-color);
}

.logo-img {
    width: clamp(150px, 16vw, 190px);
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.logo-text {
    display: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:not(.pill-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover:not(.btn):not(.pill-cta)::after,
.nav-links a.active:not(.pill-cta)::after {
    width: 100%;
}

.nav-links a:hover:not(.btn):not(.pill-cta) {
    color: var(--primary-color);
}

.nav-links .btn::after {
    display: none;
}

.nav-links .btn-primary,
.nav-links .btn-primary:hover {
    color: #fff;
}

/* Services mega menu — numbered list + intro rail (not card grid) */
.nav-item.has-mega {
    position: relative;
}

.nav-mega-trigger {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.nav-mega-trigger::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-item.has-mega:hover .nav-mega-trigger,
.nav-item.has-mega.is-open .nav-mega-trigger,
.nav-mega-trigger[aria-expanded="true"] {
    color: var(--primary-color);
}

.nav-item.has-mega:hover .nav-mega-trigger::after,
.nav-item.has-mega.is-open .nav-mega-trigger::after,
.nav-mega-trigger[aria-expanded="true"]::after {
    width: 100%;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-28%) translateY(10px);
    width: min(720px, calc(100vw - 2rem));
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    background: var(--dark-color);
    border: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(18, 20, 26, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
}

@media (hover: hover) and (pointer: fine) {
    .nav-item.has-mega:hover .mega-menu,
    .nav-item.has-mega:focus-within .mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-28%) translateY(0);
    }
}

.nav-item.has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-28%) translateY(0);
}

.mega-menu-intro {
    padding: 1.5rem 1.25rem;
    background: linear-gradient(165deg, #0d1f1c 0%, #12141a 55%, #1a2224 100%);
    border-right: 1px solid rgba(45, 212, 191, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.mega-menu-kicker {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0 0 0.65rem;
}

.mega-menu-lede {
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.mega-menu-all {
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    margin-top: auto;
    align-self: flex-start;
    border-bottom: 1px solid rgba(45, 212, 191, 0.5);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mega-menu-all::after {
    display: none !important;
}

.mega-menu-all:hover {
    color: var(--accent-color) !important;
    border-color: var(--accent-color);
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background: #161920;
}

.mega-menu-list li + li .mega-menu-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-menu-item {
    display: grid;
    grid-template-columns: 2rem 1.75rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 1.25rem;
    text-decoration: none !important;
    color: inherit;
    transition: background-color 0.2s ease;
}

.mega-menu-item::after {
    display: none !important;
}

.mega-menu-item:hover {
    background: rgba(15, 118, 110, 0.18);
    color: inherit;
}

.mega-menu-index {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(45, 212, 191, 0.55);
    line-height: 1.6;
    padding-top: 0.1rem;
}

.mega-menu-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--accent-color);
    font-size: 0.85rem;
    border-bottom: 2px solid rgba(45, 212, 191, 0.35);
}

.mega-menu-item:hover .mega-menu-icon {
    border-bottom-color: var(--accent-color);
}

.mega-menu-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.mega-menu-copy strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.mega-menu-copy span {
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.hero .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.8);
}

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

.btn-large {
    padding: 15px 32px;
    font-size: 1.05rem;
}

/* Pill CTA — avatar + two-line label + dotted arrow */
.pill-cta {
    --pill-avatar: 42px;
    --pill-arrow: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2026%2026'%3E%3Cg%20fill='%23000'%3E%3Ccircle%20cx='3'%20cy='13'%20r='1.6'/%3E%3Ccircle%20cx='8'%20cy='13'%20r='1.6'/%3E%3Ccircle%20cx='13'%20cy='13'%20r='1.6'/%3E%3Ccircle%20cx='18'%20cy='13'%20r='1.6'/%3E%3Ccircle%20cx='23'%20cy='13'%20r='1.6'/%3E%3Ccircle%20cx='13'%20cy='3'%20r='1.6'/%3E%3Ccircle%20cx='18'%20cy='8'%20r='1.6'/%3E%3Ccircle%20cx='18'%20cy='18'%20r='1.6'/%3E%3Ccircle%20cx='13'%20cy='23'%20r='1.6'/%3E%3C/g%3E%3C/svg%3E");
    --pill-surface: #eceef1;
    --pill-ring: 1.5px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 6px 6px 6px 7px;
    border-radius: 999px;
    background: rgba(18, 20, 26, 0.12);
    box-shadow: 0 8px 20px rgba(18, 20, 26, 0.1);
    text-decoration: none;
    font-family: var(--font-body);
    line-height: 1;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* Traveling highlight around the border */
.pill-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    aspect-ratio: 1 / 1;
    translate: -50% -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg 250deg,
        rgba(45, 212, 191, 0.25) 296deg,
        var(--accent-color) 328deg,
        rgba(15, 118, 110, 0.4) 348deg,
        transparent 360deg
    );
    animation: pill-border-trace 3.4s linear infinite;
    z-index: -2;
}

/* Inner surface that leaves only the ring visible */
.pill-cta::after {
    content: '';
    position: absolute;
    inset: var(--pill-ring);
    border-radius: inherit;
    background: var(--pill-surface);
    z-index: -1;
    transition: background-color 0.25s ease, inset 0.25s ease;
}

.pill-cta:hover {
    box-shadow: 0 12px 26px rgba(18, 20, 26, 0.22);
    transform: translateY(-1px);
}

.pill-cta:hover::after {
    background: var(--dark-color);
}

.pill-cta:hover {
    --pill-ring: 2px;
}

@keyframes pill-border-trace {
    to {
        rotate: 360deg;
    }
}

.pill-cta-avatar {
    width: var(--pill-avatar);
    height: var(--pill-avatar);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(18, 20, 26, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-cta-avatar img {
    width: 74%;
    height: 74%;
    object-fit: contain;
}

.pill-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding-right: 0.35rem;
    text-align: left;
}

.pill-cta-copy strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--dark-color);
    transition: color 0.25s ease;
}

.pill-cta-copy span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.25s ease;
}

.pill-cta:hover .pill-cta-copy strong {
    color: #fff;
}

.pill-cta:hover .pill-cta-copy span {
    color: rgba(255, 255, 255, 0.6);
}

.pill-cta-icon {
    position: relative;
    width: var(--pill-avatar);
    height: var(--pill-avatar);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-left: 1px solid rgba(18, 20, 26, 0.08);
    transition: border-color 0.25s ease;
}

.pill-cta-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--dark-color);
    -webkit-mask: var(--pill-arrow) center / contain no-repeat;
    mask: var(--pill-arrow) center / contain no-repeat;
    transition: background-color 0.25s ease;
}

.pill-cta:hover .pill-cta-icon {
    border-left-color: rgba(255, 255, 255, 0.16);
}

.pill-cta:hover .pill-cta-icon::before {
    background: var(--accent-color);
    animation: pill-arrow-dash 0.55s ease;
}

@keyframes pill-arrow-dash {
    0% { transform: translateX(0); opacity: 1; }
    45% { transform: translateX(10px); opacity: 0; }
    55% { transform: translateX(-10px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.pill-cta-sm {
    --pill-avatar: 34px;
    gap: 0.6rem;
    padding: 5px 5px 5px 6px;
}

.pill-cta-sm .pill-cta-copy strong {
    font-size: 0.85rem;
}

.pill-cta-sm .pill-cta-copy span {
    font-size: 0.7rem;
}

.pill-cta-sm .pill-cta-icon::before {
    width: 17px;
    height: 17px;
}

/* Pill CTA on dark bands */
.service-cta .pill-cta,
.pill-cta-on-dark {
    background: rgba(255, 255, 255, 0.2);
}

.service-cta .pill-cta:hover,
.pill-cta-on-dark:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.service-cta .pill-cta:hover::after,
.pill-cta-on-dark:hover::after {
    background: var(--primary-color);
}

.service-cta .pill-cta:hover .pill-cta-copy span,
.pill-cta-on-dark:hover .pill-cta-copy span {
    color: rgba(255, 255, 255, 0.75);
}

.service-cta .pill-cta:hover .pill-cta-icon::before,
.pill-cta-on-dark:hover .pill-cta-icon::before {
    background: #fff;
}

.nav-links a.pill-cta:hover {
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .pill-cta,
    .pill-cta-icon::before {
        transition: none;
    }

    .pill-cta::before,
    .pill-cta:hover::before,
    .pill-cta:hover .pill-cta-icon::before {
        animation: none;
    }
}

/* Hero Section */
.hero {
    background: #07090c;
    color: var(--white);
    padding: 0;
    text-align: left;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Static teal atmosphere — fallback only (reduced motion / no WebGL) */
.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(15, 118, 110, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 30%, rgba(45, 212, 191, 0.14) 0%, transparent 50%),
        linear-gradient(160deg, #0a1211 0%, #12141a 40%, #0d1f1c 100%);
    transition: opacity 0.4s ease;
}

.hero.is-static-bg .hero-atmosphere,
.hero-atmosphere.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-atmosphere {
        opacity: 1;
    }
}

/* DarkVeil sits above the static atmosphere fallback */
.hero-darkveil {
    z-index: 1;
}

.hero-layout,
.hero-proof {
    position: relative;
    z-index: 2;
}

/* Motion 1: hero entrance hierarchy */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.hero-status,
.hero-brand,
.hero-title,
.hero-description,
.hero-buttons,
.hero-actions {
    animation: heroEnter 0.85s ease-out both;
}

.hero-status { animation-delay: 0.02s; }
.hero-brand { animation-delay: 0.12s; }
.hero-title { animation-delay: 0.24s; }
.hero-description { animation-delay: 0.36s; }
.hero-buttons { animation-delay: 0.48s; }
.hero-actions { animation-delay: 0.48s; }

.hero-proof {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0 2rem;
    background: rgba(0, 0, 0, 0.35);
    animation: heroEnter 0.85s ease-out 0.55s both;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-status,
    .hero-brand,
    .hero-title,
    .hero-description,
    .hero-buttons,
    .hero-actions,
    .hero-proof {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

.hero-layout {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 2.5rem 3rem;
    padding: 100px 20px 48px;
    width: 100%;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.32);
    background: rgba(45, 212, 191, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
    animation: hero-status-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-status-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.35rem);
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.78;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.hero-text-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-text-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* Hero pill actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-pill-light {
    background: #fff;
    color: #12141a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.btn-pill-light:hover {
    background: #f1f3f5;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.btn-pill-light:hover svg {
    transform: translate(2px, -2px);
}

.btn-pill-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.btn-pill-dark:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero live-work showcase */
.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 520px;
    justify-self: end;
    animation: heroEnter 0.95s ease-out 0.55s both;
}

.hero-showcase-glow {
    position: absolute;
    inset: 8% -6% -4% -6%;
    background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.28) 0%, transparent 68%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}

.hero-showcase-stage {
    position: relative;
    z-index: 1;
    display: grid;
    border-radius: 16px;
    animation: hero-float 7s ease-in-out infinite;
}

.hero-browser {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #16181f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transition: opacity 0.7s ease;
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-showcase-stage .hero-browser.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-browser-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(180deg, #1e222b 0%, #171a21 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-browser-dots {
    display: inline-flex;
    gap: 5px;
    flex-shrink: 0;
}

.hero-browser-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: block;
}

.hero-browser-dots i:nth-child(1) { background: #ff5f57; }
.hero-browser-dots i:nth-child(2) { background: #febc2e; }
.hero-browser-dots i:nth-child(3) { background: #28c840; }

.hero-browser-url {
    flex: 1;
    min-width: 0;
    padding: 0.35rem 0.7rem;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero-browser-live {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.hero-browser-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
    animation: hero-status-pulse 2.2s ease-in-out infinite;
}

.hero-browser-screen {
    aspect-ratio: 16 / 10;
    background: #0b0d12;
    overflow: hidden;
}

.hero-browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-browser-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(18, 20, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-browser-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(45, 212, 191, 0.9);
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    background: rgba(45, 212, 191, 0.08);
}

.hero-browser-meta strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.hero-showcase-dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
}

.hero-showcase-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-showcase-dot.is-active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.hero-showcase-dot:hover {
    background: rgba(255, 255, 255, 0.55);
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-showcase-stage {
        animation: none;
    }

    .hero-showcase-stage .hero-browser {
        transition: none;
    }
}

.hero-proof-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 3rem;
    flex-wrap: wrap;
}

.hero-proof-block {
    min-width: 0;
}

.hero-proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.85rem;
}

.hero-metrics {
    display: flex;
    align-items: stretch;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.hero-metric::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent-color), rgba(45, 212, 191, 0.15));
}

.hero-metric-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-metric-label {
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.55);
    max-width: 16ch;
}

.hero-logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 2rem;
    align-items: center;
}

.client-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.85;
}

.client-wordmark:hover {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    transform: translateY(-1px);
}

.client-wordmark .wm-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}

.client-wordmark .wm-text strong {
    font-weight: 800;
}

/* Tiny monochrome marks — give each brand a distinct silhouette */
.wm-mark {
    display: inline-block;
    flex-shrink: 0;
}

.wm-mark-diamond {
    width: 9px;
    height: 9px;
    background: currentColor;
    transform: rotate(45deg);
}

.wm-mark-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.wm-mark-ring {
    width: 11px;
    height: 11px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
}

.wm-rule {
    display: inline-block;
    width: 10px;
    height: 1.5px;
    margin: 0 0.35rem;
    background: currentColor;
    vertical-align: middle;
    opacity: 0.7;
}

/* Brand-specific typography so the strip reads as logos, not a link list */
.wm-kyra .wm-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.wm-akshar .wm-text {
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: lowercase;
}

.wm-akshar .wm-text strong {
    letter-spacing: -0.02em;
}

.wm-axar .wm-text {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.wm-akatsuki .wm-text {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

/* Services Section — icon-led editorial grid */
.services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.section-subtitle {
    display: block;
    text-align: center;
    padding: 0;
    background: none;
    color: var(--primary-color);
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 4rem;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: -2rem auto 3.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.35fr);
    gap: 3rem 3.5rem;
    align-items: start;
}

.services-intro {
    position: sticky;
    top: 6.5rem;
}

.services-intro .section-subtitle {
    text-align: left;
}

.services-intro .section-title-left {
    margin-bottom: 1.25rem;
}

.services-intro .section-intro-left {
    margin: 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.capability-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.4rem 1.55rem 1.5rem;
    background: var(--light-color);
    border: none;
    border-left: 3px solid rgba(15, 118, 110, 0.35);
    border-radius: 0 8px 8px 0;
    align-items: flex-start;
    transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.capability-item:hover {
    border-left-color: var(--primary-color);
    background: #ebe8e2;
    transform: translateX(4px);
}

.capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--primary-color);
    font-size: 1.05rem;
    border-bottom: 2px solid rgba(15, 118, 110, 0.3);
}

.capability-item:hover .capability-icon {
    border-bottom-color: var(--primary-color);
}

.capability-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.capability-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.capability-body p {
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.95rem;
    max-width: none;
    margin: 0 0 0.85rem;
}

.capability-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease;
}

.capability-more:hover {
    color: var(--primary-dark);
}

.services-grid,
.service-card {
    display: none;
}

/* Stats Section */
.stats-section {
    padding: 48px 0;
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.55rem;
    opacity: 0.9;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--white);
}

.portfolio-intro {
    text-align: center;
    max-width: 560px;
    margin: -2rem auto 3rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.portfolio-filter {
    display: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid rgba(18, 20, 26, 0.08);
    transition: border-color 0.2s ease;
}

.portfolio-item:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
}

.portfolio-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: var(--dark-secondary);
    transition: opacity 0.35s ease;
}

.portfolio-item:hover img {
    opacity: 0.92;
    transform: none;
}

.portfolio-meta {
    padding: 1.35rem 1.5rem 1.5rem;
}

.portfolio-meta h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.portfolio-outcome {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.portfolio-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.portfolio-more {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.portfolio-more .btn-outline {
    color: var(--dark-color);
    border-color: rgba(18, 20, 26, 0.18);
}

.portfolio-more .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.portfolio-featured-badge,
.portfolio-overlay,
.view-details-btn {
    display: none;
}

@media (max-width: 768px) {
    .portfolio-grid-featured {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-color);
}

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

.about-text {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    display: none; /* Hidden for now */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
}

.about-card:nth-child(1) {
    grid-column: 1 / -1;
}

.about-card:nth-child(4) {
    grid-column: 1 / -1;
}

.card-content i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

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

/* FAQ Section — split intro + details accordion */
.faq {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.25fr);
    gap: 3rem 3.5rem;
    align-items: start;
}

.faq-intro {
    position: relative;
    top: auto;
}

.faq-intro .section-subtitle {
    text-align: left;
}

.faq-intro .section-title-left {
    margin-bottom: 1.25rem;
}

.faq-intro .section-intro-left {
    margin: 0 0 1.5rem;
}

.faq-cta {
    display: inline-flex;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(18, 20, 26, 0.08);
    border-left: 3px solid rgba(15, 118, 110, 0.35);
    padding: 0.15rem 1.15rem 0.15rem 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-left-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(18, 20, 26, 0.06);
}

.faq-item summary {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-color);
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
    padding: 1rem 2rem 1rem 0;
    position: relative;
    line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-item p {
    margin: 0 0 1.1rem;
    padding-right: 1.5rem;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 54ch;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0 60px;
    background: var(--white);
    overflow: hidden;
    position: relative;
    contain: layout style;
}

.testimonials-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.testimonials-carousel {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.45s ease;
}

.testimonial-card {
    background: var(--white);
    padding: 1.25rem 1.35rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
    flex: 0 0 calc((100% - 2.5rem) / 3);
    width: calc((100% - 2.5rem) / 3);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -3px;
    left: 15px;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.08;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-style: italic;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-top: auto;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-info h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.65rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.testimonials-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    background: var(--white);
    color: var(--dark-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.testimonials-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.testimonials-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(18, 20, 26, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-dot.is-active {
    background: var(--primary-color);
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
        width: calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0 40px;
    }

    .testimonials-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .testimonials-carousel {
        padding: 0 1rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
        min-height: 240px;
        padding: 1rem 1.15rem;
    }

    .testimonial-rating {
        margin-bottom: 0.4rem;
        font-size: 0.7rem;
    }

    .testimonial-text {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }

    .author-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .author-info h4 {
        font-size: 0.75rem;
        margin-bottom: 0.05rem;
    }

    .author-info p {
        font-size: 0.6rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 1rem;
}

.contact-info h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-info p {
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    border-bottom: 1px solid rgba(18, 20, 26, 0.1);
}

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

.contact-item:hover {
    transform: none;
    box-shadow: none;
}

.contact-item i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    -webkit-text-fill-color: var(--primary-color);
    background-image: none;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
}

.contact-item a {
    color: var(--dark-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(18, 20, 26, 0.08);
    box-shadow: none;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d8dde6;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    background: var(--light-color);
    color: var(--text-color);
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6370' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-form .btn {
    align-self: flex-start;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Intentional scroll reveals — Motion 2 */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-grid {
        will-change: auto;
    }

    .testimonials-track {
        transition: none;
    }
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.footer-about h3 {
    margin-bottom: 0;
    color: var(--white);
    font-size: 1.65rem;
    font-weight: 700;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: min(210px, 100%);
    height: auto;
    object-fit: contain;
    filter: invert(1);
}

.footer-about p {
    margin-bottom: 1.25rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.4);
}

.footer-links h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-newsletter h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-newsletter p {
    margin-bottom: 1rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 360px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-links ul {
        gap: 0.6rem 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Legacy mobile drawer — excluded for redesigned .site-nav */
    nav:not(.site-nav):not(.nx-footer__nav) .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    nav:not(.site-nav):not(.nx-footer__nav) .nav-links.active {
        left: 0;
    }

    .nav-item.has-mega {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-mega-trigger {
        font-size: inherit;
    }

    .mega-menu {
        position: static;
        transform: none !important;
        width: calc(100% - 2rem);
        max-width: 440px;
        margin: 0.75rem auto 0;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
        display: none;
        grid-template-columns: 1fr;
        box-shadow: none;
        border-radius: 4px;
        text-align: left;
    }

    .nav-item.has-mega.is-open .mega-menu {
        display: grid;
    }

    .mega-menu-intro {
        border-right: none;
        border-bottom: 1px solid rgba(45, 212, 191, 0.12);
        padding: 1.1rem 1.15rem;
        gap: 0.75rem;
    }

    .mega-menu-item {
        grid-template-columns: 1.75rem 1.5rem 1fr;
        padding: 0.75rem 1rem;
        gap: 0.6rem;
    }

    /* Hero responsive handled in section1.css */

    .section-title {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

/* Smooth Scrolling - Handled by Lenis */
html {
    scroll-behavior: auto; /* Lenis will handle smooth scrolling */
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Nexy chatbot — Nexora dark theme */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(20, 24, 32, 0.72);
    color: #F5F7FA;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chatbot-toggle:hover {
    background: rgba(30, 36, 48, 0.88);
    border-color: rgba(79, 124, 255, 0.45);
    transform: translateY(-2px);
}

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

.chatbot-toggle-open img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.chatbot-toggle-close {
    display: none;
    color: #F5F7FA;
}

.chatbot-toggle.is-open .chatbot-toggle-open {
    display: none;
}

.chatbot-toggle.is-open .chatbot-toggle-close {
    display: block;
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: min(380px, calc(100vw - 40px));
    height: 580px;
    max-height: calc(100vh - 140px);
    background: rgba(13, 15, 18, 0.82);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    color: #F5F7FA;
}

.chatbot-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.chatbot-header {
    background: rgba(10, 12, 16, 0.65);
    color: #F5F7FA;
    padding: 1rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(79, 124, 255, 0.12);
    border: 1px solid rgba(79, 124, 255, 0.28);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chatbot-avatar img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.chatbot-info h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.chatbot-status {
    font-size: 0.75rem;
    color: rgba(245, 247, 250, 0.55);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.chatbot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4F7CFF;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(79, 124, 255, 0.55);
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.chatbot-messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: transparent;
    touch-action: pan-y;
}

.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 124, 255, 0.55);
}

.message {
    display: flex;
    gap: 0.65rem;
    animation: fadeInUp 0.3s ease;
    max-width: min(90%, 100%);
    min-width: 0;
    width: fit-content;
    box-sizing: border-box;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.bot-message {
    align-self: flex-start;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: -0.02em;
    overflow: hidden;
}

.message-avatar img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.user-message .message-avatar {
    background: #4F7CFF;
    color: #fff;
}

.bot-message .message-avatar {
    background: rgba(79, 124, 255, 0.12);
    color: #4F7CFF;
    border: 1px solid rgba(79, 124, 255, 0.28);
}

.message-content {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.user-message .message-content {
    background: #4F7CFF;
    color: #fff;
    border-radius: 12px 12px 4px 12px;
}

.bot-message .message-content {
    background: rgba(255, 255, 255, 0.06);
    color: #F5F7FA;
    border-radius: 12px 12px 12px 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-content p {
    margin: 0;
    line-height: 1.55;
    font-size: 0.9rem;
    font-family: var(--font-body);
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.message-content code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, monospace;
    font-size: 0.85em;
}

.user-message .message-content code {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-input-container {
    padding: 0.9rem 1rem 1rem;
    background: rgba(10, 12, 16, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.chatbot-input-wrapper {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

#chatbotInput {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: #F5F7FA;
}

#chatbotInput::placeholder {
    color: rgba(245, 247, 250, 0.4);
}

#chatbotInput:focus {
    border-color: rgba(79, 124, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.12);
}

.chatbot-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #4F7CFF;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.chatbot-send-btn:hover:not(:disabled) {
    background: #6B8FFF;
}

.chatbot-send-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.chatbot-typing {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 0 0;
    justify-content: flex-start;
}

.chatbot-typing span {
    width: 6px;
    height: 6px;
    background: #4F7CFF;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.chatbot-typing span:nth-child(1) { animation-delay: 0s; }
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.chatbot-faq {
    margin-top: 0.25rem;
    animation: fadeInUp 0.35s ease;
}

.faq-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(245, 247, 250, 0.45);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-body);
}

.faq-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #F5F7FA;
    font-weight: 600;
}

.faq-btn:hover {
    background: rgba(79, 124, 255, 0.18);
    color: #fff;
    border-color: rgba(79, 124, 255, 0.45);
    transform: none;
    box-shadow: none;
}

.chatbot-faq.hidden {
    display: none;
}
/* Left-side WhatsApp quick contact */
.whatsapp-left-float {
    position: fixed;
    left: 26px;
    bottom: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    z-index: 1000;
    box-shadow:
        0 0 0 0 rgba(37, 211, 102, 0.45),
        0 8px 20px rgba(37, 211, 102, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-glow 2.4s ease-in-out infinite;
}

.whatsapp-left-float svg {
    width: 28px;
    height: 28px;
    display: block;
    color: #fff;
}

.whatsapp-left-float:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow:
        0 0 18px 4px rgba(37, 211, 102, 0.55),
        0 10px 24px rgba(18, 140, 126, 0.4);
    animation: none;
}

html.nx-device-preview .nx-top-banner,
html.nx-device-preview .whatsapp-left-float,
html.nx-device-preview .chatbot-toggle,
html.nx-device-preview .chatbot-container {
    display: none !important;
}

html.nx-device-preview body.nx-home {
    padding-top: 0 !important;
}

@keyframes whatsapp-glow {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.4),
            0 8px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow:
            0 0 16px 6px rgba(37, 211, 102, 0.5),
            0 8px 22px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .chatbot-container {
        left: max(12px, env(safe-area-inset-left, 0px));
        right: max(12px, env(safe-area-inset-right, 0px));
        width: auto;
        height: min(580px, calc(100dvh - 7.5rem - env(safe-area-inset-bottom, 0px)));
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 7.5rem - env(safe-area-inset-bottom, 0px));
        border-radius: 14px;
    }

    .chatbot-toggle {
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        right: max(12px, env(safe-area-inset-right, 0px));
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .chatbot-close {
        width: 44px;
        height: 44px;
    }

    #chatbotInput {
        font-size: 16px;
        min-height: 44px;
    }

    .chatbot-send-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .faq-btn {
        min-height: 44px;
    }

    .whatsapp-left-float {
        left: max(16px, env(safe-area-inset-left, 0px));
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

/* Pricing Section — engagement bands */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.pricing-grid-bands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
    background: var(--white);
    border: 1px solid rgba(18, 20, 26, 0.1);
    border-radius: 12px;
    padding: 1.75rem 1.75rem 1.5rem;
    text-align: left;
    transition: border-color 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(var(--primary-rgb), 0.45);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.pricing-card.featured:hover {
    border-color: var(--primary-dark);
}

.pricing-badge {
    position: static;
    display: inline-block;
    align-self: flex-start;
    transform: none;
    background: transparent;
    color: var(--primary-color);
    padding: 0;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.pricing-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(18, 20, 26, 0.08);
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pricing-description {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 0 0.85rem;
}

.pricing-timeline {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
    text-align: left;
}

.pricing-features li {
    padding: 0.55rem 0 0.55rem 1.1rem;
    color: var(--text-color);
    display: block;
    font-size: 0.96rem;
    line-height: 1.45;
    position: relative;
    border-bottom: 1px solid rgba(18, 20, 26, 0.06);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.pricing-footnote {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note {
    display: none;
}

@media (max-width: 900px) {
    .pricing-grid-bands {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Process / Principles — split intro + vertical timeline */
.process {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: min(42vw, 520px);
    height: 100%;
    background:
        linear-gradient(160deg, rgba(15, 118, 110, 0.06) 0%, transparent 55%),
        var(--light-color);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 0;
}

.process-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
    gap: 3.5rem 4rem;
    align-items: start;
}

.process-intro .section-title-left {
    margin-bottom: 1.25rem;
}

.section-intro-left {
    text-align: left;
    margin: 0;
    max-width: 34ch;
}

.principles-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.principles-list::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 0.85rem;
    bottom: 0.85rem;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(15, 118, 110, 0.15)
    );
    border-radius: 2px;
}

.principle-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1.15rem;
    align-items: start;
    padding: 1.35rem 0 1.35rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 0;
    box-shadow: none;
    transform: none;
    transition: none;
}

.principle-item + .principle-item {
    border-top: 1px solid rgba(18, 20, 26, 0.08);
}

.principle-item:hover {
    transform: none;
    box-shadow: none;
}

.principle-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--white);
}

.principle-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.2rem;
}

.principle-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.principle-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 46ch;
    margin: 0;
    padding-top: 0;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* About simplified */
.about-simple {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.section-title-left {
    text-align: left;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.section-title-left::after {
    left: 0;
    transform: none;
    bottom: 0;
}

.about-simple-copy .section-subtitle {
    text-align: left;
}

.about-simple-copy p {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.trust-strip {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 0.5rem;
}

.trust-point {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(18, 20, 26, 0.1);
}

.trust-point:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trust-point-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
}

.trust-point h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--dark-color);
}

.trust-point p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

/* Closing CTA */
.closing-cta {
    padding: 72px 0;
    background: var(--dark-color);
    color: var(--white);
}

.closing-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.closing-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--white);
}

.closing-cta p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    line-height: 1.7;
    margin: 0;
}

.closing-cta .btn-primary {
    background: var(--primary-color);
    flex-shrink: 0;
}

.closing-cta .btn-primary:hover {
    background: var(--accent-color);
    color: var(--dark-color);
}

@media (max-width: 900px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-intro {
        position: static;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-intro {
        position: static;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process::before {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        clip-path: none;
        opacity: 0.7;
    }

    .section-intro-left {
        max-width: 100%;
    }

    .about-simple {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .closing-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .capability-item:hover {
        transform: none;
    }
}

/* Free Consultation CTA */
.consultation-cta {
    display: none; /* Hidden for now */
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.consultation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.consultation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.consultation-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.consultation-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.benefit-item i {
    color: #10b981;
    font-size: 1.2rem;
}

.consultation-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.consultation-form h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.consultation-form .form-group {
    margin-bottom: 1.25rem;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.consultation-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Case Study Modal */
.case-study-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.case-study-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.case-study-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10002;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.case-study-header {
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.case-study-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.case-study-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: var(--white);
}

.case-study-title h2 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.case-study-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.case-study-body {
    padding: 2.5rem;
}

.case-study-section {
    margin-bottom: 2.5rem;
}

.case-study-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.case-study-section h3 i {
    color: var(--primary-color);
}

.case-study-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.case-study-section ul {
    list-style: none;
    padding: 0;
}

.case-study-section ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.case-study-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.view-details-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-size: 0.95rem;
}

.view-details-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .consultation-content {
        grid-template-columns: 1fr;
    }

    .consultation-benefits {
        grid-template-columns: 1fr;
    }

    .consultation-text h2 {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .case-study-body {
        padding: 1.5rem;
    }
}

/* Lead Magnet Section */
.lead-magnet {
    display: none; /* Hidden for now */
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-magnet-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1.2;
}

.lead-magnet-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lead-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lead-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
}

.lead-benefit-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.lead-magnet-form-wrapper {
    position: relative;
}

.lead-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lead-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.lead-form-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.lead-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.lead-form-card > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.lead-magnet-form {
    text-align: left;
}

.lead-magnet-form .form-group {
    margin-bottom: 1.25rem;
}

.lead-magnet-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.lead-magnet-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.lead-magnet-form .btn {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-privacy i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .lead-magnet-content {
        grid-template-columns: 1fr;
    }

    .lead-magnet-text h2 {
        font-size: 2rem;
    }

    .lead-benefits {
        grid-template-columns: 1fr;
    }

    .lead-form-card {
        padding: 2rem;
    }
}

.lead-success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 12px;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: fadeInUp 0.3s ease;
    text-align: center;
}

.lead-success-message i {
    font-size: 1.2rem;
}

.lead-error-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    border-radius: 12px;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: fadeInUp 0.3s ease;
    text-align: center;
}

.lead-error-message i {
    font-size: 1.2rem;
}

/* Trust Badges Section */
.trust-badges {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-text {
    text-align: center;
    margin-bottom: 3rem;
}

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

.badge-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.badge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.badge-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Cost Calculator Section */
.cost-calculator {
    padding: 6rem 0;
    background: var(--dark-color);
    color: white;
}

.calculator-content {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(380px, 520px);
    gap: 3.25rem;
    align-items: start;
    justify-content: space-between;
}

.calculator-text .section-title,
.calculator-text .section-subtitle {
    color: white;
}

.calculator-text .section-title {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.calculator-text p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
}

.calculator-benefits {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.calc-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.calc-benefit i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

.calculator-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    text-align: center;
}

.calculator-form .form-group {
    margin-bottom: 1.15rem;
}

.calculator-form label {
    display: block;
    color: white;
    margin-bottom: 0.45rem;
    font-weight: 600;
    font-size: 0.96rem;
}

.calculator-form select,
.calculator-form input[type="number"] {
    width: 100%;
    min-height: 50px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

.calculator-form select:focus,
.calculator-form input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.calculator-form select option {
    background: var(--dark-color);
    color: white;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    cursor: pointer;
    padding: 0.72rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.calculator-result {
    margin-top: 1.4rem;
    padding: 1.6rem;
    background: rgba(var(--primary-rgb), 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    text-align: center;
}

.calculator-result + .btn.btn-primary.btn-large {
    margin-top: 1.1rem;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.result-header h4 {
    color: white;
    font-size: 1.2rem;
}

.result-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.result-amount .currency {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.result-amount .amount {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
}

.result-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Before/After Comparison Section */
.before-after {
    display: none; /* Hidden section */
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.comparison-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.comparison-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    color: white;
}

.comparison-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.comparison-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.comparison-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.before-image,
.after-image {
    position: relative;
    padding: 2rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-image {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.after-image {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
}

.image-label.success {
    background: rgba(16, 185, 129, 0.9);
}

.image-placeholder {
    text-align: center;
    color: var(--text-color);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #e5e7eb;
}

.stat-box {
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.stat-box:last-child {
    border-right: none;
}

.stat-box .stat-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cost-calculator {
        padding: 4.25rem 0;
    }

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

    .calculator-text p {
        margin: 0 auto;
    }

    .calc-benefit {
        justify-content: center;
    }

    .calculator-card {
        padding: 1.4rem;
    }
    
    .comparison-slider {
        grid-template-columns: 1fr;
    }
    
    .comparison-images {
        grid-template-columns: 1fr;
    }
    
    .comparison-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .stat-box:last-child {
        border-bottom: none;
    }
}