@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;700;800;900&display=swap');

:root {
    --navy: #09152d;
    --blue: #2563eb;
    --blue-dark: #1e40af;
    --cyan: #20bfd0;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --green: #10b981;
    --green-bg: #d1fae5;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', system-ui, sans-serif;
    margin: 0;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
button, input, select, textarea { font: inherit; }

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* Header */
.top {
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -1px;
}
.logo i { color: var(--blue); font-style: normal; }

.navlinks { display: flex; gap: 24px; font-weight: 500; font-size: 15px; color: var(--muted); }
.navlinks a:hover { color: var(--blue); }

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

/* Buttons */
.btn {
    border: 0;
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn:active { transform: scale(0.96); }

.primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.primary:hover { background: #000; }
.accent { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.accent:hover { background: var(--blue-dark); }
.ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.ghost:hover { background: var(--bg); }

/* Typography */
.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}
h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 800;
}
h2 {
    font-size: 32px;
    letter-spacing: -1px;
    font-weight: 700;
}

.muted { color: var(--muted); font-size: 15px; }

/* Hero */
.hero {
    padding: 80px 0 60px;
    background: radial-gradient(circle at top right, #e0f2fe, transparent 40%), linear-gradient(to bottom, #ffffff, var(--bg));
    text-align: center;
}
.hero h1 { max-width: 900px; margin: 16px auto; }
.hero p { font-size: 20px; color: var(--muted); max-width: 700px; margin: 0 auto 30px; }

/* Search */
.searchbox {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 12px;
    display: flex;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.searchbox input, .searchbox select {
    border: 0;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    outline: none;
    flex: 1;
}
.searchbox .btn { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-sm); }

/* Grid & Cards */
.section { padding: 80px 0; }
.sub { color: var(--muted); font-size: 18px; margin-top: 8px; margin-bottom: 40px; }

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* Job Specific */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #eff6ff;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px;
    font-family: 'Outfit';
}
.company { font-weight: 600; color: var(--ink); margin-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--bg);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}
.pill {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--green-bg);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

/* Companies */
.companies { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.companybox {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: 0.2s;
}
.companybox:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.companybox .avatar { margin: 0 auto 16px; }

/* Pricing */
.price { font-size: 48px; font-weight: 900; font-family: 'Outfit'; color: var(--navy); margin-bottom: 8px; }

/* Mobile Bottom Tab Bar */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
}
.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
}
.tab-item.active { color: var(--blue); }
.tab-item svg { width: 24px; height: 24px; stroke-width: 2; }

/* Footer */
.footer { background: var(--navy); color: #94a3b8; padding: 80px 0 40px; }
.footergrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 18px; margin-bottom: 20px; }

/* Responsiveness */
@media(max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .companies { grid-template-columns: repeat(3, 1fr); }
    .searchbox { flex-direction: column; }
    .hero p { font-size: 18px; padding: 0 20px; }
}

@media(max-width: 600px) {
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } /* Space for tab bar */
    .top { height: 64px; }
    .navlinks { display: none; } /* Hide top links, keep buttons */
    .bottom-nav { display: block; }
    .grid, .companies, .footergrid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero { padding: 60px 0 40px; text-align: left; }
    .hero h1 { margin: 12px 0; font-size: 40px; }
    .searchbox { padding: 16px; border-radius: var(--radius); }
    .searchbox input, .searchbox select, .searchbox .btn { padding: 16px; font-size: 16px; }
    
    /* App-like cards on mobile */
    .card { border-radius: 24px; padding: 24px; border: none; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06); }
}
