* {
    box-sizing: border-box;
}

:root {
    --bg: #f5fbfb;
    --bg-soft: #e8f7f4;
    --surface: rgba(255, 255, 255, 0.97);
    --surface-strong: #ffffff;
    --text: #102127;
    --muted: #4f6b70;
    --line: rgba(61, 102, 104, 0.16);
    --primary: #0ea5a3;
    --primary-dark: #065f46;
    --secondary: #0b1d1f;
    --accent: #facc15;
    --success-bg: #ecfdf5;
    --success-text: #14532d;
    --shadow: 0 26px 70px rgba(7, 52, 50, 0.14);
    --shadow-soft: 0 14px 34px rgba(7, 52, 50, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max: 1180px;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 163, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.12), transparent 22%),
        linear-gradient(180deg, #f8fdfd 0%, var(--bg) 100%);
}

body, input, select, textarea, button {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 18px 56px;
}

.site-header,
.card,
.site-footer {
    background: var(--surface);
    backdrop-filter: blur(10px);
}

.section-card:nth-of-type(odd) {
    background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(237,250,248,0.94));
}

.section-card:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(241,248,247,0.94));
}

.site-header {
    padding: 36px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 32px 70px rgba(7, 52, 50, 0.16);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14,165,163,0.96), rgba(6,95,70,0.98));
    color: #fff;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 28%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.6;
    pointer-events: none;
}

.hero-glow-left {
    top: -70px;
    left: -60px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.20), transparent 65%);
}

.hero-glow-right {
    top: -30px;
    right: -40px;
    background: radial-gradient(circle, rgba(14, 165, 163, 0.22), transparent 65%);
}

.brand-row,
.header-actions,
.top-nav,
.page-stack,
.section-heading,
.hero-card,
.hero-card-metrics,
.filter-grid,
.job-grid,
.job-card-topline,
.job-cta-row,
.site-footer {
    position: relative;
    z-index: 1;
}

.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.brand-copy {
    max-width: 660px;
}

.eyebrow,
.section-note,
.meta-line,
.brand-subcopy,
.job-company,
.job-summary {
    color: var(--muted);
}

.site-header .eyebrow,
.site-header .brand-subcopy,
.site-header .hero-pill {
    color: rgba(255,255,255,0.92);
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
}

.site-header h1,
.hero-card h2,
.section-heading h3,
.job-card h4,
.card h2,
.card h3 {
    margin: 0;
}

.site-header h1 {
    font-size: 42px;
    line-height: 1.02;
    max-width: 12ch;
}

.brand-subcopy {
    margin: 12px 0 0;
    max-width: 58ch;
    line-height: 1.75;
    font-size: 1.04rem;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    font-weight: 700;
    color: #fff;
}

.header-badge {
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    white-space: nowrap;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255,255,255,0.22);
}

.header-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.primary-link,
.secondary-link,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.primary-link,
button {
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: #102127;
    border: none;
    box-shadow: 0 16px 30px rgba(250, 204, 21, 0.30);
    cursor: pointer;
}

.secondary-link {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.primary-link:hover,
.secondary-link:hover,
button:hover {
    transform: translateY(-1px);
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.top-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255,255,255,0.18);
    font-weight: 700;
    color: #fff;
}

.top-nav a:nth-child(1),
.top-nav a:nth-child(4),
.top-nav a:nth-child(7) {
    background: rgba(255,255,255,0.16);
}

.page-stack {
    display: grid;
    gap: 20px;
    margin-top: 22px;
}

.card {
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    background: linear-gradient(135deg, rgba(14,165,163,0.14), rgba(255,255,255,0.97));
    border: 1px solid rgba(14,165,163,0.14);
}

.hero-card-home {
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(14, 165, 163, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,250,248,0.96));
}

.hero-card-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.hero-card-metrics-vertical {
    grid-template-columns: 1fr;
    min-width: 280px;
}

.accent-tile {
    background: linear-gradient(135deg, rgba(14,165,163,0.16), rgba(255,255,255,0.92));
}

.accent-tile-secondary {
    background: linear-gradient(135deg, rgba(250,204,21,0.18), rgba(255,255,255,0.92));
}

.accent-tile-soft {
    background: linear-gradient(135deg, rgba(11,29,31,0.10), rgba(255,255,255,0.92));
}

