﻿/* WebDev division — index page styles */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --blue:        #3498db;
    --blue-dark:   #2980b9;
    --blue-soft:   #5dade2;
    --blue-light:  #85c1e9;

    --bg-card:     rgba(255, 255, 255, 0.04);
    --bg-card-hov: rgba(52, 152, 219, 0.07);
    --border:      rgba(255, 255, 255, 0.07);
    --border-blue: rgba(52, 152, 219, 0.2);

    --text:        #e8e8e8;
    --muted:       #888;
    --white:       #fff;

    --radius:      14px;
    --section-gap: 96px;
    --inner:       1100px;
}

/* ── Base ───────────────────────────────────────────────── */
.page-main {
    padding: 0 40px;
    max-width: var(--inner);
    margin: 0 auto;
}

.accent { color: var(--blue); }

.section-head {
    text-align: center;
    margin-bottom: 52px;
}
.section-head h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}
.section-head p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

.btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}


.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline .material-icons { font-size: 18px; }

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

/* ── Header override ────────────────────────────────────── */
header {
    border-image: linear-gradient(to right, var(--blue), var(--blue-soft)) 1;
}

/* ── Floating nav — webdev link pills (scrolled state) ───── */
body.nav-scrolled nav ul li a {
    background: var(--bg-card, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.07));
    border-radius: 20px;
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted, #888);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

body.nav-scrolled nav ul li a:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.13);
    color: var(--white, #fff);
}

body.nav-scrolled nav ul li a.active {
    background: linear-gradient(135deg, var(--blue, #3498db), var(--blue-dark, #2980b9));
    border-color: transparent;
    color: var(--white, #fff);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.3);
}

/* ── Floating logo ──────────────────────────────────────── */
.floating-logo { width: 130px; }

/* ── Banner ─────────────────────────────────────────────── */
.webdev-banner {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    font-family: 'DM Sans', sans-serif;
    border-bottom: 2px solid var(--blue-soft);
    animation: bannerDown 0.5s ease-out;
}
.webdev-banner .banner-text {
    display: inline-block;
    margin-right: 40px;
}
.webdev-banner .banner-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.webdev-banner .banner-link:hover { color: var(--blue-light); }
.webdev-banner .banner-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
    transition: color 0.2s;
}
.webdev-banner .banner-close:hover { color: var(--blue-light); }
.webdev-banner-hide { animation: bannerUp 0.6s ease-out forwards; }

@keyframes bannerDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
@keyframes bannerUp {
    from { transform: translateY(0);     opacity: 1; }
    to   { transform: translateY(-100%); opacity: 0; }
}

@media (max-width: 768px) {
    .webdev-banner {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 1000;
        padding: 12px 15px 12px 20px;
        border-bottom: none;
        border-top: 2px solid var(--blue-soft);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
        animation: bannerUp-m 0.5s ease-out;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .webdev-banner .banner-text {
        font-size: 13px;
        line-height: 1.4;
        margin-right: 0;
        flex: 1;
        padding-right: 15px;
    }
    .webdev-banner .banner-close {
        position: relative;
        right: 0; top: 0;
        transform: none;
        padding: 8px;
        margin-left: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }
    body { padding-bottom: 85px; }
    body.banner-hidden { padding-bottom: 0; }

    @keyframes bannerUp-m {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }
    .webdev-banner-hide { animation: bannerDown-m 0.6s ease-out forwards; }
    @keyframes bannerDown-m {
        from { transform: translateY(0);    opacity: 1; }
        to   { transform: translateY(100%); opacity: 0; }
    }
}
@media (max-width: 480px) {
    .webdev-banner { padding: 10px 12px 10px 16px; }
    body { padding-bottom: 75px; }
}

/* ── Hero ───────────────────────────────────────────────── */
.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 72px 0 80px;
}

.page-hero-text {
    flex: 1;
    max-width: 560px;
}
.hero-badge {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--border-blue);
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--blue-soft);
    margin-bottom: 22px;
    background: rgba(52, 152, 219, 0.07);
    letter-spacing: 0.3px;
}
.page-hero-text h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 20px;
}
.page-hero-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 480px;
}

