/* Additional styles to append to main stylesheet */

/* Form Validation Styles */
.input-wrapper input.error,
.input-wrapper select.error,
.input-wrapper textarea.error {
    border-color: var(--dark-red) !important;
    background: rgba(105, 13, 13, 0.05);
}

.error-message {
    color: var(--dark-red);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.error-message::before {
    content: '⚠';
    font-size: 1rem;
}

/* Focus states for better accessibility */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

/* Image placeholder styles */
.image-placeholder {
    background: linear-gradient(135deg, var(--off-white), var(--white));
    border: 2px dashed var(--light-purple);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    min-height: 300px;
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--light-purple);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--light-purple);
    font-style: italic;
}

/* Lazy loading images */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* =================================================================
   Print Stylesheet
   ================================================================= */
@media print {
    /* Hide non-essential elements */
    header,
    footer,
    .btn-primary,
    .btn-cta,
    .btn-cta-large,
    .btn-secondary,
    .mobile-menu-toggle,
    .skip-to-content,
    .whatsapp-float,
    .final-cta,
    .form-wizard-nav,
    .form-wizard-progress,
    #particleCanvas,
    .testimonials-nav,
    .carousel-dots,
    .noise-overlay,
    .tutor-visual-decor,
    .approach-card-accent,
    .section-divider {
        display: none !important;
    }

    /* Reset colours for print */
    * {
        color: #000 !important;
        background: #fff !important;
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Page setup */
    @page {
        margin: 2cm;
        size: A4;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Container full width */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Sections */
    section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }

    .page-header {
        padding: 1rem 0 !important;
        min-height: auto !important;
        text-align: left;
    }

    /* Typography */
    h1 { font-size: 22pt !important; margin-bottom: 0.5rem; }
    h2 { font-size: 18pt !important; margin-bottom: 0.5rem; }
    h3 { font-size: 14pt !important; margin-bottom: 0.3rem; }
    p { orphans: 3; widows: 3; }

    /* Links - show URL */
    a[href^="http"]::after,
    a[href^="mailto"]::after {
        content: " (" attr(href) ")" !important;
        font-size: 9pt;
        color: #555 !important;
        font-weight: 400;
    }

    /* Navigation links shouldn't show URLs */
    nav a::after,
    .nav-links a::after {
        content: none !important;
    }

    /* Cards & grids - single column for print */
    .bento-grid,
    .approach-grid,
    .expertise-bento,
    .beliefs-list,
    .reason-strips,
    .steps-grid,
    .pricing-cards,
    .offers-grid,
    .comparison-grid,
    .faq-grid,
    .included-checklist {
        display: block !important;
    }

    .bento-grid > *,
    .approach-grid > *,
    .expertise-bento > *,
    .pricing-card,
    .offer-card,
    .faq-simple {
        page-break-inside: avoid;
        margin-bottom: 1rem;
        border: 1px solid #ccc !important;
        padding: 0.75rem !important;
        border-radius: 4px;
    }

    /* Pricing cards - ensure visible */
    .pricing-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* FAQ accordion - show all answers */
    .faq-accordion-content {
        display: block !important;
        grid-template-rows: 1fr !important;
    }

    .faq-accordion-content > div {
        overflow: visible !important;
    }

    .faq-accordion-icon {
        display: none !important;
    }

    /* Tabs - show all panels */
    .tab-panel {
        display: block !important;
        opacity: 1 !important;
    }

    .services-tabs {
        display: none !important;
    }

    /* Contact form - show as-is */
    .form-step {
        display: block !important;
        opacity: 1 !important;
        position: static !important;
    }

    /* Images */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Remove animations */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --dark-blue: #000000;
        --off-white: #ffffff;
    }
    
    .btn-primary,
    .btn-cta {
        border: 2px solid currentColor;
    }
}

