:root {
    --bg: #061c29;
    --bg-soft: #0e2f43;
    --surface: #ffffff;
    --primary: #0f9cd6;
    --primary-dark: #0a7ba8;
    --accent: #ff7b00;
    --text: #0c1c28;
    --text-light: #d6e6f0;
    --line: #d9e7ef;
    --shadow: 0 10px 30px rgba(4, 29, 45, 0.16);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f4fbff 0%, #f8fcff 100%);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 28, 41, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.brand img {
    width: 160px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 14px;
}

.main-nav a {
    color: #cfe5f3;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(15, 156, 214, 0.24);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 5% 15%, rgba(15, 156, 214, 0.2), transparent 35%),
      radial-gradient(circle at 90% 5%, rgba(255, 123, 0, 0.22), transparent 32%),
      linear-gradient(120deg, var(--bg), var(--bg-soft));
    color: var(--text-light);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(14px);
    opacity: 0.6;
    pointer-events: none;
}

.hero::before {
    width: 260px;
    height: 260px;
    right: -60px;
    top: -50px;
    background: radial-gradient(circle, rgba(122, 233, 255, 0.36), rgba(122, 233, 255, 0));
    animation: orbMoveA 9s ease-in-out infinite;
}

.hero::after {
    width: 220px;
    height: 220px;
    left: -40px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(255, 154, 64, 0.3), rgba(255, 154, 64, 0));
    animation: orbMoveB 8s ease-in-out infinite;
}

.hero {
    padding: 74px 0 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid > div:first-child {
    animation: fadeUpIn 0.85s ease-out both;
}

.hero-media {
    display: flex;
    justify-content: center;
    animation: fadeScaleIn 0.95s ease-out both;
}

.eyebrow {
    display: inline-block;
    background: rgba(15, 156, 214, 0.24);
    color: #aee7ff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.company-name {
    margin: 12px 0 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.company-prefix {
    font-weight: 700;
    color: #9cd9f3;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.brand-highlight {
    position: relative;
    color: #ffffff;
    font-size: clamp(1.15rem, 2.5vw, 1.7rem);
    font-weight: 800;
    letter-spacing: 0.35px;
    background: linear-gradient(90deg, #ffffff 0%, #99ecff 35%, #ffbf85 65%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineBrand 3.8s linear infinite;
}

.brand-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(147, 230, 255, 0.1), rgba(147, 230, 255, 1), rgba(255, 181, 112, 0.25));
    animation: pulseLine 2.6s ease-in-out infinite;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin: 14px 0;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 12px;
}

.hero p {
    max-width: 58ch;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn {
    display: inline-block;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.hero-media img {
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-video-card {
    position: relative;
    width: min(500px, 100%);
    aspect-ratio: 16 / 11;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 226, 255, 0.45);
    box-shadow: 0 16px 36px rgba(2, 18, 28, 0.45);
    background: rgba(3, 21, 33, 0.72);
    animation: cardBob 6s ease-in-out infinite;
}

.hero-loop {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform-origin: center;
    animation: zoomPanSoft 10s ease-in-out infinite;
}

.live-indicator {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(2, 10, 17, 0.75);
    color: #aaf2ff;
    border: 1px solid rgba(120, 222, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.live-indicator::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6f33;
    display: inline-block;
    margin-right: 6px;
    animation: blink 1.2s ease-in-out infinite;
}

.typewriter,
.typewriter-delay {
    min-height: 1.4em;
}

.typewriter-caret {
    border-right: 2px solid #9cecff;
    padding-right: 4px;
    animation: caretBlink 0.7s step-end infinite;
}

section {
    padding: 56px 0;
}

.video-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.video-intro {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.minimal-video-intro {
    max-width: 820px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 156, 214, 0.16);
    background: rgba(255, 255, 255, 0.7);
    color: #0b6286;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: softReveal 0.7s ease-out both;
}

.elegant-title {
    letter-spacing: 0.3px;
    animation: softReveal 0.7s ease-out both;
}

.elegant-text {
    margin: 0 auto;
    max-width: 72ch;
    line-height: 1.7;
    color: #295167;
    animation: softReveal 0.9s ease-out both;
}

.minimal-copy {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.minimal-line {
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(12, 28, 40, 0.08);
    color: #24485d;
    font-size: clamp(1rem, 1.7vw, 1.1rem);
    line-height: 1.75;
    animation: fadeUpIn 0.8s ease both;
}

.minimal-line:nth-child(2) {
    animation-delay: 0.14s;
}

.minimal-line:nth-child(3) {
    animation-delay: 0.28s;
}

.service-signals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    animation: fadeUpIn 0.9s ease both;
    animation-delay: 0.36s;
}

.service-signals-wrap {
    position: relative;
    margin-top: 26px;
    padding: 18px;
    border-radius: 28px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(234, 246, 252, 0.96)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    border: 1px solid rgba(159, 194, 211, 0.52);
    box-shadow:
      0 18px 36px rgba(10, 31, 45, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.85),
      inset 0 -10px 18px rgba(181, 201, 214, 0.18);
    overflow: hidden;
}

.service-signals-wrap::before,
.service-signals-wrap::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.service-signals-wrap::before {
    width: 180px;
    height: 180px;
    top: -90px;
    left: -30px;
    background: radial-gradient(circle, rgba(15, 156, 214, 0.14), transparent 70%);
    animation: signalDrift 8s ease-in-out infinite;
}

.service-signals-wrap::after {
    width: 170px;
    height: 170px;
    right: -40px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.12), transparent 70%);
    animation: signalDrift 10s ease-in-out infinite reverse;
}

.service-signals span {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 251, 0.94));
    border: 1px solid rgba(15, 156, 214, 0.16);
    color: #163647;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow:
      0 12px 24px rgba(12, 39, 56, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -8px 12px rgba(175, 197, 208, 0.14);
    animation: signalFloat 4.8s ease-in-out infinite;
}

.service-signals span:nth-child(2) { animation-delay: 0.4s; }
.service-signals span:nth-child(3) { animation-delay: 0.8s; }
.service-signals span:nth-child(4) { animation-delay: 1.2s; }

.process-pills {
    margin: 18px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    animation: softReveal 1s ease-out both;
}

.process-flip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 12px;
    width: min(980px, 100%);
}

