/* 
    Quokka Careers™ Design System
    A premium, modern, and emotionally supportive recruitment portal style.
*/

:root {
    /* Color Palette */
    --ink: #101116;
    --white: #ffffff;
    --cream: #FFF9F0;
    --sand: #F4EBDD;
    --orange: #FF8A3D;
    --orange-glow: rgba(255, 138, 61, 0.18);
    --teal: #2F9EA0;
    --coral: #FB837D;
    --mustard: #E3B156;

    /* Semantic Colors */
    --bg-primary: var(--cream);
    --text-primary: var(--ink);
    --text-secondary: rgba(16, 17, 22, 0.65);
    --text-muted: rgba(16, 17, 22, 0.45);
    --accent: var(--orange);

    /* Shadows */
    --shadow-soft: 0 12px 40px rgba(16, 17, 22, 0.08);
    --shadow-glow: 0 10px 30px var(--orange-glow);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.02);

    /* Layout */
    --max-width: 1200px;
    --radius-lg: 2rem;
    --radius-md: 1rem;
    --radius-sm: 0.75rem;

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at top left, rgba(251, 131, 125, 0.1), transparent 30%),
        radial-gradient(circle at top right, rgba(47, 158, 160, 0.08), transparent 30%),
        linear-gradient(180deg, #fffaf5 0%, #fff7ee 45%, #fffdf9 100%);
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* 
Grain Effect
.grain-overlay {
    position: relative;
    overflow: hidden;
}

*/
.grain-overlay::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(16, 17, 22, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 17, 22, 0.04) 1px, transparent 1px);
    background-size: 12px 12px;
    z-index: 100;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--orange);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.logo-text h1 {
    font-size: 1.125rem;
    margin: 0;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        font-size: 0.875rem;
        font-weight: 600;
    }
}

.nav-links a:hover {
    color: var(--orange);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 138, 61, 0.25);
}

.btn-ink {
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-ink:hover {
    transform: translateY(-2px);
    background: #202126;
}

.btn-outline {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: var(--cream);
}

/* Hero Section */
.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid rgba(255, 138, 61, 0.2);
    border-radius: 9999px;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--orange);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Feature Card (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.category-tag {
    background: var(--sand);
    padding: 0.4rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 800;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: scale(1.02);
    border-color: var(--orange);
}

.feature-icon {
    font-size: 1.25rem;
}

.feature-title {
    font-weight: 800;
    font-size: 1rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* About Section */
.about-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.content-block {
    padding: 2rem;
}

.dark-card {
    background: var(--ink);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.list-dash {
    list-style: none;
    margin-top: 1.5rem;
}

.list-dash li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.list-dash li::before {
    content: "—";
    color: var(--orange);
    font-weight: 900;
}

/* Job Cards Grid */
.jobs-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .jobs-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.jobs-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.job-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.job-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.job-role-type {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.job-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.job-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.job-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.job-skills {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Culture Section */
.culture-banner {
    background: linear-gradient(135deg, var(--ink) 0%, #000 100%);
    color: white;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.culture-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.benefit-card h4 {
    margin: 0.5rem 0;
}

.benefit-card p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Apply Section */
.apply-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .apply-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.steps {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step p {
    margin-bottom: 0.5rem;
}

.apply-cta {
    background: var(--orange);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-glow);
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
}

.footer-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .footer-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Decorations */
.blob {
    position: absolute;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.8;
    border-radius: 50%;
}

.lucide-hover {
    width: 1.2em;
    height: 1.2em;
    transition: transform 0.2s ease;
}

a:hover .lucide-hover, button:hover .lucide-hover {
    transform: rotate(15deg) scale(1.1);
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--teal);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--coral);
    bottom: -150px;
    right: -100px;
}

/* Utility Classes */
.text-orange {
    color: var(--orange);
}

.text-teal {
    color: var(--teal);
}

.text-coral {
    color: var(--coral);
}

.text-mustard {
    color: var(--mustard);
}

.bg-orange-light {
    background: rgba(255, 138, 61, 0.1);
}

.bg-coral-light {
    background: rgba(251, 131, 125, 0.1);
}

.bg-teal-light {
    background: rgba(47, 158, 160, 0.1);
}

.bg-mustard-light {
    background: rgba(227, 177, 86, 0.15);
}