.page-hero-image {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-hero-image img {
    width: 240px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.35s ease;
}
.page-hero-image img:hover {
    transform: scale(1.02);
}
.ceo-label {
    display: block;
    margin-top: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
}
.ceo-role {
    color: var(--blue);
    font-weight: 700;
}

/* ── Services ───────────────────────────────────────────── */
.services {
    padding: var(--section-gap) 0;
    border-top: 1px solid var(--border);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.card:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(52, 152, 219, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.25s ease;
}
.card:hover .card-icon { background: rgba(52, 152, 219, 0.22); }
.card-icon .material-icons { font-size: 22px; color: var(--blue); }
.card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
}
.card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.services .card p + p {
    margin-top: 16px;
}

.services .card p a {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid var(--border-blue);
    border-radius: 999px;
    background: rgba(52, 152, 219, 0.12);
    color: var(--blue-light);
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.services .card p a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-1px);
}

.services .card p a:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 2px;
}

/* ── Why us ─────────────────────────────────────────────── */
.why {
    padding: var(--section-gap) 0;
    border-top: 1px solid var(--border);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.why-card:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}
.why-num {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50px;
    padding: 3px 10px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.why-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
}
.why-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Tech tags ──────────────────────────────────────────── */
.tech {
    padding: var(--section-gap) 0;
    border-top: 1px solid var(--border);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-card);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: default;
}
.tag:hover {
    border-color: var(--blue);
    background: rgba(52, 152, 219, 0.08);
    color: var(--white);
}
.tag .material-icons { font-size: 17px; color: var(--blue); }

/* ── CTA Strip ──────────────────────────────────────────── */
.cta-strip {
    margin: var(--section-gap) 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cta-strip-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-strip-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-strip-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.64);
}
.cta-strip-inner {
    position: relative;
    z-index: 1;
    max-width: 580px;
    padding: 56px 32px;
}
.cta-strip-inner h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    margin: 0 0 14px;
}
.cta-strip-inner p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin: 0 0 28px;
}
.cta-strip-inner .btn-row { justify-content: center; }

/* ── Process ────────────────────────────────────────────── */
.process {
    padding: var(--section-gap) 0;
    border-top: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.step:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}
.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(52, 152, 219, 0.12);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 18px;
}
.step h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
}
.step p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .page-hero {
        flex-direction: column;
        padding: 52px 0 64px;
        gap: 36px;
        text-align: center;
    }
    .page-hero-text { max-width: 100%; }
    .page-hero-text p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .btn-row { justify-content: center; }
    .page-hero-image img { width: 200px; }
}

@media (max-width: 600px) {
    .page-main { padding: 0 20px; }
    .page-hero-text h1 { font-size: 34px; }
    .section-head h2 { font-size: 26px; }
    .cta-strip-inner h2 { font-size: 26px; }
    .card-grid, .why-grid, .steps { grid-template-columns: 1fr; }
}

/* ── Services page ──────────────────────────────────────── */
.svc-hero {
    padding: 72px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.svc-hero h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin: 16px 0 20px;
    line-height: 1.1;
}
.svc-hero p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}
.hero-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 680px;
    margin: 28px auto 0;
    padding: 16px 20px;
    background: rgba(52, 152, 219, 0.07);
    border: 1px solid rgba(52, 152, 219, 0.22);
    border-radius: 12px;
    text-align: left;
}
.hero-disclaimer .material-icons {
    color: #3498db;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.hero-disclaimer p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    max-width: none;
}
.hero-disclaimer p strong {
    color: var(--white);
    font-weight: 600;
}

.svc-section {
    padding: var(--section-gap) 0;
    border-top: 1px solid var(--border);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 20px;
}

.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.svc-card:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}
.svc-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin: 18px 0 10px;
}
.svc-card > p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 20px;
}

.svc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.svc-features li {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--text);
    padding: 7px 0 7px 22px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.svc-features li:last-child { border-bottom: none; }
.svc-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.75;
}
.svc-features li.feature-highlight {
    background: rgba(52, 152, 219, 0.1);
    font-weight: 500;
    color: var(--blue-light);
}
.svc-features li.feature-highlight::before {
    background: var(--blue-light);
    opacity: 0;
}

.svc-features-toggle {
    display: none;
}

.svc-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 18px;
}

.svc-card .btn-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
}
.svc-card .btn-row .btn-primary,
.svc-card .btn-row .btn-outline {
    flex: 1;
    justify-content: center;
}