.process-flip-card {
    border: 0;
    background: transparent;
    padding: 0;
    height: 160px;
    perspective: 1000px;
    cursor: pointer;
    text-align: left;
}

.process-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s ease;
}

.process-flip-card.is-flipped .process-flip-inner {
    transform: rotateY(180deg);
}

.process-face {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid #0f9cd6;
    background: #ffffff;
    color: #0b4f72;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow:
      0 8px 20px rgba(151, 166, 176, 0.42),
      inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 14px;
}

.process-front {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    opacity: 1;
    visibility: visible;
}

.process-back {
    transform: rotateY(180deg);
    border-radius: 16px;
    background: #eef7ff;
    border-color: #75c9ec;
    color: #0b2230;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.42;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    box-shadow:
      0 10px 24px rgba(116, 143, 161, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.process-flip-card.is-flipped .process-front {
    opacity: 0;
    visibility: hidden;
}

.process-flip-card.is-flipped .process-back {
    opacity: 1;
    visibility: visible;
}

.process-flip-card.is-flipped .process-front,
.process-flip-card:hover .process-front,
.process-flip-card:focus-visible .process-front {
    background: #0f9cd6;
    color: #ffffff;
    border-color: #0f9cd6;
    box-shadow:
      0 10px 22px rgba(7, 80, 112, 0.35),
      inset 0 0 0 1px rgba(185, 235, 255, 0.28);
}

.video-frame {
    position: relative;
    margin-top: 20px;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #cfe2ee;
    background:
      linear-gradient(145deg, #0a2535 10%, #104f6c 55%, #0f9cd6 100%);
}

.cinema-card {
    width: min(980px, 100%);
    margin: 34px auto 0;
}

.cinema-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: #567386;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-frame-real {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    border: 1px solid rgba(185, 217, 233, 0.9);
    background: #071a26;
    isolation: isolate;
}

.feature-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.03) brightness(0.78);
    transform: scale(1.02);
}

.process-video-wrap {
    width: min(960px, 100%);
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #061a27;
}

.process-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #061a27;
}

.video-overlay,
.scan-lines {
    position: absolute;
    inset: 0;
}

.video-overlay {
    background:
      radial-gradient(circle at 25% 28%, rgba(255, 123, 0, 0.36), transparent 45%),
      radial-gradient(circle at 75% 72%, rgba(145, 239, 255, 0.36), transparent 38%);
    animation: pulse 6s ease-in-out infinite;
}

.video-overlay-real {
    background:
      linear-gradient(180deg, rgba(4, 15, 24, 0.12) 0%, rgba(4, 15, 24, 0.08) 30%, rgba(4, 15, 24, 0.72) 100%),
      radial-gradient(circle at 18% 22%, rgba(15, 156, 214, 0.22), transparent 34%),
      radial-gradient(circle at 82% 18%, rgba(255, 123, 0, 0.18), transparent 28%);
}

.scan-lines {
    background: repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 6px
    );
    mix-blend-mode: soft-light;
}

.scan-lines-soft {
    opacity: 0.3;
}

.floating-tag {
    position: absolute;
    padding: 9px 13px;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(6, 22, 31, 0.55);
    border: 1px solid rgba(220, 243, 255, 0.45);
    animation: float 8s ease-in-out infinite;
}

.floating-tag:nth-child(3) { top: 16%; left: 8%; }
.floating-tag:nth-child(4) { top: 28%; right: 8%; animation-delay: 1.4s; }
.floating-tag:nth-child(5) { bottom: 20%; left: 18%; animation-delay: 2.1s; }
.floating-tag:nth-child(6) { bottom: 18%; right: 12%; animation-delay: 2.8s; }

.video-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    font-size: clamp(1.2rem, 2.7vw, 1.9rem);
    font-weight: 800;
    padding: 20px;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.video-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: #f3fbff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-story {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 26px;
    z-index: 2;
    display: grid;
    gap: 8px;
    max-width: 620px;
    color: #f7fcff;
}

.video-story strong {
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.video-story span {
    color: rgba(243, 251, 255, 0.82);
    font-size: clamp(0.95rem, 1.35vw, 1.02rem);
    line-height: 1.6;
}

.video-metrics {
    position: absolute;
    right: 22px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 280px;
}

.video-metrics span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(6, 23, 33, 0.56);
    border: 1px solid rgba(210, 239, 251, 0.18);
    color: #eefaff;
    font-size: 0.8rem;
    font-weight: 600;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(15, 31, 47, 0.06);
}

.card h3, .card h2 {
    margin-top: 0;
}

.services-premium .cards {
    align-items: stretch;
}

