/* ========================================
   VeraBadge Marketing Site Styles
   Clean, maintainable CSS extracted from GoDaddy source
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-primary: #011635;
    /* Midnight blue from logo */
    --color-primary-hover: #000f23;
    /* Darker midnight for hover */
    --color-secondary: #042E4C;
    /* Blue Whale */
    --color-secondary-hover: #031f33;
    /* Darker Blue Whale for hover */
    --color-text: rgb(27, 27, 27);
    --color-text-light: rgb(94, 94, 94);
    --color-text-muted: rgb(164, 164, 164);
    --color-link: rgb(105, 122, 111);
    --color-link-hover: rgb(62, 73, 66);
    --color-bg-white: rgb(255, 255, 255);
    --color-bg-gray: rgb(246, 246, 246);
    --color-bg-dark: rgb(22, 22, 22);
    --color-border: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Raleway', arial, sans-serif;
    --font-secondary: 'Montserrat', arial, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 19px;
    --font-size-h1: 33px;
    --font-size-h2: 26px;
    --font-size-h3: 22px;
    --font-size-h4: 19px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 72px;

    /* Layout */
    --container-max-width: 1280px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-gray);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

p {
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--color-link-hover);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ===== Header / Navigation ===== */
.header {
    background-color: var(--color-bg-white);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    width: 100%;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.logo img {
    height: 70px;
    width: auto;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--color-text);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
    justify-content: center;
    /* Center the menu items */
    text-align: center;
    /* Center text in links */
}

.nav-menu li {
    text-align: center;
    /* Center each list item */
}

.nav-menu li a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.063em;
    font-size: var(--font-size-small);
    color: var(--color-text);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
    text-align: center;
    /* Center text in links */
    display: block;
    /* Ensure the link takes full width for centering */
}

.nav-menu li a:hover,
.nav-menu li a.active {
    border-bottom-color: var(--color-link);
    color: var(--color-link);
}

.cta-button {
    display: none;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .cta-button {
        display: inline-block;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-dark);
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    padding: var(--spacing-lg);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    color: var(--color-bg-white);
    cursor: pointer;
    padding: var(--spacing-xs);
    font-size: 24px;
}

.mobile-nav-menu {
    list-style: none;
    margin-top: var(--spacing-xxl);
}

.mobile-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    color: var(--color-text-muted);
    font-size: var(--font-size-h3);
    display: block;
    transition: color var(--transition-fast);
}

.mobile-nav-menu a:hover {
    color: var(--color-secondary-hover);
}

.mobile-cta {
    margin-top: var(--spacing-xl);
    display: block;
    text-align: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.063em;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    border-radius: 4px;
    min-height: 56px;
    line-height: 1.5;
    font-size: var(--font-size-small);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    /* White text for contrast on dark blue */
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-bg-white);
    /* Keep white text on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-bg-white);
    /* White text for contrast on dark blue */
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    color: var(--color-bg-white);
    /* Keep white text on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* White buttons for dark backgrounds */
.hero-content .btn-primary,
.hero-content .btn-secondary {
    background-color: var(--color-bg-white);
    color: var(--color-bg-dark);
    border: 2px solid var(--color-bg-white);
}

