@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Orizon Inspired Color Palette */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-deep: #0a0a2a; /* Deep Indigo for contrast */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --accent-indigo: #001aff; /* More vibrant Orizon blue */
    --accent-aqua: #1bffff;
    --gradient-primary: linear-gradient(90deg, #001aff 0%, #6d28d9 100%);
    --gradient-text-style: linear-gradient(90deg, #001aff, #1bffff, #6d28d9);
    --gradient-soft: linear-gradient(135deg, rgba(46, 49, 146, 0.05) 0%, rgba(27, 255, 255, 0.05) 100%);
    
    --radius-pill: 100px;
    --radius-large: 32px;
    --radius-medium: 16px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(27, 255, 255, 0.3);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    /* Soft blue glow vignette effect */
    background: radial-gradient(circle at top right, rgba(27, 255, 255, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(46, 49, 146, 0.05), transparent 40%),
                var(--bg-white);
    position: relative;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 800px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 26, 255, 0.12), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.cursor-glow-top {
    top: -150px;
}

.cursor-glow-bottom {
    bottom: -150px;
}

.container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-text-style);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 54px; /* Фиксированная высота для идеального выравнивания */
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent; /* Базовая граница для компенсации border в outline-кнопках */
    font-size: 14px;
    gap: 12px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(46, 49, 146, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-indigo);
    color: var(--accent-indigo);
}

.btn-outline:hover {
    background: var(--gradient-soft);
    transform: translateY(-2px);
}

/* Navbar & Logo */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 880px; /* Pillow size from screenshot */
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    max-width: 96%;
    top: 15px;
}