.services-title {
    margin-bottom: 26px;
    animation: softReveal 0.75s ease-out both;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    padding: 22px 22px 24px;
    border-radius: 20px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.96));
    border: 1px solid rgba(194, 211, 221, 0.9);
    box-shadow:
      0 20px 34px rgba(10, 27, 40, 0.08),
      0 2px 0 rgba(255, 255, 255, 0.8) inset,
      0 -14px 20px rgba(177, 190, 199, 0.16) inset;
    animation: serviceCardReveal 0.8s ease both;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.55) 38%, transparent 56%);
    transform: translateX(-130%);
    transition: transform 0.75s ease;
    pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(15, 156, 214, 0.28);
    box-shadow:
      0 26px 42px rgba(7, 29, 43, 0.12),
      0 2px 0 rgba(255, 255, 255, 0.86) inset,
      0 -16px 24px rgba(173, 190, 199, 0.2) inset;
}

.service-card:hover::before,
.service-card:focus-within::before {
    transform: translateX(130%);
}

.service-card:nth-child(2) { animation-delay: 0.08s; }
.service-card:nth-child(3) { animation-delay: 0.16s; }
.service-card:nth-child(4) { animation-delay: 0.24s; }
.service-card:nth-child(5) { animation-delay: 0.32s; }
.service-card:nth-child(6) { animation-delay: 0.4s; }

.service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff, #ddebf2);
    border: 1px solid rgba(164, 189, 201, 0.8);
    color: #4e6876;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    box-shadow:
      0 12px 20px rgba(10, 31, 45, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -6px 10px rgba(160, 177, 186, 0.2);
}

.service-visual {
    position: relative;
    height: 84px;
    margin-bottom: 18px;
    border-radius: 18px;
    border: 1px solid rgba(183, 205, 216, 0.82);
    background:
      linear-gradient(180deg, rgba(251, 253, 255, 0.92), rgba(230, 241, 247, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -10px 14px rgba(166, 182, 191, 0.16);
    overflow: hidden;
}

.service-visual span {
    position: absolute;
    display: block;
}

.neural-visual span:nth-child(1),
.neural-visual span:nth-child(2),
.neural-visual span:nth-child(3) {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0f9cd6, #0a739c);
    box-shadow: 0 0 0 6px rgba(15, 156, 214, 0.08);
    animation: nodePulse 3.2s ease-in-out infinite;
}

.neural-visual span:nth-child(1) { top: 18px; left: 22px; }
.neural-visual span:nth-child(2) { top: 36px; left: calc(50% - 6px); animation-delay: 0.5s; }
.neural-visual span:nth-child(3) { top: 18px; right: 22px; animation-delay: 1s; }

.neural-visual::before,
.neural-visual::after {
    content: "";
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.26), rgba(15, 156, 214, 0.72), rgba(15, 156, 214, 0.26));
    top: 33px;
    animation: beamFlow 3.4s linear infinite;
}

.neural-visual::before {
    left: 34px;
    width: calc(50% - 34px);
}

.neural-visual::after {
    right: 34px;
    width: calc(50% - 34px);
    animation-delay: 0.8s;
}

.growth-visual {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 16px 18px;
}

.growth-visual span {
    position: relative;
    flex: 1;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.92), rgba(255, 168, 95, 0.48));
    animation: barRise 2.8s ease-in-out infinite;
}

.growth-visual span:nth-child(1) { height: 26px; animation-delay: 0.1s; }
.growth-visual span:nth-child(2) { height: 42px; animation-delay: 0.4s; }
.growth-visual span:nth-child(3) { height: 58px; animation-delay: 0.7s; }

.data-visual {
    padding: 16px 18px;
}

.data-visual span {
    bottom: 20px;
    width: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.25), rgba(15, 156, 214, 0.9));
    animation: dataBars 2.4s ease-in-out infinite;
}

.data-visual span:nth-child(1) { left: 20px; height: 22px; }
.data-visual span:nth-child(2) { left: 40px; height: 40px; animation-delay: 0.3s; }
.data-visual span:nth-child(3) { left: 60px; height: 58px; animation-delay: 0.6s; }

.data-visual::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 22px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.1), rgba(15, 156, 214, 0.65), rgba(255, 123, 0, 0.5));
    transform-origin: left center;
    animation: lineSweep 3s ease-in-out infinite;
}

.automation-visual span {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(12, 115, 156, 0.92), rgba(106, 206, 240, 0.55));
    animation: automationStep 3.4s ease-in-out infinite;
}

.automation-visual span:nth-child(1) { left: 18px; top: 32px; }
.automation-visual span:nth-child(2) { left: calc(50% - 9px); top: 18px; animation-delay: 0.4s; }
.automation-visual span:nth-child(3) { right: 18px; top: 32px; animation-delay: 0.8s; }

.automation-visual::before,
.automation-visual::after {
    content: "";
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.2), rgba(15, 156, 214, 0.8));
    top: 41px;
}

.automation-visual::before {
    left: 36px;
    width: calc(50% - 36px);
}

.automation-visual::after {
    right: 36px;
    width: calc(50% - 36px);
}

.web-visual::before {
    content: "";
    position: absolute;
    inset: 14px 16px 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(167, 194, 206, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 250, 0.95));
}

.web-visual span:nth-child(1) {
    top: 24px;
    left: 28px;
    right: 28px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.7), rgba(255, 123, 0, 0.45));
    animation: lineSweep 2.8s ease-in-out infinite;
}

