/* =========================================================
   AzariX Software — Global Styles
   Dark theme with cyan/blue gradient accents
   ========================================================= */

:root {
    --bg: #05070d;
    --bg-2: #0a0f1c;
    --surface: #0e1424;
    --surface-2: #121a2e;
    --border: rgba(79, 195, 247, 0.12);
    --border-strong: rgba(79, 195, 247, 0.28);
    --text: #e8efff;
    --text-dim: #a8b3cf;
    --text-muted: #6b7896;
    --cyan: #4fc3f7;
    --cyan-bright: #5de3ff;
    --blue: #2196f3;
    --blue-deep: #1565c0;
    --accent-grad: linear-gradient(135deg, #5de3ff 0%, #4fc3f7 40%, #2196f3 100%);
    --accent-grad-soft: linear-gradient(135deg, rgba(93, 227, 255, 0.18), rgba(33, 150, 243, 0.18));
    --shadow-glow: 0 10px 40px -10px rgba(79, 195, 247, 0.35);
    --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --radius: 14px;
    --radius-lg: 20px;
    --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background ambient glows */
body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.45;
}
body::before {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.35), transparent 60%);
    top: -180px; left: -120px;
}
body::after {
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.28), transparent 60%);
    bottom: -220px; right: -160px;
}

a { color: var(--cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan-bright); }

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

/* ============= Layout utilities ============= */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--cyan);
    padding: 6px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(79, 195, 247, 0.06);
    margin-bottom: 18px;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; }
p.lead { color: var(--text-dim); font-size: 1.08rem; max-width: 680px; margin: 0 auto; }

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

/* ============= Navigation ============= */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    background: rgba(5, 7, 13, 0.7);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    color: var(--text);
}
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent-grad);
    display: grid; place-items: center;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: #04101a;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px -6px rgba(79, 195, 247, 0.6);
    position: relative;
    overflow: hidden;
}
.brand-mark::after {
    content: "A";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #5de3ff, #1565c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.3rem;
    font-weight: 900;
    mix-blend-mode: screen;
}
.brand-name { font-weight: 700; }
.brand-name small {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after,
.nav-links a:hover::after {
    content: "";
    position: absolute;
    bottom: -6px; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-grad);
    border-radius: 2px;
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--text);
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    margin: 4px 0;
    border-radius: 2px;
    transition: transform .2s ease;
}

/* ============= Buttons ============= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent-grad);
    color: #04101a;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-1px);
    color: #04101a;
    box-shadow: 0 14px 40px -10px rgba(79, 195, 247, 0.55);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: rgba(79, 195, 247, 0.08);
    color: var(--cyan-bright);
    border-color: var(--cyan);
}
.btn-arrow::after {
    content: "→";
    transition: transform .2s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============= Hero ============= */

.hero {
    padding: 112px 0 96px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid var(--border-strong);
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 22px;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 10px var(--cyan-bright);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.hero h1 { margin-bottom: 20px; }
.hero p { color: var(--text-dim); font-size: 1.14rem; margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stats .stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-stats .stat span { color: var(--text-muted); font-size: 0.88rem; }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}
.hero-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    animation: spin 40s linear infinite;
}
.hero-orbit::before, .hero-orbit::after {
    content: "";
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent-grad);
    box-shadow: 0 0 24px var(--cyan);
}
.hero-orbit::before { top: -7px; left: 50%; transform: translateX(-50%); }
.hero-orbit::after { bottom: -7px; left: 50%; transform: translateX(-50%); background: var(--blue); }
.hero-orbit.slow { inset: 42px; animation-duration: 60s; animation-direction: reverse; opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-logo {
    width: 62%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(79, 195, 247, 0.25), rgba(5, 7, 13, 0.6) 60%), #05070d;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 60px rgba(79, 195, 247, 0.15), 0 30px 80px -20px rgba(33, 150, 243, 0.35);
    position: relative;
}
.hero-logo img {
    width: 78%;
    filter: drop-shadow(0 10px 30px rgba(79, 195, 247, 0.3));
}

/* ============= Card grids ============= */

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

