:root {
    /* Brand colors from logo */
    --brand-purple: #4621ff;
    --brand-magenta: #c623ff;
    --brand-pink:   #ff006e;
    --brand-orange: #ff8a00;
    --brand-yellow: #ffd500;

    --bg: #0f172a;          /* dark base */
    --bg-alt: #ffffff;

    --accent: var(--brand-pink);
    --accent-strong: var(--brand-orange);

    --text: #f9fafb;
    --muted: #cbd5f5;
    --border-subtle: rgba(148, 163, 184, 0.3);

    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.6);
    --max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {text-decoration:none;}

.shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* ===== FULL-WIDTH NAVBAR ===== */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(7, 10, 22, 0.2); /* your chosen value */
}

/* Flex container - all in one row on desktop */
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
    flex-wrap: wrap; /* allows links to become 2nd row on mobile */
}

/* Logo */
.logo {
    display: flex;              /* was inline-flex – flex is fine here */
    align-items: center;
    gap: 0.6rem;
    order: 0;
}

/* Make the link itself a flex item that centers the image */
.logo a {
    display: flex;
    align-items: center;
    color: #fff;
}

/* Prevent image baseline weirdness */
.logo-img {
    display: block;
    height: 34px;
    width: auto;
    border-radius: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Slightly tighten text to center better visually */
.logo-text {
    font-weight: 650;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    text-transform: uppercase;
    line-height: 1;  /* important for vertical centering */
    margin-left: 10px;
}


/* Links - share the same row on desktop */
.nav-links-main {
    order: 1;
    margin-left: auto;            /* pushes links + pill to the right */
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.nav-links-main a {
    text-decoration: none;
    color: #cbd5f5;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 150ms ease-out;
}

.nav-links-main a:hover {
    color: #ffffff;
    border-color: rgba(148, 163, 184, 0.6);
    background-color: rgba(15, 23, 42, 0.8);
}

/* Since 2002 pill */
.nav-pill {
    order: 2;
    margin-left: 0.75rem;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(255, 0, 110, 0.5);
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.22), rgba(255, 138, 0, 0.22));
    color: #fef9ff;
    font-size: 0.88rem;
    font-weight: 500;

    /* center text nicely */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* MENU button (desktop hidden) */
.nav-toggle {
    order: 3;
    display: none;                 /* shown only on mobile */
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.nav-toggle-icon {
    font-size: 1rem;
}

/* ===== MOBILE / TABLET ===== */
@media (max-width: 768px) {
    /* hide "Professional Studio" text, keep only logo icon */
    .logo-text {
        display: none;
    }

    /* show MENU button */
    .nav-toggle {
        display: inline-flex;
    }

    /* keep order: logo | MENU | pill (row 1) */
    .logo     { order: 0; }
    .nav-toggle { order: 1; }
    .nav-pill   { order: 2; margin-left: auto; }

    /* Links drop down on a new full-width row */
    .nav-links-main {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        display: none;                 /* hidden until toggled */
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 0.5rem;
    }

    .nav-links-main a {
        width: 100%;
        padding: 0.6rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(30, 41, 59, 0.9);
    }

    .nav-links-main a:last-child {
        border-bottom: none;
    }

    /* When nav is open, show menu links */
    .nav-bar.nav-open .nav-links-main {
        display: flex;
    }
}

/* ===== HERO WITH BLENDED BACKGROUND ===== */
/* ===== HERO WITH BLENDED BACKGROUND ===== */
.hero-wrapper {
    position: relative;
    overflow: hidden;
}

/* <picture class="hero-bg"> sits behind everything */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(70, 33, 255, 0.35), transparent 55%),
        radial-gradient(circle at 100% 0, rgba(255, 0, 110, 0.4), transparent 60%),
        linear-gradient(to bottom, rgba(6, 8, 20, 0.92), rgba(15, 23, 42, 0.9));
    mix-blend-mode: normal;
    z-index: 1;
}

.hero-wrapper::after {
    /* smooth fade into main content */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 1;
}

.hero {
    position: relative;
    z-index: 2; /* content on top of bg + overlays */
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
	padding: 2.5rem 0 3.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.hero-badge-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #ffffff, #00ff95);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 4.2vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(
        130deg,
        var(--brand-purple),
        var(--brand-magenta),
        var(--brand-pink),
        var(--brand-orange)
    );
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 1.3rem;
}

.hero p {
    color: var(--muted);
    max-width: 32rem;
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.btn-primary {
    border: none;
    cursor: pointer;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 540;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(
        135deg,
        var(--brand-pink),
        var(--brand-orange),
        var(--brand-yellow)
    );
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(255, 0, 110, 0.55);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn-primary span.icon {
    font-size: 1.1rem;
    translate: 0 0;
    transition: 160ms ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 22px 45px rgba(255, 0, 110, 0.7);
}

.btn-primary:hover span.icon {
    translate: 2px -1px;
}

.btn-ghost {
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.85);
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    text-decoration: none;
    transition: 160ms ease;
}

.btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(148, 163, 184, 1);
    background: rgba(15, 23, 42, 0.95);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-meta span strong {
    color: #f9fafb;
    font-weight: 600;
}

/* Hero - Visual Card */
.hero-visual {
    position: relative;
}

.glass-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.45rem;
    overflow: hidden;
}