.web-visual span:nth-child(2),
.web-visual span:nth-child(3) {
    top: 42px;
    height: 22px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.2), rgba(15, 156, 214, 0.62));
}

.web-visual span:nth-child(2) {
    left: 28px;
    width: 34%;
    animation: cardPulse 3s ease-in-out infinite;
}

.web-visual span:nth-child(3) {
    right: 28px;
    width: 22%;
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.22), rgba(255, 123, 0, 0.62));
    animation: cardPulse 3s ease-in-out infinite 0.5s;
}

.software-visual {
    padding: 0 18px;
}

.software-visual span:nth-child(1),
.software-visual span:nth-child(2),
.software-visual span:nth-child(3) {
    top: 20px;
    width: 2px;
    height: 44px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.08), rgba(15, 156, 214, 0.72));
}

.software-visual span:nth-child(1) { left: 28px; animation: codeBlink 2.2s ease-in-out infinite; }
.software-visual span:nth-child(2) { left: calc(50% - 1px); animation: codeBlink 2.2s ease-in-out infinite 0.4s; }
.software-visual span:nth-child(3) { right: 28px; animation: codeBlink 2.2s ease-in-out infinite 0.8s; }

.software-visual::before,
.software-visual::after {
    content: "";
    position: absolute;
    top: 28px;
    width: 14px;
    height: 14px;
    border-top: 2px solid rgba(255, 123, 0, 0.7);
    border-right: 2px solid rgba(255, 123, 0, 0.7);
    transform: rotate(45deg);
}

.software-visual::before {
    left: 16px;
}

.software-visual::after {
    right: 16px;
    transform: rotate(225deg);
}

.service-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.service-card h3 {
    margin-bottom: 12px;
    min-height: 2.8em;
    color: #102735;
    font-size: 1.08rem;
    line-height: 1.3;
    animation: textLift 0.8s ease both;
}

.service-card p {
    margin: 0;
    color: #3b5d6f;
    line-height: 1.68;
    animation: textLift 0.9s ease both;
}

.media-cards .media-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.media-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    border: 1px solid #c0dcec;
    background: #031f2f;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.media-card video,
.media-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.media-card h3 {
    margin: 10px 4px 4px;
    font-size: 1rem;
    min-height: 2.4em;
}

.page-hero.compact {
    padding: 50px 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.chip {
    display: inline-block;
    margin-top: 8px;
    background: #e6f7ff;
    color: #0d5e85;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
}

.contact-panel,
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(15, 31, 47, 0.08);
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.social-btn {
    display: inline-block;
    text-align: center;
    border: 1px solid #b7d2e1;
    background: #f5fbff;
    color: #0f4f72;
    font-weight: 700;
    padding: 10px;
    border-radius: 10px;
}

.social-btn.whatsapp {
    background: #e7fced;
    border-color: #8fe0a7;
    color: #0e7532;
}

.direct-contact,
.footer-contact-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(184, 212, 226, 0.65);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 244, 249, 0.94));
    box-shadow:
      0 14px 28px rgba(10, 32, 45, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -10px 14px rgba(173, 188, 196, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icon-link:hover,
.icon-link:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(15, 156, 214, 0.34);
    box-shadow:
      0 18px 34px rgba(8, 30, 42, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -12px 16px rgba(173, 188, 196, 0.18);
}

.icon-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.icon-link.whatsapp {
    color: #118657;
}

.icon-link.mail {
    color: #0c648a;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.info-line {
    margin-top: 14px;
    font-weight: 600;
}

.contact-form {
    display: grid;
    gap: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #c1d8e5;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    margin-bottom: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid rgba(15, 156, 214, 0.24);
    border-color: var(--primary);
}

.portfolio-grid {
    position: relative;
}

.portfolio-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 10% 16%, rgba(15, 156, 214, 0.07), transparent 26%),
      radial-gradient(circle at 88% 78%, rgba(255, 123, 0, 0.07), transparent 24%);
}

.tools-hero {
    padding: 68px 0 58px;
}

.tools-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(157, 219, 245, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #bfefff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: fadeScaleIn 0.75s ease both;
}

.skills-grid {
    position: relative;
}

.skills-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 8% 18%, rgba(15, 156, 214, 0.08), transparent 28%),
      radial-gradient(circle at 86% 74%, rgba(255, 123, 0, 0.06), transparent 24%);
}

.tools-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 26px;
}

.tools-intro {
    max-width: 780px;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(192, 211, 221, 0.86);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 253, 0.96));
    box-shadow:
      0 22px 36px rgba(9, 28, 39, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -12px 18px rgba(172, 188, 197, 0.12);
    animation: historyReveal 0.8s ease both;
}

.tools-intro h2 {
    margin: 0 0 10px;
    color: #122b39;
}

.tools-intro p {
    margin: 0;
    color: #3b5d6f;
    line-height: 1.78;
}

.tools-cards {
    align-items: stretch;
}

.tool-card {
    position: relative;
    min-height: 300px;
    border-radius: 22px;
    border: 1px solid rgba(194, 211, 221, 0.88);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.95));
    box-shadow:
      0 22px 36px rgba(9, 28, 39, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -12px 18px rgba(172, 188, 197, 0.14);
    overflow: hidden;
    animation: serviceCardReveal 0.75s ease both;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.tool-card:hover,
.tool-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(15, 156, 214, 0.26);
    box-shadow:
      0 26px 42px rgba(7, 29, 43, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -14px 20px rgba(172, 188, 197, 0.16);
}

.tool-card:nth-child(2) { animation-delay: 0.08s; }
.tool-card:nth-child(3) { animation-delay: 0.16s; }
.tool-card:nth-child(4) { animation-delay: 0.24s; }
.tool-card:nth-child(5) { animation-delay: 0.32s; }
.tool-card:nth-child(6) { animation-delay: 0.4s; }

.tool-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 156, 214, 0.08);
    border: 1px solid rgba(15, 156, 214, 0.12);
    color: #0b6286;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tool-card h2 {
    margin-bottom: 12px;
    color: #122b39;
}

