/* services-apps-style.css — page-specific styles */
.nav-links .nav-cta-btn {
            display: inline-block;
            padding: 0.5rem 1.1rem;
            border-radius: 999px;
            background: linear-gradient(135deg, #00c6ff, #0072ff);
            color: #fff !important;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 0.01em;
            white-space: nowrap;
            box-shadow: 0 0 18px rgba(0,114,255,0.45);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            text-decoration: none !important;
        }
        .nav-links .nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(0,114,255,0.7); }
        .mobile-nav-cta {
            display: block; margin: 0.5rem 1rem; padding: 0.7rem 1.2rem;
            border-radius: 999px; background: linear-gradient(135deg, #00c6ff, #0072ff);
            color: #fff !important; font-weight: 700; text-align: center; text-decoration: none !important;
            box-shadow: 0 0 18px rgba(0,114,255,0.45);
        }

        /* HERO */
        .app-hero {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 48px;
            padding: 140px 80px 80px;
            max-width: 1300px;
            margin: 0 auto;
        }

        .app-hero-text {
            position: relative;
            z-index: 1;
        }

        .service-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.78rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--purple);
            margin-bottom: 24px;
            padding: 8px 20px;
            border-radius: 999px;
            background: rgba(188,122,255,0.08);
            border: 1px solid rgba(188,122,255,0.22);
            animation: fadeUp 0.8s ease 0.2s both;
        }

        .eyebrow-dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--purple);
            animation: pulse 2s ease infinite;
        }

        @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
        @keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
        @keyframes fadeRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

        .app-hero-text h1 {
            font-size: clamp(2.4rem, 4vw, 3.8rem);
            font-weight: 800;
            line-height: 1.05;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fff 0%, #bc7aff 40%, #69bfff 100%);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: fadeUp 1s ease 0.4s both, gradientShift 8s ease infinite;
        }

        @keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

        .app-hero-text p {
            color: #b8cfe0;
            font-size: 1.1rem;
            line-height: 1.75;
            margin-bottom: 36px;
            animation: fadeUp 1s ease 0.6s both;
        }

        .hero-btns {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            animation: fadeUp 1s ease 0.8s both;
        }

        .btn-purple {
            display: inline-block;
            padding: 15px 34px;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--purple), var(--cyan));
            color: #fff;
            font-weight: 800;
            font-size: 0.92rem;
            transition: all 0.3s ease;
            box-shadow: 0 0 28px rgba(188,122,255,0.35);
        }
        .btn-purple:hover { transform: translateY(-3px); box-shadow: 0 0 48px rgba(188,122,255,0.55); color: #fff; }

        .btn-ghost {
            display: inline-block;
            padding: 15px 34px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.18);
            color: #fff;
            font-weight: 600;
            font-size: 0.92rem;
            transition: all 0.3s ease;
        }
        .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(188,122,255,0.4); color: var(--purple); transform: translateY(-3px); }

        /* PHONE MOCKUP */
        .phone-mockup-scene {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeRight 1.2s ease 0.5s both;
        }

        .phone-glow {
            position: absolute;
            width: 300px; height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(188,122,255,0.3) 0%, transparent 70%);
            filter: blur(30px);
            animation: glowPulse 4s ease infinite;
        }

        @keyframes glowPulse { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.15)} }

        .phone-outer {
            width: 240px;
            height: 480px;
            border-radius: 36px;
            background: linear-gradient(145deg, rgba(40,30,60,0.9), rgba(20,15,35,0.95));
            border: 1.5px solid rgba(255,255,255,0.18);
            box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(188,122,255,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
            padding: 12px;
            position: relative;
            z-index: 1;
        }

        .phone-notch {
            width: 80px; height: 24px;
            background: rgba(10,5,20,0.9);
            border-radius: 0 0 14px 14px;
            margin: 0 auto 10px;
        }

        .phone-screen {
            background: linear-gradient(145deg, #1a0d2e, #0d1a2e);
            border-radius: 24px;
            height: calc(100% - 60px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            padding: 14px;
            gap: 10px;
        }

        .app-ui-header {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .app-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--cyan)); }
        .app-ui-title { width: 60px; height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; }

        .app-ui-chart {
            height: 80px;
            background: rgba(255,255,255,0.04);
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.07);
            display: flex;
            align-items: flex-end;
            padding: 10px;
            gap: 6px;
        }

        .chart-bar {
            flex: 1;
            border-radius: 4px 4px 0 0;
            opacity: 0.8;
            animation: barGrow 2s ease infinite alternate;
        }
        .chart-bar:nth-child(1) { height: 40%; background: var(--purple); animation-delay: 0s; }
        .chart-bar:nth-child(2) { height: 65%; background: var(--cyan); animation-delay: 0.15s; }
        .chart-bar:nth-child(3) { height: 50%; background: var(--teal); animation-delay: 0.3s; }
        .chart-bar:nth-child(4) { height: 80%; background: var(--purple); animation-delay: 0.45s; }
        .chart-bar:nth-child(5) { height: 55%; background: var(--cyan); animation-delay: 0.6s; }

        @keyframes barGrow { from{opacity:0.6} to{opacity:1} }

        .app-ui-stat-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .app-stat-chip {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 10px;
            padding: 10px;
        }
        .stat-chip-line1 { width: 60%; height: 6px; background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 3px; margin-bottom: 6px; opacity: 0.8; }
        .stat-chip-line2 { width: 40%; height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; }

        .app-ui-list { display: flex; flex-direction: column; gap: 7px; }
        .app-ui-list-item { display: flex; gap: 8px; align-items: center; padding: 8px; background: rgba(255,255,255,0.04); border-radius: 8px; }
        .list-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .list-dot:nth-child(1) { background: var(--teal); }
        .list-line { flex: 1; height: 6px; background: rgba(255,255,255,0.12); border-radius: 3px; }

        /* TABLET beside phone */
        .tablet-outer {
            position: absolute;
            right: -20px;
            bottom: -20px;
            width: 160px;
            height: 220px;
            border-radius: 16px;
            background: linear-gradient(145deg, rgba(30,20,50,0.9), rgba(10,10,20,0.95));
            border: 1.5px solid rgba(255,255,255,0.15);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            padding: 10px;
            z-index: 0;
        }

        .tablet-screen {
            background: linear-gradient(145deg, #0d1a2e, #111a28);
            border-radius: 10px;
            height: 100%;
            padding: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .tab-nav { height: 14px; background: rgba(255,255,255,0.06); border-radius: 6px; }
        .tab-hero { height: 50px; border-radius: 8px; background: linear-gradient(135deg, rgba(188,122,255,0.1), rgba(105,191,255,0.1)); border: 1px solid rgba(255,255,255,0.06); }
        .tab-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
        .tab-card { height: 38px; background: rgba(255,255,255,0.05); border-radius: 6px; border: 1px solid rgba(255,255,255,0.07); }

        /* SECTION COMMON */
        .section-wrap {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 24px;
        }

        .section-label {
            display: block;
            font-size: 0.75rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--purple);
            margin-bottom: 14px;
            text-align: center;
        }

        .section-headline {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            color: #fff;
            text-align: center;
            margin-bottom: 16px;
            line-height: 1.1;
        }

        .section-sub {
            text-align: center;
            color: var(--muted);
            font-size: 1.02rem;
            max-width: 580px;
            margin: 0 auto 56px;
        }

        /* DELIVERABLES — CARD GRID with icon accents */
        .app-deliverables {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .app-del-card {
            padding: 36px;
            border-radius: 24px;
            background: var(--panel);
            border: 1px solid var(--border);
            backdrop-filter: blur(18px);
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .app-del-card::after {
            content: '';
            position: absolute;
            bottom: 0; right: 0;
            width: 120px; height: 120px;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.4s ease;
            transform: translate(30%, 30%);
        }

        .app-del-card:nth-child(1)::after { background: radial-gradient(circle, rgba(188,122,255,0.25), transparent 70%); }
        .app-del-card:nth-child(2)::after { background: radial-gradient(circle, rgba(105,191,255,0.25), transparent 70%); }
        .app-del-card:nth-child(3)::after { background: radial-gradient(circle, rgba(104,242,213,0.25), transparent 70%); }
        .app-del-card:nth-child(4)::after { background: radial-gradient(circle, rgba(188,122,255,0.25), transparent 70%); }

        .app-del-card:hover::after { opacity: 1; transform: translate(20%, 20%); }

        .app-del-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.3), 0 0 30px rgba(188,122,255,0.1);
            border-color: rgba(188,122,255,0.25);
        }

        .del-icon {
            font-size: 2.4rem;
            margin-bottom: 18px;
            display: block;
            transition: transform 0.35s ease;
        }

        .app-del-card:hover .del-icon { transform: scale(1.1) rotate(-6deg); }

        .app-del-card h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
        .app-del-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; margin: 0; }

        /* PLATFORM COMPATIBILITY */
        .platform-row {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 48px;
        }

        .platform-chip {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 24px;
            border-radius: 999px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
            font-size: 0.9rem;
            color: #c8dcea;
        }

        .platform-chip:hover {
            background: rgba(188,122,255,0.08);
            border-color: rgba(188,122,255,0.3);
            transform: translateY(-3px);
        }

        .platform-chip span:first-child { font-size: 1.3rem; }

        /* TECH PROCESS — VERTICAL TIMELINE (responsive) */
        .app-timeline {
            position: relative;
            padding: 8px 0 8px 0;
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        /* Continuous vertical connector line */
        .app-timeline::before {
            content: '';
            position: absolute;
            left: 31px;
            top: 40px;
            bottom: 40px;
            width: 1px;
            background: linear-gradient(180deg,
                rgba(188,122,255,0.6),
                rgba(105,191,255,0.6),
                rgba(104,242,213,0.6),
                rgba(188,122,255,0.4));
        }

        .timeline-item {
            display: grid;
            grid-template-columns: 64px 1fr;
            gap: 24px;
            align-items: flex-start;
            padding: 0 0 36px 0;
            position: relative;
        }

        .timeline-item:last-child { padding-bottom: 0; }

        /* Hide old left/right/empty divs — all items now use node + right */
        .timeline-content-left,
        .timeline-content-empty { display: none; }

        .timeline-content-right { display: block; }

        .timeline-node {
            width: 64px; height: 64px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.1rem;
            background: linear-gradient(135deg, rgba(188,122,255,0.15), rgba(105,191,255,0.15));
            border: 1px solid rgba(188,122,255,0.4);
            color: var(--purple);
            position: relative;
            z-index: 1;
            flex-shrink: 0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            /* center the node on the line */
            margin-left: 0;
        }

        .timeline-item:hover .timeline-node {
            transform: scale(1.1);
            box-shadow: 0 0 24px rgba(188,122,255,0.35);
        }

        .timeline-content-right {
            padding-top: 14px;
        }

        .timeline-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }

        .timeline-desc {
            font-size: 0.93rem;
            color: var(--muted);
            line-height: 1.7;
        }

        /* CTA */
        .app-cta {
            padding: 60px 24px 120px;
            text-align: center;
        }

        .app-cta-card {
            max-width: 800px;
            margin: 0 auto;
            padding: 64px 48px;
            border-radius: 32px;
            background: linear-gradient(135deg, rgba(188,122,255,0.1), rgba(105,191,255,0.08), rgba(104,242,213,0.06));
            border: 1px solid rgba(188,122,255,0.22);
            backdrop-filter: blur(20px);
            position: relative;
            overflow: hidden;
        }

        .app-cta-card::before {
            content: '';
            position: absolute;
            top: -80px; left: 50%;
            transform: translateX(-50%);
            width: 320px; height: 200px;
            background: radial-gradient(ellipse, rgba(188,122,255,0.25) 0%, transparent 70%);
            pointer-events: none;
        }

        .app-cta-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: #fff; margin-bottom: 14px; line-height: 1.15; }
        .app-cta-card p { color: var(--muted); font-size: 1.05rem; margin-bottom: 36px; }

        .cta-btn-app {
            display: inline-block;
            padding: 18px 48px;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--purple), var(--cyan), var(--teal));
            background-size: 200% 200%;
            color: #fff;
            font-weight: 800;
            font-size: 1rem;
            letter-spacing: 0.04em;
            transition: all 0.4s ease;
            box-shadow: 0 0 36px rgba(188,122,255,0.35);
            animation: gradientShift 6s ease infinite;
        }

        .cta-btn-app:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 60px rgba(188,122,255,0.55); color: #fff; }

        footer { padding: 40px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
        .footer-content { max-width: 1200px; margin: 0 auto; }
        .footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
        .footer-links a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
        .footer-links a:hover { color: var(--teal); }
        .footer-copyright { text-align: center; color: #5a7085; font-size: 0.84rem; }

        .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s cubic-bezier(.22,.61,.36,1), transform 0.65s cubic-bezier(.22,.61,.36,1); }
        .reveal.visible { opacity: 1; transform: translateY(0); }

        @media (max-width: 960px) {
            .app-hero { grid-template-columns: 1fr; padding: 140px 32px 60px; text-align: center; min-height: auto; }
            .phone-mockup-scene { margin: 40px auto 0; }
            .hero-btns { justify-content: center; }
            .app-deliverables { grid-template-columns: 1fr; }
        }

        @media (max-width: 600px) {
            .app-cta-card { padding: 40px 24px; }
        }
    

        /* Performance tuning */
        .service-eyebrow,
        .eyebrow-dot,
        .app-hero-text h1,
        .app-hero-text p,
        .hero-btns,
        .phone-mockup-scene,
        .phone-glow,
        .screen-bar,
        .cta-btn-app {
            animation: none !important;
        }

        .phone-glow {
            filter: blur(12px) !important;
            opacity: 0.45;
        }

        .app-del-card,
        .process-card,
        .app-cta-card,
        .phone-outer,
        .app-showcase-card {
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .btn-purple,
        .cta-btn-app {
            box-shadow: 0 10px 24px rgba(188,122,255,0.22) !important;
        }

        main > section {
            content-visibility: auto;
            contain-intrinsic-size: 950px;
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation: none !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }