﻿/* CSS Custom Properties for Theming */
:root {
    --bg-main: #121c15;
    --bg-darker: #0d140e;
    --bg-card: #291e16;
    --text-main: #f4efe9;
    --text-muted: #b8ac9f;
    --accent-main: var(--accent-main);
    --accent-dark: var(--accent-dark);
    --border-color: #3b2c21;
    --modal-bg: #0a110c;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color var(--transition-fast);
}

.text-accent {
    color: var(--accent-main);
}

.text-center {
    text-align: center;
}

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

.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--accent-main);
    color: #fff;
    box-shadow: 0 4px 14px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.mt-2 {
    margin-top: 1.5rem;
}

/* 1. Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
    background: linear-gradient(rgba(18, 28, 21, 0.85), rgba(18, 28, 21, 0.95)), url('https://images.unsplash.com/photo-1586528116311-ad8ed7cabc39?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}

.bg-image-overlay {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-headline {
    font-size: min(2.1vw, 2.5rem);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 0 0 320px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid var(--accent-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        flex: 0 0 240px;
        height: 240px;
    }
}

.hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero .btn {
    z-index: 2;
    position: relative;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 42, 42, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* 2. Scheduler Section */
.scheduler-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.scheduler-placeholder {
    padding: 4rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

/* 3. Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metric-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--accent-main);
    transition: transform var(--transition-normal);
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.metric-context {
    font-size: 0.875rem;
    color: #737373;
}

/* 4. Solutions Section */
#solutions {
    background-image: linear-gradient(rgba(10, 30, 15, 0.85), rgba(10, 30, 15, 0.85)), url('OD-DECK-PIC-2.png');
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.solution-item {
    background-color: var(--bg-main);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

.solution-item:hover {
    border-color: var(--accent-main);
    background-color: rgba(212, 163, 115, 0.02);
}

.solution-icon {
    color: var(--accent-main);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.solution-title {
    margin-bottom: 0;
    font-size: 1.125rem;
}

/* 5. Lead Magnet Section */
.lead-magnet-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a1a 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.lead-content {
    flex: 1;
    min-width: 300px;
}

.lead-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.lead-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#email-input {
    padding: 1rem 1.5rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

#email-input:focus {
    outline: none;
    border-color: var(--accent-main);
}

.form-msg {
    font-size: 0.875rem;
    min-height: 1.25rem;
}

.form-msg.success {
    color: #10b981;
}

.form-msg.error {
    color: var(--accent-main);
}

/* 6. Video Section */
.video-container {
    max-width: 900px;
    margin: 3rem auto 0;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: border-color var(--transition-normal);
}

.video-container:hover {
    border-color: var(--accent-main);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    color: var(--text-muted);
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--accent-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-left: 5px;
    /* Visual center adjustment for play triangle */
    transition: transform var(--transition-normal);
    box-shadow: 0 4px 20px rgba(212, 163, 115, 0.4);
}

.video-container:hover .play-btn {
    transform: scale(1.1);
}

/* 7. Recruiter Vault */
/* Styling handled mostly by utility classes and global elements */

/* 8. Case Studies Section */
#case-studies {
    background-image: linear-gradient(rgba(10, 30, 15, 0.85), rgba(10, 30, 15, 0.85)), url('OD-DECK-PIC-4.png');
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.case-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    transition: transform var(--transition-normal);
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.case-company {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.case-tag {
    background-color: rgba(212, 163, 115, 0.1);
    color: var(--accent-main);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.case-desc {
    color: var(--text-muted);
}

/* 9. Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(212, 163, 115, 0.1);
    font-family: serif;
    line-height: 1;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    flex-direction: column;
    border-left: 3px solid var(--accent-main);
    padding-left: 1rem;
}

.author strong {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* 10. Market Updates Ticker (Footer) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--accent-main);
    color: #fff;
    padding: 0.75rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item .text-accent {
    color: #fff;
    /* Override red text inside red ticker */
}

@keyframes ticker {
    0% {
        transform: translateX(10%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Add padding to body so ticker doesn't hide content */
body {
    padding-bottom: 3rem;
}

/* Element Reveal Animation Classes (for JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 6rem;
        text-align: center;
    }

    .hero-subheadline {
        margin: 0 auto 3rem;
    }

    .lead-magnet-card {
        padding: 2rem;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .scheduler-container {
        padding: 1.5rem;
    }

    .case-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}


/* Modals */
.sleek-modal {
    border: none;
    border-radius: 12px;
    background: var(--modal-bg);
    color: var(--text-main);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.sleek-modal::-webkit-backdrop {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.sleek-modal::backdrop {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.sleek-modal[open] {
    opacity: 1;
    pointer-events: auto;
    animation: modalSlideIn 0.4s ease-out forwards;
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-content {
    position: relative;
}

.close-modal {
    position: absolute;
    top: -2rem;
    right: -2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--accent-main);
}

.modal-title {
    color: var(--accent-main);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.modal-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-main);
}

.solution-item {
    cursor: pointer;
}