.card {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(79, 195, 247, 0.08);
}
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--accent-grad);
    opacity: 0;
    transition: opacity .25s ease;
}
.card:hover::before { opacity: 1; }

.card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--accent-grad-soft);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--cyan-bright);
    font-size: 1.4rem;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }
.card ul {
    list-style: none;
    margin-top: 16px;
    display: grid;
    gap: 8px;
}
.card ul li {
    font-size: 0.9rem;
    color: var(--text-dim);
    padding-left: 20px;
    position: relative;
}
.card ul li::before {
    content: "›";
    color: var(--cyan);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ============= Page header ============= */

.page-head {
    padding: 96px 0 56px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.page-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 14px; }
.page-head p.lead { margin: 0 auto; }
.crumbs {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 18px;
}
.crumbs a { color: var(--text-dim); }

/* ============= Services page ============= */

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-visual {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    display: grid; place-items: center;
    font-size: 4rem;
    color: var(--cyan);
    position: relative;
    overflow: hidden;
}
.service-visual::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 50% 50%, rgba(79, 195, 247, 0.18), transparent 60%);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.service-text h2 { margin-bottom: 16px; }
.service-text p { color: var(--text-dim); margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(79, 195, 247, 0.07);
    border: 1px solid var(--border-strong);
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ============= About page ============= */

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}
.value h3 { color: var(--cyan); margin-bottom: 8px; font-size: 1.02rem; }
.value p { font-size: 0.9rem; color: var(--text-dim); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member {
    text-align: center;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}
.avatar {
    width: 92px; height: 92px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent-grad);
    color: #04101a;
    display: grid; place-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
}
.avatar::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
}
.member h3 { margin-bottom: 4px; font-size: 1.05rem; }
.member .role { color: var(--cyan); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.member p { font-size: 0.9rem; color: var(--text-dim); }

/* ============= Projects page ============= */

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}
.project:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.project-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0a1628, #102a48);
    display: grid; place-items: center;
    font-size: 2.4rem;
    color: var(--cyan);
    position: relative;
    overflow: hidden;
}
.project-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(79, 195, 247, 0.25), transparent 60%);
    pointer-events: none;
}
.project-thumb img {
    width: 128px;
    height: 128px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(79,195,247,0.25);
    position: relative;
    z-index: 1;
}
.project-body { padding: 22px 24px 26px; }
.project .kind {
    color: var(--cyan);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.project h3 { margin-bottom: 8px; font-size: 1.1rem; }
.project p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 14px; }

/* ============= Contact page ============= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info .info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .info-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-grad-soft);
    border: 1px solid var(--border-strong);
    display: grid; place-items: center;
    flex-shrink: 0;
    color: var(--cyan);
}
.info-item h4 { margin-bottom: 4px; font-size: 1rem; }
.info-item p, .info-item a { color: var(--text-dim); font-size: 0.94rem; }

form.contact-form {
    display: grid;
    gap: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color .2s ease, background .2s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--cyan);
    background: #0b1220;
    box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.1);
}
textarea { resize: vertical; min-height: 140px; }

/* ============= CTA banner ============= */

.cta-banner {
    margin: 32px auto;
    padding: 56px 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(circle at 15% 15%, rgba(79, 195, 247, 0.2), transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(33, 150, 243, 0.22), transparent 55%),
        var(--surface);
    text-align: center;
    max-width: var(--max-w);
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--text-dim); margin-bottom: 24px; max-width: 620px; margin-inline: auto; }

/* ============= Footer ============= */