.tool-card p {
    margin: 0;
    color: #3b5d6f;
    line-height: 1.72;
}

.tool-visual {
    position: relative;
    height: 104px;
    margin-bottom: 18px;
    border-radius: 20px;
    border: 1px solid rgba(180, 203, 214, 0.82);
    background:
      linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(233, 243, 248, 0.95));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -10px 14px rgba(170, 185, 194, 0.16);
    overflow: hidden;
}

.tool-visual span {
    position: absolute;
    display: block;
}

.ai-tool-visual span:nth-child(1),
.ai-tool-visual span:nth-child(2),
.ai-tool-visual span:nth-child(3) {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0f9cd6, #0a739c);
    box-shadow: 0 0 0 6px rgba(15, 156, 214, 0.08);
    animation: nodePulse 3.2s ease-in-out infinite;
}

.ai-tool-visual span:nth-child(1) { top: 24px; left: 24px; }
.ai-tool-visual span:nth-child(2) { top: 56px; left: calc(50% - 6px); animation-delay: 0.4s; }
.ai-tool-visual span:nth-child(3) { top: 24px; right: 24px; animation-delay: 0.8s; }

.ai-tool-visual::before,
.ai-tool-visual::after {
    content: "";
    position: absolute;
    top: 38px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.25), rgba(15, 156, 214, 0.75), rgba(15, 156, 214, 0.25));
}

.ai-tool-visual::before { left: 36px; width: calc(50% - 36px); }
.ai-tool-visual::after { right: 36px; width: calc(50% - 36px); animation: beamFlow 3.2s linear infinite; }

.data-tool-visual span {
    bottom: 18px;
    width: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.22), rgba(15, 156, 214, 0.88));
    animation: dataBars 2.4s ease-in-out infinite;
}

.data-tool-visual span:nth-child(1) { left: 24px; height: 34px; }
.data-tool-visual span:nth-child(2) { left: 46px; height: 54px; animation-delay: 0.3s; }
.data-tool-visual span:nth-child(3) { left: 68px; height: 78px; animation-delay: 0.6s; }

.data-tool-visual::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 28px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.14), rgba(15, 156, 214, 0.7), rgba(255, 123, 0, 0.48));
    animation: lineSweep 3s ease-in-out infinite;
}

.growth-tool-visual {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 20px 18px;
}

.growth-tool-visual span {
    position: relative;
    flex: 1;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.92), rgba(255, 168, 95, 0.48));
    animation: barRise 2.8s ease-in-out infinite;
}

.growth-tool-visual span:nth-child(1) { height: 32px; animation-delay: 0.1s; }
.growth-tool-visual span:nth-child(2) { height: 54px; animation-delay: 0.35s; }
.growth-tool-visual span:nth-child(3) { height: 80px; animation-delay: 0.6s; }

.automation-tool-visual span {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(12, 115, 156, 0.9), rgba(106, 206, 240, 0.56));
    animation: automationStep 3.2s ease-in-out infinite;
}

.automation-tool-visual span:nth-child(1) { left: 24px; top: 54px; }
.automation-tool-visual span:nth-child(2) { left: calc(50% - 10px); top: 26px; animation-delay: 0.4s; }
.automation-tool-visual span:nth-child(3) { right: 24px; top: 54px; animation-delay: 0.8s; }

.automation-tool-visual::before,
.automation-tool-visual::after {
    content: "";
    position: absolute;
    top: 64px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.22), rgba(15, 156, 214, 0.82));
}

.automation-tool-visual::before { left: 44px; width: calc(50% - 44px); }
.automation-tool-visual::after { right: 44px; width: calc(50% - 44px); }

.web-tool-visual::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 16px;
    border: 1px solid rgba(168, 194, 206, 0.92);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 250, 0.94));
}

.web-tool-visual span:nth-child(1) {
    top: 28px;
    left: 30px;
    right: 30px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.76), rgba(255, 123, 0, 0.46));
    animation: lineSweep 3s ease-in-out infinite;
}

.web-tool-visual span:nth-child(2) {
    top: 48px;
    left: 30px;
    width: 50%;
    bottom: 26px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.18), rgba(15, 156, 214, 0.58));
    animation: cardPulse 3.2s ease-in-out infinite;
}

.web-tool-visual span:nth-child(3) {
    top: 48px;
    right: 30px;
    width: 20%;
    bottom: 26px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.18), rgba(255, 123, 0, 0.56));
    animation: cardPulse 3.2s ease-in-out infinite 0.4s;
}

.software-tool-visual span:nth-child(1),
.software-tool-visual span:nth-child(2),
.software-tool-visual span:nth-child(3) {
    top: 22px;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.08), rgba(15, 156, 214, 0.72));
    animation: codeBlink 2.2s ease-in-out infinite;
}

.software-tool-visual span:nth-child(1) { left: 28px; }
.software-tool-visual span:nth-child(2) { left: calc(50% - 1px); animation-delay: 0.4s; }
.software-tool-visual span:nth-child(3) { right: 28px; animation-delay: 0.8s; }