.glass-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.glass-heading span.title {
    font-weight: 550;
    color: #e5e7eb;
}

.glass-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
}

.glass-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.8);
    color: var(--muted);
}

.progress-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted);
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(30, 41, 59, 1);
    overflow: hidden;
}

/* the actual fill */
.progress-fill {
    position: absolute;
    inset: 0;
    width: 78%; /* safe default so it shows even if JS fails */
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--brand-purple),
        var(--brand-magenta),
        var(--brand-pink),
        var(--brand-orange)
    );
    transition: width 0.5s ease-out;
}


.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    font-size: 0.8rem;
}

.stat {
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.8));
    border: 1px solid rgba(129, 140, 248, 0.7);
}

.stat-label {
    color: var(--muted);
    margin-bottom: 0.15rem;
}

.stat-value {
    font-weight: 600;
    color: #f9fafb;
    font-size: 0.9rem;
}

.glow-orbit {
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(circle at 10% 0, rgba(70, 33, 255, 0.45), transparent 60%),
        radial-gradient(circle at 90% 100%, rgba(255, 0, 110, 0.4), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.8;
}

/* ===== SERVICES / FOOTER (DARK SECTION) ===== */
.services {
    padding: 4rem 0 1.2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 24rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}

.service-card {
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 0 0, rgba(198, 35, 255, 0.15), transparent 60%),
                rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(51, 65, 85, 0.9);
    padding: 1.3rem 1.2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
    transition: 150ms ease-out;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: -40% 40% 80% -40%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.4), transparent 60%);
    opacity: 0;
    transition: 150ms ease-out;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 114, 182, 0.9);
}

.service-card:hover::before {
    opacity: 1;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #e5e7eb;
}

.service-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

footer {
    padding: 3rem 0 1.5rem;
}

.footer-inner {
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: radial-gradient(circle at 0 0, rgba(255, 0, 110, 0.25), transparent 60%),
                radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.25), transparent 60%),
                rgba(15, 23, 42, 0.98);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: center;
}

.footer-inner h2 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.footer-inner p {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-note {
    margin-top: 1.4rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

/* ===== RESPONSIVE (HERO / SERVICES / FORM) ===== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.5rem;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-meta {
        gap: 0.9rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== START A PROJECT PAGE ===== */
.page-hero {
    padding: 2rem 0 1.5rem;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 3.2vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.page-hero p {
    max-width: 34rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.form-section {
    padding: 0 0 4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
}

.form-card {
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.6rem;
}

.form-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--muted);
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
    padding: 0.65rem 0.8rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.services-group {
    margin-bottom: 1.2rem;
}

.services-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.services-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    font-size: 0.85rem;
}

.services-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.services-options input[type="checkbox"] {
    accent-color: var(--brand-pink);
}

.consent-row {
    margin: 1.2rem 0 1.5rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.consent-row label {
    display: inline-flex;
    gap: 0.5rem;
    align-items: flex-start;
    cursor: pointer;
}

.consent-row input[type="checkbox"] {
    margin-top: 0.1rem;
    accent-color: var(--brand-pink);
}

.status-message {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
}

.status-message.error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.9);
    color: #fecaca;
}

.status-message.success {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.9);
    color: #bbf7d0;
}

/* honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.side-note {
    font-size: 0.85rem;
    color: var(--muted);
}

.side-note ul {
    list-style: disc;
    padding-left: 1.1rem;
    margin-top: 0.5rem;
}

.nav-links-main a.is-active {
    border-color: rgba(255, 0, 110, 0.7);
    background-color: rgba(255, 0, 110, 0.2);
    color: #ffffff;
}

/* On tablets / small laptops: put form and side note under each other */
@media (max-width: 1024px) {
    .start-project-page .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Phone optimizations */
@media (max-width: 600px) {
    .start-project-page .hero {
        padding: 2rem 0 3rem;
    }

    .start-project-page .page-hero h1 {
        font-size: 1.9rem;
    }

    .start-project-page .page-hero p {
        font-size: 0.94rem;
    }

    .start-project-page .form-card {
        padding: 1.4rem 1.2rem;
    }

    /* All fields stacked nicely */
    .start-project-page .field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .start-project-page .side-note {
        margin-top: 1.5rem;
    }
}

/* ===== MODERN CHECKBOXES (FOR START PROJECT + GLOBAL USE) ===== */

input[type="checkbox"] {
    /* hide default checkbox, but keep it accessible */
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(148, 163, 184, 0.7);
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* hover effect */
input[type="checkbox"]:hover {
    border-color: var(--brand-pink);
}

/* checked state */
input[type="checkbox"]:checked {
    background: var(--brand-pink);
    border-color: var(--brand-pink);
}

/* checkmark icon */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: white;
}

/* Spacing beside text */
.services-options label,
.consent-row label {
    gap: 0.6rem !important;
}

/* Smaller checkboxes for dense areas (optional) */
.services-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* ERROR PAGE GRID */
.error-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.error-text {
    color: var(--muted);
    font-size: 1rem;
    max-width: 30rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .error-grid {
        grid-template-columns: 1fr;
    }
}
