/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e55a6;
    --secondary-color: #2c6bb6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #666;
    --border-color: #ddd;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

code {
    font-family: 'Courier New', monospace;
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #c7254e;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

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

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* ===================================
   HEADER
   =================================== */

.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0;
    font-weight: 400;
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 5px;
}

.main-nav a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--dark-text);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

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

.mobile-nav a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, #1e55a6 0%, #2c6bb6 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-features .feature i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.hero-features .feature span {
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    text-decoration: none;
}

/* ===================================
   INTRO & CONTENT BOXES
   =================================== */

.intro-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.content-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   BENEFITS GRID
   =================================== */

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

.benefit-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.benefit-card p {
    color: var(--light-text);
    margin: 0;
}

/* ===================================
   TABLE OF CONTENTS GRID
   =================================== */

.toc-section {
    padding: 60px 0;
    background-color: var(--white);
}

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

.toc-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.toc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    text-decoration: none;
}

.toc-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.toc-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.toc-card p {
    color: var(--light-text);
    margin: 0;
    font-size: 0.95rem;
}

/* ===================================
   TIPS & EXAMPLES
   =================================== */

.tips-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.tips-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tip-item {
    margin-bottom: 2rem;
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item h4 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-item h4 i {
    color: var(--primary-color);
}

.example-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1rem;
}

.example {
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid;
}

.example.good {
    background-color: #d4edda;
    border-color: var(--success-color);
}

.example.bad {
    background-color: #f8d7da;
    border-color: var(--danger-color);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 10px;
}

.badge-success {
    background-color: var(--success-color);
    color: var(--white);
}

.badge-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

.badge-info {
    background-color: var(--info-color);
    color: var(--white);
}

.badge-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===================================
   CODE EXAMPLES
   =================================== */

.code-example {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-example h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.code-example pre {
    margin: 0;
}

.code-example code {
    display: block;
    color: #f8f8f2;
    background: transparent;
    padding: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ===================================
   CHECKLISTS
   =================================== */

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
}

.checklist li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--success-color);
    font-size: 1.2rem;
}

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

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background-color: var(--light-bg);
    border-radius: 5px;
}

.checklist-item i {
    color: var(--success-color);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.checklist-item span {
    flex: 1;
}

/* ===================================
   ACCORDION
   =================================== */

.accordion {
    margin-top: 2rem;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--light-bg);
}

.accordion-header i.fa-chevron-down {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i.fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-header > i:first-child {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.accordion-header span {
    flex: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 20px;
}

.accordion-content ul {
    list-style: disc;
    padding-left: 20px;
}

.accordion-content ul li {
    margin-bottom: 8px;
    color: var(--light-text);
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 1rem;
}

.example-box {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.example-box strong {
    color: var(--primary-color);
}

.tip-box {
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid var(--warning-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tip-box i {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.warning-box {
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid var(--danger-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning-box i {
    color: var(--danger-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-box {
    background-color: #d1ecf1;
    padding: 15px;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid var(--info-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-box i {
    color: var(--info-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* ===================================
   OPTIONS & CARDS
   =================================== */

.options-grid {
    display: grid;
    gap: 30px;
    margin-top: 2rem;
}

.option-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.option-card:hover {
    box-shadow: var(--shadow-lg);
}

.option-card.featured {
    border: 2px solid var(--primary-color);
}

.option-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-card.featured .option-header {
    background: linear-gradient(135deg, var(--success-color) 0%, #218838 100%);
}

.option-header i {
    font-size: 2rem;
}

.option-header h3 {
    flex: 1;
    margin: 0;
    color: var(--white);
}

.option-content {
    padding: 25px;
}

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

/* ===================================
   MEDIA TYPES
   =================================== */

.media-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.media-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.media-card > i {
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
}

.media-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.media-card > p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.best-practices {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.best-practices h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.practice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.practice-item i {
    color: var(--success-color);
    font-size: 1.3rem;
    margin-top: 2px;
}

/* ===================================
   ATS PLATFORMS
   =================================== */

.ats-platforms {
    margin-top: 2rem;
}

.ats-platforms h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.ats-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.ats-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ats-card code {
    display: block;
    font-size: 0.85rem;
    word-break: break-all;
    background-color: var(--light-bg);
    padding: 10px;
    border-radius: 5px;
    color: var(--dark-text);
}

.example-integration {
    margin-top: 3rem;
}

.example-integration h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===================================
   LLM OPTIMIZATION
   =================================== */

.alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid var(--info-color);
}

.alert-info i {
    color: var(--info-color);
}

.alert-success {
    background-color: #d4edda;
    border-left: 4px solid var(--success-color);
}

.alert-success i {
    color: var(--success-color);
}

.llm-structure, .keywords-section, .structured-data {
    margin-top: 2rem;
}

.structure-example h4,
.keywords-section h3,
.structured-data h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.keyword-category {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.keyword-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.keyword-list {
    list-style: none;
}

.keyword-list li {
    padding: 8px 12px;
    background-color: var(--light-bg);
    margin-bottom: 8px;
    border-radius: 5px;
    font-size: 0.95rem;
}

.data-elements {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===================================
   COMPLETE EXAMPLE
   =================================== */

.example-preview {
    margin-top: 2rem;
}

.form-fields {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-field {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.form-field:last-child {
    border-bottom: none;
}

.form-field label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-field .field-value {
    color: var(--dark-text);
    font-size: 1.05rem;
}

.expandable-section {
    background-color: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.expand-btn {
    width: 100%;
    padding: 20px;
    background-color: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: var(--transition);
}

.expand-btn:hover {
    background-color: var(--light-bg);
}

.expand-btn > i:first-child {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.expand-btn span {
    flex: 1;
}

.expand-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.expandable-section.active .expand-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expandable-section.active .expandable-content {
    max-height: 5000px;
    padding: 20px;
}

.code-example.large {
    max-height: 600px;
    overflow-y: auto;
}

/* ===================================
   CHECKLIST SECTION
   =================================== */

.checklist-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.checklist-category {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.checklist-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-category .checklist {
    list-style: none;
}

.checklist-category .checklist li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checklist-category .checklist input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checklist-category .checklist label {
    flex: 1;
    cursor: pointer;
}

.checklist-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.section-contact {
    background: linear-gradient(135deg, #1e55a6 0%, #2c6bb6 100%);
    color: var(--white);
}

.section-contact .section-title {
    color: var(--white);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.contact-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-info h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}

.contact-title {
    color: var(--light-text);
    margin: 5px 0 0 0;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
}

.contact-item a {
    color: var(--dark-text);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.service-card p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #2d3436;
    color: #dfe6e9;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-tagline {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #dfe6e9;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    text-decoration: none;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .hero-features .feature i {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .benefits-grid,
    .toc-grid,
    .options-grid,
    .media-types,
    .ats-grid,
    .keywords-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-header {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .code-example {
        padding: 15px;
    }
    
    .code-example code {
        font-size: 0.8rem;
    }
    
    .checklist-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .header,
    .hero,
    .mobile-nav,
    .scroll-to-top,
    .footer,
    .btn,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .code-example {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}