.software-tool-visual::before,
.software-tool-visual::after {
    content: "";
    position: absolute;
    top: 34px;
    width: 14px;
    height: 14px;
    border-top: 2px solid rgba(255, 123, 0, 0.74);
    border-right: 2px solid rgba(255, 123, 0, 0.74);
}

.software-tool-visual::before { left: 16px; transform: rotate(225deg); }
.software-tool-visual::after { right: 16px; transform: rotate(45deg); }

.portfolio-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
}

.portfolio-cards {
    align-items: stretch;
}

.project {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(194, 211, 221, 0.88);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.95));
    box-shadow:
      0 22px 36px rgba(9, 28, 39, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -12px 18px rgba(172, 188, 197, 0.14);
    overflow: hidden;
    animation: serviceCardReveal 0.75s ease both;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.project:hover,
.project:focus-within {
    transform: translateY(-6px);
    border-color: rgba(15, 156, 214, 0.26);
    box-shadow:
      0 26px 42px rgba(7, 29, 43, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -14px 20px rgba(172, 188, 197, 0.16);
}

.project-featured {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
    padding: 22px;
}

.project-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-copy h2,
.project h2 {
    margin: 12px 0 12px;
    color: #122b39;
}

.project p {
    margin: 0;
    color: #3b5d6f;
    line-height: 1.72;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 156, 214, 0.08);
    border: 1px solid rgba(15, 156, 214, 0.12);
    color: #0b6286;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #0f9cd6;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 26px rgba(15, 156, 214, 0.24);
}

.project-link::after {
    content: "↗";
    font-size: 1rem;
}

.project-visual {
    position: relative;
    min-height: 170px;
    margin-bottom: 18px;
    border-radius: 20px;
    border: 1px solid rgba(180, 203, 214, 0.82);
    background:
      linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(233, 243, 248, 0.95));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -10px 14px rgba(170, 185, 194, 0.16);
    overflow: hidden;
}

.project-visual span {
    position: absolute;
    display: block;
}

.web-case-visual {
    min-height: 250px;
    margin-bottom: 0;
}

.web-case-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 18px;
    border: 1px solid rgba(170, 195, 208, 0.88);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 251, 0.96));
}

.web-case-visual span:nth-child(1) {
    top: 38px;
    left: 38px;
    right: 38px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.82), rgba(255, 123, 0, 0.52));
    animation: lineSweep 3s ease-in-out infinite;
}

.web-case-visual span:nth-child(2) {
    top: 70px;
    left: 38px;
    width: calc(60% - 38px);
    bottom: 38px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.16), rgba(15, 156, 214, 0.58));
    animation: cardPulse 3.4s ease-in-out infinite;
}

.web-case-visual span:nth-child(3) {
    top: 70px;
    right: 38px;
    width: 24%;
    bottom: 38px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.16), rgba(255, 123, 0, 0.56));
    animation: cardPulse 3.4s ease-in-out infinite 0.4s;
}

.ml-case-visual span,
.dashboard-case-visual span,
.marketing-case-visual span,
.software-case-visual span {
    border-radius: 12px;
}

.ml-case-visual span:nth-child(1),
.ml-case-visual span:nth-child(2),
.ml-case-visual span:nth-child(3) {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0f9cd6, #0a739c);
    box-shadow: 0 0 0 6px rgba(15, 156, 214, 0.08);
    animation: nodePulse 3.2s ease-in-out infinite;
}

.ml-case-visual span:nth-child(1) { top: 34px; left: 28px; }
.ml-case-visual span:nth-child(2) { top: 72px; left: calc(50% - 6px); animation-delay: 0.4s; }
.ml-case-visual span:nth-child(3) { top: 34px; right: 28px; animation-delay: 0.8s; }

.ml-case-visual::before,
.ml-case-visual::after {
    content: "";
    position: absolute;
    top: 49px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.25), rgba(15, 156, 214, 0.75), rgba(15, 156, 214, 0.25));
}

.ml-case-visual::before { left: 40px; width: calc(50% - 40px); }
.ml-case-visual::after { right: 40px; width: calc(50% - 40px); animation: beamFlow 3.2s linear infinite; }

.rpa-case-visual span {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(12, 115, 156, 0.9), rgba(106, 206, 240, 0.56));
    animation: automationStep 3.2s ease-in-out infinite;
}

.rpa-case-visual span:nth-child(1) { left: 26px; top: 74px; }
.rpa-case-visual span:nth-child(2) { left: calc(50% - 11px); top: 40px; animation-delay: 0.4s; }
.rpa-case-visual span:nth-child(3) { right: 26px; top: 74px; animation-delay: 0.8s; }

.rpa-case-visual::before,
.rpa-case-visual::after {
    content: "";
    position: absolute;
    top: 85px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.22), rgba(15, 156, 214, 0.82));
}

.rpa-case-visual::before { left: 48px; width: calc(50% - 48px); }
.rpa-case-visual::after { right: 48px; width: calc(50% - 48px); }

.dashboard-case-visual span {
    bottom: 24px;
    width: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.22), rgba(15, 156, 214, 0.88));
    animation: dataBars 2.4s ease-in-out infinite;
}

.dashboard-case-visual span:nth-child(1) { left: 26px; height: 34px; }
.dashboard-case-visual span:nth-child(2) { left: 48px; height: 58px; animation-delay: 0.3s; }
.dashboard-case-visual span:nth-child(3) { left: 70px; height: 84px; animation-delay: 0.6s; }

