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

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    background-color: #000000;
    overflow-x: hidden;
    color: #eaf2ff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Smooth arrival: fade the background + content in on load --------- */
#scroll-canvas {
    opacity: 0;
    transition: opacity 0.8s ease;
}
#scroll-canvas.is-ready {
    opacity: 1;
}

#content {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    #scroll-canvas, #content { transition: none; opacity: 1; }
}

/* ------------------------------------------------------------------ *
   Robot animation canvas — pinned behind everything
 * ------------------------------------------------------------------ */
#scroll-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    background-color: #000000;
    z-index: 0;
    pointer-events: none;
}

/* Content scrolls on top of the fixed canvas */
#content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Empty spacers = the robot animation alone, no overlay */
.intro-space { height: 110vh; }
.outro-space { height: 90vh; }

/* ================================================================== *
   HERO — AIfy landing
 * ================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 28px 5vw 80px;
    /* Semi-transparent navy backdrop with glowing radial spots to show scroll animation underneath */
    background:
        radial-gradient(1200px 600px at 50% 78%, rgba(30, 90, 220, 0.25), transparent 60%),
        radial-gradient(900px 500px at 50% -5%, rgba(40, 110, 255, 0.15), transparent 55%),
        rgba(5, 5, 10, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* --- Nav --- */
.nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}
.brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.brand:hover .brand-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.5));
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-links a:hover {
    color: #ffffff;
    opacity: 0.75;
}

/* --- Squarespace Style GET STARTED Button & Actions --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    padding: 15px 36px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.nav-cta {
    padding: 10px 22px !important;
    font-size: 0.78rem !important;
}

.btn-ghost {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
}

/* --- Headline block --- */
.hero-copy {
    text-align: center;
    margin-top: 7vh;
    max-width: 760px;
}
.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 0 35px rgba(0, 0, 0, 0.95);
    min-height: 2.1em;
}
.hero-title .typing-cursor {
    display: inline-block;
    width: 4px;
    height: 0.8em;
    background-color: #3b82f6;
    margin-left: 4px;
    vertical-align: baseline;
    box-shadow: 0 0 10px #3b82f6, 0 0 20px #2563eb;
    border-radius: 2px;
    animation: blinkCursor 0.7s infinite alternate;
}
@keyframes blinkCursor {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
.hero-title .typing-cursor.done {
    animation: fadeOutCursor 1s forwards 2.5s;
}
@keyframes fadeOutCursor {
    to { opacity: 0; }
}
.hero-micro {
    margin-top: 14px;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}
.hero-sub {
    margin: 28px auto 0;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(240, 246, 255, 0.85);
    font-weight: 400;
}
.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

/* --- Visual: orb + connected cards --- */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 360px;
    margin-top: 6vh;
}
.connectors {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.connectors path {
    fill: none;
    stroke: rgba(90, 150, 255, 0.45);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(70, 140, 255, 0.6));
}

.orb {
    position: absolute;
    top: 50%; left: 50%;
    width: 210px; height: 210px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
                rgba(8, 16, 40, 0.9) 30%,
                rgba(30, 90, 210, 0.25) 52%,
                transparent 68%);
    box-shadow: 0 0 90px 12px rgba(45, 120, 255, 0.55),
                inset 0 0 70px rgba(70, 150, 255, 0.5);
    z-index: 1;
    animation: orbPulse 4s ease-in-out infinite;
}
.orb::before {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    background: radial-gradient(circle,
                transparent 38%,
                rgba(120, 180, 255, 0.9) 52%,
                rgba(120, 180, 255, 0) 64%);
    filter: blur(5px);
}
@keyframes orbPulse {
    0%, 100% { box-shadow: 0 0 90px 12px rgba(45, 120, 255, 0.5),  inset 0 0 70px rgba(70, 150, 255, 0.45); }
    50%      { box-shadow: 0 0 120px 18px rgba(60, 140, 255, 0.7), inset 0 0 85px rgba(90, 170, 255, 0.6); }
}