/* ── Solid CTA ──────────────────────────────────────────── */
.cta-solid {
    margin: var(--section-gap) 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    padding: 72px 40px;
    text-align: center;
}
.cta-solid h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    margin: 0 0 14px;
}
.cta-solid p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto 28px;
}
.cta-solid .btn-row { justify-content: center; }
.cta-solid .btn-primary {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: none;
}
.cta-solid .btn-primary:hover {
    background: rgba(255, 255, 255, 0.88);
    color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.cta-solid .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.cta-solid .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.cta-solid .btn-primary .material-icons { color: var(--blue); }
.cta-solid .btn-primary:hover .material-icons { color: var(--blue-dark); }
.cta-solid .btn-outline .material-icons { color: var(--white); }
.cta-solid .btn-outline:hover .material-icons { color: var(--white); }
.cta-solid .btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); border-color: var(--white); }

@media (max-width: 900px) {
    .svc-grid { grid-template-columns: 1fr; }
    .cta-solid { padding: 52px 24px; }
}
@media (max-width: 600px) {
    .svc-hero h1 { font-size: 32px; }
    .svc-hero { padding: 52px 0 60px; }
    .cta-solid h2 { font-size: 26px; }

    .svc-features.is-collapsed li:nth-child(n+4) {
        display: none;
    }

    .svc-features-toggle {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        width: fit-content;
        margin: -8px 0 18px;
        padding: 4px 0;
        border: 0;
        background: transparent;
        color: var(--blue-light);
        font-family: 'DM Sans', sans-serif;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    .svc-features-toggle .material-icons {
        font-size: 17px;
        transition: transform 0.2s ease;
    }

    .svc-features-toggle[aria-expanded="true"] .material-icons {
        transform: rotate(180deg);
    }
}

/* ── Partner page ───────────────────────────────────────── */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: var(--section-gap);
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.partner-card:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}

.partner-img {
    width: 100%;
    background: #FCFEFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.partner-img img {
    max-width: 100%;
    max-height: 200px;
}

.partner-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.partner-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}
.partner-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.partner-tags .tag {
    font-size: 12px;
    padding: 5px 12px;
}
.partner-body .btn-primary {
    align-self: flex-start;
    margin-top: 4px;
}

.partner-body .btn-primary .material-icons {
    color: var(--white);
}


/* Coming soon */
.coming-soon {
    border: 1px dashed var(--border-blue);
    border-radius: var(--radius);
    padding: 64px 32px;
    text-align: center;
    background: rgba(52, 152, 219, 0.03);
    margin-bottom: var(--section-gap);
}

.coming-soon h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 12px;
}
.coming-soon p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    max-width: 460px;
    margin: 0 auto 24px;
    line-height: 1.65;
}
.coming-soon .btn-primary {
    padding: 9px 18px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .partner-grid { grid-template-columns: 1fr; }
    .coming-soon { padding: 48px 20px; }
}

/* ── Our Work page ──────────────────────────────────────── */
.work-toggle {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: var(--bg-card);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.toggle-btn .material-icons { font-size: 17px; }
.toggle-btn:hover {
    border-color: var(--border-blue);
    color: var(--white);
}
.toggle-btn.active {
    border-color: var(--blue);
    background: rgba(52, 152, 219, 0.1);
    color: var(--white);
}
.toggle-btn.active .material-icons { color: var(--blue); }

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: var(--section-gap);
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.work-card:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}

.work-img {
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.work-img .material-icons {
    font-size: 48px;
    color: var(--blue);
    opacity: 0.35;
}
.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.work-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}
.work-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.work-body .work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.work-body .work-tags .tag {
    font-size: 12px;
    padding: 4px 11px;
}
.work-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.work-actions .btn-primary,
.work-actions .btn-outline {
    padding: 9px 16px;
    font-size: 13px;
}
.work-actions .btn-primary:disabled,
.work-actions .btn-outline:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Demo modal ─────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    padding: 10px;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #141414;
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 1440px;
    width: 100%;
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    gap: 12px;
}
.modal-header h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-controls {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.modal-controls button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.modal-fullpage-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
}
.modal-fullpage-btn:hover { background: var(--bg-card-hov); color: var(--white); }
.modal-close-btn {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.2);
    color: #ff6b6b;
}
.modal-close-btn:hover { background: rgba(255, 80, 80, 0.2); }
.modal-controls .material-icons { font-size: 16px; }