.hero-card-copy {
    max-width: 650px;
}

.hero-card h2 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 12px;
}

.hero-card p {
    margin: 0;
    line-height: 1.7;
}

.hero-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 14px;
    min-width: 320px;
}

.metric-tile {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(14, 165, 163, 0.14);
    box-shadow: var(--shadow-soft);
}

.metric-tile strong {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}

.metric-tile span {
    color: var(--muted);
    line-height: 1.5;
}

.section-card {
    background: rgba(255, 255, 255, 0.9);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(133, 88, 111, 0.10);
}

.section-heading h3,
.card h2 {
    font-size: 28px;
    margin-top: 4px;
}

.section-note {
    max-width: 48ch;
    line-height: 1.65;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
}

.filter-actions {
    display: flex;
    align-items: end;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(133, 88, 111, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.job-card {
    border-radius: 22px;
    border: 1px solid rgba(14, 165, 163, 0.14);
    padding: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(237,250,248,0.95));
    box-shadow: 0 18px 36px rgba(7, 52, 50, 0.08);
}

.job-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.job-card::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.job-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 163, 0.12);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

.job-chip-muted {
    background: rgba(250, 204, 21, 0.16);
    color: #854d0e;
}

.job-card h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.job-company,
.job-summary,
.meta-line {
    line-height: 1.65;
    margin: 0 0 10px;
}

.job-apply-form,
.job-cta-row {
    margin-top: 16px;
}

.trust-row,
.helper-strip,
.inline-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.trust-row {
    margin-top: 14px;
}

.trust-row span,
.helper-strip span {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(14, 165, 163, 0.10);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.helper-strip {
    margin: -4px 0 18px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(250, 204, 21, 0.13);
    border: 1px solid rgba(250, 204, 21, 0.24);
}

.applicant-card,
.empty-state-card {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(14, 165, 163, 0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(237,250,248,0.95));
    box-shadow: var(--shadow-soft);
}

.applicant-card + .applicant-card {
    margin-top: 14px;
}

.applicant-pitch {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(14, 165, 163, 0.08);
    color: var(--text);
    line-height: 1.65;
}

.inline-action-row {
    margin-top: 12px;
}

.dark-link {
    color: var(--text);
    background: rgba(14, 165, 163, 0.12);
    border-color: rgba(14, 165, 163, 0.18);
}

.beta-banner-card {
    background: linear-gradient(135deg, rgba(14, 165, 163, 0.12), rgba(250, 204, 21, 0.14));
    border: 1px solid rgba(14, 165, 163, 0.18);
}

.ticket-payment-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.ticket-qr-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(14, 165, 163, 0.14);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.ticket-qr-image {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    display: block;
    margin: 0 auto 12px;
}

.payment-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 163, 0.12);
    color: #0f766e;
    font-weight: 700;
    margin-bottom: 12px;
}

.payment-number {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 10px 0 14px;
}

.payment-steps {
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.ticket-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ticket-package-card,
.ticket-history-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(237,250,248,0.95));
    border: 1px solid rgba(14, 165, 163, 0.14);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.ticket-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    margin: 8px 0 12px;
}

.ticket-purchase-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.site-footer {
    margin-top: 20px;
    border-radius: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--muted);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 920px) {
    .hero-card,
    .brand-row,
    .section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-card-metrics,
    .job-grid,
    .filter-grid,
    .ticket-payment-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-shell {
        padding: 16px 12px 40px;
    }

    .site-header,
    .card {
        padding: 18px;
    }

    .site-header h1 {
        font-size: 32px;
    }

    .hero-card h2,
    .section-heading h3,
    .card h2 {
        font-size: 24px;
    }

    .header-actions,
    .top-nav {
        flex-direction: column;
        align-items: stretch;
    }

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

.app-brand-row {
    align-items: center;
}

.app-brand-copy h1 {
    max-width: 16ch;
}

.app-header-actions {
    margin-top: 18px;
}

.app-top-nav a {
    background: rgba(255,255,255,0.76);
}

.app-form-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(237,250,248,0.94));
}

.stacked-form {
    display: grid;
    gap: 14px;
}

.app-auth-hero,
.app-flow-hero {
    border: 1px solid rgba(14, 165, 163, 0.12);
}

.app-site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.app-site-footer strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}