/* Purpose Section Styling */
.our-purpose .section-divider {
    margin-bottom: 2rem;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle-canvas {
        display: none;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Better mobile nav accessibility */
@media (max-width: 768px) {
    .nav-links[aria-expanded="true"] {
        display: flex;
    }
}

/* 404 Error Page Styles */
.error-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

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

.error-code {
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, var(--purple), var(--light-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

.error-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0.5rem 0 1.5rem;
}

.error-page .error-message {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--light-purple);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    display: block;
}

.error-page .error-message::before {
    display: none;
}

.error-page .btn-cta {
    display: inline-block;
}

@media (max-width: 480px) {
    .error-page {
        min-height: calc(100vh - 150px);
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .error-code {
        font-size: 6rem;
    }
}

/* =================================================================
   Interactive Pricing Cards
   ================================================================= */

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--card-gap);
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(86, 67, 154, 0.1);
    box-shadow: 0 4px 20px rgba(86, 67, 154, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Accent bar at top of card - visible by default, grows on hover */
.pricing-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease, filter 0.3s ease;
}

.pricing-card:hover .pricing-card-accent,
.pricing-card.selected .pricing-card-accent {
    height: 6px;
    filter: brightness(1.1);
}

/* Color variants with gradients */
.sats-pricing-card .pricing-card-accent {
    background: linear-gradient(90deg, var(--light-purple), #9da9da);
}
.ks3-pricing-card .pricing-card-accent {
    background: linear-gradient(90deg, var(--purple), var(--light-purple));
}
.gcse-pricing-card .pricing-card-accent {
    background: linear-gradient(90deg, var(--dark-red), #a94442);
}
.alevel-pricing-card .pricing-card-accent {
    background: linear-gradient(90deg, var(--gold), #d4b896);
}

/* Icon styling */
.pricing-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pricing-card-icon svg {
    width: 28px;
    height: 28px;
}

/* Icon colors per card type */
.sats-pricing-card .pricing-card-icon {
    background: linear-gradient(135deg, var(--light-purple), #9da9da);
    color: var(--white);
}
.ks3-pricing-card .pricing-card-icon {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
}
.gcse-pricing-card .pricing-card-icon {
    background: linear-gradient(135deg, var(--dark-red), #873d3d);
    color: var(--white);
}
.alevel-pricing-card .pricing-card-icon {
    background: linear-gradient(135deg, var(--gold), #ceaf83);
    color: var(--dark-blue);
}

/* Title and ages */
.pricing-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.pricing-card-ages {
    display: block;
    font-size: 0.9rem;
    color: var(--light-purple);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Prices section */
.pricing-card-prices {
    background: rgba(86, 67, 154, 0.04);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

/* Card-specific price section backgrounds */
.sats-pricing-card .pricing-card-prices {
    background: rgba(133, 147, 209, 0.08);
}
.ks3-pricing-card .pricing-card-prices {
    background: rgba(86, 67, 154, 0.06);
}
.gcse-pricing-card .pricing-card-prices {
    background: rgba(105, 13, 13, 0.06);
}
.alevel-pricing-card .pricing-card-prices {
    background: rgba(194, 155, 100, 0.08);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.price-row:first-child {
    border-bottom: 1px solid rgba(86, 67, 154, 0.08);
}

/* Card-specific border colors in price rows */
.sats-pricing-card .price-row:first-child {
    border-color: rgba(133, 147, 209, 0.15);
}
.gcse-pricing-card .price-row:first-child {
    border-color: rgba(105, 13, 13, 0.1);
}
.alevel-pricing-card .price-row:first-child {
    border-color: rgba(194, 155, 100, 0.15);
}

.price-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.price-label svg {
    width: 16px;
    height: 16px;
}

/* Card-specific icon colors in price labels */
.sats-pricing-card .price-label svg { stroke: var(--light-purple); }
.ks3-pricing-card .price-label svg { stroke: var(--purple); }
.gcse-pricing-card .price-label svg { stroke: var(--dark-red); }
.alevel-pricing-card .price-label svg { stroke: var(--gold); }

.price-value {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Hanken Grotesk', sans-serif;
}

/* Card-specific price colors */
.sats-pricing-card .price-value { color: var(--light-purple); }
.ks3-pricing-card .price-value { color: var(--purple); }
.gcse-pricing-card .price-value { color: var(--dark-red); }
.alevel-pricing-card .price-value { color: var(--gold); }

/* Online prices - slightly muted version of main color */
.price-row.online .price-value {
    opacity: 0.7;
}

.per-hour {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.7;
}

/* Selected indicator */
.pricing-card-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--purple);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.pricing-card-select svg {
    width: 18px;
    height: 18px;
}

.pricing-card.selected .pricing-card-select {
    opacity: 1;
    transform: translateY(0);
}

/* Popular tag - corner ribbon */
.pricing-card .popular-tag {
    position: absolute;
    top: 24px;
    right: -45px;
    background: linear-gradient(135deg, var(--dark-red), var(--purple));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.5rem 3rem 0.5rem 5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(105, 13, 13, 0.3);
    z-index: 10;
    text-align: center;
}

/* Calculator link indicator on cards */
.pricing-card-calculator-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(86, 67, 154, 0.06);
    color: var(--purple);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-card-calculator-hint svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-card-calculator-hint {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 67, 154, 0.25);
}

.pricing-card:hover .pricing-card-calculator-hint svg {
    transform: scale(1.1);
}

/* Card-specific calculator hint colors on hover and selected */
.sats-pricing-card:hover .pricing-card-calculator-hint,
.sats-pricing-card.selected .pricing-card-calculator-hint {
    background: var(--light-purple);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(133, 147, 209, 0.3);
}
.ks3-pricing-card:hover .pricing-card-calculator-hint,
.ks3-pricing-card.selected .pricing-card-calculator-hint {
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(86, 67, 154, 0.25);
}
.gcse-pricing-card:hover .pricing-card-calculator-hint,
.gcse-pricing-card.selected .pricing-card-calculator-hint {
    background: var(--dark-red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(105, 13, 13, 0.25);
}
.alevel-pricing-card:hover .pricing-card-calculator-hint,
.alevel-pricing-card.selected .pricing-card-calculator-hint {
    background: var(--gold);
    color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(194, 155, 100, 0.3);
}

/* Hover state */
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(86, 67, 154, 0.15),
                0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Card-specific hover border colors */
.sats-pricing-card:hover { border-color: var(--light-purple); }
.ks3-pricing-card:hover { border-color: var(--purple); }
.gcse-pricing-card:hover { border-color: var(--dark-red); }
.alevel-pricing-card:hover { border-color: var(--gold); }

.pricing-card:hover .pricing-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Selected state - card-specific styling */
.pricing-card.selected {
    box-shadow: 0 10px 30px rgba(86, 67, 154, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.08);
}

.sats-pricing-card.selected {
    border-color: var(--light-purple);
    background: linear-gradient(180deg, var(--white) 0%, rgba(133, 147, 209, 0.08) 100%);
}
.sats-pricing-card.selected .pricing-card-title { color: var(--light-purple); }

.ks3-pricing-card.selected {
    border-color: var(--purple);
    background: linear-gradient(180deg, var(--white) 0%, rgba(86, 67, 154, 0.06) 100%);
}
.ks3-pricing-card.selected .pricing-card-title { color: var(--purple); }

.gcse-pricing-card.selected {
    border-color: var(--dark-red);
    background: linear-gradient(180deg, var(--white) 0%, rgba(105, 13, 13, 0.05) 100%);
}
.gcse-pricing-card.selected .pricing-card-title { color: var(--dark-red); }

.alevel-pricing-card.selected {
    border-color: var(--gold);
    background: linear-gradient(180deg, var(--white) 0%, rgba(194, 155, 100, 0.08) 100%);
}
.alevel-pricing-card.selected .pricing-card-title { color: var(--gold); }

/* Focus state for keyboard navigation */
.pricing-card:focus {
    outline: none;
}

.pricing-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Responsive pricing cards */
@media (max-width: 1200px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .pricing-card .popular-tag {
        top: 18px;
        right: -48px;
        font-size: 0.6rem;
        padding: 0.4rem 4rem;
    }

    .pricing-card-icon {
        width: 60px;
        height: 60px;
    }

    .pricing-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .pricing-card-title {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 1.35rem;
    }
}

/* Reduced motion support for pricing cards */
@media (prefers-reduced-motion: reduce) {
    .pricing-card,
    .pricing-card-accent,
    .pricing-card-icon,
    .pricing-card-select {
        transition: none;
    }

    .pricing-card:hover {
        transform: none;
    }

    .pricing-card:hover .pricing-card-icon {
        transform: none;
    }
}

/* =================================================================
   Multi-Step Form Wizard Styles
   ================================================================= */

/* Progress Indicator */
.form-wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--off-white);
    border: 3px solid var(--light-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
    transition: all 0.3s ease;
}

.step-check {
    display: none;
    width: 24px;
    height: 24px;
    color: var(--white);
}

.step-label {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Progress Line */
.progress-line {
    flex: 1;
    height: 4px;
    background: var(--off-white);
    margin: 0 0.5rem;
    position: relative;
    max-width: 100px;
    border-radius: 2px;
    margin-bottom: 1.6rem;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--light-purple));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active Step */
.progress-step.active .step-circle {
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    border-color: var(--purple);
    box-shadow: 0 4px 15px rgba(86, 67, 154, 0.4);
    transform: scale(1.1);
}

.progress-step.active .step-number {
    color: var(--white);
}

.progress-step.active .step-label {
    color: var(--purple);
}

/* Completed Step */
.progress-step.completed .step-circle {
    background: var(--purple);
    border-color: var(--purple);
}

.progress-step.completed .step-number {
    display: none;
}

.progress-step.completed .step-check {
    display: block;
}

.progress-step.completed .step-label {
    color: var(--purple);
}

.progress-step.completed + .progress-line .progress-line-fill {
    width: 100%;
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.form-step.slide-out-left {
    display: block;
    opacity: 0;
    transform: translateX(-30px);
}

.form-step.slide-in-right {
    display: block;
    opacity: 0;
    transform: translateX(30px);
}

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--off-white);
}

.step-header svg {
    width: 28px;
    height: 28px;
    color: var(--purple);
}

.step-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

/* Review Summary */
.review-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-section {
    background: var(--off-white);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(86, 67, 154, 0.1);
}

.review-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(86, 67, 154, 0.2);
}

.review-section h4 svg {
    width: 18px;
    height: 18px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    gap: 1rem;
}

.review-item:not(:last-child) {
    border-bottom: 1px dashed rgba(86, 67, 154, 0.1);
}

.review-label {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.review-value {
    color: var(--light-purple);
    text-align: right;
    word-break: break-word;
    font-weight: 500;
}

.review-message {
    flex-direction: column;
    align-items: flex-start;
}

.review-message .review-value {
    text-align: left;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.review-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--light-purple);
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(133, 147, 209, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--light-purple);
}

.review-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Form Wizard Navigation */
.form-wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--off-white);
}

/* Hide wizard submit button initially - shown via JS on final step */
#wizardSubmit {
    display: none;
}

.wizard-btn-back,
.wizard-btn-next,
.wizard-btn-submit {
    flex: 1;
    max-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-btn-back {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.wizard-btn-back:hover:not(:disabled) {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
}

.wizard-btn-back:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--light-purple);
    color: var(--light-purple);
}

.wizard-btn-next,
.wizard-btn-submit {
    background: linear-gradient(135deg, var(--dark-red), #873d3d);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(105, 13, 13, 0.3);
}

.wizard-btn-next:hover,
.wizard-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 13, 13, 0.4);
}

.wizard-btn-next svg,
.wizard-btn-back svg,
.wizard-btn-submit svg {
    width: 18px;
    height: 18px;
}

/* Shake Animation for Validation Errors */
@keyframes formShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-step.shake {
    animation: formShake 0.6s ease;
}

/* Form Note Adjustment */
.contact-form .form-note {
    text-align: center;
    margin-top: 1rem;
}

/* Responsive Styles for Form Wizard */
@media (max-width: 768px) {
    .form-wizard-progress {
        padding: 0 0.5rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
    }

    .step-number {
        font-size: 1rem;
    }

    .step-check {
        width: 20px;
        height: 20px;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .progress-line {
        max-width: 60px;
        margin-bottom: 1.4rem;
    }

    .step-header h3 {
        font-size: 1.1rem;
    }

    .form-wizard-nav {
        flex-direction: column;
    }

    .wizard-btn-back,
    .wizard-btn-next,
    .wizard-btn-submit {
        max-width: 100%;
        width: 100%;
    }

    .wizard-btn-back {
        order: 2;
    }

    .wizard-btn-next,
    .wizard-btn-submit {
        order: 1;
    }

    .review-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .review-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .step-label {
        font-size: 0.7rem;
    }

    .step-circle {
        width: 36px;
        height: 36px;
    }

    .progress-line {
        max-width: 40px;
    }
}

/* Reduced Motion for Form Wizard */
@media (prefers-reduced-motion: reduce) {
    .form-step,
    .step-circle,
    .progress-line-fill,
    .wizard-btn-back,
    .wizard-btn-next,
    .wizard-btn-submit {
        transition: none;
    }

    .form-step.shake {
        animation: none;
    }
}

/* =================================================================
   Enhanced Teaching Approach Section
   ================================================================= */

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

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.approach-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.approach-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(86, 67, 154, 0.15);
    border-color: var(--purple);
}

/* Featured card spans 2 rows */
.approach-card.approach-featured {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: var(--white);
}

.approach-card.approach-featured h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.approach-card.approach-featured p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

.approach-card.approach-featured .approach-card-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.approach-card.approach-featured .approach-card-icon svg {
    color: var(--white);
}

.approach-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--white));
}