/* --- UI cards --- */
.glass-dark {
    background: linear-gradient(160deg, rgba(20, 34, 66, 0.72), rgba(12, 22, 46, 0.6));
    border: 1px solid rgba(120, 160, 240, 0.22);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ui-card {
    position: absolute;
    width: 210px;
    padding: 14px 15px;
    z-index: 2;
    font-size: 0.78rem;
    color: #dbe6ff;
}
.card-tasklists { top: 20px;  left: 0; }
.card-workflows { bottom: 10px; left: 0; }
.card-analytics { top: 20px;  right: 0; }
.card-insights  { bottom: 10px; right: 0; }

.uc-title { font-weight: 700; font-size: 0.9rem; color: #fff; margin-bottom: 10px; }
.uc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.uc-badge {
    font-size: 0.62rem;
    color: #7ee0a5;
    background: rgba(50, 200, 120, 0.12);
    border-radius: 20px;
    padding: 3px 8px;
    white-space: nowrap;
}
.uc-badge em { color: rgba(200, 214, 240, 0.6); font-style: normal; }
.uc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: rgba(214, 226, 250, 0.85);
}
.uc-row.dim { color: rgba(214, 226, 250, 0.45); }
.chk {
    width: 15px; height: 15px;
    border-radius: 5px;
    border: 1px solid rgba(150, 180, 240, 0.4);
    display: inline-grid;
    place-items: center;
    font-size: 0.6rem;
    color: #fff;
    flex: none;
}
.chk.done { background: linear-gradient(135deg, #3b82f6, #2563eb); border-color: transparent; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4f9bff; flex: none; }
.uc-note { margin-top: 8px; font-size: 0.68rem; color: rgba(200, 214, 240, 0.4); }
.uc-pills { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pill {
    font-size: 0.64rem;
    padding: 4px 9px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(150, 180, 240, 0.2);
    color: rgba(214, 226, 250, 0.8);
}
.pill.accent { color: #bcd6ff; border-color: rgba(90, 150, 255, 0.4); }

/* Chart */
.chart { padding-top: 2px; }
.bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 62px;
}
.bars span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #5aa0ff, #2563eb);
    box-shadow: 0 0 10px rgba(60, 130, 255, 0.4);
}
.chart-x {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.6rem;
    color: rgba(200, 214, 240, 0.5);
}
.chart-x i { flex: 1; text-align: center; font-style: normal; }

/* ------------------------------------------------------------------ *
   Blue "water glass" preset — frosted, bright, translucent
 * ------------------------------------------------------------------ */
.glass {
    position: relative;
    background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.07) 0%,
                rgba(255, 255, 255, 0.02) 50%,
                rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 26px;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.40),
                inset 0 1px 0 rgba(255, 255, 255, 0.35),
                inset 0 0 30px rgba(255, 255, 255, 0.02);
}

/* Top sheen — crystal highlight running across the glass */
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.22) 0%,
                rgba(255, 255, 255, 0.04) 20%,
                rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
    z-index: 0;
}

/* ------------------------------------------------------------------ *
   Gallery — one full water-glass panel, image tiles on top
 * ------------------------------------------------------------------ */
.gallery-section {
    min-height: 170vh;
    padding: 14vh 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-heading {
    text-align: center;
    max-width: 680px;
    margin-bottom: 48px;
}

/* Soft dark halo behind headings that float directly over the bright
   robot animation, so white text stays clearly legible everywhere. */
.gallery-heading,
.video-showcase-section > .roadmap-header {
    position: relative;
    z-index: 2;
}
.gallery-heading::before,
.video-showcase-section > .roadmap-header::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 240%;
    background: radial-gradient(ellipse at center,
                rgba(3, 8, 20, 0.80) 0%,
                rgba(3, 8, 20, 0.55) 40%,
                rgba(3, 8, 20, 0) 72%);
    filter: blur(14px);
    z-index: -1;
    pointer-events: none;
}

.gallery-panel {
    width: 100%;
    max-width: 1500px;
    padding: 40px;
    overflow: hidden;               /* rows clip cleanly as they slide */
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* Rows sit above the panel's sheen and slide horizontally on scroll */
.gallery-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    will-change: transform;
}

.tile {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(210, 230, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: box-shadow 0.4s ease;
}

.tile:hover {
    box-shadow: 0 12px 40px rgba(60, 130, 255, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tile img,
.tile-video,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Video work tiles — sits above the placeholder and covers it once loaded */
.tile-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

/* Service label pinned to the bottom of each work tile */
.tile-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px 16px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 18, 0.88) 100%);
    pointer-events: none;
}

/* Placeholder shown until a real clip is dropped in */
.tile:has(.tile-video)::after {
    content: "▶";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(200, 222, 255, 0.5);
    background: linear-gradient(135deg, rgba(20, 40, 90, 0.5), rgba(10, 22, 50, 0.6));
    pointer-events: none;
}

/* Faint "image slot" marker while a tile is empty.
   Hidden automatically once an <img> has a real source. */
.tile:has(img:not([src]))::after,
.about-image:has(img:not([src]))::after {
    content: "+";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 300;
    color: rgba(220, 235, 255, 0.45);
    pointer-events: none;
}