.nav-container {
    background: rgba(0, 0, 0, 0.5); /* Dark pill as requested */
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 8px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-container {
    background: rgba(0, 0, 0, 0.85); /* Blacker on scroll */
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 10px 32px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.logo-img {
    height: 54px;
    width: auto;
    display: block;
    filter: none; /* Restoring original colors */
}

.navbar.scrolled .logo-img {
    filter: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover {
    color: var(--accent-aqua);
}

.nav-btn {
    height: 48px !important;
    padding: 0 28px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background: #017db2 !important; /* Uniform button color */
    color: white !important;
    box-shadow: 0 10px 25px -5px rgba(1, 125, 178, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-indigo);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 3px solid white;
    border-radius: 50%;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-glow {
    background: #1100ff !important;
    box-shadow: 0 10px 30px -5px rgba(17, 0, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -5px rgba(17, 0, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: none; /* Hidden by default, shown in media query */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent-indigo);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
}

/* Mobile Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-link {
    font-size: 42px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-footer {
    margin-top: auto;
    font-size: 18px;
    color: var(--text-muted);
}

/* Hero Redesign: Split & Cascade */
.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.hero-sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(0, 26, 255, 0.36), transparent 24%),
        radial-gradient(circle at 18% 78%, rgba(27, 255, 255, 0.12), transparent 28%),
        linear-gradient(135deg, #010101 0%, #050814 52%, #000000 100%);
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    background: #000;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.hero-sticky.hero-video-ready .hero-bg-video {
    opacity: 1;
}

.hero-mobile-vk {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.hero-mobile-vk-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100vw, 426px);
    aspect-ratio: 426 / 240;
    transform: translate(-50%, -50%);
}

.hero-mobile-vk-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto;
}

.hero-container-split {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px 40px 80px;
    pointer-events: none;
}

.hero-top-right, .hero-bottom-right {
    pointer-events: auto;
    text-align: right;
    width: 100%;
}

.hero-top-right {
    max-width: 440px;
    margin-left: auto;
}

.hero-top-right h1 {
    font-size: clamp(28px, 3.5vw, 42px);
    color: white;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    animation: revealDrop 1s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

.hero-top-right p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    max-width: 380px;
    margin-left: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: revealDrop 1.2s cubic-bezier(0.2, 1, 0.2, 1) 0.1s forwards;
    opacity: 0;
}

@keyframes revealDrop {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-bottom-right {
    display: flex;
    justify-content: flex-end;
    animation: revealUp 1s cubic-bezier(0.2, 1, 0.2, 1) 0.3s forwards;
    opacity: 0;
}

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

.hero-actions-line {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-mobile-player {
    display: none;
    pointer-events: auto;
}

/* Portfolio Section Stacking Effect */
.portfolio {
    position: relative;
    z-index: 10;
    background: var(--bg-white);
    box-shadow: 0 -30px 60px rgba(0,0,0,0.25);
    border-radius: 60px 60px 0 0;
    margin-top: 0;
    padding: 120px 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-indicator {
    width: 3px;
    height: 24px;
    background: var(--accent-indigo);
}

.header-left h2 {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-recent {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 8px 8px 24px;
    border: 1px solid #eee;
    border-radius: 100px;
    text-decoration: none;
    color: var(--accent-indigo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-recent:hover {
    border-color: var(--accent-indigo);
    background: rgba(0, 26, 255, 0.02);
}

.arrow-circle {
    width: 38px;
    height: 38px;
    background: var(--accent-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.arrow-circle svg {
    width: 18px;
    height: 18px;
}

.nav-arrows {
    display: flex;
    gap: 12px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #eee;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-indigo);
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    border-color: var(--accent-indigo);
    transform: scale(1.05);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
}

.portfolio-slider {
    display: flex;
    gap: 24px;
    padding: 20px 40px 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

.portfolio-card {
    min-width: 500px;
    height: 650px;
    border-radius: 50px;
    color: white;
    scroll-snap-align: start;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.portfolio-card:hover {
    transform: scale(0.985) translateY(-5px);
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px;
}

.card-content h3 {
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.card-content p {
    font-size: 17px;
    max-width: 400px;
    opacity: 0.8;
    line-height: 1.4;
}

.card-content img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup-parallax {
    margin-top: auto;
    position: relative;
    width: 100%;
    height: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s cubic-bezier(0.2, 1, 0.2, 1);
}

.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-card:hover .card-video {
    opacity: 1;
}

.scroll-container {
    margin-top: 40px;
    margin-bottom: 100px;
}

.scroll-track {
    width: 100%;
    height: 2px;
    background: #f1f5f9;
    position: relative;
    border-radius: 2px;
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100px;
    background: var(--accent-indigo);
    border-radius: 2px;
    transition: left 0.1s ease-out;
}

/* Services Section */
.services {
    background-color: var(--bg-deep);
    color: var(--text-light);
    padding: 120px 0;
    border-radius: 60px;
    margin: 40px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.service-item h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.service-item p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Style Improvements */
@media (max-width: 1024px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .hero-container-split {
        padding-top: 160px;
        padding-bottom: 60px;
        justify-content: flex-start;
        gap: 60px;
    }
    
    .hero-top-right, .hero-bottom-right {
        text-align: left;
        margin-left: 0;
        max-width: 100%;
    }
    
    .hero-top-right h1 {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 16px;
    }
    
    .hero-top-right p {
        font-size: 18px;
        max-width: 100%;
    }
    
    .hero-bottom-right {
        justify-content: flex-start;
        margin-top: auto;
    }
    
    .hero-actions-line {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions-line .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-sticky {
        position: relative;
        top: auto;
        height: 100dvh; /* Better mobile height */
    }
    
    /* Mobile-only overlay for better readability */
    .hero-sticky::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
        z-index: 2;
        pointer-events: none;
    }

    .hero-bg-video {
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .hero-container-split {
        z-index: 3;
        padding: 140px 24px 60px;
    }

    .hero-mobile-vk {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        overflow: hidden;
        background: none;
        width: 100%;
        margin: 0;
    }

    .hero-mobile-vk-stage {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300vw;
        max-width: none;
        margin: 0;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    }

    .hero-bg-video {
        display: none;
    }

    .hero-top-right,
    .hero-bottom-right {
        position: relative;
        z-index: 4;
    }

    .hero-mobile-player {
        display: none !important;
    }

    .hero-mobile-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 14px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 28px;
        background: rgba(7, 12, 24, 0.68);
        color: #fff;
        padding: 16px 18px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        text-align: left;
        cursor: pointer;
    }

    .hero-mobile-trigger-icon {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: linear-gradient(135deg, #001aff 0%, #1bffff 100%);
        color: #ffffff;
        box-shadow: 0 12px 30px rgba(0, 26, 255, 0.32);
    }

    .hero-mobile-trigger-icon svg {
        width: 22px;
        height: 22px;
        margin-left: 2px;
    }

    .hero-mobile-trigger-copy {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .hero-mobile-trigger-copy strong {
        font-size: 15px;
        line-height: 1.1;
        font-weight: 700;
    }

    .hero-mobile-trigger-copy span {
        font-size: 13px;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.72);
    }

    .hero-sticky.hero-mobile-playing .hero-mobile-player {
        opacity: 0;
        transform: translateY(14px);
        pointer-events: none;
    }

    .hero-sticky.hero-mobile-manual .hero-bg-video {
        pointer-events: auto;
    }

    .hero-mobile-trigger:active {
        transform: scale(0.99);
    }
    
    .hero-top-right h1 {
        font-size: 38px;
        line-height: 1.1;
    }
    
    .portfolio-card {
        min-width: 300px;
        height: 460px;
        border-radius: 24px;
    }

    .portfolio-card.is-active .card-video {
        opacity: 1;
    }
    
    .card-content {
        padding: 32px;
    }
    
    .card-content h3 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services {
        margin: 20px 8px;
        padding: 60px 24px;
        border-radius: 32px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-top-right h1 {
        font-size: 34px;
    }
    
    .nav-container {
        padding: 10px 20px !important;
    }
}

/* ============================================
   NEW NŌVA ELEMENTS — CSS
   ============================================ */

/* Online dot in nav CTA */
.online-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 4px;
    animation: blink 2s infinite;
    vertical-align: middle;
}
@keyframes blink { 0%,100%{opacity:.7} 50%{opacity:1} }

/* Hero Pill Badge */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

/* Hero H1 Animated Headline */
h1.hero-h {
    font-weight: 800;
    font-size: clamp(48px, 7vw, 100px);
    line-height: .93;
    letter-spacing: -.045em;
    color: white;
    margin-bottom: 0;
}
h1.hero-h .line {
    display: block;
    overflow: hidden;
}
h1.hero-h .inn {
    display: block;
    opacity: 0;
    transform: translateY(105%);
}
h1.hero-h .l1 .inn { animation: sup .88s cubic-bezier(.16,1,.3,1) forwards .3s; }
h1.hero-h .l2 .inn { animation: sup .88s cubic-bezier(.16,1,.3,1) forwards .45s; }
h1.hero-h .l3 .inn { animation: sup .88s cubic-bezier(.16,1,.3,1) forwards .6s; }
h1.hero-h .bl { color: var(--accent-aqua); font-style: italic; }

@keyframes sup { from{opacity:0;transform:translateY(105%)} to{opacity:1;transform:none} }

/* Hero Bottom — Description + Actions */
.hero-desc {
    max-width: 360px;
    font-size: 16px;
    line-height: 1.72;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    font-weight: 400;
}
.hero-acts {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Arrow button for hero CTA */
.hero-btn-b {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.arr {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .25s;
    flex-shrink: 0;
}
.arr svg { width: 13px; height: 13px; }
.hero-btn-b:hover .arr {
    background: rgba(255,255,255,0.35);
    transform: rotate(45deg);
}
.hero-btn-o {
    background: transparent !important;
    color: rgba(255,255,255,0.9) !important;
    border: 1.5px solid rgba(255,255,255,0.35) !important;
    transition: all .25s ease !important;
}
.hero-btn-o:hover {
    border-color: rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.1) !important;
}

/* Stars rating */
.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}
.stars span {
    color: #fbbf24;
    font-size: 15px;
}

/* Footer Social Icon Buttons (.sb) */
.soc {
    display: flex;
    gap: 10px;
}
.sb {
    width: 38px; height: 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: border-color .2s, background .2s;
    color: #94a3b8;
}
.sb:hover {
    border-color: var(--accent-indigo);
    background: rgba(0,26,255,0.06);
    color: var(--accent-indigo);
}
.sb svg {
    width: 15px; height: 15px;
    stroke: currentColor;
}

/* Mobile adaptations for new elements */
@media (max-width: 768px) {
    h1.hero-h {
        font-size: clamp(38px, 10vw, 60px);
    }
    .hero-desc {
        max-width: 100%;
        font-size: 15px;
    }
    .hero-acts {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn-b, .hero-btn-o {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --- NEW TEMPLATE BLOCKS (NŌVA Style Adapted) --- */

/* 0. Custom Cursor — Glowing */
#cur {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #001aff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s;
    box-shadow:
        0 0 0 3px rgba(0, 26, 255, 0.25),
        0 0 12px 4px rgba(0, 26, 255, 0.5),
        0 0 30px 8px rgba(27, 255, 255, 0.2);
    display: none;
}
#ring {
    position: fixed;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(0, 26, 255, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .35s cubic-bezier(.16,1,.3,1),
                height .35s cubic-bezier(.16,1,.3,1),
                border-color .3s;
    box-shadow: 0 0 12px rgba(0, 26, 255, 0.3);
    display: none;
}
#ring.hov {
    width: 68px;
    height: 68px;
    border-color: var(--accent-indigo);
    box-shadow: 0 0 20px rgba(0, 26, 255, 0.5);
}
#cur.hov {
    width: 14px;
    height: 14px;
    background: var(--accent-aqua);
    box-shadow:
        0 0 0 4px rgba(27, 255, 255, 0.25),
        0 0 16px 6px rgba(27, 255, 255, 0.5);
}

@media (hover: hover) and (pointer: fine) {
    #cur, #ring { display: block; }
    body { cursor: none; }
    a, button { cursor: none; }
}

/* 1. Hero Floating Elements */
.f-badge {
    position: absolute; top: 120px; left: 52px; z-index: 5;
    display: flex; align-items: center; gap: 10px;
    background: white; border: 1px solid rgba(0,0,0,0.05);
    border-radius: 100px; padding: 12px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0; animation: fup .7s cubic-bezier(.16,1,.3,1) forwards 0.5s;
}
.f-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }
.f-badge span { font-size: 14px; font-weight: 600; color: #1a1a1a; }

.f-stat {
    position: absolute; top: 120px; right: 52px; z-index: 5;
    background: white; border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px; padding: 24px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center;
    opacity: 0; animation: fup .7s cubic-bezier(.16,1,.3,1) forwards 0.7s;
}
.f-stat .n { font-weight: 800; font-size: 42px; letter-spacing: -.04em; color: var(--accent-indigo); line-height: 1; }
.f-stat .l { font-size: 12px; color: #64748b; margin-top: 6px; font-weight: 700; text-transform: uppercase; }

/* 3. Clients Marquee */
.clients-bar {
    background: white; padding: 60px 0; overflow: hidden;
    border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.clients-lbl { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 32px; }
.m-track { display: flex; animation: mq 25s linear infinite; width: max-content; }
.m-item {
    flex-shrink: 0; padding: 0 60px;
    font-weight: 800; font-size: 24px; letter-spacing: -.03em;
    color: #e2e8f0; display: flex; align-items: center; gap: 40px;
    white-space: nowrap; transition: color .3s;
}
.m-item:hover { color: var(--accent-indigo); }
.m-sep { width: 6px; height: 6px; background: #cbd5e1; border-radius: 50%; flex-shrink: 0; }

/* 4. Services - 6 Card Grid */
.svc-sec { background: #f8fafc; padding: 120px 0; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Work Section (NŌVA Grid) */
.work-sec { background: #f8fafc; padding: 120px 0; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.wg { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
.wg-col { display: flex; flex-direction: column; gap: 20px; }
.wc { border-radius: 28px; overflow: hidden; background: white; cursor: pointer; transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s; border: 1px solid rgba(0,0,0,0.04); }
.wc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -10px rgba(0,0,0,0.1); }
.wc-inner { position: relative; overflow: hidden; }
.wv { width: 100%; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.wc:hover .wv { transform: scale(1.04); }
.wm { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; }
.wi h3 { font-weight: 700; font-size: 18px; letter-spacing: -.02em; margin-bottom: 5px; color: #0f172a; }
.wi span { font-size: 13px; color: #94a3b8; font-weight: 500; }
.wa {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease; flex-shrink: 0; color: #94a3b8;
}
.wc:hover .wa { background: var(--accent-indigo); border-color: var(--accent-indigo); color: white; transform: rotate(45deg); }
.wc-link-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: #0f172a;
    border: 1.5px solid #e2e8f0;
    padding: 14px 24px; border-radius: 100px;
    font-size: 14px; font-weight: 700; text-decoration: none;
    transition: all .25s ease;
}
.wc-link-btn:hover { border-color: var(--accent-indigo); color: var(--accent-indigo); transform: translateY(-2px); }

@media (max-width: 1024px) {
    .wg { grid-template-columns: 1fr; }
    .wg-col:last-child { display: none; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .svc-grid { grid-template-columns: 1fr; }
    .work-sec { padding: 80px 0; }
}

.sc {
    background: white; border-radius: 32px;
    padding: 48px 40px; position: relative;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
    border: 1px solid rgba(0,0,0,0.03);
}
.sc:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -12px rgba(0,0,0,0.1); border-color: var(--accent-indigo); }
.sc.feat { background: var(--accent-indigo); color: white; }
.sc-n { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #94a3b8; margin-bottom: 30px; }
.sc.feat .sc-n { color: rgba(255,255,255,0.5); }
.sc-ic { font-size: 40px; margin-bottom: 24px; }
.sc-t { font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 16px; color: #0f172a; }
.sc.feat .sc-t { color: white; }
.sc-d { font-size: 16px; line-height: 1.6; color: #64748b; }
.sc-link {
    display: inline-block; margin-top: 24px;
    font-size: 15px; font-weight: 700;
    color: var(--accent-indigo); text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
}
.sc-link:hover { opacity: 0.75; }
.sc.feat .sc-link { color: rgba(255,255,255,0.85); }

/* Active step circle in process */
.stp-n--active {
    background: var(--accent-indigo);
    border-color: var(--accent-indigo);
    color: white;
    box-shadow: 0 0 0 6px rgba(0,26,255,0.12);
}

/* 5. Process */
.proc-sec { background: white; padding: 120px 0; }
.pg { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; margin-top: 60px; }
.pv {
    margin-top: 48px; background: #f1f5f9;
    border-radius: 32px; padding: 32px;
    display: flex; flex-direction: column; gap: 16px;
}
.pv-row {
    display: flex; align-items: center; gap: 20px;
    background: white; border-radius: 20px;
    padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.pv-ico { font-size: 24px; }
.pv-n { font-weight: 800; font-size: 28px; color: #0f172a; }
.pv-l { font-size: 13px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.steps { display: flex; flex-direction: column; }
.stp { display: flex; gap: 32px; padding: 40px 0; border-bottom: 1px solid #f1f5f9; }
.stp:last-child { border-bottom: none; }
.stp-n {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-weight: 800; font-size: 14px; color: #94a3b8;
    transition: all 0.3s ease;
}
.stp:hover .stp-n { background: var(--accent-indigo); border-color: var(--accent-indigo); color: white; }
.stp h3 { font-weight: 800; font-size: 20px; margin-bottom: 10px; color: #0f172a; }
.stp p { font-size: 15px; line-height: 1.6; color: #64748b; }

/* 6. Testimonials */
.testi { background: #0a0a0a; padding: 120px 0; overflow: hidden; }
.tt-wrap { overflow: hidden; margin-top: 60px; }
.tt { display: flex; gap: 24px; animation: mq 40s linear infinite; width: max-content; }
.tc {
    flex-shrink: 0; width: 400px; background: #1a1a1a;
    border-radius: 32px; padding: 48px 40px;
    border: 1px solid rgba(255,255,255,0.05); transition: border-color 0.3s;
}
.tc:hover { border-color: var(--accent-indigo); }
.tc-q { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 32px; font-weight: 500; font-style: italic; }
.tc-p { display: flex; align-items: center; gap: 16px; }
.tc-av {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent-indigo); display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; color: white; flex-shrink: 0;
}
.tc-nm { font-weight: 700; font-size: 16px; color: white; }
.tc-rl { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* 7. CTA Box */
.cta-wrap { padding: 100px 0; background: #f8fafc; }
.cta-box {
    background: var(--accent-indigo); border-radius: 40px;
    padding: 100px 80px; display: flex; align-items: center;
    justify-content: space-between; gap: 60px;
    position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -200px; right: -100px; pointer-events: none;
}

/* CTA White Button */
.cta-btn-w {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--accent-indigo);
    padding: 18px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .25s, box-shadow .25s;
    position: relative;
    z-index: 1;
    border: none;
}
.cta-btn-w:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

/* Footer Improvements */
footer { background: white; border-top: 1px solid #f1f5f9; padding: 100px 0 40px; }
.ft { margin-bottom: 60px; }
.fb .logo { font-size: 28px; font-weight: 900; letter-spacing: -0.05em; color: #0f172a; }
.fc h4 { margin-top: 0; font-weight: 900; }
.fc ul { padding: 0; }
.fc a:hover { color: var(--accent-indigo); }

/* Globals & Reveal */
.stitle { font-size: clamp(40px, 5vw, 72px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: #0f172a; }
.stitle em { color: var(--accent-indigo); font-style: italic; }
.ey { color: var(--accent-indigo); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.ey::before { content: ''; width: 30px; height: 2px; background: var(--accent-indigo); }

.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.rv.on { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

@keyframes fup { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }

@media (max-width: 1024px) {
    .f-badge, .f-stat { display: none; }
    .svc-grid { grid-template-columns: 1fr; }
    .pg { grid-template-columns: 1fr; gap: 60px; }
    .cta-box { flex-direction: column; padding: 60px 40px; text-align: center; }
    .ft { flex-direction: column; gap: 60px; }
    .fc-wrap { flex-direction: column; gap: 40px; }
}
/* SERVICES */
.svc-sec { background: white; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.svc-sub { max-width: 300px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
 
.sc {
  background: var(--bg); border-radius: var(--radius);
  padding: 38px 34px; position: relative; cursor: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.sc:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,.08); }
.sc.feat { background: var(--blue); }
.sc-n { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted2); margin-bottom: 26px; }
.sc.feat .sc-n { color: rgba(255,255,255,.45); }
.sc-ic {
  width: 50px; height: 50px; background: white; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.sc.feat .sc-ic { background: rgba(255,255,255,.15); box-shadow: none; }
.sc-ic svg { width: 22px; height: 22px; }
.sc-t { font-weight: 700; font-size: 18px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 11px; }
.sc-d { font-size: 14px; line-height: 1.65; color: var(--muted); }
.sc.feat .sc-d { color: rgba(255,255,255,.68); }
.sc-a {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 26px; font-size: 13px; font-weight: 600;
  color: var(--blue); text-decoration: none;
  transition: gap .2s; cursor: none;
}
.sc.feat .sc-a { color: white; }
.sc-a:hover { gap: 13px; }
 
/* WORK */
.work-sec { background: var(--bg); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.wg { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; }
.wg-col { display: flex; flex-direction: column; gap: 14px; }
.wc { border-radius: var(--radius); overflow: hidden; background: white; cursor: none; }
.wc-inner { position: relative; overflow: hidden; }
.wv { width: 100%; display: flex; align-items: center; justify-content: center; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.wc:hover .wv { transform: scale(1.04); }
.wm { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; }
.wi h3 { font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
.wi span { font-size: 13px; color: var(--muted); }
.wa {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s; flex-shrink: 0;
}
.wc:hover .wa { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.wc:hover .wa svg { stroke: white; }
 
/* PROCESS */
.proc-sec { background: white; }
.pg { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; margin-top: 60px; align-items: start; }
.pi p { font-size: 15px; line-height: 1.78; color: var(--muted); margin-top: 18px; max-width: 370px; }
.pv {
  margin-top: 36px; background: var(--blue-light);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.pv-row {
  display: flex; align-items: center; gap: 16px;
  background: white; border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.pv-ico {
  width: 42px; height: 42px; background: var(--blue-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pv-ico svg { width: 19px; height: 19px; }
.pv-n { font-weight: 800; font-size: 26px; letter-spacing: -.04em; color: var(--dark); line-height: 1; }
.pv-l { font-size: 12px; color: var(--muted); margin-top: 2px; }
 
.steps { display: flex; flex-direction: column; }
.stp { display: flex; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--border2); }
.stp:last-child { border-bottom: none; }
.stp-n {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-weight: 700; font-size: 13px; color: var(--muted);
  transition: background .3s, border-color .3s, color .3s;
}
.stp:hover .stp-n { background: var(--blue); border-color: var(--blue); color: white; }
.stp h3 { font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin-bottom: 7px; }
.stp p { font-size: 14px; line-height: 1.65; color: var(--muted); }
 
/* TESTIMONIALS */
.testi { background: var(--dark); padding: 112px 52px; overflow: hidden; }
.testi .stitle { color: white; }
.tt-wrap { overflow: hidden; margin-top: 52px; }
.tt { display: flex; gap: 18px; animation: mq 32s linear infinite; }
.tc {
  flex-shrink: 0; width: 370px; background: #181818;
  border-radius: var(--radius); padding: 34px;
  border: 1px solid #282828;
}
.tc-q { font-size: 15px; line-height: 1.72; color: rgba(255,255,255,.72); margin-bottom: 26px; }
.tc-p { display: flex; align-items: center; gap: 13px; }
.tc-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--blue); flex-shrink: 0;
}
.tc-nm { font-weight: 600; font-size: 14px; color: white; }
.tc-rl { font-size: 12px; color: rgba(255,255,255,.38); margin-top: 2px; }
.stars { display: flex; gap: 3px; margin-bottom: 18px; }
.stars span { color: #fbbf24; font-size: 14px; }
 
/* CTA */
.cta-wrap { padding: 80px 52px; background: var(--bg); }
.cta-box {
  background: var(--blue); border-radius: 26px;
  padding: 80px; display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.09) 0%, transparent 65%);
  top: -250px; right: -80px; pointer-events: none;
}
.cta-box h2 {
  font-weight: 800; font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -.04em; color: white; line-height: 1.04; max-width: 500px;
}
.cta-box p { font-size: 16px; color: rgba(255,255,255,.68); margin-top: 14px; }
.btn-w {
  display: inline-flex; align-items: center; gap: 12px;
  background: white; color: var(--blue);
  padding: 18px 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: none;
  white-space: nowrap; flex-shrink: 0;
  transition: transform .25s, box-shadow .25s;
  position: relative; z-index: 1;
}
.btn-w:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,.18); }
.btn-w .arr { background: var(--blue-light); }
.btn-w .arr svg { stroke: var(--blue); }
.btn-w:hover .arr { background: var(--blue); }
.btn-w:hover .arr svg { stroke: white; }

/* Light backgrounds for non-video sections */
.testi {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(0, 26, 255, 0.08), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(27, 255, 255, 0.08), transparent 22%),
        #ffffff !important;
    padding: 120px 0 !important;
}

.testi::before,
.testi::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.65;
}

.testi::before {
    top: 40px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: rgba(0, 26, 255, 0.09);
}

.testi::after {
    right: -70px;
    bottom: 40px;
    width: 180px;
    height: 180px;
    background: rgba(27, 255, 255, 0.1);
}

.testi .container,
.testi .tt-wrap {
    position: relative;
    z-index: 1;
}

.testi-ey {
    color: var(--accent-indigo) !important;
}

.testi-ey::before {
    background: var(--accent-indigo) !important;
}

.testi .stitle {
    color: #0f172a !important;
    max-width: 620px;
}

.testi .tt-wrap {
    margin-top: 60px;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.testi .tc {
    position: relative;
    width: 390px;
    padding: 42px 34px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 30px !important;
    box-shadow: 0 24px 60px -38px rgba(15, 23, 42, 0.26);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.testi .tc::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #001aff 0%, #1bffff 52%, #6d28d9 100%);
}

.testi .tc::after {
    content: '”';
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 76px;
    line-height: 1;
    color: rgba(0, 26, 255, 0.08);
    font-weight: 800;
}

.testi .tc:hover {
    transform: translateY(-8px);
    border-color: var(--accent-indigo) !important;
    box-shadow: 0 32px 70px -34px rgba(0, 26, 255, 0.22);
}

.testi .stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 26, 255, 0.06);
    margin-bottom: 24px;
}

.testi .stars span {
    color: #f4b400;
    font-size: 15px;
}

.testi .tc-q {
    color: #475569 !important;
    position: relative;
    z-index: 1;
    min-height: 132px;
}

.testi .tc-nm {
    color: #0f172a !important;
    font-size: 16px;
}

.testi .tc-rl {
    color: #64748b !important;
}

.testi .tc-p {
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.testi .tc-av {
    color: white !important;
    box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.45);
}

@media (max-width: 768px) {
    .testi {
        padding: 88px 0 !important;
    }

    .testi .tt-wrap {
        mask-image: none;
    }

    .testi .tc {
        width: 320px;
        padding: 34px 24px !important;
        border-radius: 24px !important;
    }

    .testi .tc-q {
        min-height: auto;
    }
}

/* Section stacking fix: hero video only on first screen */
.svc-sec,
.proc-sec,
.testi,
.footer {
    position: relative;
    z-index: 12;
    isolation: isolate;
}

.svc-sec,
.proc-sec {
    background: #ffffff !important;
}

.testi {
    background:
        radial-gradient(circle at 16% 18%, rgba(0, 26, 255, 0.16), transparent 24%),
        radial-gradient(circle at 84% 12%, rgba(27, 255, 255, 0.12), transparent 18%),
        linear-gradient(180deg, #020202 0%, #0a0a0a 100%) !important;
}

.testi .stitle {
    color: #ffffff !important;
}

.testi-ey {
    color: #60a5fa !important;
}

.testi-ey::before {
    background: #60a5fa !important;
}

.testi .stars {
    background: rgba(15, 23, 42, 0.06);
}

.testi .tc {
    box-shadow: 0 30px 80px -44px rgba(0, 0, 0, 0.65);
}

.footer {
    background: #ffffff;
}

/* Services + Process refinement */
.svc-sec {
    background: #ffffff !important;
    padding: 120px 0 128px !important;
}

.svc-sec .container,
.proc-sec .container {
    position: relative;
    z-index: 1;
}

.svc-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 32px;
    align-items: start !important;
    margin-bottom: 34px !important;
}

.svc-head > p {
    justify-self: end;
    max-width: 340px !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.svc-grid {
    gap: 14px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.sc {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 30px 28px !important;
    background: #f7f5ef !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.sc::before {
    content: none !important;
}

.sc:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(0, 26, 255, 0.14) !important;
    box-shadow: 0 18px 36px -26px rgba(15, 23, 42, 0.16) !important;
}

.sc.feat {
    background: linear-gradient(135deg, #1d49ff 0%, #2958ff 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 24px 42px -28px rgba(29, 73, 255, 0.42) !important;
}

.sc-n {
    color: rgba(15, 23, 42, 0.36) !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}

.sc.feat .sc-n {
    color: rgba(255, 255, 255, 0.58) !important;
}

.sc-ic {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 22px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #0f172a;
    box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.22) !important;
}

.sc.feat .sc-ic {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

.sc-ic svg {
    width: 20px !important;
    height: 20px !important;
}

.sc-t {
    color: #0f172a !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
}

.sc.feat .sc-t {
    color: #ffffff !important;
}

.sc-d {
    max-width: 250px;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.sc.feat .sc-d {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sc-link {
    margin-top: auto !important;
    padding-top: 22px;
    color: #1d49ff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.sc.feat .sc-link {
    color: #ffffff !important;
}

.proc-sec {
    background: #ffffff !important;
    padding: 120px 0 128px !important;
}

.pg {
    grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr) !important;
    gap: 86px !important;
    align-items: start !important;
}

.pg > div:first-child {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.proc-sec .pg > div:first-child > p {
    color: #475569 !important;
    max-width: 440px !important;
    line-height: 1.55 !important;
}

.pv {
    margin-top: 34px !important;
    padding: 28px !important;
    gap: 14px !important;
    background: #dfe8ff !important;
    border: 0 !important;
    border-radius: 26px !important;
    box-shadow: none !important;
}

.pv-row {
    padding: 20px 24px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.pv-ico {
    width: 46px !important;
    height: 46px !important;
    background: #f4f7ff !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
}

.pv-n {
    font-size: 24px !important;
    line-height: 1 !important;
}

.pv-l {
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: #64748b !important;
}

.steps {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.steps .stp {
    align-items: flex-start;
    gap: 24px !important;
    padding: 30px 0 !important;
    border-bottom: 1px solid #edf1f7 !important;
    transform: none !important;
}

.steps .stp:hover {
    transform: none !important;
}

.steps .stp-n {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    position: relative;
}

.steps .stp-n--active {
    background: #1d49ff !important;
    color: #ffffff !important;
    border-color: #1d49ff !important;
    box-shadow: 0 0 0 8px rgba(29, 73, 255, 0.12) !important;
}

.steps .stp-n--active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #1d49ff;
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
}

.steps .stp h3 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
    color: #0f172a !important;
}

.steps .stp p {
    max-width: 520px;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

@media (max-width: 1024px) {
    .svc-head {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .svc-head > p {
        justify-self: start;
    }

    .pg {
        grid-template-columns: 1fr !important;
        gap: 52px !important;
    }
}

@media (max-width: 768px) {
    .svc-sec,
    .proc-sec {
        padding: 88px 0 !important;
    }

    .svc-sec .container {
        padding-right: 0 !important;
    }

    .svc-grid {
        display: flex !important;
        gap: 14px !important;
        overflow-x: auto;
        padding: 4px 24px 10px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .svc-grid::-webkit-scrollbar {
        display: none;
    }

    .sc {
        flex: 0 0 min(82vw, 300px);
        min-height: auto;
        padding: 26px 22px !important;
        border-radius: 20px !important;
        scroll-snap-align: start;
    }

    .pv {
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .pv-row {
        padding: 16px 16px !important;
    }

    .steps .stp {
        gap: 18px !important;
        padding: 24px 0 !important;
    }

    .steps .stp-n {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Process polish */
.pv {
    border-radius: 34px !important;
    padding: 30px !important;
}

.pv-row {
    border-radius: 22px !important;
}

.steps .stp-n,
.steps .stp-n--active {
    background: #ffffff !important;
    color: #64748b !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

.steps .stp-n--active::after {
    content: none !important;
}

.steps .stp:hover .stp-n,
.steps .stp:hover .stp-n--active {
    background: #1d49ff !important;
    color: #ffffff !important;
    border-color: #1d49ff !important;
    box-shadow: 0 0 0 8px rgba(29, 73, 255, 0.12) !important;
}

@media (max-width: 768px) {
    .pv {
        border-radius: 24px !important;
        padding: 18px !important;
    }

    .pv-row {
        border-radius: 18px !important;
    }
}
