/*
Theme Name: JobHercules
Theme URI: https://jobhercules.com
Author: JobHercules
Author URI: https://jobhercules.com
Description: A clean, fully responsive theme for JobHercules – a job-search accountability portal.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobhercules
*/

:root {
    --jh-bg: #050816;
    --jh-bg-alt: #0b1020;
    --jh-accent: #ffb347; /* warm accent */
    --jh-accent-soft: rgba(255, 179, 71, 0.12);
    --jh-text: #f9fafb;
    --jh-text-muted: #9ca3af;
    --jh-border-subtle: #1f2933;
    --jh-radius-lg: 1.25rem;
    --jh-radius-full: 999px;
    --jh-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    --jh-max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top, #141b34 0, #050816 40%, #000 100%);
    color: var(--jh-text);
    line-height: 1.6;
}

/* Layout */

.jh-container {
    width: 100%;
    max-width: var(--jh-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.jh-section-sm {
    padding: 2.5rem 0;
}

@media (min-width: 960px) {
    .jh-section {
        padding: 5rem 0;
    }
}

/* Header & nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.92), rgba(5, 8, 22, 0.75), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.site-logo-pill {
    width: 32px;
    height: 32px;
    border-radius: 40%;
    background: radial-gradient(circle at 30% 30%, #fff 0, #ffb347 15%, #f97316 45%, #7c2d12 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.site-logo-pill span {
    font-size: 0.9rem;
    font-weight: 800;
    color: #050816;
}

.site-title-text {
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.site-tagline-text {
    font-size: 0.75rem;
    color: var(--jh-text-muted);
}

/* Nav */

.main-navigation {
    display: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--jh-text-muted);
    transition: color 0.15s ease, opacity 0.15s ease;
}

.main-navigation a:hover {
    color: var(--jh-text);
}

/* Mobile nav button */

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--jh-radius-full);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.8rem;
    color: var(--jh-text);
    text-decoration: none;
    background: radial-gradient(circle at top left, rgba(255, 179, 71, 0.2), rgba(15, 23, 42, 0.95));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.nav-cta span {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }
}

/* Buttons */

.jh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--jh-radius-full);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, opacity 0.12s;
}