.approach-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(86, 67, 154, 0.1), rgba(133, 147, 209, 0.1));
    border: 2px solid rgba(86, 67, 154, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.approach-card:hover .approach-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.approach-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--purple);
}

.approach-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.approach-card p {
    font-size: 0.95rem;
    color: var(--light-purple);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-card.approach-featured {
        grid-row: span 1;
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-card.approach-featured {
        grid-column: span 1;
    }
}

/* =================================================================
   Enhanced Areas of Expertise Section - Bento Layout
   ================================================================= */

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

.expertise-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-category {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.expertise-category.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.expertise-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(86, 67, 154, 0.12);
}

/* Main subjects - spans 2 columns */
.expertise-category.expertise-main {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
}

.expertise-category.expertise-main .expertise-category-header h3,
.expertise-category.expertise-main .expertise-item {
    color: var(--white);
}

.expertise-category.expertise-main .expertise-category-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.expertise-category.expertise-main .expertise-category-icon svg {
    color: var(--white);
}

.expertise-category.expertise-main .expertise-item svg {
    color: rgba(255, 255, 255, 0.8);
}

.expertise-category.expertise-main .level-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Sciences - standard card */
.expertise-category.expertise-sciences {
    border-left: 4px solid var(--dark-red);
}

/* Tech - standard card */
.expertise-category.expertise-tech {
    border-left: 4px solid var(--gold);
}

/* Exam levels - spans full width */
.expertise-category.expertise-levels {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(86, 67, 154, 0.08), rgba(133, 147, 209, 0.12));
    border: 2px solid rgba(86, 67, 154, 0.25);
    box-shadow: 0 4px 20px rgba(86, 67, 154, 0.08);
}