.hero-content .btn-primary:hover,
.hero-content .btn-secondary:hover {
    background-color: transparent;
    color: var(--color-bg-white);
    border-color: var(--color-bg-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    min-height: 40px;
    font-size: var(--font-size-small);
}

/* ===== Hero Section ===== */
.hero {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xl) 0 0 0;
    min-height: 400px;
    position: relative;
    margin-bottom: var(--spacing-md);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
    max-width: 1000px;
    margin: 0 auto var(--spacing-xl) auto;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
    order: 1;
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: var(--color-bg-dark);
    color: var(--color-bg-white);
    border-radius: 8px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: var(--spacing-md);
    color: var(--color-bg-white);
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: var(--font-size-large);
    color: var(--color-bg-white);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    padding: 0;
    opacity: 1;
    font-weight: 400;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .hero {
        min-height: 500px;
        padding: var(--spacing-xxl) 0 0 0;
        margin-bottom: var(--spacing-md);
    }

    .hero-container {
        gap: var(--spacing-lg);
    }

    .hero-image-wrapper {
        max-width: 900px;
    }

    .hero-content {
        padding: var(--spacing-xxl) var(--spacing-xl);
    }

    .hero-content h1 {
        font-size: 38px;
        margin-bottom: var(--spacing-lg);
        line-height: 1.25;
        letter-spacing: -0.015em;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: var(--spacing-xxl);
        line-height: 1.7;
        opacity: 1;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-lg);
        align-items: stretch;
    }

    .hero-actions .btn {
        flex: 0 1 auto;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: var(--spacing-xxl) 0 0 0;
        min-height: 600px;
        margin-bottom: var(--spacing-md);
    }

    .hero-image-wrapper {
        max-width: 1100px;
    }

    .hero-content {
        padding: var(--spacing-xxl) var(--spacing-xxl);
        max-width: 1000px;
    }

    .hero-content h1 {
        font-size: 44px;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 1.7;
        opacity: 1;
    }
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-xxl) 0;
}

/* Add extra space before first step section */
.step-section-first {
    margin-top: var(--spacing-lg);
}

/* Reduce padding for plans section */
section.section-gray:has(.plans-list) {
    padding: var(--spacing-md) 0 var(--spacing-lg) 0;
    /* Reduced padding */
}

/* Tighten hero section before plans */
section.section-white:has(.content-centered) {
    padding-bottom: var(--spacing-md);
    /* Reduced bottom padding */
}

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

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

.section-primary {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.section-primary h2,
.section-primary h3 {
    color: var(--color-text);
}

.section-primary .content-text {
    color: var(--color-text);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-link);
    font-size: var(--font-size-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Cards grid after centered heading */
.content-centered+.cards-grid {
    margin-top: var(--spacing-xl);
}

.content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-left {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.content-left h1 {
    text-align: center;
    /* Center main heading */
    margin-bottom: var(--spacing-md);
}

.content-left h2 {
    text-align: left;
    /* Left-align step headings */
    margin-bottom: var(--spacing-xs);
    /* Reduced from var(--spacing-md) */
}

.content-left .content-text {
    margin-bottom: 0;
}

.content-left .content-text p {
    margin-bottom: var(--spacing-xs);
    /* Reduced spacing between paragraphs */
}

/* Step container layout */
.step-container {
    display: flex;
    gap: var(--spacing-md);
    /* Reduced from var(--spacing-lg) */
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    /* Reduced from 60px */
    height: 50px;
    /* Reduced from 60px */
    border-radius: 50%;
    background-color: var(--color-primary);
    /* Midnight blue */
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: 24px;
    /* Reduced from 28px */
    font-weight: 700;
    margin-top: 0;
    /* Removed margin-top */
}

.step-content {
    flex: 1;
    min-width: 0;
}

.content-left h2 {
    margin-bottom: var(--spacing-xs);
    /* Reduced from var(--spacing-md) */
}

.step-optional {
    font-size: 0.85em;
    font-weight: 400;
    color: var(--color-text-light);
    font-style: italic;
}

/* Step details - callout boxes for lists */
.step-details {
    background-color: var(--color-bg-gray);
    padding: var(--spacing-sm);
    /* Reduced from var(--spacing-md) */
    border-radius: 8px;
    margin: var(--spacing-xs) 0;
    /* Reduced from var(--spacing-md) */
}

.step-details p {
    margin-bottom: var(--spacing-xs);
}

.step-details ul {
    margin: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-lg);
    /* Reduced bottom margin */
    padding-left: var(--spacing-md);
}

.step-details ul li {
    margin-bottom: 4px;
    /* Reduced from var(--spacing-xs) */
}

.step-note {
    margin-top: var(--spacing-xs);
    /* Reduced from var(--spacing-md) */
    padding-top: var(--spacing-xs);
    /* Reduced from var(--spacing-md) */
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

/* Center CTA button and heading */
.content-cta {
    text-align: center;
}

.content-cta h2 {
    text-align: center;
    /* Center the heading */
}

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

.cta-button-wrapper {
    margin-top: var(--spacing-md);
    text-align: center;
}

/* Tighten spacing for How VeraBadge Works page */
section.section-white:has(.content-left)+section.section-gray:has(.content-left),
section.section-gray:has(.content-left)+section.section-white:has(.content-left) {
    padding-top: var(--spacing-xs);
    /* Reduced padding between sections */
}

section.section-white:has(.content-left),
section.section-gray:has(.content-left) {
    padding: var(--spacing-sm) 0 var(--spacing-md) 0;
    /* Reduced padding */
}

.content-centered h1 {
    margin-bottom: var(--spacing-xl);
}

/* Reduce spacing for FAQs page specifically */
section.section-white:has(.content-centered)+section.section-gray:has(.faq-list) {
    padding-top: var(--spacing-md);
    /* Tighten space before FAQ list */
}

.content-centered h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.content-centered h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 24px;
}

@media (min-width: 768px) {
    .content-centered h3 {
        font-size: 28px;
    }
}

.content-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
}

.content-text p {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
    /* Reduced from var(--spacing-md) */
}

/* Even tighter spacing in plan cards */
.plan-content .content-text p {
    margin-bottom: var(--spacing-xs);
}

.content-text ul {
    text-align: left;
    display: inline-block;
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.content-text li {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-size: 18px;
}

/* Two-column list for Trust & Transparency */
.content-text .two-column-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-md) auto;
    max-width: 100%;
    text-align: left;
}

