    :root {
        --text: #1D1D1F;
        --text-secondary: #6E6E73;
        --blue: #0071E3;
        --blue-hover: #0077ED;
        --bg: #FFFFFF;
        --bg-secondary: #F5F5F7;
        --line: #D2D2D7;
        --card: #FFFFFF;
        --nav-bg: rgba(255, 255, 255, 0.88);
        --device-border: #16181b;
        --device-bg: linear-gradient(145deg, #1a1a1c, #0a0a0b);
        --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.12);
        --footer-bg: #F5F5F7;
        --quote-bg: #FFFFFF;
        --icon-bg: #F0F4F8;
    }

    [data-theme="dark"] {
        --text: #F5F5F7;
        --text-secondary: #A1A1A6;
        --blue: #2997FF;
        --blue-hover: #409CFF;
        --bg: #000000;
        --bg-secondary: #1C1C1E;
        --line: #38383A;
        --card: #1C1C1E;
        --nav-bg: rgba(0, 0, 0, 0.82);
        --device-border: #3A3A3C;
        --device-bg: linear-gradient(145deg, #1C1C1E, #0A0A0C);
        --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.5);
        --footer-bg: #1C1C1E;
        --quote-bg: #1C1C1E;
        --icon-bg: #2C2C2E;
    }

    @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) {
            --text: #F5F5F7;
            --text-secondary: #A1A1A6;
            --blue: #2997FF;
            --blue-hover: #409CFF;
            --bg: #000000;
            --bg-secondary: #1C1C1E;
            --line: #38383A;
            --card: #1C1C1E;
            --nav-bg: rgba(0, 0, 0, 0.82);
            --device-border: #3A3A3C;
            --device-bg: linear-gradient(145deg, #1C1C1E, #0A0A0C);
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.5);
            --footer-bg: #1C1C1E;
            --quote-bg: #1C1C1E;
            --icon-bg: #2C2C2E;
        }
    }

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

    html {
        scroll-behavior: smooth;
    }

    body {
        color: var(--text);
        background: var(--bg);
        /* Body / UI text → SF Pro Text */
        font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        line-height: 1.5;
        transition: background 0.25s ease, color 0.25s ease;
    }

    /* Headings / titles / hero → SF Pro Display */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .brand,
    .device-logo,
    .project h3,
    .cta h2 {
        font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    a {
        color: var(--blue);
        text-decoration: none;
        transition: color 0.15s;
    }

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

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

    /* Theme Switcher */
    .theme-switch {
        display: flex;
        align-items: center;
        gap: 2px;
        background: var(--bg-secondary);
        border-radius: 980px;
        padding: 3px;
        border: 1px solid var(--line);
    }

    .theme-switch button {
        width: 34px;
        height: 28px;
        border: none;
        border-radius: 980px;
        background: transparent;
        color: var(--text-secondary);
        cursor: pointer;
        display: grid;
        place-items: center;
        transition: all 0.2s ease;
        padding: 0;
    }

    .theme-switch button svg {
        width: 15px;
        height: 15px;
        fill: currentColor;
    }

    .theme-switch button:hover {
        color: var(--text);
    }

    .theme-switch button.active {
        background: var(--card);
        color: var(--text);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }

    [data-theme="dark"] .theme-switch button.active {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    }

    /* Nav */
    .nav {
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5%;
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--nav-bg);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--line);
        transition: background 0.25s, border-color 0.25s;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        font-size: 17px;
        color: var(--text);
    }

    .brand img {
        height: 36px;
        width: auto;
        display: block;
    }

    /* Theme-aware logo: black on light, white on dark */
    .logo-light {
        display: block;
    }

    .logo-dark {
        display: none;
    }

    [data-theme="dark"] .logo-light {
        display: none;
    }

    [data-theme="dark"] .logo-dark {
        display: block;
    }

    @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) .logo-light {
            display: none;
        }

        :root:not([data-theme="light"]) .logo-dark {
            display: block;
        }
    }

    [data-theme="light"] .logo-light {
        display: block !important;
    }

    [data-theme="light"] .logo-dark {
        display: none !important;
    }

    .navlinks {
        display: flex;
        gap: 28px;
        font-size: 13px;
        font-weight: 400;
    }

    .navlinks a {
        color: var(--text);
        opacity: 0.85;
    }

    .navlinks a:hover {
        opacity: 1;
        color: var(--blue);
    }

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

    .navcta {
        background: var(--blue);
        color: #fff !important;
        border-radius: 980px;
        padding: 8px 16px;
        font-size: 13px;
        font-weight: 600;
    }

    .navcta:hover {
        background: var(--blue-hover);
        color: #fff !important;
    }

    /* Hero */
    .hero {
        min-height: 640px;
        padding: 72px 6% 80px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
        background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
        overflow: hidden;
        transition: background 0.25s;
    }

    .eyebrow {
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    h1 {
        font-size: clamp(40px, 5.2vw, 64px);
        line-height: 1.05;
        letter-spacing: -0.04em;
        margin: 0 0 22px;
        font-weight: 700;
        max-width: 600px;
    }

    .lead {
        font-size: 18px;
        line-height: 1.55;
        color: var(--text-secondary);
        max-width: 520px;
        margin: 0 0 28px;
    }

    .actions {
        display: flex;
        align-items: center;
        gap: 22px;
        flex-wrap: wrap;
    }

    .bluebtn {
        display: inline-block;
        background: var(--blue);
        color: #fff !important;
        border-radius: 980px;
        padding: 12px 22px;
        font-size: 15px;
        font-weight: 600;
    }

    .bluebtn:hover {
        background: var(--blue-hover);
        color: #fff !important;
    }

    .textlink {
        font-size: 15px;
        font-weight: 500;
    }

    .device-stage {
        height: 460px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .glow {
        position: absolute;
        width: 420px;
        height: 280px;
        background: rgba(0, 0, 0, 0.18);
        filter: blur(60px);
        border-radius: 50%;
        opacity: 0.7;
    }

    .device {
        width: 210px;
        height: 420px;
        border: 6px solid var(--device-border);
        border-radius: 36px;
        background: var(--device-bg);
        box-shadow: var(--shadow-lg);
        transform: rotate(-4deg);
        position: relative;
        z-index: 3;
        padding: 52px 16px 18px;
        color: #fff;
    }

    .notch {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        height: 18px;
        width: 80px;
        background: var(--device-border);
        border-radius: 0 0 12px 12px;
    }

    .device-logo {
        text-align: center;
        margin: 8px 0 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .device-logo img {
        width: 56px;
        height: 56px;
        object-fit: contain;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
    }

    .device-logo span {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        letter-spacing: -0.02em;
    }

    .mock-card {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        padding: 11px 12px;
        margin: 8px 0;
        font-size: 11px;
        color: #c8d0dc;
    }

    .mock-card strong {
        display: block;
        color: #fff;
        font-size: 12.5px;
        margin-bottom: 2px;
    }

    .device-back {
        width: 175px;
        height: 350px;
        border: 5px solid var(--device-border);
        border-radius: 30px;
        background: var(--bg-secondary);
        box-shadow: var(--shadow-lg);
        position: absolute;
        right: 8%;
        transform: rotate(7deg);
        z-index: 2;
        overflow: hidden;
    }

    .device-back-inner {
        padding: 28px 14px 14px;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .back-title {
        font-size: 11px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 4px;
    }

    .back-row {
        background: var(--card);
        border-radius: 10px;
        padding: 8px 10px;
        font-size: 10px;
        color: var(--text-secondary);
        border: 1px solid var(--line);
    }

    .back-row strong {
        color: var(--text);
        display: block;
        font-size: 11px;
    }

    /* Sections */
    .section {
        padding: 88px 5.5%;
    }

    #apps {
        display: none;
    }

    #testimonials {
        display: none;
    }

    #work {
        display: none;
    }
    
    .gray {
        background: var(--bg-secondary);
        transition: background 0.25s;
    }

    .head {
        max-width: 720px;
        margin: 0 auto 48px;
        text-align: center;
    }

    .head h2 {
        font-size: clamp(28px, 3.8vw, 42px);
        letter-spacing: -0.035em;
        line-height: 1.1;
        margin: 6px 0 12px;
        font-weight: 700;
    }

    .head p {
        font-size: 17px;
        line-height: 1.5;
        color: var(--text-secondary);
        margin: 0;
    }

    /* Services */
    .services {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        margin: 0 auto;
        border-top: 1px solid var(--line);
    }

    .service {
        padding: 28px 26px 32px;
        border-bottom: 1px solid var(--line);
        min-height: 200px;
        transition: background 0.2s;
    }

    .service:hover {
        background: color-mix(in srgb, var(--blue) 4%, transparent);
    }

    .service:not(:nth-child(3n+1)) {
        border-left: 1px solid var(--line);
    }

    .service-number {
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 500;
    }

    .service h3 {
        font-size: 19px;
        margin: 22px 0 8px;
        letter-spacing: -0.02em;
        font-weight: 600;
    }

    .service p {
        color: var(--text-secondary);
        font-size: 14.5px;
        line-height: 1.5;
        margin: 0;
    }

    /* Portfolio */
    .portfolio {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.3fr 0.7fr;
        gap: 16px;
    }

    .project {
        min-height: 380px;
        border-radius: 24px;
        padding: 32px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
        background: linear-gradient(160deg, #2a2a2c, #1c1c1e);
        color: #fff;
        border: 1px solid #3a3a3c;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .project:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

    .project.dark {
        background: #111113;
        color: #fff;
        border: 1px solid #2a2a2c;
    }

    [data-theme="dark"] .project.dark,
    :root:not([data-theme="light"]) .project.dark {
        background: #2C2C2E;
    }

    .project h3 {
        font-size: 28px;
        letter-spacing: -0.03em;
        margin: 6px 0 10px;
        font-weight: 700;
        color: #fff;
    }

    .project p {
        max-width: 420px;
        color: #A1A1A6;
        line-height: 1.5;
        margin: 0 0 18px;
        font-size: 15px;
    }

    .project .eyebrow {
        color: #A1A1A6;
    }

    .project .case {
        color: #fff;
    }

    .case {
        font-size: 14px;
        font-weight: 500;
    }

    /* App Store section */
    .appstore {
        max-width: 1100px;
        margin: 0 auto;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 20px;
        overflow: hidden;
        transition: background 0.25s, border-color 0.25s;
    }

    .storebar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 22px;
        border-bottom: 1px solid var(--line);
    }

    .tabs {
        background: var(--bg-secondary);
        border-radius: 980px;
        padding: 3px;
        display: inline-flex;
    }

    .tabs button {
        padding: 7px 16px;
        font-size: 13px;
        border-radius: 980px;
        border: none;
        background: transparent;
        color: var(--text-secondary);
        cursor: pointer;
        font-weight: 500;
        font-family: inherit;
    }

    .tabs button.active {
        background: var(--card);
        color: var(--text);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .appgrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .app {
        display: none;
        grid-template-columns: 52px 1fr auto;
        gap: 14px;
        align-items: center;
        padding: 18px 22px;
        border-bottom: 1px solid var(--line);
    }

    .app:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .appicon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        font-size: 18px;
        font-weight: 700;
        color: #fff;
    }

    .app h3 {
        font-size: 15px;
        margin: 0 0 2px;
        font-weight: 600;
    }

    .category {
        font-size: 12px;
        color: var(--text-secondary);
    }

    .rating {
        font-size: 12px;
        margin-top: 4px;
        color: var(--text-secondary);
    }

    .rating span {
        color: #F5A623;
    }

    .get {
        color: var(--blue);
        background: color-mix(in srgb, var(--blue) 12%, transparent);
        padding: 6px 14px;
        border-radius: 980px;
        font-size: 13px;
        font-weight: 600;
    }

    .get:hover {
        background: color-mix(in srgb, var(--blue) 20%, transparent);
    }

    /* Why */
    .darksection {
        background: #1D1D1F;
        color: #fff;
        transition: background 0.25s;
    }

    [data-theme="dark"] .darksection,
    :root:not([data-theme="light"]) .darksection {
        background: #000;
    }

    .why {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1.8fr;
        gap: 60px;
        align-items: start;
    }

    .why h2 {
        font-size: 36px;
        letter-spacing: -0.035em;
        line-height: 1.08;
        margin: 8px 0 14px;
        font-weight: 700;
    }

    .why>div>p {
        color: #A1A1A6;
        line-height: 1.55;
        font-size: 16px;
    }

    .whygrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 36px;
    }

    .whyitem {
        border-left: 1px solid #424247;
        padding-left: 20px;
    }

    .whyitem h3 {
        font-size: 16px;
        margin: 0 0 8px;
        font-weight: 600;
    }

    .whyitem p {
        color: #A1A1A6;
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }

    /* Testimonials */
    .testimonials {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .quote {
        background: var(--quote-bg);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 26px;
        transition: background 0.25s, border-color 0.25s;
    }

    .quote p {
        color: var(--text-secondary);
        line-height: 1.55;
        font-size: 15px;
        margin-bottom: 20px;
    }

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

    .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--icon-bg);
        display: grid;
        place-items: center;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-secondary);
    }

    .quote strong {
        font-size: 14px;
        display: block;
    }

    .quote .role {
        font-size: 12px;
        color: var(--text-secondary);
        font-weight: 400;
    }

    .stars {
        color: #F5A623;
        font-size: 12px;
        margin-top: 2px;
    }

    /* CTA */
    .cta {
        text-align: center;
        padding: 100px 22px;
    }

    .cta h2 {
        font-size: clamp(36px, 4.8vw, 52px);
        letter-spacing: -0.04em;
        margin: 0 0 14px;
        font-weight: 700;
    }

    .cta p {
        color: var(--text-secondary);
        font-size: 18px;
        margin: 0 0 28px;
    }

    /* Footer */
    footer {
        background: var(--footer-bg);
        border-top: 1px solid var(--line);
        padding: 40px 5.5%;
        color: var(--text-secondary);
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        flex-wrap: wrap;
        transition: background 0.25s, border-color 0.25s;
    }

    .footer-brand img {
        height: 36px;
        width: auto;
        display: block;
    }

    footer strong {
        color: var(--text);
        font-size: 14px;
    }

    .footer-links {
        display: flex;
        gap: 20px;
    }

    .footer-links a {
        color: var(--text-secondary);
    }

    .footer-links a:hover {
        color: var(--text);
    }

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

    .social a {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: var(--bg-secondary);
        display: grid;
        place-items: center;
        color: var(--text-secondary);
        font-size: 13px;
        border: 1px solid var(--line);
    }

    .social a:hover {
        color: var(--text);
        border-color: var(--text-secondary);
    }

    /* Responsive */
    @media (max-width: 900px) {
        .navlinks {
            display: none;
        }

        .hero {
            grid-template-columns: 1fr;
            padding-top: 48px;
            text-align: center;
        }

        .lead {
            margin-left: auto;
            margin-right: auto;
        }

        .actions {
            justify-content: center;
        }

        .device-stage {
            height: 360px;
            margin-top: 20px;
        }

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

        .service:not(:nth-child(3n+1)) {
            border-left: 0;
        }

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

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

        .app:nth-child(odd) {
            border-right: 0;
        }

        .why {
            grid-template-columns: 1fr;
            gap: 36px;
        }

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

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

        .storebar {
            gap: 12px;
            flex-wrap: wrap;
        }
    }

    @media (max-width: 520px) {
        .actions {
            flex-direction: column;
            gap: 14px;
        }

        .device-stage {
            transform: scale(0.88);
            margin: -10px 0;
        }

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

        footer {
            flex-direction: column;
            text-align: center;
        }
    }