/**
 * Marketing Pages - Shared Styles
 * Used across all logged-out marketing pages (homepage, features, pricing)
 * Standard CSS (no @apply directives)
 * Target: ~400 lines
 */

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero-section {
    padding: 4rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }
}

.hero-headline {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 3.75rem;
    }
}

.hero-subheadline {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subheadline {
        font-size: 1.25rem;
    }
}

.hero-cta-container {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta-container {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.hero-cta-primary {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: background-color 0.2s;
}

.hero-cta-primary:hover {
    background-color: #1d4ed8;
}

.hero-cta-secondary {
    color: #2563eb;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid #2563eb;
    transition: all 0.2s;
}

.hero-cta-secondary:hover {
    color: #1d4ed8;
    border-color: #1d4ed8;
}

/* ========================================
   PERSONA CARDS
   ======================================== */

.persona-cards-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

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

@media (min-width: 1024px) {
    .persona-cards-grid {
        gap: 2rem;
    }
}

.persona-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    transition: all 0.2s;
}

.persona-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.persona-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}

.persona-card-description {
    color: #4b5563;
    text-align: center;
    font-size: 0.875rem;
}

/* Icon color variants */
.persona-card-icon.optimizer {
    background-color: #dbeafe;
}

.persona-card-icon.optimizer svg {
    color: #2563eb;
}

.persona-card-icon.bridger {
    background-color: #dcfce7;
}

.persona-card-icon.bridger svg {
    color: #16a34a;
}

.persona-card-icon.rejected {
    background-color: #f3e8ff;
}

.persona-card-icon.rejected svg {
    color: #9333ea;
}

/* ========================================
   FEATURE GRIDS
   ======================================== */

.feature-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

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

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

.feature-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #4b5563;
}

/* Feature icon color variants */
.feature-icon.primary {
    background-color: #dbeafe;
}

.feature-icon.primary svg {
    color: #2563eb;
}

.feature-icon.green {
    background-color: #dcfce7;
}

.feature-icon.green svg {
    color: #16a34a;
}

.feature-icon.purple {
    background-color: #f3e8ff;
}

.feature-icon.purple svg {
    color: #9333ea;
}

.feature-icon.orange {
    background-color: #fed7aa;
}

.feature-icon.orange svg {
    color: #ea580c;
}

/* ========================================
   CTA SECTIONS
   ======================================== */

.cta-section {
    margin-top: 5rem;
    background-color: #2563eb;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
}

.cta-headline {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    color: #bfdbfe;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: white;
    color: #2563eb;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    display: inline-block;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #f3f4f6;
}

.cta-subtext {
    margin-top: 1rem;
    color: #bfdbfe;
    font-size: 0.875rem;
}

/* ========================================
   SECTION LAYOUTS
   ======================================== */

.section {
    margin-top: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   STATS ROW
   ======================================== */

.stats-row {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

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

.stat-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4b5563;
}

/* ========================================
   COMPARISON TABLE (Companies vs Job Seekers)
   ======================================== */

.comparison-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

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

.comparison-card {
    background-color: white;
    border: 2px solid;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.comparison-card.companies {
    border-color: #fecaca;
    background-color: #fef2f2;
}

.comparison-card.seekers {
    border-color: #bfdbfe;
    background-color: #eff6ff;
}

.comparison-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.comparison-card.companies .comparison-title {
    color: #7f1d1d;
}

.comparison-card.seekers .comparison-title {
    color: #1e3a8a;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
}

.comparison-card.companies .comparison-item {
    color: #991b1b;
}

.comparison-card.seekers .comparison-item {
    color: #1e40af;
}

/* ========================================
   WORKFLOW VISUALIZATION
   ======================================== */

.workflow-steps {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

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

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

.workflow-number {
    width: 4rem;
    height: 4rem;
    background-color: #2563eb;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.workflow-number span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.workflow-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.workflow-description {
    color: #4b5563;
    font-size: 0.875rem;
}

/* ========================================
   PRICING CARDS (Shared)
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.pricing-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 2px solid;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.standard {
    border-color: #e5e7eb;
}

.pricing-card.featured {
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2563eb;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
}

.pricing-period {
    color: #4b5563;
}

.pricing-features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
}

.pricing-feature svg {
    height: 1.5rem;
    width: 1.5rem;
    color: #22c55e;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.pricing-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.pricing-cta-button.primary {
    background-color: #2563eb;
    color: white;
}

.pricing-cta-button.primary:hover {
    background-color: #1d4ed8;
}

.pricing-cta-button.secondary {
    background-color: #f3f4f6;
    color: #111827;
}

.pricing-cta-button.secondary:hover {
    background-color: #e5e7eb;
}

.pricing-cta-button:disabled {
    background-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}

/* ========================================
   EXPANDABLE SECTIONS
   ======================================== */

.expandable-section {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.expandable-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f9fafb;
    cursor: pointer;
    transition: background-color 0.2s;
}

.expandable-header:hover {
    background-color: #f3f4f6;
}

.expandable-title {
    font-weight: 600;
    color: #111827;
}

.expandable-icon {
    transition: transform 0.2s;
}

.expandable-icon.open {
    transform: rotate(180deg);
}

.expandable-content {
    padding: 1rem;
    background-color: white;
}

/* ========================================
   TRUST SIGNALS
   ======================================== */

.trust-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

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

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

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

.trust-icon {
    width: 3rem;
    height: 3rem;
    background-color: #dcfce7;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.75rem;
}

.trust-icon svg {
    color: #16a34a;
}

.trust-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

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

    .cta-headline {
        font-size: 1.5rem;
    }
}
