:root {
    --bg-color: #0c111c;
    --bg-alt: rgba(255, 255, 255, 0.02);
    --bg-darker: rgba(0, 0, 0, 0.3);

    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);

    --text-main: #ffffff;
    --text-muted: #8b99b0;

    --primary: #fc6011;
    --primary-hover: #ff7630;
    --primary-glow: rgba(252, 96, 17, 0.3);

    --border-color: #212b40;
    --header-bg: rgba(12, 17, 28, 0.85);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Manrope', sans-serif;

    --radius-card: 24px;
    --radius-btn: 12px;
}



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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Background Grid & Ambient Glows (Apple Aesthetics) */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -2;
    pointer-events: none;
}


.bg-grid::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle at 40% 40%, rgba(252, 96, 17, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(200, 50, 200, 0.06) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: floatGlow 25s cubic-bezier(0.25, 0.1, 0.25, 1) infinite alternate;
}

.bg-grid::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -15%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle at 60% 50%, rgba(13, 90, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(252, 96, 17, 0.04) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: floatGlow2 30s cubic-bezier(0.25, 0.1, 0.25, 1) infinite alternate;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-8%, 5%) scale(1.05);
    }

    100% {
        transform: translate(-2%, 8%) scale(0.95);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(0.95);
    }

    50% {
        transform: translate(8%, -5%) scale(1.05);
    }

    100% {
        transform: translate(5%, 2%) scale(1);
    }
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.text-orange {
    color: var(--primary);
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-subtitle {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-subtitle .line {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    margin-right: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.section-header-text {
    max-width: 400px;
    color: var(--text-muted);
    font-size: 15px;
}

/* Alternating Section Backgrounds */
.bg-alt {
    position: relative;
    z-index: 1;
}

.bg-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background-color: var(--bg-alt);
    z-index: -1;
}

.bg-dark {
    position: relative;
    z-index: 1;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: all 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}


.w-100 {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.badge-dark {
    background-color: var(--bg-darker);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
}


.badge-popular {
    position: absolute;
    top: -12px;
    left: 24px;
    background-color: var(--primary);
    border: none;
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Global Card - Apple Liquid Glass Style */
.card,
.mini-card,
.build-card,
.solution-card,
.tiny-card,
.service-card,
.stat-card,
.promo-card,
.contact-info-card,
.thesis-card,
.case-card,
.v-step-card,
.tech-group,
.partner-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 32px;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: var(--card-shadow);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Dual-layer border effect for premium feel */
.card::after,
.mini-card::after,
.build-card::after,
.solution-card::after,
.service-card::after,
.case-card::after,
.v-step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}


.card:hover,
.mini-card:hover,
.build-card:hover,
.solution-card:hover,
.tiny-card:hover,
.service-card:hover,
.stat-card:hover,
.promo-card:hover,
.contact-info-card:hover,
.thesis-card:hover,
.case-card:hover,
.v-step-card:hover,
.tech-group:hover,
.partner-box:hover {
    background-color: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.6);
}


.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

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

.logo-text {
    font-family: 'Manrope', sans-serif;
    /* Applied Manrope font just for the logo */
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 80px;
    /* To span full header height for hover area */
    transition: color 0.3s;
    position: relative;
}

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

.nav-item {
    position: relative;
}

.nav-arrow {
    font-size: 10px;
    opacity: 0.5;
    transition: transform 0.3s;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    max-width: 1200px;
    background: rgba(12, 17, 28, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 16px 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.nav-item:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Clickable category title inside mega-menu */
.mega-menu-category-link {
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.mega-menu-category-link:hover {
    color: var(--primary) !important;
    gap: 10px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 12px;
}

.mega-menu-list a {
    color: var(--text-muted);
    font-size: 15px;
    transition: all 0.3s;
    display: block;
}

.mega-menu-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.mega-menu-list span {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    margin-top: 2px;
}

/* Specific adjustment for wide menus */
.mega-menu.solutions-menu {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 40px;
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 550px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin: 24px 0;
    letter-spacing: -2px;
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 580px;
    flex-shrink: 0;
}

.mini-card {
    padding: 24px;
}

.mini-card-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.mini-card-title {
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.mini-card-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Hero Tech Stack (Logos) */
.hero-tech-stack {
    margin-top: 40px;
}

.hero-tech-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.tech-logos-row {
    display: flex;
    gap: 30px;
    align-items: center;
}

.tech-logo-item {
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.tech-logo-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

.tech-logo-icon {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

/* Additional Badge Positions */
.web-badge--right {
    transform: translateX(10px);
}

.hero-graphic {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
    /* EXACTLY 50% visible */
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.half-logo-mask {
    width: 800px;
    height: 800px;
    background: url('images/logo.png') no-repeat center;
    background-size: contain;
    filter: blur(1px);
}

/* What we build Section */
.build-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.build-card {
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.build-icon {
    width: 52px;
    height: 52px;
    background: rgba(252, 96, 17, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(252, 96, 17, 0.15);
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.accordion-item {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    background: var(--bg-color);
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-item.active {
    border-color: var(--primary);
}

.accordion-item .number {
    color: var(--text-muted);
    margin-right: 16px;
    font-weight: 400;
}

.accordion-item.active .number {
    color: var(--primary);
}

.accordion-item .arrow {
    margin-left: auto;
    color: var(--text-muted);
}

.approach-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
}

.panel-number {
    font-size: 48px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 16px;
    opacity: 0.5;
}

.panel-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.panel-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.approach-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.solution-card.popular {
    border-color: var(--primary);
}

.card-list {
    list-style: none;
    margin-bottom: 24px;
}

.card-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.card-list:not(.plain) li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.plain li {
    padding-left: 0;
}

.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    position: absolute;
    bottom: 32px;
    left: 32px;
}

.solution-card {
    padding-bottom: 70px;
    /* space for absolute link */
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* For Whom Section */
.for-whom-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.for-whom-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sub-heading {
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 700;
}

.mt-lg {
    margin-top: 40px;
}

.mt-xl {
    margin-top: 64px;
}

.tiny-card {
    padding: 24px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.check-list li::before {
    content: "✓";
    color: var(--primary);
    font-size: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border: 1px solid var(--primary);
    border-radius: 50%;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.about-text b {
    color: var(--text-main);
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-list li {
    display: flex;
    gap: 16px;
}

.icon-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(252, 96, 17, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.benefit-text span {
    font-size: 14px;
    color: var(--text-muted);
}

.about-stats-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.promo-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.star-icon {
    color: var(--primary);
    background: rgba(252, 96, 17, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* Contacts Section */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contacts-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.item-value {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.box-estimation {
    background: rgba(252, 96, 17, 0.03);
    border-color: rgba(252, 96, 17, 0.2);
}

.box-estimation h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.box-estimation p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.estimation-list {
    list-style: none;
    font-size: 13px;
    color: var(--text-main);
}

.estimation-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dedicated Contacts Page Styles */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
}

.contact-info-card .contact-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.contact-info-card .contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-info-card .item-label {
    font-size: 13px;
    margin-bottom: 12px;
}

.contact-info-card .item-value {
    font-size: 16px;
}

.contacts-page-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.map-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.contacts-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 48px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    height: 100%;
}


.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}


.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px var(--primary-glow);
    transform: translateY(-1px);
}


.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

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

/* --- About Page New Styles --- */

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Theses Grid */
.about-theses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.thesis-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.thesis-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.thesis-card h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.thesis-card h4::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.thesis-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Cases Slider refined */
.cases-slider-wrap {
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.cases-slider {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    /* Vertical padding only */
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cases-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.slider-hint {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: bounceX 2s infinite;
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* Arrows for slider - Positioned on sides */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

#prev-case {
    left: -60px;
    /* Further out from the cards */
}

#next-case {
    right: -60px;
}

@media (max-width: 1440px) {
    #prev-case {
        left: -30px;
    }

    #next-case {
        right: -30px;
    }
}

@media (max-width: 1280px) {
    #prev-case {
        left: 5px;
    }

    #next-case {
        right: 5px;
    }
}


.slider-btn:hover {
    border-color: var(--primary);
    background: var(--bg-color);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(252, 96, 17, 0.3);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(252, 96, 17, 0.5);
}

.case-card {
    min-width: 380px;
    /* Much smaller card */
    width: calc(33.333% - 22px);
    /* Aiming for 3 cards visible on large screens */
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover,
.mini-card:hover,
.build-card:hover,
.solution-card:hover,
.service-card:hover,
.case-card:hover,
.v-step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}


.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.case-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.case-stats {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.case-features-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.solution-card {
    padding-top: 32px;
    padding-bottom: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.6);
}

.solution-card.popular {
    border-color: var(--primary);
    background: rgba(252, 96, 17, 0.05);
}

.case-result {
    margin-top: auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.case-result strong {
    color: #fff;
}

/* Our Approach Step Cards - Premium Redesign */
.v-step-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.v-step-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    /* Large subtle background number */
    font-family: 'Manrope', sans-serif;
}

.v-step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(252, 96, 17, 0.15), rgba(252, 96, 17, 0.05));
    border: 1px solid rgba(252, 96, 17, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v-step-card:hover .v-step-icon {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(252, 96, 17, 0.3);
}

.v-step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.v-step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.v-step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.v-step-card:hover::after {
    width: 100%;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-group {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-group:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tech-group h4 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tech-item {
    margin-bottom: 16px;
}

.tech-item strong {
    display: block;
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
}

.tech-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Why Us Block */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.partner-box {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 40px;
}

.partner-box h4 {
    color: var(--primary);
    margin-bottom: 12px;
}

.partner-box p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-cards {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 48px;
    }

    .build-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .for-whom-row-3,
    .for-whom-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .about-theses-grid,
    .tech-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .case-card {
        min-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .hero-graphic {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .build-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid,
    .about-grid,
    .contacts-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .about-theses-grid,
    .tech-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        min-width: 85vw;
        padding: 24px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .map-card {
        min-height: 300px;
        order: -1;
        /* Stack map above form on mobile */
    }

    .footer-nav {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }
}

/* --- Mobile Product Page Specific Styles --- */

.product-hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.product-hero .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.product-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-stats-grid .stat-item {
    padding: 32px;
}

.product-stats-grid .stat-value {
    font-size: 24px;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    color: var(--primary);
}

.product-stats-grid .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advantages-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.advantage-card-v2 {
    padding: 32px;
    height: 100%;
}

.advantage-icon {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.advantage-card-v2 h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.advantage-card-v2 p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ / Accordion List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    padding: 0 !important;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.faq-question {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 700;
}

.faq-arrow {
    display: block;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 96, 17, 0.1);
    color: var(--primary);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-answer {
    padding-bottom: 40px;
    max-height: 1000px;
    opacity: 1;
}

.faq-item.active .faq-arrow {
    background: var(--primary);
    color: #fff;
    transform: rotate(180deg);
}

/* Specific adjustments for Mobile blocks */

@media (max-width: 1024px) {
    .product-hero .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .advantages-grid-v2 {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .faq-question {
        padding: 24px;
    }

    .faq-question h3 {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE PAGE — New Components (v2)
   ========================================================= */

/* --- Hero: product layout --- */
.product-hero {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.product-hero-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center;
    gap: 80px;
}

/* --- Phone Mockup: Premium v2 --- */
.phone-visual-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
}

/* Ambient glow behind phone */
.phone-glow {
    position: absolute;
    width: 280px;
    height: 400px;
    background: radial-gradient(ellipse at center,
            rgba(252, 96, 17, 0.18) 0%,
            rgba(13, 90, 255, 0.08) 50%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from {
        opacity: 0.6;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

.phone-mockup {
    position: relative;
    z-index: 2;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Physical side buttons */
.phone-btn {
    position: absolute;
    background: #1a2236;
    border-radius: 2px;
}

.phone-btn--vol-up {
    left: -3px;
    top: 80px;
    width: 3px;
    height: 28px;
}

.phone-btn--vol-down {
    left: -3px;
    top: 118px;
    width: 3px;
    height: 28px;
}

.phone-btn--power {
    right: -3px;
    top: 100px;
    width: 3px;
    height: 50px;
}

/* Phone frame */
.phone-frame {
    width: 240px;
    height: 480px;
    background: linear-gradient(160deg, #111827 0%, #0d1520 100%);
    border-radius: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.7),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Status bar */
.phone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 4px;
    color: #fff;
    flex-shrink: 0;
}

.phone-time {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.phone-dynamic-island {
    width: 72px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
}

.phone-battery {
    display: flex;
    align-items: center;
    position: relative;
    width: 20px;
    height: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

.phone-battery-fill {
    width: 75%;
    height: 100%;
    background: #4ade80;
    border-radius: 1px;
}

.phone-battery-tip {
    width: 2px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 1px 1px 0;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
}

/* App screen */
.phone-screen {
    flex: 1;
    background: #0e1829;
    margin: 0 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 10px;
}

/* App header */
.pui-app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
}

.pui-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.pui-header-text {
    flex: 1;
}

.pui-greeting {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.pui-username {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.pui-notif-btn {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.pui-notif-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    animation: notifBlink 2s ease-in-out infinite;
}

@keyframes notifBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Stats chips row */
.pui-stats-row {
    display: flex;
    gap: 6px;
}

.pui-stat-chip {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pui-stat-chip--accent {
    background: rgba(252, 96, 17, 0.1);
    border-color: rgba(252, 96, 17, 0.2);
}

.pui-chip-val {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.pui-stat-chip--accent .pui-chip-val {
    color: var(--primary);
}

.pui-chip-lbl {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.35);
}

/* Progress card */
.pui-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px;
}

.pui-card--flat {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.06);
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pui-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pui-card-title {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
}

.pui-card-value {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
}

.pui-progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pui-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff8c42);
    border-radius: 4px;
    animation: progressFill 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-origin: left;
}

@keyframes progressFill {
    from {
        width: 0 !important;
    }

    to {
        /* uses inline style */
    }
}

.pui-card-meta {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.2);
}

/* List items */
.pui-list-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.pui-list-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
}

.pui-list-icon--green {
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.pui-list-icon--blue {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pui-list-icon--orange {
    background: rgba(252, 96, 17, 0.2);
    border: 1px solid rgba(252, 96, 17, 0.3);
}

.pui-list-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pui-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.pui-line--long {
    width: 80%;
}

.pui-line--med {
    width: 60%;
}

.pui-line--short {
    width: 40%;
}

.pui-list-badge {
    font-size: 7px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.pui-list-badge--accent {
    background: rgba(252, 96, 17, 0.15);
    color: var(--primary);
}

/* Toast notification */
.pui-toast {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 10px;
    padding: 8px 10px;
    animation: toastSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
        toastFadeOut 1s ease-in-out 3.5s forwards;
    margin-top: auto;
}

@keyframes toastSlide {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.pui-toast-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.25);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
}

.pui-toast-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pui-toast-text strong {
    font-size: 9px;
    color: #fff;
}

.pui-toast-text span {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.4);
}

/* Bottom nav */
.phone-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 20px 4px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    margin: 0 6px;
    border-radius: 0 0 6px 6px;
}

.pbn-item {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pbn-item--active {
    color: var(--primary);
    background: rgba(252, 96, 17, 0.1);
}

/* Home indicator */
.phone-home-bar {
    width: 72px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    margin: 6px auto 8px;
    flex-shrink: 0;
}

/* --- Floating phone badges: Premium v2 --- */
.phone-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    white-space: nowrap;
    overflow: hidden;
    z-index: 5;
}

.phone-badge--top {
    top: 30px;
    right: -10px;
    animation: badgeEnter 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both,
        badgeFloatTop 5s 1.1s ease-in-out infinite;
}

.phone-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.phone-badge--bottom {
    bottom: 30px;
    left: -10px;
    animation: badgeEnter 0.8s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
        badgeFloatBottom 5s 1.4s ease-in-out infinite;
}

@keyframes badgeEnter {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes badgeFloatTop {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes badgeFloatBottom {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

.pbadge-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pbadge-icon--ios {
    background: linear-gradient(135deg, #555, #222);
}

.pbadge-icon--android {
    background: linear-gradient(135deg, #3ddc84, #1fa060);
}

.pbadge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pbadge-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.pbadge-text span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Stats Row (Лічильники) --- */
.mobile-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 20px 0;
}

.mobile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 20px;
}

.mobile-stat-value {
    font-size: 56px;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.mobile-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 160px;
}

.mobile-stat-divider {
    width: 1px;
    height: 80px;
    background: var(--card-border);
    flex-shrink: 0;
}

/* --- Reason Items --- */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reason-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.reason-item:first-child {
    padding-top: 0;
}

.reason-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reason-item:hover .reason-icon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.reason-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(252, 96, 17, 0.08);
    border: 1px solid rgba(252, 96, 17, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reason-body {
    flex: 1;
}

.reason-body strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.reason-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- Advantages V3 (quote + reasons) --- */
.advantages-v3-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
    margin-top: 40px;
}

.advantages-quote {
    padding: 48px;
    background: rgba(252, 96, 17, 0.04);
    border: 1px solid rgba(252, 96, 17, 0.15);
    border-radius: var(--radius-card);
    position: sticky;
    top: 100px;
}

.advantages-quote-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.advantages-quote-text--accent {
    color: var(--primary);
    margin-bottom: 32px;
}

.advantages-quote-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- FAQ: step number --- */
.faq-step-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
    font-family: var(--font-heading);
    margin-right: 20px;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    width: 48px;
}

.faq-item.active .faq-step-num {
    opacity: 0.7;
}

.faq-question {
    display: flex;
    align-items: center;
}

.faq-question h3 {
    flex: 1;
}

/* --- Case meta tag --- */
.case-meta-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    align-self: flex-start;
}

/* --- Visual Gradient Box (For whom — right) --- */
.visual-gradient-box {
    background: linear-gradient(135deg, rgba(252, 96, 17, 0.08) 0%, rgba(13, 90, 255, 0.04) 100%);
    border: 1px solid rgba(252, 96, 17, 0.2);
    border-radius: var(--radius-card);
    padding: 48px;
    backdrop-filter: blur(20px);
}

.vgb-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 28px;
}

.stats-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sgb-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.sgb-item:hover {
    border-color: rgba(252, 96, 17, 0.3);
    background: rgba(252, 96, 17, 0.05);
    transform: translateY(-2px);
}

.sgb-value {
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.sgb-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.vgb-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 32px 0;
}

.vgb-cta p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------------------------------------------------
   Horizontal Case Cards (mobile page)
   --------------------------------------------------- */
.case-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.case-card-h {
    display: grid;
    grid-template-columns: 420px 1fr;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-card-h:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(252, 96, 17, 0.25);
}

.case-card-h--reverse {
    direction: rtl;
}

.case-card-h--reverse>* {
    direction: ltr;
}

/* Image panel */
.case-card-h-visual {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.case-card-h-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card-h:hover .case-card-h-img {
    transform: scale(1.04);
}

.case-card-h-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(5, 10, 20, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.case-card-h-overlay--blue {
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(5, 10, 30, 0.85) 100%);
}

.case-card-h-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 24px;
}

.case-platform-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.case-platform-dot--ios {
    background: #a0a0a0;
}

.case-platform-dot--android {
    background: #3ddc84;
}

.case-platform-dot--web {
    background: #3b82f6;
}

/* Content panel */
.case-card-h-content {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-card-h-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(252, 96, 17, 0.08);
    border: 1px solid rgba(252, 96, 17, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.case-tag--blue {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.case-card-h-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 4px;
    color: var(--text-main);
}

.case-card-h-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.case-card-h-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.case-mini-stat {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.case-mini-stat span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.case-mini-stat small {
    font-size: 10px;
}

.case-card-h-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.case-card-.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.section-header-text {
    max-width: 600px;
}

.section-header-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Features grid (2 columns) */
.case-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.case-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.case-feature-item svg {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Result callout */
.case-result-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(252, 96, 17, 0.06);
    border: 1px solid rgba(252, 96, 17, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: auto;
}

.case-result-icon {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.case-result-block p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.case-result-block strong {
    color: var(--text-main);
}

/* --- Responsive breakpoints for mobile page --- */
@media (max-width: 1100px) {
    .product-hero-inner {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 60px;
    }

    .phone-badge--top {
        right: -10px;
    }



    .phone-badge--bottom {
        left: -10px;
    }

    .advantages-v3-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .advantages-quote {
        position: static;
    }

    .mobile-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .mobile-stat-item {
        min-width: 45%;
    }

    .mobile-stat-divider {
        display: none;
    }

    .mobile-stat-value {
        font-size: 44px;
    }

    .case-card-h {
        grid-template-columns: 340px 1fr;
    }

    .case-card-h--reverse {
        direction: ltr;
    }
}

@media (max-width: 900px) {
    .case-card-h {
        grid-template-columns: 1fr;
    }

    .case-card-h-visual {
        min-height: 260px;
    }

    .case-card-h-content {
        padding: 28px;
    }

    .case-features-grid {
        grid-template-columns: 1fr;
    }

    .case-card-h-top {
        flex-direction: column;
        gap: 12px;
    }

    .case-mini-stat {
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .case-mini-stat small::before {
        content: "— ";
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding-top: 120px;
    }

    .mobile-stats-row {
        flex-direction: column;
    }

    .mobile-stat-item {
        min-width: 100%;
    }

    .mobile-stat-value {
        font-size: 48px;
    }

    .phone-badge--top,
    .phone-badge--bottom {
        font-size: 11px;
        padding: 8px 12px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .visual-gradient-box {
        padding: 32px;
    }

    .stats-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   Browser Mockup — Web Page Hero
   ========================================================= */
.browser-visual-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 60px;
}

.browser-glow {
    position: absolute;
    width: 340px;
    height: 300px;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(252, 96, 17, 0.08) 50%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

.browser-mockup {
    position: relative;
    z-index: 2;
    animation: phoneFloat 7s ease-in-out infinite;
    width: 100%;
    max-width: 480px;
}

.browser-frame {
    background: linear-gradient(160deg, #111827 0%, #0d1520 100%);
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.browser-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot--red {
    background: #ff5f57;
}

.browser-dot--yellow {
    background: #febc2e;
}

.browser-dot--green {
    background: #28c840;
}

.browser-addressbar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: monospace;
}

.browser-actions {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-action-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

/* App screen inside browser */
.browser-screen {
    display: flex;
    height: 300px;
}

/* Sidebar */
.bui-sidebar {
    width: 44px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.bui-sidebar-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary);
    opacity: 0.8;
    margin-bottom: 8px;
}

.bui-nav-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bui-nav-item--active {
    background: rgba(252, 96, 17, 0.15);
    border-color: rgba(252, 96, 17, 0.25);
}

/* Main content area */
.bui-main {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.bui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bui-page-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bui-header-actions {
    display: flex;
    gap: 6px;
}

.bui-btn {
    height: 22px;
    border-radius: 5px;
    width: 60px;
}

.bui-btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bui-btn--primary {
    background: rgba(252, 96, 17, 0.5);
}

/* Lines */
.bui-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.bui-line--long {
    width: 80%;
}

.bui-line--med {
    width: 55%;
}

.bui-line--short {
    width: 35%;
}

/* Stats row */
.bui-stats-row {
    display: flex;
    gap: 8px;
}

.bui-stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bui-stat-val {
    height: 14px;
    width: 60%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.bui-stat-val--orange {
    background: rgba(252, 96, 17, 0.4);
}

.bui-stat-val--green {
    background: rgba(74, 222, 128, 0.35);
}

.bui-stat-lbl {
    height: 6px;
    width: 80%;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
}

/* Table */
.bui-table {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.bui-table-header {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bui-th {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    flex: 1;
}

.bui-th--wide {
    flex: 2;
}

.bui-th--badge {
    width: 40px;
    flex: none;
}

.bui-table-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bui-table-row:last-child {
    border-bottom: none;
}

.bui-td {
    flex: 1;
    display: flex;
    align-items: center;
}

.bui-td--wide {
    flex: 2;
    gap: 8px;
}

.bui-td-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.bui-avatar-sm {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(252, 96, 17, 0.3);
    flex-shrink: 0;
}

.bui-avatar-sm--blue {
    background: rgba(59, 130, 246, 0.35);
}

.bui-avatar-sm--purple {
    background: rgba(139, 92, 246, 0.35);
}

.bui-badge {
    font-size: 7px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.bui-badge--green {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.bui-badge--orange {
    background: rgba(252, 96, 17, 0.15);
    color: var(--primary);
}

/* Floating badges for web page */
.web-badge {
    border-color: rgba(59, 130, 246, 0.25);
}

.web-badge--top {
    top: 20px;
    right: -10px;
    animation: badgeEnter 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both,
        badgeFloatTop 5s 1.1s ease-in-out infinite;
}

.web-badge--bottom {
    bottom: 20px;
    left: -10px;
    animation: badgeEnter 0.8s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
        badgeFloatBottom 5s 1.4s ease-in-out infinite;
}

.pbadge-icon--prod {
    background: linear-gradient(135deg, #28c840, #1a9e30);
}

.pbadge-icon--stack {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* =========================================================
   WEB PAGE — Visual Upgrade
   ========================================================= */

/* --- Tech Stack Pills in Hero --- */
.web-hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.web-stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.web-stack-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.web-stack-pill--angular {
    border-color: rgba(221, 0, 49, 0.35);
    color: #ff6b8a;
}

.web-stack-pill--angular::before {
    background: #dd0031;
    box-shadow: 0 0 6px #dd0031;
}

.web-stack-pill--react {
    border-color: rgba(97, 218, 251, 0.35);
    color: #61dafb;
}

.web-stack-pill--react::before {
    background: #61dafb;
    box-shadow: 0 0 6px #61dafb;
}

.web-stack-pill--node {
    border-color: rgba(104, 160, 99, 0.35);
    color: #68a063;
}

.web-stack-pill--node::before {
    background: #68a063;
    box-shadow: 0 0 6px #68a063;
}

.web-stack-pill--api {
    border-color: rgba(9, 150, 255, 0.35);
    color: #0996ff;
}

.web-stack-pill--api::before {
    background: #0996ff;
    box-shadow: 0 0 6px #0996ff;
}

.web-stack-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}



/* Browser frame shimmer */
.browser-frame {
    position: relative;
    overflow: hidden;
}

.browser-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.04) 50%,
            transparent);
    animation: browserShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes browserShimmer {
    0% {
        left: -60%;
    }

    40% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

/* Stats section — accent bars */
.mobile-stats-row {
    position: relative;
}

.mobile-stat-item {
    position: relative;
}

/* --- Feature Cards Grid (Block 3 & 4) --- */
.web-feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.web-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.web-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.web-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(252, 96, 17, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.web-feature-card:hover {
    border-color: rgba(252, 96, 17, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(252, 96, 17, 0.1);
}

.web-feature-card:hover::before {
    opacity: 1;
}

.web-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 96, 17, 0.12);
    border: 1px solid rgba(252, 96, 17, 0.2);
    color: var(--primary);
    flex-shrink: 0;
}

.web-feature-card strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.web-feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- Accordion — faq-step-num styling --- */
.faq-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(252, 96, 17, 0.1);
    border: 1px solid rgba(252, 96, 17, 0.2);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace, var(--font-main);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(252, 96, 17, 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-question h3 {
    flex: 1;
}

/* Check list in accordion */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 4px 50px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(252, 96, 17, 0.25);
    border: 2px solid var(--primary);
}

/* --- Process cards connector line --- */
.tech-grid {
    position: relative;
}

.v-step-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.v-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(252, 96, 17, 0.15);
    border-color: rgba(252, 96, 17, 0.2);
}

.v-step-num {
    font-size: 32px !important;
    font-weight: 900 !important;
    font-family: 'JetBrains Mono', monospace, var(--font-main) !important;
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

/* Cases section orb decorators */
.case-cards-stack {
    position: relative;
}

.case-cards-stack::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 96, 17, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    pointer-events: none;
    z-index: 0;
}

.case-card-h {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.case-card-h:hover {
    transform: translateY(-4px);
}

/* Reasons list icon — more vibrant */
.reason-icon {
    background: rgba(252, 96, 17, 0.1);
    border: 1px solid rgba(252, 96, 17, 0.2);
    color: var(--primary);
    transition: all 0.3s ease;
}

.reason-item:hover .reason-icon {
    background: rgba(252, 96, 17, 0.2);
    box-shadow: 0 0 20px rgba(252, 96, 17, 0.25);
    transform: scale(1.05);
}

/* Visual gradient box — enhanced */
.visual-gradient-box {
    background: linear-gradient(160deg,
            rgba(252, 96, 17, 0.08) 0%,
            rgba(30, 30, 50, 0.8) 50%,
            rgba(59, 130, 246, 0.06) 100%);
    border: 1px solid rgba(252, 96, 17, 0.15);
}

.sgb-value {
    font-size: 18px !important;
    background: linear-gradient(135deg, #fff 60%, rgba(252, 96, 17, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Premium Ambient Glows & Typography --- */
.web-gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.web-accent-gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ambient background lighting behind sections */
.web-ambient-light-container {
    position: relative;
    z-index: 1;
}

.web-ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    animation: ambientBreathe 8s ease-in-out infinite alternate;
}

.web-ambient-light--primary {
    background: var(--primary);
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.web-ambient-light--blue {
    background: #3b82f6;
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -150px;
}

@keyframes ambientBreathe {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.12;
    }

    50% {
        transform: scale(1.1) translate(-20px, 20px);
        opacity: 0.18;
    }

    100% {
        transform: scale(0.95) translate(20px, -20px);
        opacity: 0.12;
    }
}

/* Enhanced Visual Gradient Box */
.visual-gradient-box {
    position: relative;
    overflow: hidden;
}

.visual-gradient-box::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(252, 96, 17, 0.3);
    filter: blur(80px);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    pointer-events: none;
    z-index: 0;
}

.visual-gradient-box>* {
    position: relative;
    z-index: 1;
}

/* ========================================= */
/* AI Page Specific Styles                   */
/* ========================================= */

.ai-trust-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
}

.ai-trust-bar .trust-icon {
    color: var(--primary);
    margin-right: 8px;
    font-size: 16px;
}

/* Pain Cards */
.pain-card {
    border-top: 3px solid rgba(252, 96, 17, 0.4);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.pain-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.pain-hook {
    margin-top: auto;
    padding-top: 24px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Solution Cards */
.solution-card {
    display: flex;
    flex-direction: column;
}

.solution-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 24px;
    padding-top: 24px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.solution-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

.solution-link:hover {
    color: var(--text-main);
}

/* Solution hover glow */
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(252, 96, 17, 0.1);
    border-color: rgba(252, 96, 17, 0.3);
}

/* Tabs */
.ai-tabs-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.ai-tabs-nav {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    gap: 12px;
}

.ai-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 18px 24px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.ai-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    transform: translateX(5px);
}

.ai-tab-btn.active {
    background: rgba(252, 96, 17, 0.1);
    color: var(--primary);
    border-color: rgba(252, 96, 17, 0.3);
    box-shadow: 0 10px 30px rgba(252, 96, 17, 0.15);
}

.ai-tab-btn.active .tab-icon {
    transform: scale(1.2);
}

.ai-tabs-content {
    flex-grow: 1;
    min-height: 380px;
}

.ai-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.ai-tab-pane.active {
    display: block;
}

.custom-ul {
    list-style: none;
    padding-left: 0;
}

.custom-ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-muted);
}

.custom-ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Size Cards */
.size-card--small {
    border-top: 3px solid rgba(252, 96, 17, 0.3);
}

.size-card--medium {
    border-top: 3px solid rgba(252, 96, 17, 0.6);
}

.size-card--large {
    border-top: 3px solid var(--primary);
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.pane-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pane-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
}

.solution-grid-mini {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.solution-mini-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.smi-content strong {
    display: block;
    color: var(--text-main);
    font-size: 15px;
    margin-bottom: 4px;
}

.smi-content span {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.4;
}

.pane-footer {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-icon {
    font-size: 18px;
    margin-right: 10px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 100px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
}

/* Tech Grid */
.tech-stack-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--card-border);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.tech-row {
    display: flex;
    background: var(--bg-color);
    padding: 24px;
    align-items: center;
}

.tech-category {
    width: 250px;
    font-weight: 600;
    color: var(--text-main);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-grow: 1;
}

.tech-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.cyan-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(252, 96, 17, 0.6);
}

/* Form section */
.form-section {
    background: rgba(0, 212, 255, 0.02);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.ul-nostyle {
    list-style: none;
    padding: 0;
}

.ul-nostyle li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.ul-nostyle strong {
    color: var(--text-main);
    font-weight: 500;
}

.case-before-after .case-separator {
    text-align: center;
    color: var(--primary);
    margin: 10px 0;
    font-weight: bold;
}

/* Reveal Animation Base */
.ui-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ui-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for AI Page */
@media (max-width: 1024px) {
    .ai-tabs-container {
        flex-direction: column;
        padding: 24px;
        gap: 30px;
    }

    .ai-tabs-nav {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 8px;
    }

    .ai-tab-btn {
        white-space: nowrap;
        padding: 12px 20px;
        font-size: 14px;
    }

    .solution-grid-mini {
        grid-template-columns: 1fr;
    }

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

    .process-card:last-child {
        grid-column: span 2;
    }

    .tech-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

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

    .process-card:last-child {
        grid-column: span 1;
    }

    .ai-trust-bar {
        color: var(--text-muted);
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 32px;
        max-width: 600px;
    }

    .solution-grid-mini {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }

    .solution-mini-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .smi-content strong {
        display: block;
        color: var(--text-main);
        font-size: 15px;
        margin-bottom: 4px;
    }

    .smi-content span {
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.4;
    }

    .pane-footer {
        display: flex;
        gap: 12px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab-icon {
        font-size: 18px;
        margin-right: 10px;
    }

    .step-number {
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: 100px;
        font-weight: 800;
        color: var(--primary);
        opacity: 0.05;
        line-height: 1;
        pointer-events: none;
    }

    /* Tech Grid */
    .tech-stack-grid {
        display: flex;
        flex-direction: column;
        gap: 2px;
        background: var(--card-border);
        border: 1px solid var(--card-border);
        border-radius: var(--radius-card);
        overflow: hidden;
    }

    .tech-row {
        display: flex;
        background: var(--bg-color);
        padding: 24px;
        align-items: center;
    }

    .tech-category {
        width: 250px;
        font-weight: 600;
        color: var(--text-main);
    }

    .tech-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        flex-grow: 1;
    }

    .tech-item {
        display: flex;
        align-items: center;
        color: var(--text-muted);
        font-size: 14px;
    }

    .cyan-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary);
        margin-right: 8px;
        box-shadow: 0 0 8px rgba(252, 96, 17, 0.6);
    }

    /* Form section */
    .form-section {
        background: rgba(0, 212, 255, 0.02);
        border-top: 1px solid rgba(0, 212, 255, 0.1);
    }

    .ul-nostyle {
        list-style: none;
        padding: 0;
    }

    .ul-nostyle li {
        margin-bottom: 12px;
        color: var(--text-muted);
    }

    .ul-nostyle strong {
        color: var(--text-main);
        font-weight: 500;
    }

    .case-before-after .case-separator {
        text-align: center;
        color: var(--primary);
        margin: 10px 0;
        font-weight: bold;
    }

    /* Reveal Animation Base */
    .ui-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ui-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Responsive adjustments for AI Page */
@media (max-width: 1024px) {
    .ai-tabs-container {
        flex-direction: column;
        padding: 24px;
        gap: 30px;
    }

    .ai-tabs-nav {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 8px;
    }

    .ai-tab-btn {
        white-space: nowrap;
        padding: 12px 20px;
        font-size: 14px;
    }

    .solution-grid-mini {
        grid-template-columns: 1fr;
    }

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

    .process-card:last-child {
        grid-column: span 2;
    }

    .tech-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

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

    .process-card:last-child {
        grid-column: span 1;
    }

    .ai-trust-bar {
        color: var(--text-muted);
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 32px;
        max-width: 600px;
    }

    .solution-grid-mini {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }
}

/* AI Hero Visuals Global Fix to match exactly */
.hero {
    position: relative !important;
    overflow: hidden !important;
}

.hero-graphic {
    position: absolute !important;
    right: -400px !important;
    /* EXACTLY 50% of the 800px logo visibility */
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.25 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    display: block !important;
}

.half-logo-mask {
    width: 800px !important;
    height: 800px !important;
    background: url('images/logo.png') no-repeat center !important;
    background-size: contain !important;
}

/* --- Process Milestones V3 (Universal for AI sections) --- */
.process-milestones-v3 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.milestone-item {
    position: relative;
}

.ms-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ms-num {
    width: 48px;
    height: 48px;
    background: #111;
    border: 2px solid var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(252, 96, 17, 0.2);
    flex-shrink: 0;
    font-family: var(--font-heading);
}

.ms-line {
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
    flex-grow: 1;
    opacity: 0.3;
}

.milestone-item h3 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.milestone-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.ms-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(252, 96, 17, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .process-milestones-v3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ms-line {
        display: none;
    }
}

/* --- Tech Stack Premium V3 (Universal for AI sections) --- */
.tech-stack-premium-v3 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 50px;
}

.tech-system-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-system-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.tech-system-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.label-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 800;
}

.tech-system-label h4 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-family: var(--font-heading);
}

.tech-system-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tech-module {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.tech-module:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tech-module img {
    width: 18px;
    height: 18px;
    filter: grayscale(1) brightness(2);
}

.tech-module:hover img {
    filter: grayscale(0) brightness(1);
}

.module-icon {
    font-size: 16px;
}

@media (max-width: 768px) {
    .tech-system-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
    }
}

/* --- Interactive Tech Stack V4 (Horizontal Tabs) --- */
.tech-tabs-section {
    padding: 80px 0;
    overflow: hidden;
}

.tech-tabs-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.tech-tabs-info {
    flex: 0 0 320px;
    margin-top: 0;
}

.tech-tabs-info .section-title {
    margin-bottom: 30px;
}

.tech-tabs-info .section-subtitle {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
    transform: translateY(-6px);
    /* Micro-adjustment to match button visual top */
}

.tech-tabs-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.tech-tabs-content {
    flex: 1;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 40px;
    margin-top: 0;
    padding: 0 4px 10px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(252, 96, 17, 0.2), rgba(255, 255, 255, 0.05));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(252, 96, 17, 0.2);
}

.tab-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: 0.5s;
}

.tab-btn:hover::after {
    left: 100%;
}

/* Grid & Cards */
.tech-grid-wrapper {
    position: relative;
    min-height: 280px;
    /* Reduced to avoid ghost space while maintaining stability */
}

.tab-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    animation: fadeInTech 0.4s ease forwards;
}

.tab-panel.active {
    display: grid;
}

.tech-card-v4 {
    background: #0d0d0d;
    border-radius: 12px;
    padding: 16px;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tech-card-v4:hover {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.1);
}

.tech-card-v4 .tech-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.tech-card-v4 .tech-icon-wrap img,
.tech-card-v4 .tech-icon-wrap svg {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card-v4:hover .tech-icon-wrap img,
.tech-card-v4:hover .tech-icon-wrap svg {
    filter: brightness(1) invert(0) opacity(1);
    transform: scale(1.1);
}

/* For logos that should stay white or have special needs */
.tech-card-v4 .tech-icon-wrap img.keep-white {
    filter: brightness(0) invert(1) opacity(0.8) !important;
}

.tech-card-v4:hover .tech-icon-wrap img.keep-white {
    filter: brightness(0) invert(1) opacity(1) !important;
}

.tech-card-v4 .tech-name-label {
    width: 100%;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 10px 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.tech-card-v4:hover .tech-name-label {
    background: #222;
    color: #fff;
}

@keyframes fadeInTech {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .tech-tabs-container {
        flex-direction: column;
        gap: 60px;
    }

    .tech-tabs-info {
        flex: none;
        max-width: 100%;
        text-align: center;
    }

    .tabs-nav {
        justify-content: center;
    }
}

/* =========================================================
   WP-SPECIFIC ADDITIONS
   (Styles not present in input-files/style.css)
   ========================================================= */

/* --- Utilities --- */
.text-muted {
    color: var(--text-muted);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(252, 96, 17, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(252, 96, 17, 0.15);
}

/* --- Product Hero (shared across product pages) --- */
.hero--product {
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Standalone .card (for elements using only .card class) --- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 32px;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: var(--card-shadow);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.card:hover {
    background-color: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.6);
}

/* --- BUI Dashboard (Web page browser mockup) --- */
.bui-td--right {
    justify-content: flex-end;
}

.bui-td-line {
    height: 6px;
    width: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.bui-stat-value {
    font-size: 14px;
    font-weight: 800;
}

.bui-stat-value--orange {
    color: var(--primary);
}

.bui-stat-value--green {
    color: #4ade80;
}

.bui-stat-label {
    font-size: 7px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.bui-live-badge {
    width: 32px;
    height: 12px;
    background: rgba(74, 222, 128, 0.2);
    border-radius: 4px;
    font-size: 7px;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.bui-badge-optimized {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    font-size: 6px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 14px;
    padding: 0 6px;
    border-radius: 4px;
}

/* --- AI Pulse & Chart Animations --- */
.ai-pulse {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: aiPulse 2s infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes aiPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.chart-line-anim {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 3s ease-in-out forwards infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}