/* Browser chrome bar */
.browser-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #1c1c1c;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

/* Device toggle buttons in browser chrome */
.device-btns {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}
.device-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.device-btn .material-icons { font-size: 17px; }
.device-btn:hover { background: rgba(255,255,255,0.06); color: #aaa; }
.device-btn.active {
    background: rgba(52,152,219,0.15);
    border-color: rgba(52,152,219,0.4);
    color: #3498db;
}

.browser-url-bar {
    flex: 1;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 12.5px;
    color: #888;
    font-family: 'DM Sans', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

/* iframe loading overlay */
.demo-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #0d0d0d;
    z-index: 2;
    transition: opacity 0.4s ease;
}
.demo-loading.hidden { opacity: 0; pointer-events: none; display: none; }
.demo-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(52, 152, 219, 0.2);
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-loading p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
}

.modal-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.demo-container {
    flex: 1;
    min-height: 0;
    background: #fff;
    overflow: hidden;
    position: relative;
    transition: background 0.3s;
}
/* Mobile device frame mode */
.demo-container.mode-mobile {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    overflow: hidden;
}
.demo-container.mode-mobile .modal-demo-frame {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 375px;
    max-width: 100%;
    height: 100%;
    max-height: 820px;
    border-radius: 44px;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.1),
        0 0 0 10px #1c1c1e,
        0 0 0 12px rgba(255,255,255,0.07),
        0 0 60px rgba(0,0,0,0.8);
    transition: border-radius 0.3s, box-shadow 0.3s;
}
.modal-demo-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    transition: border-radius 0.3s;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    min-height: 0;
}
.modal-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}
.modal-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--muted);
    background: var(--bg-card);
}