.jh-btn-primary {
    background: linear-gradient(135deg, #ffb347, #f97316);
    color: #111827;
    box-shadow: var(--jh-shadow-soft);
}

.jh-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.jh-btn-ghost {
    background: rgba(15, 23, 42, 0.8);
    color: var(--jh-text);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.jh-btn-ghost:hover {
    background: rgba(15, 23, 42, 1);
}

/* Hero */

.hero {
    padding: 4rem 0 3rem;
}

@media (min-width: 960px) {
    .hero {
        padding: 5rem 0 4rem;
    }
}

.hero-inner {
    display: grid;
    gap: 3rem;
}

@media (min-width: 960px) {
    .hero-inner {
        grid-template-columns: 3fr 2fr;
        align-items: center;
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem 0.3rem 0.35rem;
    border-radius: var(--jh-radius-full);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    color: var(--jh-text-muted);
}

.hero-kicker-pill {
    padding: 0.14rem 0.6rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.08);
    color: var(--jh-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.hero-title {
    margin-top: 1.4rem;
    font-size: 2.3rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, #ffb347, #fb923c, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (min-width: 960px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

.hero-subtitle {
    margin-top: 1rem;
    color: var(--jh-text-muted);
    font-size: 0.98rem;
    max-width: 32rem;
}

.hero-cta-row {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-meta {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--jh-text-muted);
}

.hero-meta-item strong {
    color: var(--jh-text);
}

/* Hero card (right) */

.hero-card {
    border-radius: var(--jh-radius-lg);
    background: radial-gradient(circle at top, rgba(148, 163, 184, 0.12), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--jh-shadow-soft);
    padding: 1.6rem 1.5rem;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-card-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-pill {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.7rem;
    color: var(--jh-text-muted);
}

.hero-stats {
    margin: 0.6rem 0 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    font-size: 0.75rem;
}

.hero-stat {
    padding: 0.65rem 0.7rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

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

.hero-stat-value {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Progress bar */

.hero-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--jh-text-muted);
    margin-bottom: 0.3rem;
}

.hero-progress {
    position: relative;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    overflow: hidden;
}

.hero-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, #f97316, #facc15);
}

/* Badges */

.hero-badges {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.72rem;
}

.hero-badge {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(248, 250, 252, 0.14);
}

/* Section titles */

.jh-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--jh-text-muted);
    margin-bottom: 0.6rem;
}

.jh-section-title {
    font-size: 1.7rem;
    margin: 0;
    letter-spacing: -0.03em;
}

.jh-section-subtitle {
    margin-top: 0.5rem;
    color: var(--jh-text-muted);
    max-width: 36rem;
    font-size: 0.95rem;
}

/* Feature grid */

.jh-grid-3 {
    display: grid;
    gap: 1.4rem;
    margin-top: 2rem;
}

@media (min-width: 960px) {
    .jh-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.jh-card {
    border-radius: 1.1rem;
    padding: 1.4rem 1.3rem;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.jh-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.jh-card-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 0.9rem;
    background: radial-gradient(circle at 30% 30%, #fff 0, #ffb347 18%, #f97316 55%, #7c2d12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.jh-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.jh-card-body {
    font-size: 0.9rem;
    color: var(--jh-text-muted);
}

.jh-pill {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.72rem;
    color: var(--jh-text-muted);
}

/* Gift section */

.jh-gift {
    display: grid;
    gap: 1.8rem;
    margin-top: 2rem;
}

@media (min-width: 840px) {
    .jh-gift {
        grid-template-columns: 2fr 3fr;
        align-items: center;
    }
}

.jh-gift-callout {
    border-radius: var(--jh-radius-lg);
    padding: 1.7rem 1.5rem;
    background: radial-gradient(circle at top left, rgba(255, 179, 71, 0.12), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(248, 250, 252, 0.16);
}

/* Pricing */

.pricing-wrap {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 840px) {
    .pricing-wrap {
        grid-template-columns: 3fr 2fr;
        align-items: flex-start;
    }
}

.pricing-card {
    border-radius: var(--jh-radius-lg);
    padding: 1.7rem 1.6rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--jh-shadow-soft);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.3rem;
}

.pricing-plan-label {
    font-size: 0.9rem;
    color: var(--jh-text-muted);
}

.pricing-price {
    font-size: 1.3rem;
    font-weight: 600;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.86rem;
    color: var(--jh-text-muted);
}

/* How it works */

.hiw-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.7rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .hiw-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hiw-step {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.hiw-step-number {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--jh-accent-soft);
    color: var(--jh-accent);
    margin-bottom: 0.4rem;
}

/* FAQ */

.faq-grid {
    margin-top: 1.7rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 840px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.faq-item {
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.96);
}

.faq-q {
    font-size: 0.94rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.faq-a {
    font-size: 0.86rem;
    color: var(--jh-text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    margin-top: 3rem;
    padding: 1.8rem 0 2.4rem;
    font-size: 0.8rem;
    color: var(--jh-text-muted);
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

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

.footer-links a {
    color: var(--jh-text-muted);
    text-decoration: none;
}

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

/* Signup / contact form */

.signup-section {
    border-radius: 1.4rem;
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.1), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--jh-shadow-soft);
    margin-top: 2rem;
}

.signup-form {
    margin-top: 1.2rem;
}

.signup-form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .signup-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.signup-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.signup-field label {
    color: var(--jh-text-muted);
}

.signup-input,
.signup-select,
.signup-textarea {
    border-radius: 0.75rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.97);
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: var(--jh-text);
    outline: none;
}

.signup-input:focus,
.signup-select:focus,
.signup-textarea:focus {
    border-color: var(--jh-accent);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.4);
}

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

.signup-footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1.1rem;
}

.signup-note {
    font-size: 0.78rem;
    color: var(--jh-text-muted);
}

.signup-message {
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    margin-bottom: 0.9rem;
}

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

.signup-message-error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.6);
    color: #fecaca;
}

/* Blog CTA section */

.blog-cta {
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 1.5rem 1.4rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.blog-cta-text {
    font-size: 0.9rem;
    color: var(--jh-text-muted);
}

/* Blog index */

.blog-grid {
    display: grid;
    gap: 1.4rem;
    margin-top: 1.8rem;
}

@media (min-width: 840px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    border-radius: 1.1rem;
    padding: 1.4rem 1.3rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.blog-card h2 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.blog-card h2 a {
    color: var(--jh-text);
    text-decoration: none;
}

.blog-card h2 a:hover {
    text-decoration: underline;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--jh-text-muted);
    margin-bottom: 0.6rem;
}

.blog-excerpt {
    font-size: 0.86rem;
    color: var(--jh-text-muted);
}

.blog-pagination {
    margin-top: 2rem;
    font-size: 0.86rem;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin-right: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    text-decoration: none;
    color: var(--jh-text-muted);
}

.blog-pagination .page-numbers.current {
    background: var(--jh-accent);
    color: #111827;
    border-color: transparent;
}

/* Single post layout */

.single-hero {
    margin-bottom: 1.8rem;
}

.single-hero-image-wrapper {
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 1.4rem;
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.25), rgba(15, 23, 42, 1));
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--jh-shadow-soft);
}

.single-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Placeholder when no featured image is set */
.single-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.8rem 1.4rem;
}

.single-hero-placeholder-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--jh-text-muted);
}

.single-hero-placeholder-icon {
    font-size: 1.7rem;
}

.single-header {
    max-width: 720px;
}

.single-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--jh-text-muted);
    margin-bottom: 0.4rem;
}

.single-meta-category {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.single-title {
    margin-top: 0.25rem;
    font-size: 1.9rem;
}

@media (min-width: 960px) {
    .single-title {
        font-size: 2.2rem;
    }
}

.single-content {
    max-width: 720px;
    font-size: 0.98rem;
    color: var(--jh-text-muted);
}

.single-content p {
    margin-bottom: 1rem;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: var(--jh-text);
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
}

.single-content ul,
.single-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

/* Footer of the single post */

.single-footer {
    max-width: 720px;
    margin-top: 2.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(55, 65, 81, 0.9);
    font-size: 0.85rem;
    color: var(--jh-text-muted);
}

.single-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: baseline;
    margin-bottom: 1rem;
}

.single-author-name {
    font-weight: 600;
    color: var(--jh-text);
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.single-post-nav a {
    color: var(--jh-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.single-post-nav a:hover {
    color: var(--jh-text);
    text-decoration: underline;
}

.single-back-to-blog {
    margin-top: 0.4rem;
}