.content-text .two-column-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    text-align: left;
}

.content-text .two-column-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-link);
    font-weight: bold;
    font-size: 1.2em;
}

@media (min-width: 768px) {
    .content-text .two-column-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        column-gap: var(--spacing-lg);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .content-text {
        font-size: 20px;
    }

    .content-text p {
        font-size: 20px;
    }

    .content-text li {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .content-text {
        font-size: 22px;
    }

    .content-text p {
        font-size: 22px;
    }

    .content-text li {
        font-size: 22px;
    }
}

/* ===== Cards ===== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.cards-grid-2 {
    grid-template-columns: 1fr;
}

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

    .cards-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-gray);
    min-height: 300px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Remove circle for ResumeBadge - display as rectangle */
.card-image-large {
    aspect-ratio: auto;
    min-height: 300px;
    border-radius: 0;
}

.card-image-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

@media (min-width: 768px) {
    .card-image {
        min-height: 400px;
    }

    .card-image-large {
        min-height: 400px;
        aspect-ratio: auto;
    }
}

@media (min-width: 1024px) {
    .card-image {
        min-height: 450px;
    }

    .card-image-large {
        min-height: 450px;
        aspect-ratio: auto;
    }
}

.card-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.card-content h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    text-align: center;
}

.card-content p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.card-content .btn {
    margin-top: var(--spacing-md);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-bg-gray);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.footer-brand {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.footer-copyright {
    color: var(--color-text-light);
    font-size: var(--font-size-small);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: -500px;
    right: var(--spacing-md);
    background-color: var(--color-bg-white);
    /* White background */
    color: var(--color-text);
    /* Black text */
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    z-index: 10000;
    transition: bottom var(--transition-normal);
}

.cookie-banner.show {
    bottom: var(--spacing-md);
}

.cookie-content h4 {
    color: var(--color-text);
    /* Black text */
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-h4);
}