.expertise-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.expertise-category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(86, 67, 154, 0.1), rgba(133, 147, 209, 0.15));
    border: 2px solid rgba(86, 67, 154, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expertise-category-icon svg {
    width: 22px;
    height: 22px;
    color: var(--purple);
}

.expertise-category-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

.expertise-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-weight: 500;
    color: var(--dark-blue);
    transition: all 0.2s ease;
}

.expertise-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(4px);
}

.expertise-item svg {
    width: 18px;
    height: 18px;
    color: var(--purple);
    flex-shrink: 0;
}

.level-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    background: rgba(86, 67, 154, 0.1);
    color: var(--purple);
    border-radius: 20px;
}

/* Exam levels grid */
.expertise-levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    flex-direction: row;
}

.expertise-level-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid rgba(86, 67, 154, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-level-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
    transition: height 0.3s ease;
}

/* Individual colour accents per level */
.expertise-level-item:nth-child(1)::before { background: var(--purple); }
.expertise-level-item:nth-child(2)::before { background: var(--light-purple); }
.expertise-level-item:nth-child(3)::before { background: var(--gold); }
.expertise-level-item:nth-child(4)::before { background: var(--dark-blue); }

.expertise-level-item:nth-child(1) .level-name { color: var(--purple); }
.expertise-level-item:nth-child(2) .level-name { color: var(--light-purple); }
.expertise-level-item:nth-child(3) .level-name { color: var(--gold); }
.expertise-level-item:nth-child(4) .level-name { color: var(--dark-blue); }