@media (max-width: 600px) {
    .work-grid { grid-template-columns: 1fr; }

    .work-img {
        aspect-ratio: auto;
        height: 200px;
    }

    /* Modal wrapper */
    .modal { padding: 0; }
    .modal-content {
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Modal header */
    .modal-header {
        padding: 10px 14px;
        gap: 8px;
    }
    .modal-header h2 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
    /* Icon-only “Vollbild” button on mobile */
    .modal-fullpage-btn .btn-label { display: none; }
    .modal-fullpage-btn { padding: 7px 10px; }
    .modal-close-btn { padding: 7px 10px; }

    /* Browser chrome */
    .browser-chrome {
        padding: 6px 10px;
        gap: 8px;
    }
    .browser-dots { gap: 5px; }
    .browser-dots span { width: 10px; height: 10px; }
    /* Shrink URL bar text, keep it but smaller */
    .browser-url-bar {
        font-size: 11px;
        padding: 4px 10px;
        min-width: 0;
    }

    /* No phone-shell simulation inside an already-phone-sized modal — handled
       in the wider @media (max-width: 900px) block below */

    /* Bottom info strip */
    .modal-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 14px 10px;
    }
    .modal-description {
        white-space: normal;
        font-size: 12.5px;
        line-height: 1.5;
        /* Limit to 2 lines to save space */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .modal-tags { gap: 4px; }
    .modal-tag { font-size: 11px; padding: 3px 8px; }

    /* Hero disclaimer */
    .hero-disclaimer {
        padding: 12px 14px;
        gap: 8px;
        margin-top: 20px;
    }
    .hero-disclaimer p { font-size: 12.5px; }
}

/* On any viewport ≤900px the phone-shell is replaced by full-width iframe.
   Covers phones, landscape phones, and tablets. */
@media (max-width: 900px) {
    .demo-container.mode-mobile {
        display: block !important;   /* remove the flex centering */
        padding: 0 !important;
        background: #fff !important;
        position: relative !important;
        touch-action: auto;
        -webkit-overflow-scrolling: touch;
    }
    .demo-container.mode-mobile .modal-demo-frame {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* Toast notification for device-mode hint */
.device-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #222;
    border: 1px solid rgba(255,255,255,0.12);
    color: #ddd;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.device-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── About page ─────────────────────────────────── */
.about-prose {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}
.about-prose strong { color: var(--white); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    border-left: 3px solid var(--blue);
    transition: background 0.2s, border-color 0.2s;
}
.value-card:hover {
    background: var(--bg-card-hov);
    border-color: var(--border-blue);
}
.value-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px;
}
.value-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 20px 24px;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.team-card:hover {
    background: var(--bg-card-hov);
    border-color: var(--border-blue);
    transform: translateY(-4px);
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 2px solid var(--border-blue);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-avatar .material-icons {
    font-size: 42px;
    color: var(--muted);
}
.team-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 6px;
}
.team-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Contact page ───────────────────────────────────────── */
.cinfo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.cinfo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.cinfo-card:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hov);
    transform: translateY(-4px);
}
.cinfo-head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cinfo-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(52,152,219,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
    transition: background 0.25s;
}
.cinfo-card:hover .cinfo-icon { background: rgba(52,152,219,0.22); }
.cinfo-icon .material-icons { font-size: 22px; }
.cinfo-icon svg { width: 22px; height: 22px; }
.cinfo-head-text h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--white); margin: 0 0 3px;
}
.cinfo-head-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; color: var(--muted); margin: 0;
}
.cinfo-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cinfo-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}
.cinfo-link:hover { color: var(--blue-soft); }
.cinfo-actions { display: flex; gap: 8px; }
.cinfo-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cinfo-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(52,152,219,0.1);
}
.cinfo-btn.copied { border-color: #2ecc71; color: #2ecc71; }
.cinfo-btn .material-icons { font-size: 17px; }

.csocial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 36px;
}
.csocial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.csocial-card:hover {
    background: var(--bg-card-hov);
    transform: translateY(-3px);
}
.csocial-card.disabled { opacity: 0.4; pointer-events: none; }
.csocial-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.csocial-icon svg { width: 22px; height: 22px; }
.csocial-card.discord  .csocial-icon { background: rgba(88,101,242,0.15); color: #5865f2; }
.csocial-card.discord:hover  { border-color: rgba(88,101,242,0.4); }
.csocial-card.instagram .csocial-icon { background: rgba(228,64,95,0.12); color: #e4405f; }
.csocial-card.instagram:hover { border-color: rgba(228,64,95,0.35); }
.csocial-card.youtube .csocial-icon { background: rgba(255,0,0,0.1); color: #ff0000; }
.csocial-card.youtube:hover { border-color: rgba(255,0,0,0.3); }
.csocial-card.github .csocial-icon { background: rgba(255,255,255,0.06); color: var(--text); }
.csocial-card.github:hover { border-color: rgba(255,255,255,0.2); }
.csocial-card.twitter .csocial-icon { background: rgba(29,155,240,0.1); color: #1d9bf0; }
.csocial-card.twitter:hover { border-color: rgba(29,155,240,0.35); }
.csocial-card.tiktok .csocial-icon { background: rgba(255,255,255,0.04); color: var(--muted); }
.csocial-text h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 700;
    color: var(--white); margin: 0 0 2px;
}
.csocial-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px; color: var(--muted); margin: 0;
}

.cform {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 36px;
}
.cform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.cform input,
.cform select,
.cform textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    appearance: none; -webkit-appearance: none;
}
.cform input::placeholder,
.cform textarea::placeholder { color: var(--muted); }
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
    border-color: var(--blue);
    background: rgba(52,152,219,0.05);
}
.cform select option { background: #1a1a1a; color: var(--white); }
.cform textarea {
    min-height: 140px;
    resize: vertical;
}

.csuccess-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.csuccess-content {
    background: #141414;
    border: 1px solid var(--border-blue);
    border-radius: 18px;
    padding: 48px 40px;
    text-align: center;
    max-width: 400px;
    width: calc(100% - 40px);
    position: relative;
}
.csuccess-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.csuccess-close:hover { color: var(--white); background: var(--bg-card); }
.csuccess-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.3);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.csuccess-icon .material-icons { font-size: 32px; color: #2ecc71; }
.csuccess-content h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px; font-weight: 700;
    color: var(--white); margin: 0 0 10px;
}
.csuccess-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; color: var(--muted);
    line-height: 1.65; margin: 0;
}

@media (max-width: 600px) {
    .cinfo-grid { grid-template-columns: 1fr; }
    .csocial-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .csocial-card {
        padding: 16px 14px;
        gap: 12px;
    }
    .csocial-icon {
        width: 40px;
        height: 40px;
    }
    .csocial-icon svg {
        width: 20px;
        height: 20px;
    }
    .csocial-text h4 { font-size: 13px; }
    .csocial-text p { font-size: 11px; }
    .cform-row { grid-template-columns: 1fr; }
}
