/* ===== SCROLLBAR HIDDEN ===== */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    --bg: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.1);
    --transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
    --transition-slow: transform 0.5s ease, opacity 0.5s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 768px) {
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== CUSTOM CURSOR ===== */
.cursor {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    margin-left: -3px;
    margin-top: -3px;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), height 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    margin-left: -18px;
    margin-top: -18px;
}

.cursor.hover {
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1), height 0.25s cubic-bezier(0.22, 1, 0.36, 1), margin 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cursor-follower.hover {
    width: 56px;
    height: 56px;
    border-color: var(--primary-light);
    background: rgba(37, 99, 235, 0.06);
    margin-left: -28px;
    margin-top: -28px;
}

@media (pointer: coarse) {

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    opacity: 1;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon svg,
.logo-icon img {
    display: block;
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.brand-by {
    display: block;
    font-size: 0.45em;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.brand-by .pwrd {
    font-weight: 300;
    opacity: 0.75;
    letter-spacing: 0.06em;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-cta {
    padding: 8px 18px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.nav-cta-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-cta-secondary:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.cta-group {
    display: flex;
    gap: 0;
}

.cta-group .nav-cta {
    border-radius: 10px;
    margin-left: 0;
}

.cta-group .nav-cta:last-child {
    margin-left: 10px;
}

.os-nav-link {
    position: relative;
    color: var(--primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
}

.os-nav-link::after {
    content: '™';
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 1px;
}

.os-nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.os-nav-link:hover::before,
.os-nav-link.active::before {
    opacity: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(-1 * env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-panel {
    position: relative;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    touch-action: none;
    overscroll-behavior: contain;
}

.mobile-menu.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.mobile-menu-brand .logo-icon img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.mobile-menu-brand .logo-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.mobile-nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    padding: 8px 12px 4px;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.mobile-link.active {
    background: rgba(37, 99, 235, 0.12);
    color: #60A5FA;
}

.mobile-link-os {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-link-os:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #60A5FA;
}

.mobile-link-os.active {
    background: rgba(37, 99, 235, 0.18);
    color: #93BBFC;
}

.mobile-os-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #fff;
    line-height: 1.4;
}

.mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0 16px;
}

.mobile-cta-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.mobile-cta:active {
    transform: scale(0.97);
}

.mobile-cta-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.mobile-cta-primary:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(59, 130, 246, 0.18) 100%);
    border-color: rgba(59, 130, 246, 0.35);
}

.mobile-cta-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.mobile-cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
}

.mobile-cta-primary .mobile-cta-icon {
    background: rgba(37, 99, 235, 0.2);
    color: #60A5FA;
}

.mobile-cta-secondary .mobile-cta-icon {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

.mobile-cta-text {
    flex: 1;
    text-align: left;
}

.mobile-cta-text strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.mobile-cta-text small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.mobile-cta-arrow {
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.mobile-cta:hover .mobile-cta-arrow {
    transform: translateX(3px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
}

.css-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.dust-particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    will-change: transform, opacity;
    animation: floatDust linear infinite;
}

@keyframes floatDust {
    0% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: var(--max-opacity, 0.5);
    }

    90% {
        opacity: var(--max-opacity, 0.5);
    }

    100% {
        transform: translateY(-20vh) scale(1.2);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.title-line.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    border: none;
    cursor: none;
    will-change: transform;
    transform: translateZ(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

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

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* ===== SECTION COMMON ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 16px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.about-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

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

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.about-icon {
    margin-bottom: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    transform: scale(1.05);
}

.about-icon svg {
    width: 28px;
    height: 28px;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-card-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.06;
    line-height: 1;
    transition: var(--transition);
}

.about-card:hover .about-card-number {
    opacity: 0.12;
    transform: scale(1.1);
}

/* ===== SERVICES ===== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: none;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    color: inherit;
    text-decoration: none;
}

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

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover .service-arrow svg path {
    stroke: var(--primary);
    transform: translateX(4px);
}

.service-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.3;
    min-width: 60px;
    transition: var(--transition);
}

.service-item:hover .service-number {
    color: var(--primary);
    opacity: 0.6;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.service-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 500px;
}

.service-tags {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

.service-tags li {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.service-item:hover .service-tags li {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.service-arrow {
    transition: var(--transition);
}

.service-arrow svg path {
    transition: var(--transition);
}

.project-image-only {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image-only img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-image-only:hover img {
    transform: scale(1.05);
}

/* ===== PROJECTS TABS ===== */
.projects-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid var(--border);
    background: white;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: none;
    font-family: 'Inter', sans-serif;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    display: none;
}

.projects-grid.active {
    display: grid;
    perspective: 1200px;
}

.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    will-change: transform;
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-mockup {
    transition: transform 0.4s ease;
    will-change: transform;
}

.project-card:hover .project-mockup {
    transform: scale(1.03);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 12px 28px;
    background: white;
    color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-info {
    padding: 28px 32px;
}

.project-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.project-category {
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.project-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Website Mockup */
.browser-frame {
    width: 340px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border);
}

.browser-frame.dark {
    background: #1E293B;
    border-color: #334155;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.browser-frame.dark .browser-header {
    border-color: #334155;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.browser-dots span:nth-child(1) {
    background: #EF4444;
}

.browser-dots span:nth-child(2) {
    background: #F59E0B;
}

.browser-dots span:nth-child(3) {
    background: #10B981;
}

.browser-url {
    flex: 1;
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

.browser-frame.dark .browser-url {
    background: #334155;
    color: #94A3B8;
}

.browser-content {
    padding: 16px;
    min-height: 200px;
}

/* Web Mockup Content */
.web-hero {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.web-hero-text {
    flex: 1;
    padding-top: 12px;
}

.web-line {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    margin-bottom: 8px;
}

.web-line.short {
    width: 60%;
}

.web-line.medium {
    width: 80%;
}

.web-hero-visual {
    width: 100px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

.web-chart {
    width: 100%;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 4px;
    opacity: 0.3;
}

.web-features {
    display: flex;
    gap: 8px;
}

.web-feature-card {
    flex: 1;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

/* Art Gallery Mockup */
.web-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 80px 60px;
    gap: 8px;
}

.gallery-item {
    background: #334155;
    border-radius: 6px;
}

.gallery-item.large {
    grid-row: span 2;
    background: var(--primary-gradient);
    opacity: 0.4;
}

.gallery-item.tall {
    background: #475569;
}

/* Medical Mockup */
.web-medical {
    display: flex;
    gap: 12px;
    min-height: 180px;
}

.med-sidebar {
    width: 60px;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.med-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.3;
}

.med-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.med-item {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
}

.med-item.active {
    background: var(--primary);
    opacity: 0.5;
}

.med-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.med-card {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 8px;
}

/* E-commerce Mockup */
.web-ecommerce {
    min-height: 180px;
}

.eco-hero {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.eco-text {
    flex: 1;
    padding-top: 8px;
}

.eco-line {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    margin-bottom: 8px;
    width: 80%;
}

.eco-line.short {
    width: 50%;
}

.eco-product {
    width: 80px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    position: relative;
}

.eco-product::after {
    content: '';
    position: absolute;
    inset: 8px;
    background: var(--primary-gradient);
    opacity: 0.3;
    border-radius: 4px;
}

.eco-products {
    display: flex;
    gap: 8px;
}

.eco-item {
    flex: 1;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

/* Phone Mockup */
.phone-frame {
    width: 180px;
    height: 360px;
    background: #1E293B;
    border-radius: 28px;
    padding: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1E293B;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px 14px 14px;
}

.phone-screen.dark {
    background: #0F172A;
}

/* App Screens */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.app-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

.app-menu {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.app-balance {
    margin-bottom: 16px;
}

.balance-label {
    width: 60px;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 8px;
}

.balance-amount {
    width: 100px;
    height: 20px;
    background: var(--primary-gradient);
    opacity: 0.3;
    border-radius: 6px;
}

.app-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.action-btn {
    flex: 1;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.app-transactions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.tx-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary);
    opacity: 0.3;
    flex-shrink: 0;
}

.tx-details {
    flex: 1;
}

.tx-title {
    width: 60px;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 4px;
}

.tx-subtitle {
    width: 40px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}

.tx-amount {
    width: 40px;
    height: 10px;
    background: var(--border);
    border-radius: 5px;
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.nav-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.nav-item.active {
    background: var(--primary);
    opacity: 0.5;
}

.phone-screen.dark .app-nav {
    border-color: #334155;
}

.phone-screen.dark .nav-item {
    background: #334155;
}

/* FitPulse App */
.fit-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.fit-greeting {
    width: 80px;
    height: 10px;
    background: #334155;
    border-radius: 5px;
}

.fit-streak {
    width: 40px;
    height: 24px;
    background: #334155;
    border-radius: 8px;
}

.fit-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.fit-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 8px solid #334155;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.4;
}

.fit-activities {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #1E293B;
    border-radius: 10px;
}

.act-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary);
    opacity: 0.4;
}

.act-info {
    flex: 1;
}

.act-title {
    width: 50px;
    height: 8px;
    background: #334155;
    border-radius: 4px;
    margin-bottom: 4px;
}

.act-value {
    width: 30px;
    height: 6px;
    background: #334155;
    border-radius: 3px;
}

/* Foodie App */
.food-header {
    margin-bottom: 16px;
}

.food-location {
    width: 80px;
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    margin-bottom: 8px;
}

.food-search {
    width: 100%;
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.food-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.cat-pill {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.cat-pill.active {
    background: var(--primary);
    opacity: 0.4;
}

.food-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.food-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.food-img {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.food-info {
    flex: 1;
    padding-top: 4px;
}

.food-name {
    width: 60px;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 6px;
}

.food-price {
    width: 30px;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 4px;
}

/* Travel App */
.travel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.travel-greeting {
    width: 100px;
    height: 10px;
    background: #334155;
    border-radius: 5px;
}

.travel-profile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #334155;
}

.travel-search {
    width: 100%;
    height: 28px;
    background: #1E293B;
    border-radius: 10px;
    margin-bottom: 16px;
}

.travel-destinations {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dest-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #1E293B;
    border-radius: 10px;
}

.dest-img {
    width: 50px;
    height: 50px;
    background: #334155;
    border-radius: 8px;
}

.dest-info {
    flex: 1;
    padding-top: 4px;
}

.dest-name {
    width: 70px;
    height: 8px;
    background: #334155;
    border-radius: 4px;
    margin-bottom: 6px;
}

.dest-price {
    width: 40px;
    height: 8px;
    background: var(--primary);
    opacity: 0.4;
    border-radius: 4px;
}

/* ===== PROJECTS HORIZONTAL SHOWCASE ===== */
.projects-showcase {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-secondary);
    z-index: 10;
}

.projects-intro-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    background: var(--bg-secondary);
    pointer-events: none;
}

.projects-intro-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

.projects-intro-heading span {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px);
    margin: 0 0.08em;
}

.projects-intro-heading .highlight-word {
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    color: white;
    padding: 0.1em 0.35em;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    text-shadow: none;
}

.projects-track-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.projects-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 0 8vw;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
}

.showcase-visual {
    flex: 0 0 50%;
    max-width: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-visual .browser-frame {
    transform: scale(1);
    opacity: 1;
}

.showcase-visual .phone-frame {
    transform: scale(1);
    opacity: 1;
}

.showcase-content {
    flex: 0 0 40%;
    max-width: 440px;
}

.showcase-content>* {
    opacity: 1;
    transform: translateY(0);
}

.showcase-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.showcase-tag {
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

.showcase-year {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 6px 0;
}

.showcase-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.showcase-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-visual .project-image-only img {
    max-height: 80vh;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.showcase-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* CTA Panel */
.showcase-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    flex-direction: column;
    text-align: center;
}

.showcase-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.showcase-cta-inner>* {
    opacity: 1;
    transform: translateY(0);
}

.showcase-cta-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
}

.showcase-cta-heading span {
    display: inline-block;
    margin: 0 0.12em;
}

.showcase-cta-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    background: white;
    color: var(--primary);
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.showcase-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .showcase-card {
        flex-direction: column;
        gap: 20px;
        padding: 60px 24px;
        justify-content: center;
    }

    .showcase-visual {
        flex: 0 0 auto;
        max-width: 100%;
        margin-top: 0;
    }

    .showcase-visual .browser-frame {
        width: 100%;
        transform: none;
    }

    .showcase-visual .phone-frame {
        width: 100%;
        max-width: 200px;
        transform: none;
    }

    .browser-content {
        min-height: 0;
    }

    .project-image-only {
        height: auto;
    }

    .project-image-only img {
        height: auto;
        object-fit: cover;
    }

    .showcase-content {
        flex: 0 0 auto;
        max-width: 100%;
        text-align: center;
    }

    .showcase-meta {
        justify-content: center;
    }

    .showcase-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

}

/* ===== DASHBOARD PREVIEW (Browser Mockup) ===== */
.dashboard-preview {
    padding: 20px;
    background: #f8fafc;
}

.dp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.dp-card {
    background: white;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.dp-label {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.dp-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Space Grotesk', sans-serif;
}

.dp-activity {
    background: white;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.dp-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
}

.dp-view-all {
    font-size: 0.6rem;
    color: #2563eb;
    cursor: default;
}

.dp-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.7rem;
    color: #475569;
}

.dp-activity-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.dp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dp-dot.paid { background: #10b981; }
.dp-dot.pending { background: #f59e0b; }
.dp-dot.active { background: #2563eb; }

/* ===== 3D SHOWCASE ===== */
.showcase {
    position: relative;
    padding: 120px 0;
    background: var(--bg);
    overflow: hidden;
}

.showcase-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.showcase-text {
    max-width: 520px;
}

.showcase-text h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.showcase-text>p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: var(--transition);
    will-change: transform;
}

.showcase-feature:hover {
    transform: translateX(6px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Visual side */
.showcase-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.showcase-canvas-wrapper {
    width: 100%;
    height: 480px;
    position: relative;
}

#showcaseCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.showcase-floating-tag {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    animation: floatTag 3s ease-in-out infinite;
}



.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes floatTag {

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

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

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

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

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

/* Review Blog Elements */
.review-blog-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.825rem;
    color: var(--text-secondary);
}

.review-category {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.725rem;
    letter-spacing: 0.05em;
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: none;
}

.testimonial-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item span {
    font-weight: 500;
    color: var(--text);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, color 0.2s ease;
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.social-link:hover {
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px) translateZ(0);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link > svg,
.social-link > * {
    position: relative;
    z-index: 1;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateZ(0);
    transition: var(--transition);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.contact-form-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

.contact-form-wrapper:hover::before {
    transform: scaleX(1);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text);
    transition: var(--transition);
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

/* ===== FOOTER ===== */
.footer {
    background: #090d16;
    color: white;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.12;
    z-index: 1;
}

.footer-glow.glow-1 {
    background: var(--primary);
    top: -100px;
    left: -100px;
}



.footer .container {
    position: relative;
    z-index: 2;
}

/* Footer CTA */
.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 70px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-cta .cta-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.footer-cta .cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: white;
}

.footer-cta .btn-glow {
    position: relative;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer-cta .btn-glow:hover {
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 70px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-brand .logo-icon img {
    filter: brightness(0) invert(1);
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand .brand-by {
    color: #60A5FA;
}

.footer-brand .brand-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 320px;
}

.footer-column h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    font-size: 0.92rem;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.contact-link svg {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: white;
}

.contact-link:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

/* Social column */
.social-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-social-wrap {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
}

.social-btn:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .copyright {
    color: #64748b;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 32px;
    height: 32px;
    background: #10B981;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.toast-message {
    font-weight: 500;
    color: var(--text);
}

/* ===== 3D TEXT EFFECT ===== */
.hero-title {
    perspective: 800px;
}

.text-3d {
    display: block;
    transform-style: preserve-3d;
    transform: rotateX(0deg);
    transition: transform 0.6s ease;
}

.text-3d:nth-child(1) {
    transform: translateZ(20px);
}

.text-3d:nth-child(2) {
    transform: translateZ(40px);
}

.text-3d:nth-child(3) {
    transform: translateZ(20px);
}

/* ===== PROCESS SECTION ===== */
.process-section {
    padding: 80px 0 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 40px;
}

.process-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.process-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.process-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.process-card-wrap,
.process-arrow-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.process-card-wrap {
    z-index: 2;
}

.process-arrow-wrap {
    width: 70px;
    opacity: 0;
    z-index: 1;
    color: var(--text);
    pointer-events: none;
}

.process-arrow-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

.arrow-wrap-1 {
    left: calc(40%);
    top: 27%;
}

.arrow-wrap-2 {
    left: calc(10% + 20px);
    top: 47%;
}

.arrow-wrap-3 {
    left: calc(40%);
    top: 67%;
}

.arrow-wrap-2 svg {
    transform: scaleX(-1);
}


.process-step-card {
    width: 460px;
    max-width: 90vw;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    position: relative;
    min-height: 220px;
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.process-card-wrap:hover .process-step-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

.process-card-wrap:hover .process-step-card::before {
    transform: scaleX(1);
}

.process-step-card .step-number {
    position: absolute;
    top: 24px;
    left: 50%;
    margin-left: -24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card .step-content {
    position: absolute;
    top: 84px;
    left: 24px;
    right: 24px;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stacked State */
.process-step-card.stacked {
    min-height: 140px;
}

.process-step-card.stacked .step-number {
    left: 20px;
    margin-left: 0;
    top: 20px;
}

.process-step-card.stacked .step-content {
    left: 84px;
    top: 20px;
    right: 20px;
    text-align: left;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content {
    transition: opacity 0.3s ease;
}

.process-step-card.stacked .step-content {
    text-align: left;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--text);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 0.9rem;
}


.process-big-text {
    position: absolute;
    right: 9%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 700px;
    text-align: right;
    z-index: 3;
}

.process-big-text span {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-right: 0;
    margin-left: 0.2em;
    margin-bottom: 0.02em;
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    color: #fff;
    padding: 7px;
    border-radius: 15px;
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
    text-shadow: 0 0 50px rgba(37, 99, 235, 0.35);
    letter-spacing: -0.03em;
    opacity: 0;
}

.process-big-text .black-text {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.process-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    opacity: 0.15;
    filter: blur(20px);
    pointer-events: none;
    animation: orbFloat 4s ease-in-out infinite;
}

.orb-1 {
    width: 120px;
    height: 120px;
    left: 58%;
    top: 25%;
    animation-delay: 0s;
}

.orb-2 {
    width: 80px;
    height: 80px;
    left: 65%;
    top: 45%;
    animation-delay: -1.3s;
    opacity: 0.12;
}

.orb-3 {
    width: 60px;
    height: 60px;
    left: 55%;
    top: 60%;
    animation-delay: -2.6s;
    opacity: 0.1;
}

.orb-4 {
    width: 100px;
    height: 100px;
    left: 62%;
    top: 75%;
    animation-delay: -0.8s;
    opacity: 0.13;
}

@keyframes orbFloat {

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

    50% {
        transform: translateY(-18px) scale(1.06);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .process-step-card {
        width: 340px;
        max-width: 90vw;
        padding: 14px 16px;
    }

    .process-big-text {
        right: 3%;
        max-width: 320px;
    }

    .process-big-text span {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    }

    .arrow-wrap-1 {
        left: calc(10% - 40px);
    }

    .arrow-wrap-2 {
        left: calc(10% - 40px);
    }

    .arrow-wrap-3 {
        left: calc(10% - 40px);
    }
}

.process-stage::before {
    content: '';
    position: absolute;
    right: 8%;
    top: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatOrb {

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

    50% {
        transform: translateY(-25px) scale(1.08);
    }
}

/* ===== SCROLL 3D SECTION ===== */
.scroll-3d {
    position: relative;
    min-height: 150vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-secondary);
}

.scroll-3d-canvas-wrap {
    position: sticky;
    top: 0;
    width: 50%;
    height: 100vh;
    float: left;
    pointer-events: none;
}

#scroll3dCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scroll-3d-content {
    position: relative;
    z-index: 1;
    width: 50%;
    float: right;
    padding: 120px 0;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.scroll-3d-text {
    max-width: 440px;
    padding-left: 40px;
}

.scroll-3d-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

.scroll-3d-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.scroll-progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scroll-bar-bg {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.scroll-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===== ANIMATED REVEAL CLASSES ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* ===== CLIENT SUCCESS NUMBERS ===== */
.success-numbers {
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.success-numbers::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.success-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.success-percent {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.success-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.success-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.success-card:hover .success-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    transform: scale(1.05);
}

.success-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

/* ===== TECH STACK ===== */
.tech-stack {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.tech-stack::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.tech-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: var(--transition);
}

.tech-item:hover .tech-item-icon {
    background: rgba(37, 99, 235, 0.08);
    transform: scale(1.08);
}

.tech-item-icon svg,
.tech-item-icon img {
    width: 26px;
    height: 26px;
}

.tech-item-icon img[alt="JavaScript"] {
    border-radius: 3px;
}

.tech-item-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.tech-item-cat {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: -8px;
}

/* ===== POWERED BY CODEX OS ===== */
.codex-os {
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.codex-os::before {
    content: '';
    position: absolute;
    top: -250px;
    right: -250px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.codex-os::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.codex-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
    position: relative;
    z-index: 1;
}

.codex-header .section-tag {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.codex-header .section-tag::before {
    background: var(--primary);
}

.codex-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 16px;
}

.codex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.codex-module {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 36px 24px 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.codex-module:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.15);
}

.codex-module:hover::before {
    transform: scaleX(1);
}

.codex-module-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-bottom: 4px;
}

.codex-module:hover .codex-module-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(59, 130, 246, 0.18) 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.codex-module-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.codex-module-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.codex-module-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: -4px;
}

/* ===== SECURITY & TRUST ===== */
.security-trust {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.security-trust::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.security-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

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

.security-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.security-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.security-card:hover .security-card-icon {
    transform: scale(1.06);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%);
}

.security-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.security-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.security-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .codex-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .success-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .success-card {
        padding: 36px 24px;
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-item {
        padding: 28px 16px;
    }
    .codex-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .codex-module {
        padding: 28px 20px 24px;
    }
    .codex-module-icon {
        width: 52px;
        height: 52px;
    }
    .codex-module-icon svg {
        width: 24px;
        height: 24px;
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
    .security-card {
        padding: 24px;
    }
    .codex-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
    .codex-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid,
    .projects-grid.active {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .service-arrow {
        display: none;
    }

    .service-tags {
        justify-content: center;
    }

    .testimonial-track {
        gap: 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 32px 24px;
    }

    .testimonials .section-header {
        text-align: center;
    }

    .testimonials .section-header .section-tag {
        padding-left: 0;
    }

    .testimonial-quote {
        top: 20px;
        right: 20px;
        opacity: 0.08;
    }

    .testimonial-quote svg {
        width: 24px;
        height: 24px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-nav {
        margin-top: 28px;
        gap: 16px;
    }

    .review-blog-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

    .browser-frame {
        width: 280px;
    }

    section {
        padding: 60px 0;
    }

    .scroll-3d-canvas-wrap,
    .scroll-3d-content {
        width: 100%;
        float: none;
        min-height: 50vh;
    }

    .scroll-3d-canvas-wrap {
        height: 50vh;
        position: relative;
        top: auto;
    }

    .scroll-3d-content {
        padding: 60px 24px;
    }

    .scroll-3d-text {
        padding-left: 0;
        max-width: 100%;
    }

    .scroll-3d {
        min-height: auto;
        flex-direction: column;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-visual {
        min-height: 360px;
        order: -1;
    }

    .showcase-canvas-wrapper {
        height: 360px;
    }

    .showcase-floating-tag {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-desc {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 4px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .testimonial-card {
        padding: 24px 16px;
    }

    .testimonial-quote {
        display: none;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
    }

    .testimonial-btn svg {
        width: 18px;
        height: 18px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-tag {
        font-size: 0.7rem;
    }
}

/* ===== PROCESS SECTION MOBILE ===== */
@media (max-width: 768px) {
    .process-section .container {
        padding: 0 15px;
    }

    .process-stage {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0 15px 40px;
    }

    .process-card-wrap,
    .process-arrow-wrap {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        opacity: 1;
    }

    .process-step-card {
        width: 100%;
        max-width: 460px;
        height: auto;
        padding: 24px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .process-step-card .step-number {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
        flex-shrink: 0;
    }

    .process-step-card .step-content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        text-align: left;
        flex: 1;
    }

    .process-arrow-wrap {
        width: 70px;
        height: auto;
        margin: 4px auto;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        opacity: 1;
    }

    .process-arrow-wrap svg {
        width: 100%;
        height: auto;
        transform: none;
    }

    .process-big-text {
        display: none;
    }

    .process-orb {
        display: none;
    }

    .process-stage::before {
        display: none;
    }
}

/* ===== PROJECT DETAIL PAGE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .project-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .project-hero-text {
        max-width: 100%;
        text-align: center;
    }

    .project-hero-stats {
        justify-content: center;
    }

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

    .project-meta-row {
        justify-content: center;
    }

    .hero-mockup-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-browser {
        transform: none;
    }

    .hero-browser:hover {
        transform: none;
    }

    .float-card-1 {
        top: -10px;
        right: -10px;
    }

    .float-card-2 {
        bottom: 20px;
        left: -10px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
    }

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

    .p-stat {
        min-width: 100px;
    }

    .p-stat-value {
        font-size: 1.3rem;
    }

    .hero-float-card {
        padding: 10px 14px;
        gap: 8px;
    }

    .float-card-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .float-value {
        font-size: 0.8rem;
    }

    .float-label {
        font-size: 0.65rem;
    }
}

/* ===== PROJECT DETAIL SECTIONS RESPONSIVE ===== */
@media (max-width: 1024px) {
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

    .project-details-grid {
        gap: 32px;
    }

    .detail-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .tech-stack {
        flex-wrap: wrap;
        gap: 8px;
    }

    .related-projects {
        padding: 60px 0;
    }

    .related-card {
        flex-direction: column;
    }

    .related-card-image {
        width: 100%;
        height: 200px;
    }
}

/* ===== SPLIT PROJECTS PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
    .split-hero {
        padding: 100px 0 40px;
        min-height: 40vh;
    }

    .split-project {
        min-height: auto;
        padding: 60px 0;
    }

    .split-number {
        font-size: 4rem;
    }

    .split-visual-inner {
        padding: 20px;
    }

    .split-info h2 {
        font-size: 1.8rem;
    }
}

/* ===== CALCULATOR PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
    .calc-section {
        padding: 120px 0 60px;
    }

    .calc-header h1 {
        font-size: 2rem;
    }

    .calc-header p {
        font-size: 1rem;
    }

    .platform-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .platform-card .card-inner {
        padding: 16px;
    }

    .platform-card .card-inner h4 {
        font-size: 0.8rem;
    }

    .platform-card .card-inner p {
        font-size: 0.75rem;
    }

    .config-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .calc-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .platform-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calc-form-container {
        padding: 20px;
    }

    .step-title {
        font-size: 1rem;
    }

    .title-helper {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }

    .calc-output-section {
        padding: 24px 20px;
    }
}

/* ===== PROJECTS SHOWCASE MOBILE ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: hidden !important;
    }

    .projects-intro-heading {
        font-size: clamp(2rem, 8vw, 3rem);
        gap: 8px;
    }

    .projects-track-wrapper {
        padding: 0 16px;
    }

    .showcase-card {
        min-width: 280px;
        padding: 24px;
    }

    .showcase-content {
        padding: 20px 0;
    }

    .showcase-title {
        font-size: 1.2rem;
    }

    .showcase-cta-inner {
        padding: 40px 24px;
    }

    .showcase-cta-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-intro-heading {
        font-size: 1.8rem;
        padding: 0 16px;
    }

    .showcase-card {
        min-width: 240px;
    }
}

/* ===== 3D SHOWCASE MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .showcase {
        padding: 60px 0;
    }

    .showcase-grid {
        gap: 32px;
    }

    .showcase-text {
        max-width: 100%;
        text-align: center;
    }

    .showcase-text .showcase-link {
        margin-right: auto;
    }

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

    .showcase-features {
        align-items: stretch;
    }

    .showcase-feature {
        padding: 14px 16px;
        text-align: left;
    }

    .showcase-feature:hover {
        transform: none;
    }
}

/* ===== HERO MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-buttons {
        margin-bottom: 48px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

/* ===== ABOUT MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .about-grid {
        gap: 16px;
    }

    .about-card {
        padding: 24px;
    }

    .about-card h3 {
        font-size: 1.1rem;
    }

    .about-card-number {
        font-size: 3rem;
    }
}

/* ===== SERVICES MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .service-item {
        padding: 20px;
        gap: 16px;
    }

    .service-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .service-tags li {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
}

/* ===== FOOTER MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .footer {
        
        overflow: visible;
    }

    .footer-cta {
        padding: 40px 24px;
        margin-bottom: 48px;
    }

    .footer-cta .cta-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-column h4 {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

/* ===== NAVBAR MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .mobile-menu-panel {
        width: 280px;
        padding: 24px 20px;
    }

    .mobile-menu-brand {
        padding: 4px 0 24px;
        margin-bottom: 20px;
    }
}

/* ===== GENERAL MOBILE TWEAKS ===== */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-hero {
    padding: 140px 0 80px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.project-hero-bg-glow {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

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

/* Text side */
.project-hero-text {
    max-width: 560px;
}

.project-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.project-tag {
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-year {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.project-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.project-hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.project-hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.p-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

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

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

/* Visual side */
.project-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.hero-browser {
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--border);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-browser:hover {
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    box-shadow: 0 40px 80px -12px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

/* Floating stat cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 10;
    animation: floatCard 4s ease-in-out infinite;
}

.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
}

.float-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.float-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.float-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.float-card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes floatCard {

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

    50% {
        transform: translateY(-8px);
    }
}
/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 32px;
    right: 32px;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.lightbox-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.lightbox-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(4px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Project Details */
.project-details {
    padding: 100px 0;
    background: var(--bg);
}

.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
}

.details-main h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.details-main h3:first-child {
    margin-top: 0;
}

.details-main p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.details-main ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.details-main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
}

/* Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

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

.sidebar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.tech-tag:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--primary);
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.timeline-row span:last-child {
    font-weight: 600;
    color: var(--text);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.team-member {
    font-weight: 500;
    color: var(--text);
}

.team-member span {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===== RELATED PROJECTS ===== */
.related-projects {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.related-projects .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.related-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-info {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.related-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.related-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.related-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.related-card:hover .related-arrow {
    gap: 10px;
}

.related-card:hover .related-arrow svg {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .project-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .project-hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .float-card-1 {
        right: 0;
    }

    .float-card-2 {
        left: 0;
    }
}

@media (max-width: 768px) {
    .project-hero-stats {
        gap: 24px;
    }

    .project-hero-actions {
        flex-direction: column;
    }

    .project-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-browser {
        transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    }

    .lightbox-nav {
        padding: 0 16px;
    }
    .lightbox-btn {
        width: 48px;
        height: 48px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-projects {
        padding: 60px 0;
    }

    .related-projects .section-header {
        margin-bottom: 32px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== PROJECT CALCULATOR ===== */
.calculator-page {
    background: var(--bg);
}

.calc-section {
    padding: 160px 0 100px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.calc-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.calc-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 20px;
    line-height: 1.15;
}

.calc-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Form Container */
.calc-form-container {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.calc-step {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.calc-step:last-of-type {
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

.step-title {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 700;
}

.title-helper {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 8px;
}

/* Platform Select Cards Grid */
.platform-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.platform-card {
    position: relative;
    cursor: pointer;
}

.platform-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.platform-card .card-inner {
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    transition: var(--transition);
    height: 100%;
    background: var(--bg-secondary);
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

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

.platform-card .card-inner:hover {
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
}

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

.platform-card input[type="checkbox"]:checked + .card-inner {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08), 0 0 0 1px var(--primary);
}

.platform-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.platform-card input[type="checkbox"]:checked + .card-inner .card-icon {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

.platform-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.platform-card p {
    font-size: 0.825rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form Fields */
.form-group-calc {
    margin-bottom: 20px;
}

.form-group-calc.half {
    flex: 1;
}

.row-calc {
    display: flex;
    gap: 24px;
}

.label-calc {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.calc-textarea {
    width: 100%;
    height: 120px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text);
    resize: vertical;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.calc-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.textarea-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.suggestion-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.suggestion-tag:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.calc-select {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-secondary);
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    line-height: 1.5;
}

.calc-select:hover {
    border-color: var(--text-muted);
}

.calc-select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Currency Segmented Control */
.currency-segmented-control {
    display: flex;
    background: var(--bg-secondary);
    padding: 3px;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: border-color 0.25s ease;
}

.currency-segmented-control:hover {
    border-color: var(--text-muted);
}

.currency-tab {
    flex: 1;
    position: relative;
    cursor: pointer;
    text-align: center;
}

.currency-tab input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.currency-tab span {
    display: block;
    padding: 9px 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.25s ease;
    line-height: 1.5;
}

.currency-tab:hover span {
    color: var(--text);
}

.currency-tab input[type="radio"]:checked + span {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.calc-action-row {
    margin-top: 10px;
}

.calc-submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    border: none;
    transition: var(--transition);
}

/* AI Terminal Console */
.ai-console {
    background: #0d1117;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.console-header {
    background: #161b22;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

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

.console-dots .dot.red { background: #ff5f56; }
.console-dots .dot.yellow { background: #ffbd2e; }
.console-dots .dot.green { background: #27c93f; }

.console-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: #8b949e;
}

.console-body {
    padding: 20px;
    min-height: 180px;
    max-height: 240px;
    overflow-y: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.825rem;
    line-height: 1.6;
    color: #c9d1d9;
}

.console-line {
    margin-bottom: 8px;
    opacity: 0.95;
    text-align: left;
}

.console-line.system {
    color: #58a6ff;
}

.console-line.success {
    color: #56d364;
}

.console-line.warn {
    color: #e3b341;
}

.console-line.detect {
    color: #ff7b72;
}

/* Output Area styling */
.calc-output-section {
    animation: fadeIn 0.4s ease-out forwards;
}

.price-hero-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

.price-hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.price-hero-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    font-weight: 600;
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin: 8px 0 16px;
    letter-spacing: -0.02em;
}

.price-badge-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.complexity-badge,
.country-rate-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.complexity-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.complexity-simple {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10B981 !important;
}

.complexity-moderate {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #F59E0B !important;
}

.complexity-advanced {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #3B82F6 !important;
}

.complexity-enterprise {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #EF4444 !important;
}

.country-rate-badge {
    background: white;
    color: var(--primary);
}

.estimate-disclaimer {
    text-align: center;
    margin: 16px -16px -16px;
    padding: 14px 20px;
    line-height: 1.5;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 20px 20px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.01em;
}

.estimate-disclaimer strong {
    color: #fff;
    font-weight: 700;
}

.meta-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.meta-card {
    background: white;
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

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

.meta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.meta-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.meta-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.features-breakdown-card {
    background: white;
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

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

.features-breakdown-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.15);
}

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

.features-breakdown-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-align: left;
}

.features-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.features-list li.empty-list-item {
    color: var(--text-muted);
    font-style: italic;
}

.features-list li.empty-list-item::before {
    display: none;
}

.results-cta-row {
    display: flex;
}

.results-cta-row .btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Scope Selection — Card-style */
.scope-segmented {
    display: flex;
    gap: 12px;
}

.scope-tab {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.scope-tab input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.scope-tab .scope-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px 12px 0 0;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.scope-tab .scope-label::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    background: transparent;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.scope-tab .scope-desc {
    display: block;
    padding: 5px 12px 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    transition: all 0.25s ease;
    line-height: 1.3;
}

.scope-tab input[type="radio"]:checked ~ .scope-label {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.scope-tab input[type="radio"]:checked ~ .scope-label::before {
    border-color: #fff;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--primary);
}

.scope-tab input[type="radio"]:checked ~ .scope-desc {
    background: #fff;
    border-color: var(--primary);
    color: var(--text);
}

.scope-tab:hover .scope-label {
    border-color: var(--primary);
    color: var(--primary);
}

.scope-tab:hover .scope-desc {
    border-color: var(--primary);
}

/* Feature Groups */
.feature-group {
    margin-bottom: 24px;
}

.feature-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-group-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--border);
}

/* Pages Slider */
.pages-input-wrap {
    padding: 4px 0;
}

.pages-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.pages-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(37,99,235,0.3);
    transition: box-shadow 0.2s;
}

.pages-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 2px 10px rgba(37,99,235,0.45);
}

.pages-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}

.pages-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.pages-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pages-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    min-width: 40px;
}

.pages-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-chip {
    position: relative;
    cursor: pointer;
    display: inline-flex;
}

.feature-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.feature-chip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 100px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.feature-chip span::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    border: 2px solid var(--border);
    border-radius: 50%;
    transition: all 0.25s ease;
    flex-shrink: 0;
    line-height: 1;
}

.feature-chip input[type="checkbox"]:checked + span {
    background: rgba(37, 99, 235, 0.06);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.feature-chip input[type="checkbox"]:checked + span::before {
    content: '✓';
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-size: 0.7rem;
}

.feature-chip:hover span {
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.feature-chip:hover span::before {
    border-color: var(--primary);
    color: var(--primary);
}

/* Config Strip */
.config-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.config-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.config-item-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.config-item-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

/* Live Selections Panel */
.live-selections {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.live-section {
    margin-bottom: 12px;
}

.live-section:last-child {
    margin-bottom: 0;
}

.live-section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.live-section-header svg {
    opacity: 0.6;
}

.live-count {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
    letter-spacing: normal;
}

.live-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    align-items: center;
}

.live-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.live-tag.platform-tag {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--primary);
}

.live-empty {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Summary Panel */
@keyframes popIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Calculator */
@media (max-width: 991px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .calc-form-container {
        padding: 24px;
    }
    
    .row-calc {
        flex-direction: column;
        gap: 16px;
    }
    
    .scope-segmented {
        flex-direction: column;
        gap: 8px;
    }

    .scope-tab .scope-label {
        padding: 10px 12px 6px;
        font-size: 0.85rem;
    }

    .feature-chip span {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .currency-segmented-control {
        flex-wrap: wrap;
    }

    .config-strip {
        grid-template-columns: 1fr 1fr;
    }
}

/* Spinning Loader for Calculator Button */
.spinning {
    animation: calc-spin 0.8s linear infinite;
    margin-left: 8px;
    display: inline-block;
}

@keyframes calc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Send Modal */
.send-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.send-modal {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 36px 32px;
    max-width: 560px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    animation: modalIn 0.3s ease-out;
}

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

.send-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.send-modal-close:hover {
    color: var(--text);
}

.send-modal h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.send-modal-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
}

.send-modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.send-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.send-option:hover {
    border-color: var(--primary);
    background: rgba(37,99,235,0.04);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}

.send-option svg {
    flex-shrink: 0;
    color: var(--primary);
}

.send-option-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.send-option-desc {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.send-modal-qr {
    margin-top: 20px;
    animation: fadeIn 0.3s ease-out;
}

.qr-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.qr-divider::before,
.qr-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.send-modal-qr img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: #fff;
    padding: 8px;
    margin: 0 auto;
    display: block;
}

.qr-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.5;
}