.cookie-content p {
    color: var(--color-text);
    /* Black text */
    font-size: var(--font-size-small);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

/* Cookie banner buttons use secondary color */
.cookie-actions .btn-primary,
.cookie-actions .btn-secondary {
    background-color: var(--color-secondary);
    /* Blue Whale */
    color: var(--color-bg-white);
    /* White text */
}

.cookie-actions .btn-primary:hover,
.cookie-actions .btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    /* Darker Blue Whale */
    color: var(--color-bg-white);
    /* Keep white text on hover */
}

@media (max-width: 767px) {
    .cookie-banner {
        left: var(--spacing-md);
        right: var(--spacing-md);
        max-width: none;
    }
}

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* ===== Plans Page Styles ===== */
.plans-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    /* Reduced from var(--spacing-xl) */
    margin-top: 0;
}

.plan-card {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    width: 100%;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.plan-content {
    padding: var(--spacing-md);
    /* Reduced from var(--spacing-lg) */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plan-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    /* Blue Whale */
    margin-bottom: var(--spacing-xs);
    /* Reduced from var(--spacing-md) */
    line-height: 1.3;
    text-align: center;
    /* Center the plan names */
}

.plan-content .content-text {
    flex: 1;
    margin-bottom: var(--spacing-md);
    /* Reduced from var(--spacing-lg) */
}

.plan-content .content-text ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xs) 0 var(--spacing-md) 0;
    /* Reduced top margin */
}

.plan-content .content-text ul li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.plan-content .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.badge-coming-soon {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--color-primary);
    font-style: italic;
}

/* ===== FAQ Accordion ===== */
.faq-list {
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
    /* Reduced from var(--spacing-xl) */
}

/* Tighten spacing for FAQs page specifically */
section.section-gray:has(.faq-list) {
    padding-top: var(--spacing-md);
    /* Reduced padding */
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--spacing-lg);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    transition: background-color var(--transition-normal);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0 var(--spacing-lg);
}

.faq-question[aria-expanded="true"]+.faq-answer,
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 768px) {
    .faq-question h4 {
        font-size: 20px;
    }

    .plan-content h3 {
        font-size: 26px;
    }
}

/* Contact Form Styles */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group:last-of-type {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
}

.form-group .required {
    color: var(--color-error, #d32f2f);
}

.form-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-border);
    border-radius: 4px;
    transition: border-color var(--transition-normal);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-input:invalid {
    border-color: var(--color-error, #d32f2f);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-primary);
}

.form-note {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: var(--spacing-md);
    text-align: center;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .contact-form {
        padding: var(--spacing-xxl);
    }
}

/* Employer page specific styles */
.employer-benefit {
    text-align: center;
    font-size: 18px;
}

.employer-benefit p {
    font-size: 18px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .employer-benefit {
        font-size: 20px;
    }

    .employer-benefit p {
        font-size: 20px;
    }
}

/* Cards grid - 3 columns */
.cards-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .cards-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

/* ===== Build Pixel ===== */
.build-pixel {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    overflow: hidden;
    border: none;
    border-radius: 50%;
    cursor: help;
    transition: background-color 0.15s ease, transform 0.15s ease;
    z-index: 1;
}

.build-pixel:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

/* ===== Success Modal ===== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity var(--transition-normal);
    backdrop-filter: blur(4px);
}

.success-modal.show {
    display: flex;
    opacity: 1;
}

.success-modal-content {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    position: relative;
}

.success-modal.show .success-modal-content {
    transform: scale(1);
}

.success-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: successIconPop 0.5s ease-out;
}

.success-modal-icon svg {
    width: 36px;
    height: 36px;
}

.success-modal-title {
    color: var(--color-text);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.success-modal-message {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.success-modal-close {
    min-width: 120px;
}

@keyframes successIconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile adjustments for success modal */
@media (max-width: 768px) {
    .success-modal-content {
        padding: var(--spacing-lg);
        margin: var(--spacing-md);
    }

    .success-modal-title {
        font-size: 20px;
    }

    .success-modal-icon {
        width: 56px;
        height: 56px;
    }

    .success-modal-icon svg {
        width: 32px;
        height: 32px;
    }
}