.expertise-level-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(86, 67, 154, 0.15);
}

.expertise-level-item:nth-child(1):hover { border-color: var(--purple); }
.expertise-level-item:nth-child(2):hover { border-color: var(--light-purple); }
.expertise-level-item:nth-child(3):hover { border-color: var(--gold); }
.expertise-level-item:nth-child(4):hover { border-color: var(--dark-blue); }

.expertise-level-item:hover::before {
    height: 6px;
}

.expertise-level-item .level-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.expertise-level-item .level-desc {
    font-size: 0.85rem;
    color: var(--dark-blue);
    font-weight: 500;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .expertise-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-category.expertise-levels {
        grid-column: span 2;
    }

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

@media (max-width: 650px) {
    .expertise-bento {
        grid-template-columns: 1fr;
    }

    .expertise-category.expertise-main,
    .expertise-category.expertise-levels {
        grid-column: span 1;
    }

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

/* =================================================================
   FAQ Accordion
   ================================================================= */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    /* Fixed height prevents layout shift when items expand/collapse */
    min-height: 460px;
}

.faq-accordion.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-accordion-item {
    background: var(--white);
    border: 1px solid rgba(86, 67, 154, 0.1);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item:hover {
    border-color: rgba(86, 67, 154, 0.25);
    box-shadow: 0 4px 20px rgba(86, 67, 154, 0.08);
}

.faq-accordion-item.active {
    border-color: var(--purple);
    box-shadow: 0 8px 30px rgba(86, 67, 154, 0.12);
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.faq-accordion-trigger:hover {
    background: rgba(86, 67, 154, 0.03);
}

.faq-accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-accordion-icon {
    width: 22px;
    height: 22px;
    color: var(--purple);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-icon {
    color: var(--dark-red);
}

.faq-accordion-header span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    transition: color 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-header span {
    color: var(--purple);
}

.faq-accordion-chevron {
    width: 18px;
    height: 18px;
    color: var(--light-purple);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-chevron {
    transform: rotate(180deg);
    color: var(--purple);
}

.faq-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-content {
    grid-template-rows: 1fr;
}

.faq-accordion-content-inner {
    overflow: hidden;
}

.faq-accordion-content p {
    padding: 0 1.5rem 1rem 3.5rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-blue);
}

/* Focus state for accessibility */
.faq-accordion-trigger:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
    border-radius: var(--card-radius);
}

@media (max-width: 768px) {
    .faq-accordion {
        min-height: 420px;
    }

    .faq-accordion-trigger {
        padding: 1rem 1.25rem;
    }

    .faq-accordion-header span {
        font-size: 0.95rem;
    }

    .faq-accordion-content p {
        padding: 0 1.25rem 1rem 1.25rem;
        font-size: 0.85rem;
    }

    .faq-accordion-icon {
        width: 20px;
        height: 20px;
    }

    .faq-accordion-header {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .faq-accordion {
        min-height: 480px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .faq-accordion,
    .faq-accordion-item,
    .faq-accordion-trigger,
    .faq-accordion-chevron,
    .faq-accordion-content {
        transition: none;
    }
}

/* =================================================================
   2+1 Featured Offers Grid
   ================================================================= */

.offers-featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--card-gap);
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

/* Featured Offer Card */
.offer-item.offer-featured {
    background: linear-gradient(135deg, var(--dark-red), #873d3d);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-item.offer-featured.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.offer-item.offer-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(105, 13, 13, 0.3);
    border-color: transparent;
}

/* Featured badge in top-right corner */
.offer-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.offer-featured-badge svg {
    width: 14px;
    height: 14px;
}

.offer-item.offer-featured .offer-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.offer-item.offer-featured h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offer-item.offer-featured p {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* CTA Button in Featured Offer */
.offer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--dark-red);
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
}

.offer-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.offer-cta:hover {
    background: var(--off-white);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.offer-cta:hover svg {
    transform: translateX(4px);
}

/* Secondary Offers Stack */
.offers-secondary {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
}

.offers-secondary .offer-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 1.5rem;
}

.offers-secondary .offer-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.offers-secondary .offer-item p {
    font-size: 0.9rem;
    margin: 0;
}

.offers-secondary .offer-badge {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 850px) {
    .offers-featured-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .offers-secondary {
        flex-direction: row;
    }

    .offers-secondary .offer-item {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .offers-secondary {
        flex-direction: column;
    }

    .offer-item.offer-featured {
        padding: 2rem 1.5rem;
    }

    .offer-item.offer-featured h3 {
        font-size: 2rem;
    }

    .offer-featured-badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 1rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .offer-item.offer-featured,
    .offer-cta {
        transition: none;
    }
}

/* =================================================================
   What's Included - Card with Checklist
   ================================================================= */

.included-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(86, 67, 154, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.included-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.included-card:hover {
    box-shadow: 0 8px 30px rgba(86, 67, 154, 0.12);
    border-color: rgba(86, 67, 154, 0.2);
}

.included-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--off-white);
}

.included-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.included-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.included-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 0.25rem 0;
}

.included-card-header p {
    font-size: 0.95rem;
    color: var(--light-purple);
    margin: 0;
}

.included-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    transition: color 0.2s ease;
}

.included-check-item svg {
    width: 22px;
    height: 22px;
    color: var(--purple);
    flex-shrink: 0;
    stroke-width: 2.5;
}

.included-check-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-blue);
    transition: color 0.2s ease;
}