footer {
    margin-top: 64px;
    padding: 56px 0 28px;
    border-top: 1px solid var(--border);
    background: rgba(5, 7, 13, 0.6);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-grid h4 {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid ul a { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--cyan); }
.footer-about p { color: var(--text-dim); font-size: 0.92rem; max-width: 320px; margin-top: 12px; }

.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid; place-items: center;
    color: var(--text-dim);
    transition: all .2s ease;
}
.socials a:hover {
    color: var(--cyan-bright);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.86rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============= Scroll reveal ============= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ============= Responsive ============= */

@media (max-width: 960px) {
    section { padding: 72px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .grid-3, .team-grid, .project-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .contact-grid, .service-block { grid-template-columns: 1fr; }
    .service-block.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links {
        position: fixed;
        top: 72px; left: 0; right: 0;
        flex-direction: column;
        padding: 20px 24px;
        background: rgba(5, 7, 13, 0.95);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        gap: 18px;
        transform: translateY(-150%);
        transition: transform .25s ease;
        align-items: flex-start;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: block; }
    .nav-cta .btn-desktop { display: none; }
}
@media (max-width: 560px) {
    .grid-3, .team-grid, .project-grid, .values-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; gap: 14px; }
    .cta-banner { padding: 40px 24px; }
    section { padding: 64px 0; }
}

/* ============ Project portfolio ============ */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.app {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.app:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 195, 247, 0.45);
    background: var(--surface-2);
}
.app-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(93,227,255,0.18), rgba(33,150,243,0.18));
    color: var(--cyan-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(79,195,247,0.25);
    overflow: hidden;
}
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.featured .app-icon { width: 64px; height: 64px; border-radius: 14px; }
.app-meta { flex: 1; min-width: 0; }
.app-meta h4 {
    font-size: 1rem;
    margin: 0 0 0.1rem;
    color: var(--text);
    line-height: 1.25;
}
.app-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
.downloads {
    background: rgba(79,195,247,0.12);
    color: var(--cyan-bright);
    border: 1px solid rgba(79,195,247,0.35);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.tag-list.small .tag {
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
}
.app-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.app-links {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.store {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.store:hover {
    border-color: rgba(79,195,247,0.5);
    color: var(--cyan-bright);
    background: rgba(79,195,247,0.08);
}
.store-none { font-size: 0.72rem; color: var(--text-muted); }
.rating {
    font-size: 0.78rem;
    color: #ffd27a;
    font-weight: 600;
    white-space: nowrap;
}
/* Featured cards get the same foot */
.project .app-foot { margin-top: 1rem; }
@media (max-width: 560px) {
    .app-grid { grid-template-columns: 1fr; }
}

/* ============ Founder card ============ */
.founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}
.founder-left {
    text-align: center;
    padding: 1rem 0.5rem;
    border-right: 1px solid var(--border);
}
.founder-left .role {
    color: var(--cyan-bright);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}
.founder-left h3 {
    margin-top: 1rem;
    font-size: 1.15rem;
    line-height: 1.3;
}
.avatar-lg {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto;
    background: var(--accent-grad);
    color: #05070d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    border: 3px solid rgba(79,195,247,0.35);
}
.avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.founder-right p {
    color: var(--text-dim);
    margin-bottom: 1rem;
    line-height: 1.65;
}
.founder-right p strong { color: var(--text); font-weight: 600; }
.skill-cluster { margin-top: 1.25rem; }
.skill-cluster h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
@media (max-width: 720px) {
    .founder-card { grid-template-columns: 1fr; padding: 1.25rem; }
    .founder-left { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
}

/* ============ Timeline ============ */
.timeline {
    position: relative;
    margin-top: 2rem;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0.4rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan-bright), rgba(79,195,247,0.1));
    border-radius: 2px;
}
.tl-item {
    position: relative;
    padding: 0 0 2rem 1.5rem;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute;
    left: -1.6rem;
    top: 0.45rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-grad);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px rgba(79,195,247,0.3);
}
.tl-date {
    font-size: 0.78rem;
    color: var(--cyan-bright);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.tl-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.tl-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.tl-item p {
    color: var(--text-dim);
    line-height: 1.65;
}
.tl-item p strong { color: var(--text); font-weight: 600; }

/* ============ SSM card ============ */
.ssm-card {
    border: 1px solid rgba(79,195,247,0.35);
    background: linear-gradient(180deg, rgba(79,195,247,0.04), rgba(33,150,243,0.04));
}
.ssm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 0.5rem;
}
.ssm-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0;
    border-top: 1px dashed rgba(79,195,247,0.15);
}
.ssm-grid > div span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 600;
}
.ssm-grid > div strong {
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .ssm-grid { grid-template-columns: 1fr; gap: 0.5rem; }
}