.dashboard-case-visual::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 38px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 156, 214, 0.14), rgba(15, 156, 214, 0.7), rgba(255, 123, 0, 0.48));
    animation: lineSweep 3s ease-in-out infinite;
}

.excel-case-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 16px;
    border: 1px solid rgba(168, 194, 206, 0.92);
    background:
      linear-gradient(90deg, rgba(15, 156, 214, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, rgba(15, 156, 214, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 250, 0.94));
    background-size: 26px 26px, 26px 26px, auto;
}

.excel-case-visual span {
    top: 36px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(32, 166, 87, 0.88), rgba(32, 166, 87, 0.4));
    animation: lineSweep 3.2s ease-in-out infinite;
}

.excel-case-visual span:nth-child(1) { left: 30px; width: 58%; }
.excel-case-visual span:nth-child(2) { left: 30px; top: 64px; width: 46%; animation-delay: 0.3s; }
.excel-case-visual span:nth-child(3) { left: 30px; top: 92px; width: 68%; animation-delay: 0.6s; }

.marketing-case-visual {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 20px 18px;
}

.marketing-case-visual span {
    position: relative;
    flex: 1;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, rgba(255, 123, 0, 0.92), rgba(255, 168, 95, 0.48));
    animation: barRise 2.8s ease-in-out infinite;
}

.marketing-case-visual span:nth-child(1) { height: 36px; animation-delay: 0.1s; }
.marketing-case-visual span:nth-child(2) { height: 56px; animation-delay: 0.35s; }
.marketing-case-visual span:nth-child(3) { height: 82px; animation-delay: 0.6s; }

.software-case-visual span:nth-child(1),
.software-case-visual span:nth-child(2),
.software-case-visual span:nth-child(3) {
    top: 32px;
    width: 2px;
    height: 96px;
    background: linear-gradient(180deg, rgba(15, 156, 214, 0.08), rgba(15, 156, 214, 0.72));
    animation: codeBlink 2.2s ease-in-out infinite;
}

.software-case-visual span:nth-child(1) { left: 34px; }
.software-case-visual span:nth-child(2) { left: calc(50% - 1px); animation-delay: 0.4s; }
.software-case-visual span:nth-child(3) { right: 34px; animation-delay: 0.8s; }

.software-case-visual::before,
.software-case-visual::after {
    content: "";
    position: absolute;
    top: 44px;
    width: 16px;
    height: 16px;
    border-top: 2px solid rgba(255, 123, 0, 0.74);
    border-right: 2px solid rgba(255, 123, 0, 0.74);
}

.software-case-visual::before { left: 18px; transform: rotate(225deg); }
.software-case-visual::after { right: 18px; transform: rotate(45deg); }

.alert {
    padding: 10px 12px;
    border-radius: 10px;
    margin: 12px 0;
    font-weight: 700;
}

.success { background: #e7fff1; color: #0f6d36; border: 1px solid #88d7a5; }
.warning { background: #fff6e6; color: #8a6110; border: 1px solid #edc980; }

.site-footer {
    background: #041723;
    color: #d4e5ef;
    padding: 46px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}

.footer-logo {
    width: 170px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.site-footer h3 {
    margin-top: 0;
    color: #fff;
}

.site-footer ul {
    padding-left: 20px;
    margin: 0;
}

.site-footer a {
    color: #99dbff;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 22px;
    padding-top: 14px;
}

.history-hero {
    padding: 74px 0 66px;
}

.history-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(157, 219, 245, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #bfefff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: fadeScaleIn 0.75s ease both;
}

.history-hero h1 {
    max-width: 920px;
    margin: 18px 0 16px;
    animation: fadeUpIn 0.8s ease both;
}

.history-lead {
    max-width: 760px;
    margin: 0;
    color: rgba(214, 230, 240, 0.9);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.8;
    animation: fadeUpIn 0.9s ease both;
    animation-delay: 0.12s;
}

.history-story,
.history-core,
.history-values,
.history-offer {
    position: relative;
}

.history-story::before,
.history-core::before,
.history-values::before,
.history-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.history-story::before {
    background: radial-gradient(circle at 10% 15%, rgba(15, 156, 214, 0.08), transparent 28%);
}

.history-core::before {
    background: radial-gradient(circle at 86% 22%, rgba(255, 123, 0, 0.08), transparent 26%);
}

.history-values::before {
    background: radial-gradient(circle at 14% 84%, rgba(15, 156, 214, 0.07), transparent 26%);
}

.history-offer::before {
    background: radial-gradient(circle at 85% 76%, rgba(255, 123, 0, 0.08), transparent 28%);
}

.history-section-head {
    margin-bottom: 22px;
}

.history-section-head h2 {
    margin: 10px 0 0;
}

.history-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.history-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.history-panel {
    position: relative;
    z-index: 1;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(196, 213, 223, 0.88);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 252, 0.95));
    box-shadow:
      0 20px 36px rgba(9, 28, 39, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -12px 18px rgba(172, 188, 197, 0.14);
    overflow: hidden;
    animation: historyReveal 0.82s ease both;
}

.history-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.45) 42%, transparent 58%);
    transform: translateX(-135%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.history-panel:hover::before,
.history-panel:focus-within::before {
    transform: translateX(135%);
}

.history-panel-lg {
    padding: 30px;
}

.history-panel-lg h2,
.history-panel h3 {
    margin-top: 0;
}

.history-panel p {
    margin: 0;
    color: #355466;
    line-height: 1.8;
}

.history-panel p + p {
    margin-top: 16px;
}

.history-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 156, 214, 0.08);
    border: 1px solid rgba(15, 156, 214, 0.12);
    color: #0b6286;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.history-core .history-panel:nth-child(2) {
    animation-delay: 0.1s;
}