.included-check-item:hover span {
    color: var(--purple);
}

/* Responsive */
@media (max-width: 650px) {
    .included-card {
        padding: 1.75rem;
    }

    .included-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .included-checklist {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .included-check-item span {
        font-size: 0.95rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .included-card,
    .included-check-item {
        transition: none;
    }
}

/* =================================================================
   Privacy Policy Page
   ================================================================= */

.privacy-content {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.privacy-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    align-items: start;
}

/* Table of Contents Sidebar */
.privacy-toc {
    position: sticky;
    top: calc(var(--header-height-scrolled) + 2rem);
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 1.75rem;
    border: 1px solid rgba(86, 67, 154, 0.1);
    box-shadow: 0 4px 20px rgba(86, 67, 154, 0.06);
}

.privacy-toc h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--off-white);
}

.privacy-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.privacy-toc ol li {
    counter-increment: toc-counter;
}

.privacy-toc ol li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

.privacy-toc ol li a::before {
    content: counter(toc-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(86, 67, 154, 0.08);
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.privacy-toc ol li a:hover {
    background: rgba(86, 67, 154, 0.06);
    color: var(--purple);
}

.privacy-toc ol li a:hover::before {
    background: var(--purple);
    color: var(--white);
}

/* Privacy Body */
.privacy-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.privacy-effective-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--white);
    border: 1px solid rgba(86, 67, 154, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple);
}