/* ------------------------------------------------------------------ *
   About Us
 * ------------------------------------------------------------------ */
.about-section {
    min-height: 150vh;
    padding: 14vh 6vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-inner {
    width: 100%;
    max-width: 1100px;
    padding: 6vh 5vw;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 5vw;
    row-gap: 28px;
    align-items: center;
}

.about-title {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.8),
                 0 0 60px rgba(59, 130, 246, 0.4),
                 0 4px 20px rgba(0, 0, 0, 0.95);
}

.about-text {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: rgba(240, 246, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.45),
                 0 2px 10px rgba(0, 0, 0, 0.95);
    max-width: 46ch;
}

.about-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    aspect-ratio: 1 / 1;
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.about-image img {
    width: 100%;
    height: 100%;
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 8px 20px rgba(59, 130, 246, 0.4));
}

/* ------------------------------------------------------------------ *
   ROADMAP SECTION — Product Development Roadmap with month chips
 * ------------------------------------------------------------------ */
.roadmap-section {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 60px auto 40px;
    padding: 70px 30px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;

    /* Crystal-clear transparent glass panel */
    background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.06) 0%,
                rgba(255, 255, 255, 0.02) 50%,
                rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 36px;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.40),
                inset 0 0 30px rgba(255, 255, 255, 0.03);
}

/* Crystal top sheen highlight running across the panel */
.roadmap-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.20) 0%,
                rgba(255, 255, 255, 0.04) 20%,
                rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
    z-index: 0;
}

.roadmap-header {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin-bottom: 70px;
}

/* ================================================================== *
   SERVICES
 * ================================================================== */
.services-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 80px auto;
    padding: 40px 30px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glass backdrop card for section headers for 100% text legibility & premium look */
.services-section .roadmap-header,
.video-showcase-section .roadmap-header,
.gallery-heading {
    background: linear-gradient(135deg, rgba(14, 26, 52, 0.75) 0%, rgba(8, 16, 36, 0.65) 100%);
    border: 1px solid rgba(170, 215, 255, 0.38);
    border-radius: 28px;
    padding: 32px 48px;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.50),
                0 0 35px rgba(37, 99, 235, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.30);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    max-width: 780px;
    text-align: center;
}

.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 30px 28px;
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 170, 255, 0.5);
    box-shadow: 0 22px 50px rgba(20, 60, 160, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(29, 78, 216, 0.2));
    border: 1px solid rgba(140, 180, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.65),
                 0 2px 8px rgba(0, 0, 0, 0.95);
}

.service-text {
    font-size: 0.94rem;
    line-height: 1.65;
    color: rgba(240, 246, 255, 0.92);
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95),
                 0 0 12px rgba(59, 130, 246, 0.3);
}

@media (max-width: 940px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .services-grid { grid-template-columns: 1fr; }
}

.roadmap-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.roadmap-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(240, 246, 255, 0.78);
    font-weight: 400;
    letter-spacing: 0em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.roadmap-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.roadmap-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 380px;
    padding-top: 10px;
}

/* Dashed background circle ring behind each month group with blue glow fill */
.roadmap-ring {
    position: absolute;
    top: -20px;
    width: 330px;
    height: 330px;
    border: 1.5px dashed rgba(170, 215, 255, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, rgba(40, 90, 180, 0.25) 0%, rgba(20, 50, 110, 0.1) 60%, transparent 80%);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2),
                inset 0 0 40px rgba(80, 160, 255, 0.15);
}

.roadmap-month {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    padding: 6px 22px;
    background: linear-gradient(135deg, rgba(30, 75, 155, 0.75), rgba(15, 45, 105, 0.65));
    border: 1px solid rgba(180, 225, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    margin-bottom: 32px;
    z-index: 1;
    position: relative;
    letter-spacing: 0.03em;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 22px rgba(59, 130, 246, 0.75), 0 2px 8px rgba(0, 0, 0, 0.95);
}

.roadmap-chips {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1;
    position: relative;
    align-items: flex-start;
}

/* Floating glassmorphic chip pills with lighter blue glass backdrop */
.roadmap-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(28, 60, 125, 0.75), rgba(16, 40, 90, 0.65));
    border: 1px solid rgba(180, 225, 255, 0.6);
    border-radius: 30px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45),
                0 0 20px rgba(59, 130, 246, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    cursor: default;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 18px rgba(59, 130, 246, 0.65), 0 2px 8px rgba(0, 0, 0, 0.95);
}

.roadmap-chip:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(150, 205, 255, 0.55);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.chip-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff, 0 0 14px rgba(90, 170, 255, 0.9);
    flex-shrink: 0;
}

