/* Home Page Styles - MaxifyJobs 2.0 Redesign */
/* Inspired by Claura/Anthropic aesthetic */

/* ===== CSS Variables ===== */
:root {
    --bg-cream: #FAF8F5;
    --bg-cream-dark: #F5F0EB;
    --text-dark: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #8A8A8A;
    --accent-brown: #8B4513;
    --accent-warm: #C17F59;
    --border-light: rgba(0, 0, 0, 0.08);
    --white: #FFFFFF;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ===== Base Overrides ===== */
body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-smooth);
}

.main-nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.main-nav .btn-nav {
    background-color: var(--text-dark);
    color: var(--white) !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: var(--radius-full);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.main-nav .btn-nav:hover {
    background-color: #333;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: all var(--transition-smooth);
}

/* Hamburger animation when active */
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.mobile-menu a:hover {
    background-color: var(--bg-cream-dark);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 4rem 2rem 6rem;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Announcement Badge */
.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .italic {
    font-style: italic;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background-color: var(--text-dark);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background-color: transparent;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--white);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-soft);
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
}

/* Hero Visual */
.hero-visual {
    max-width: 900px;
    margin: 0 auto;
}

.visual-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.visual-card canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Service Canvas */
.service-image-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Companies Section ===== */
.companies-section {
    padding: 3rem 2rem 4rem;
    border-top: 1px solid var(--border-light);
}

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

.companies-header {
    margin-bottom: 2rem;
}

.companies-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Company Cards */
.companies-grid .job-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: none;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.companies-grid .job-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.companies-grid .job-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.companies-grid .job-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.companies-grid .job-card .company {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.companies-grid .job-card .info {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.companies-grid .job-card .info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-cream);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.companies-grid .job-card .apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: var(--text-dark);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    margin-top: auto;
}

.companies-grid .job-card .apply-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green {
    background: #10B981;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-light);
    border-top-color: var(--text-dark);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Services Section ===== */
.services-section {
    padding: 5rem 2rem;
    background: var(--bg-cream);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.services-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-title .italic {
    font-style: italic;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.services-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    text-align: left;
    align-items: start;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-item {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.service-item h3 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
    transition: color var(--transition-smooth);
}

.service-item h3 sup {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
    vertical-align: super;
}

.service-item.active {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.service-item.active h3 {
    color: var(--text-dark);
}

.service-item:hover:not(.active) h3 {
    color: var(--text-muted);
}

.services-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-visual {
    width: 100%;
}

.service-image-wrapper {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.service-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            #E8C8E0 0%,
            #D4A5D9 30%,
            #C49BD4 50%,
            #F5D0C5 70%,
            #FADCD9 100%);
}

.service-gradient-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse,
            rgba(255, 180, 100, 0.7) 0%,
            rgba(255, 200, 150, 0.4) 50%,
            transparent 70%);
    filter: blur(20px);
}

.service-info-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-info-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: gap var(--transition-smooth);
}

.service-cta:hover {
    gap: 0.75rem;
}

/* ===== Proof Section ===== */
.proof-section {
    padding: 3rem 2rem;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.proof-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.proof-stats .stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
}

.proof-stats .stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 5rem 2rem;
    background: var(--bg-cream);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonials-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.testimonials-title .italic {
    font-style: italic;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.testimonial-rating {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 2rem;
    background: var(--text-dark);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-title .italic {
    font-style: italic;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--text-dark);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Footer ===== */
.site-footer {
    padding: 2rem;
    background: var(--bg-cream);
    border-top: 1px solid var(--border-light);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-dark);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .service-item {
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        padding: 3rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .companies-section {
        padding: 2rem 1.5rem 3rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proof-stats .stat-number {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .services-list {
        flex-direction: column;
    }

    .service-item h3 {
        font-size: 1.25rem;
    }
}