.privacy-effective-date svg {
    width: 18px;
    height: 18px;
}

/* Privacy Sections */
.privacy-section {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 2rem 2.5rem;
    border: 1px solid rgba(86, 67, 154, 0.08);
    box-shadow: 0 2px 12px rgba(86, 67, 154, 0.04);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.privacy-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.privacy-section:hover {
    border-color: rgba(86, 67, 154, 0.15);
    box-shadow: 0 6px 24px rgba(86, 67, 154, 0.08);
}

.privacy-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 1.25rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--off-white);
}

.privacy-section h2 svg {
    width: 24px;
    height: 24px;
    color: var(--purple);
    flex-shrink: 0;
}

.privacy-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
    margin: 1.5rem 0 0.75rem 0;
}

.privacy-section h3:first-of-type {
    margin-top: 0.75rem;
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-blue);
    margin: 0 0 0.75rem 0;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-section ul:last-child {
    margin-bottom: 0;
}

.privacy-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(86, 67, 154, 0.03);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-blue);
    transition: background 0.2s ease;
}

.privacy-section ul li:hover {
    background: rgba(86, 67, 154, 0.06);
}

.privacy-section ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.privacy-section ul li strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.privacy-section a {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(86, 67, 154, 0.3);
    transition: all 0.2s ease;
}

.privacy-section a:hover {
    color: var(--dark-red);
    border-bottom-color: var(--dark-red);
}

/* Footer legal link */
.footer-legal-link {
    color: rgba(224, 225, 221, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    margin-top: 0.5rem;
    display: inline-block;
}

.footer-legal-link:hover {
    color: var(--gold);
}

/* Responsive Privacy Page */
@media (max-width: 1024px) {
    .privacy-wrapper {
        grid-template-columns: 240px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .privacy-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .privacy-toc {
        position: static;
        order: -1;
    }

    .privacy-toc ol {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.25rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .privacy-toc ol {
        grid-template-columns: 1fr;
    }

    .privacy-section {
        padding: 1.25rem;
    }

    .privacy-section h2 {
        font-size: 1.1rem;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 0.9rem;
    }
}

/* Print support for privacy page */
@media print {
    .privacy-toc {
        display: none;
    }

    .privacy-wrapper {
        display: block;
    }

    .privacy-section {
        page-break-inside: avoid;
        border: 1px solid #ccc !important;
        margin-bottom: 1rem;
    }
}

/* Reduced motion support for privacy page */
@media (prefers-reduced-motion: reduce) {
    .privacy-section {
        transition: none;
    }
}