/* Staggered sizing and horizontal offsets matching reference image */
.chip-short { width: auto; max-width: 85%; }
.chip-medium { width: auto; max-width: 92%; }
.chip-wide { width: 100%; }

.offset-right {
    margin-left: 24px;
}

/* ------------------------------------------------------------------ *
   VIDEO SHOWCASE SECTION — Netflix-style full-width transparent dark glass
 * ------------------------------------------------------------------ */
.video-showcase-section {
    position: relative;
    width: 96vw;
    max-width: 1750px;
    margin: 80px auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;

    /* Transparent dark glass panel */
    background: rgba(6, 10, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    backdrop-filter: blur(20px) brightness(0.95);
    -webkit-backdrop-filter: blur(20px) brightness(0.95);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.video-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    position: relative;
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    cursor: pointer;
    z-index: 1;
}

/* Netflix-style hover: scale up slightly, elevate above neighbor cards, & play sound */
.video-card:hover,
.video-card.has-sound {
    transform: scale(1.04);
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85),
                0 0 35px rgba(59, 130, 246, 0.4);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-card:hover .hover-video {
    transform: scale(1.02);
}

.badge-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-card:hover .badge-icon,
.video-card.has-sound .badge-icon {
    opacity: 1;
    transform: translateY(0);
    background: rgba(59, 130, 246, 0.85);
    border-color: rgba(147, 197, 253, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
}

/* ------------------------------------------------------------------ *
   Scroll-reveal (direction-based entrance)
 * ------------------------------------------------------------------ */
[data-reveal] {
    opacity: 0;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.65s ease;
    backface-visibility: hidden;
}
[data-reveal="left"]   { transform: translate3d(-40px, 0, 0); }
[data-reveal="right"]  { transform: translate3d(40px, 0, 0); }
[data-reveal="bottom"] { transform: translate3d(0, 40px, 0); }

[data-reveal].in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* -------------------------------------------------------------------------
   HERO — Nowaify landing
   ------------------------------------------------------------------------- */
@media (max-width: 820px) {
    .video-grid { grid-template-columns: 1fr; gap: 24px; }
    .roadmap-grid { grid-template-columns: 1fr; gap: 60px; }
    .roadmap-ring { width: 280px; height: 280px; }
    .offset-right { margin-left: 0; }
    .gallery-row { grid-template-columns: repeat(2, 1fr); }
    .gallery-panel { padding: 24px; }
    .about-inner {
        grid-template-columns: 1fr;
    }
    .about-title  { grid-column: 1; grid-row: 1; }
    .about-text   { grid-column: 1; grid-row: 2; }
    .about-image  { grid-column: 1; grid-row: 3; aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------------ *
   Interactive Modals & Overlay Framework
 * ------------------------------------------------------------------ */
.modal-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.modal-container.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 20, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.modal-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 36px;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-container.active .modal-content {
    transform: scale(1) translateY(0);
}
.modal-wide {
    max-width: 900px;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.08);
}
.modal-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.modal-sub {
    font-size: 0.95rem;
    color: rgba(200, 215, 245, 0.75);
    margin-bottom: 24px;
}

/* Modal Form Controls */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(220, 235, 255, 0.9);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 20, 45, 0.8);
    border: 1px solid rgba(140, 185, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
}
.modal-submit {
    margin-top: 10px;
    justify-content: center;
    padding: 13px;
}

/* Pricing Grid */
.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    color: #e0ebff;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: .3s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #2563eb;
}
input:checked + .slider:before {
    transform: translateX(24px);
}
.save-badge {
    font-size: 0.72rem;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    padding: 2px 8px;
    border-radius: 12px;
    font-style: normal;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pricing-card {
    position: relative;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.pricing-card.featured {
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(160deg, rgba(30, 60, 130, 0.85), rgba(15, 30, 70, 0.75));
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.45);
}
.pop-badge {
    position: absolute;
    top: -12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.tier-name { font-size: 1.25rem; font-weight: 700; color: #fff; margin-top: 6px; }
.tier-price { margin: 12px 0 6px; }
.price-val { font-size: 2.2rem; font-weight: 800; color: #fff; }
.billing-period { font-size: 0.75rem; color: rgba(200, 215, 245, 0.65); display: block; }
.tier-desc { font-size: 0.8rem; color: rgba(200, 215, 245, 0.75); margin-bottom: 16px; min-height: 38px; }
.tier-features {
    list-style: none;
    font-size: 0.82rem;
    color: rgba(220, 235, 255, 0.9);
    text-align: left;
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.select-plan-btn { width: 100%; justify-content: center; margin-top: auto; }

/* Resources List */
.resources-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.resource-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.resource-item:hover {
    transform: translateX(6px);
    border-color: rgba(140, 185, 255, 0.5);
}
.res-icon { font-size: 1.5rem; }
.resource-item h4 { font-size: 1rem; color: #fff; margin-bottom: 2px; }
.resource-item p { font-size: 0.82rem; color: rgba(200, 215, 245, 0.7); }

/* Roadmap Detail Modal */
.roadmap-status-badge {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(200, 215, 245, 0.8);
}
.status-active {
    color: #4ade80;
    font-weight: 600;
}

/* Video Lightbox */
.video-modal-content {
    max-width: 960px;
    padding: 24px;
}
.video-lightbox-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}
.video-lightbox-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(20, 38, 75, 0.92), rgba(10, 22, 48, 0.88));
    border: 1px solid rgba(140, 185, 255, 0.35);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: auto;
}
.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.toast-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3b82f6;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.toast-success .toast-icon { background: #22c55e; }
.toast-warning .toast-icon { background: #f59e0b; }

@media (max-width: 820px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 24px 20px; }
}

/* ================================================================== *
   PRICING — "custom quote / text us" (no fixed prices)
 * ================================================================== */
.quote-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 26px;
}
.qchip {
    font-size: 0.82rem;
    font-weight: 600;
    color: #dbe8ff;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 180, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.quote-cta {
    position: relative;
    text-align: center;
    padding: 40px 30px 34px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(600px 240px at 50% 0%, rgba(59, 130, 246, 0.28), transparent 70%),
        linear-gradient(160deg, rgba(20, 40, 90, 0.55), rgba(10, 20, 50, 0.6));
    border: 1px solid rgba(140, 185, 255, 0.4);
    box-shadow: 0 20px 60px rgba(20, 70, 190, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
/* Animated mouse-following glow spotlight behind quote CTA */
.quote-cta::before {
    content: "";
    position: absolute;
    top: var(--glow-y, 30%);
    left: var(--glow-x, 50%);
    width: 480px;
    height: 480px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(120, 185, 255, 0.55) 0%, rgba(59, 130, 246, 0.25) 45%, transparent 70%);
    filter: blur(26px);
    pointer-events: none;
    opacity: var(--glow-opacity, 0.75);
    transition: opacity 0.3s ease, top 0.04s ease-out, left 0.04s ease-out;
    z-index: 0;
}

.quote-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(180, 205, 255, 0.75);
    margin-bottom: 12px;
}
.quote-number {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    background: linear-gradient(90deg, #8fc0ff, #ffffff, #6aa8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(90, 160, 255, 0.5);
    transition: transform 0.2s ease;
}
.quote-number:hover { transform: scale(1.03); }
.quote-note {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 380px;
    margin: 14px auto 24px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(210, 224, 250, 0.78);
}
.quote-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================== *
   PRICING SECTION & DUAL PHONE CARDS
 * ================================================================== */
.pricing-section {
    position: relative;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 24px;
    z-index: 2;
}

.pricing-card-wrapper {
    padding: 36px 30px;
    border-radius: 28px;
}

.quote-numbers-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0 28px;
}

.phone-card {
    background: rgba(15, 25, 55, 0.45);
    border: 1px solid rgba(130, 180, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.phone-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.8), transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Mouse-following spotlight overlay for phone cards */
.phone-card::after {
    content: "";
    position: absolute;
    top: var(--card-glow-y, 50%);
    left: var(--card-glow-x, 50%);
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(147, 197, 253, 0.4) 0%, rgba(59, 130, 246, 0.18) 50%, transparent 75%);
    filter: blur(20px);
    pointer-events: none;
    opacity: var(--card-glow-opacity, 0);
    transition: opacity 0.3s ease, top 0.04s ease-out, left 0.04s ease-out;
    z-index: 0;
}

.phone-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(20, 35, 75, 0.65);
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 16px 40px rgba(30, 90, 220, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.phone-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(147, 197, 253, 0.3);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseGlow 2s ease-in-out infinite;
}

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

.phone-card .quote-number {
    font-size: clamp(1.45rem, 3.2vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.phone-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 6px;
}

.btn-whatsapp,
.btn-phone,
.btn-copy-num {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: opacity 0.25s ease;
}

.btn-whatsapp::after,
.btn-phone::after,
.btn-copy-num::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #ffffff);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover::after,
.btn-phone:hover::after,
.btn-copy-num:hover::after {
    width: 100%;
}

.btn-whatsapp:hover,
.btn-phone:hover,
.btn-copy-num:hover {
    color: #ffffff !important;
    transform: none !important;
}