.history-core .history-panel:nth-child(3) {
    animation-delay: 0.2s;
}

.value-card {
    min-height: 188px;
}

.value-card:nth-child(2) { animation-delay: 0.08s; }
.value-card:nth-child(3) { animation-delay: 0.16s; }
.value-card:nth-child(4) { animation-delay: 0.24s; }
.value-card:nth-child(5) { animation-delay: 0.32s; }

.value-card h3 {
    margin-bottom: 10px;
    color: #122b39;
}

.history-panel-accent {
    background:
      linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(230, 243, 250, 0.96));
}

.history-panel-dark {
    border-color: rgba(17, 51, 70, 0.9);
    background:
      radial-gradient(circle at 15% 18%, rgba(24, 167, 221, 0.18), transparent 30%),
      linear-gradient(135deg, #071c29, #10384c 60%, #0d5f80 100%);
    box-shadow:
      0 24px 40px rgba(3, 18, 27, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -14px 20px rgba(6, 17, 25, 0.28);
}

.history-panel-dark .history-label {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
    color: #d7f6ff;
}

.history-panel-dark p {
    color: rgba(236, 247, 252, 0.9);
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

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

@keyframes zoomPan {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.04) translateX(-8px); }
}

@keyframes zoomPanSoft {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.02) translateY(-3px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes caretBlink {
    50% { border-color: transparent; }
}

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

@keyframes pillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes shineBrand {
    to { background-position: 200% center; }
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.55; transform: scaleX(0.98); }
    50% { opacity: 1; transform: scaleX(1); }
}

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

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

@keyframes signalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes signalDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -8px); }
}

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

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

@keyframes nodePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(15, 156, 214, 0.08); }
    50% { transform: scale(1.16); box-shadow: 0 0 0 10px rgba(15, 156, 214, 0.14); }
}

@keyframes beamFlow {
    0% { opacity: 0.45; transform: scaleX(0.92); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.45; transform: scaleX(0.92); }
}

@keyframes barRise {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-4px) scaleY(1.08); }
}

@keyframes dataBars {
    0%, 100% { transform: scaleY(0.86); transform-origin: bottom; }
    50% { transform: scaleY(1.08); transform-origin: bottom; }
}

@keyframes lineSweep {
    0%, 100% { transform: scaleX(0.72); opacity: 0.55; }
    50% { transform: scaleX(1); opacity: 1; }
}

@keyframes automationStep {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(8deg); }
}

@keyframes cardPulse {
    0%, 100% { transform: translateY(0); opacity: 0.82; }
    50% { transform: translateY(-3px); opacity: 1; }
}

@keyframes codeBlink {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

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

@keyframes orbMoveA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-16px, 12px); }
}

@keyframes orbMoveB {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(14px, -10px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-card,
    .hero-loop,
    .typewriter-caret,
    .floating-tag,
    .video-overlay,
    .hero-grid > div:first-child,
    .hero-media,
    .hero::before,
    .hero::after,
    .elegant-title,
    .elegant-text,
    .section-kicker,
    .minimal-line,
    .service-signals,
    .service-signals span,
    .service-card,
    .service-card h3,
    .service-card p,
    .service-visual span,
    .history-kicker,
    .history-hero h1,
    .history-lead,
    .history-panel,
    .tools-kicker,
    .tools-intro,
    .project,
    .project-visual span,
    .tool-card,
    .tool-visual span,
    .process-pills,
    .process-pills span,
    .brand-highlight,
    .brand-highlight::after {
        animation: none !important;
    }

    .process-flip-inner {
        transition: none !important;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .cards,
    .timeline,
    .split,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-video-card {
        width: min(460px, 100%);
    }

    .history-grid-three {
        grid-template-columns: 1fr;
    }

    .project-featured {
        grid-template-columns: 1fr;
    }

    .tools-intro {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .company-name {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: #062132;
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav.open {
        display: flex;
    }


    .hero-grid,
    .cards,
    .timeline,
    .split,
    .contact-grid,
    .footer-grid,
    .social-buttons {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 44px;
    }

    .hero-video-card {
        width: 100%;
        aspect-ratio: 16 / 12;
    }

    .process-flip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-video-wrap {
        aspect-ratio: 4 / 3;
    }

    .cinema-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-frame-real {
        aspect-ratio: 4 / 5;
    }

    .service-signals-wrap {
        padding: 16px 14px;
        border-radius: 22px;
    }

    .video-badge {
        top: 16px;
        left: 16px;
        font-size: 0.72rem;
    }

    .video-story {
        left: 16px;
        right: 16px;
        bottom: 74px;
        max-width: none;
    }

    .video-metrics {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: flex-start;
        max-width: none;
    }

    .service-card {
        min-height: 0;
    }

    .service-card h3 {
        min-height: 0;
    }

    .history-hero {
        padding: 48px 0 44px;
    }

    .history-grid-two {
        grid-template-columns: 1fr;
    }

    .history-panel,
    .history-panel-lg {
        padding: 20px;
    }

    .tools-hero {
        padding: 48px 0 44px;
    }

    .web-case-visual {
        min-height: 210px;
    }
}
