/* Modern Contractor License Exam Platform - Enhanced Design System */

:root {
    /* Primary Colors - Vibrant & Professional */
    --primary-teal: #14b8a6;
    --deep-teal: #0d9488;
    --soft-blue: #06b6d4;
    --navy-blue: #1e40af;
    --sage-green: #84cc16;
    --warm-coral: #f43f5e;
    --soft-purple: #8b5cf6;
    --bright-orange: #f97316;
    
    /* Neutral Colors */
    --cream-white: #fefce8;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    
    /* Status Colors */
    --success-green: #10b981;
    --error-red: #ef4444;
    --warning-orange: #f59e0b;
    
    /* Link Colors - High Contrast */
    --link-blue: #2563eb;
    --link-hover: #1d4ed8;
    --link-visited: #7c3aed;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--light-gray) 100%);
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--navy-blue) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.header h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.header .subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Content */
main {
    padding: 2rem 0;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.section.active {
    display: block;
}

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

/* Card Styles */
.card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-teal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.purchase-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.price {
    font-size: 3rem;
    color: var(--deep-teal);
    font-weight: bold;
    margin: 1rem 0;
}

.price-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn,
.purchase-btn {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--primary-teal) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
}

.btn:hover,
.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.4);
}

.btn:active,
.purchase-btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-light);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Exam Interface */
.exam-header {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--deep-teal);
}

.timer.warning {
    color: var(--warning-orange);
    animation: pulse 1s infinite;
}

.timer.overtime {
    color: var(--error-red);
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.progress-item {
    font-weight: 600;
    color: var(--text-dark);
}

/* Question Card */
.question-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-teal);
}

.question-number {
    color: var(--deep-teal);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Options */
.options {
    list-style: none;
    padding: 0;
}

.option {
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: white;
}

.option:hover {
    border-color: var(--primary-teal);
    background: var(--cream-white);
    transform: translateX(5px);
}

.option.selected {
    border-color: var(--deep-teal);
    background: var(--soft-blue);
    color: var(--navy-blue);
    font-weight: 600;
}

.option input[type="radio"] {
    margin-right: 1rem;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.option label {
    cursor: pointer;
    flex: 1;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-btn.primary {
    background: var(--deep-teal);
    color: white;
}

.nav-btn.secondary {
    background: var(--light-gray);
    color: var(--text-dark);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.score-display {
    text-align: center;
    margin-bottom: 3rem;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.score-pass {
    background: linear-gradient(135deg, var(--success-green) 0%, var(--sage-green) 100%);
}

.score-fail {
    background: linear-gradient(135deg, var(--error-red) 0%, var(--warm-coral) 100%);
}

.score-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.score-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--light-gray);
}

.score-item.correct {
    background: linear-gradient(135deg, var(--success-green) 20%, var(--light-gray) 100%);
}

.score-item.incorrect {
    background: linear-gradient(135deg, var(--error-red) 20%, var(--light-gray) 100%);
}

.score-item.unanswered {
    background: linear-gradient(135deg, var(--warning-orange) 20%, var(--light-gray) 100%);
}

.score-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
}

/* Answer Review */
.answer-review {
    margin-top: 3rem;
}

.answer-item {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--text-light);
}

.answer-item.correct {
    border-left-color: var(--success-green);
}

.answer-item.incorrect {
    border-left-color: var(--error-red);
}

.answer-item.unanswered {
    border-left-color: var(--warning-orange);
}

.answer-explanation {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.code-reference {
    background: var(--navy-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Features List */
.features-list {
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
}

.features-list li:before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* State Selector */
.state-selector {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.state-selector label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.state-selector select {
    background: white;
    border: 2px solid var(--primary-teal);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    min-width: 250px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.state-selector select:hover {
    border-color: var(--sage-green);
    box-shadow: 0 2px 8px rgba(45, 212, 191, 0.3);
}

.state-selector select:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top: 5px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--navy-blue) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Feature Highlight */
.feature-highlight {
    background: linear-gradient(135deg, var(--sage-green) 10%, var(--primary-teal) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-weight: bold;
    text-align: center;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .exam-header {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-info {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .navigation {
        flex-direction: column;
    }

    .nav-btn {
        width: 100%;
    }

    .score-breakdown {
        grid-template-columns: 1fr;
    }

    .question-card {
        padding: 1.5rem;
    }

    .purchase-card {
        padding: 2rem;
    }

    .price {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.2rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .option {
        padding: 0.75rem;
    }

    .score-circle {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.text-success { color: var(--success-green); }
.text-error { color: var(--error-red); }
.text-warning { color: var(--warning-orange); }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Homepage and Hero Section Styles */
.homepage {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1d4ed8 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-with-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    flex: 0 0 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.license-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.license-option {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    border: 2px solid transparent;
}

.license-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.license-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.license-option h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.license-option p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Exam Selection Section */
.exam-selection {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.exam-selection h3 {
    font-size: 2rem;
    color: #1e40af;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.main-state-selector {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.state-dropdown {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #1e40af;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.state-dropdown:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.state-dropdown:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Package Options Section */
.package-options-section {
    margin: 3rem 0;
}

/* Home Page Pricing Package Styles */
.package-options-title {
    font-size: 2.5rem;
    color: #1e40af;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.packages-description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #374151;
}

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

.pricing-package {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.pricing-package.package-selected {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

.pricing-package.featured-home {
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
    border: 3px solid #1e40af;
    transform: scale(1.05);
    position: relative;
}

.package-badge {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.package-badge.single {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.package-badge.three-pack {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    margin-top: 1rem;
}

.package-badge.five-pack {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    margin-top: 1rem;
}

.package-price {
    font-size: 3rem;
    font-weight: 900;
    color: #1e40af;
    text-align: center;
    margin: 1rem 0;
}

.package-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-savings {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #374151;
}

.package-select-btn {
    width: 100%;
    padding: 1rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.3s;
}

.package-select-btn.featured {
    background: #1e40af;
}

.package-select-btn.five-pack {
    background: #7c3aed;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.value-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.selected-package-checkout {
    margin-top: 2rem;
    padding: 2rem;
    background: #f3f4f6;
    border-radius: 12px;
    text-align: center;
}

.checkout-summary {
    margin-bottom: 1.5rem;
}

.checkout-summary h4 {
    font-size: 1.3rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.checkout-price {
    font-size: 2rem;
    font-weight: 900;
    color: #1e40af;
}

.proceed-checkout-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.proceed-checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.proceed-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comprehensive-description {
    text-align: center;
    font-size: 1.5rem;
    color: #1e40af;
    font-weight: 700;
    margin: 3rem 0 2rem;
}

/* Exam Features Highlight */
.exam-features-highlight {
    margin: 3rem 0;
}

.feature-highlight {
    background: #f8fafc;
    border-left: 5px solid #1e40af;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.feature-highlight h4 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-highlight p {
    color: #374151;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-highlight ul {
    list-style: none;
    padding-left: 0;
}

.feature-highlight li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 1.05rem;
}

.feature-with-image {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.feature-image {
    flex: 0 0 300px;
}

/* Sample Question Button */
.sample-question-btn {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sample-question-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.exam-note {
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Blueprint Section */
.blueprint-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.blueprint-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.blueprint-text {
    flex: 1;
}

.blueprint-text h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blueprint-text p {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.8;
}

.blueprint-image {
    flex: 0 0 350px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #3b82f6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-card h4 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Specialized Exams Section */
.specialized-exams {
    background: #f8fafc;
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.specialized-exams h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.specialized-exams > p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.license-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.license-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.license-card .license-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.license-card h4 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.license-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Study Guide Section */
.study-guide {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.study-guide h3 {
    font-size: 2rem;
    color: #1e40af;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.study-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3b82f6;
}

.study-section h4 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.study-section ul {
    list-style: none;
    padding-left: 0;
}

.study-section li {
    padding: 0.5rem 0;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.study-section li:last-child {
    border-bottom: none;
}

/* Construction Showcase */
.construction-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.showcase-item {
    text-align: center;
    padding: 2rem;
}

.showcase-item img {
    margin-bottom: 1rem;
}

.showcase-item h4 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.showcase-item p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
}

.construction-image {
    max-width: 100%;
    height: auto;
}

/* Pricing Section */
.pricing {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.pricing-option {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.pricing-option.featured {
    border: 3px solid #1e40af;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: #1e40af;
    margin: 1rem 0;
}

.price-label {
    font-size: 1.3rem;
    color: #374151;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #374151;
    font-size: 1.05rem;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.purchase-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.featured-btn {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.featured-btn:hover {
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

.savings-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.payment-note {
    text-align: center;
    color: #6b7280;
    margin-top: 2rem;
    font-size: 1rem;
}

/* Sample Modal */
.sample-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-modal.hidden {
    display: none;
}

.sample-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.sample-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.sample-header h3 {
    font-size: 1.8rem;
    color: #1e40af;
    font-weight: 700;
}

.sample-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
}

.sample-close-btn:hover {
    color: #374151;
}

.sample-body {
    color: #374151;
}

.sample-question-section,
.sample-answer-section,
.sample-explanation-section,
.sample-code-reference-section,
.sample-features-highlight {
    margin-bottom: 2rem;
}

.sample-question-section h4,
.sample-answer-section h4,
.sample-explanation-section h4,
.sample-code-reference-section h4,
.sample-features-highlight h4 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sample-options {
    margin: 1.5rem 0;
}

.sample-option {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 4px solid #e5e7eb;
}

.correct-answer {
    background: #dcfce7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    font-size: 1.1rem;
}

.code-note {
    color: #6b7280;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.sample-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.get-full-exam-btn,
.close-sample-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.get-full-exam-btn {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
}

.get-full-exam-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

.close-sample-btn {
    background: #f3f4f6;
    color: #374151;
}

.close-sample-btn:hover {
    background: #e5e7eb;
}

/* Header Navigation */
.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.logo-link {
    color: inherit;
    text-decoration: none;
}

/* Responsive Design for Homepage */
@media (max-width: 992px) {
    .hero-with-image {
        flex-direction: column;
    }
    
    .hero-image {
        flex: 0 0 300px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .license-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-with-image {
        flex-direction: column;
    }
    
    .feature-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .license-options {
        grid-template-columns: 1fr;
    }
    
    .blueprint-content {
        flex-direction: column;
    }
    
    .blueprint-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
    }
}

/* ==================== MODERN DESIGN SYSTEM ==================== */

/* Modern Header with Character */
.modern-header {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--bright-orange);
}

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

.modern-logo a {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.modern-logo a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.modern-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.modern-nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bright-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.modern-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.modern-nav-link:hover::after {
    width: 80%;
}

.modern-nav-link-primary {
    background: var(--bright-orange);
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.modern-nav-link-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

/* Modern Footer with Character */
.modern-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--primary-teal);
    font-family: 'Poppins', sans-serif;
}

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

.footer-section h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Roboto Slab', serif;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--bright-orange);
}

.footer-links a:hover {
    color: var(--primary-teal);
    transform: translateX(10px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -25px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Enhanced Link Styles - High Visibility */
a {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

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

/* Ensure header links stay white */
.modern-header a,
.modern-logo a,
.modern-nav-link,
.modern-nav-link-primary {
    color: white !important;
}

.modern-logo a:visited,
.modern-nav-link:visited {
    color: white !important;
}

.inline-link {
    color: var(--link-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--bright-orange);
    text-underline-offset: 3px;
}

.inline-link:hover {
    color: var(--bright-orange);
}

/* Authentication Pages */
.auth-main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.auth-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.auth-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 25px 70px rgba(20, 184, 166, 0.2);
}

.auth-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-header h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-medium);
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

.form-input {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--medium-gray);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-medium);
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.forgot-link {
    color: var(--link-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-blue) 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.4);
}

.btn-primary-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--medium-gray);
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-redirect {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.auth-link {
    color: var(--link-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--bright-orange);
}

.auth-link:hover {
    color: var(--bright-orange);
}

.auth-message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.auth-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.auth-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.auth-message.hidden {
    display: none;
}

.auth-benefits {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.auth-benefits h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 50%, #fce7f3 100%);
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(20, 184, 166, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefits-list li strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.benefits-list li p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design for Auth Pages */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .modern-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modern-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modern-logo a {
        font-size: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==================== MODERN PRICING PAGE ==================== */

.pricing-page {
    padding: 2rem 0;
}

.pricing-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-hero h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--navy-blue), var(--soft-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.state-selector-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.state-selector-section h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.state-selector-section > p {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.state-selector-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.modern-state-dropdown {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    border: 3px solid var(--medium-gray);
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-state-dropdown:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.modern-exam-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--medium-gray);
}

.modern-exam-details h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.detail-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

.detail-icon {
    font-size: 2.5rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

.detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.single-exam-section {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.exam-package-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border: 3px solid var(--primary-teal);
    position: relative;
    overflow: hidden;
}

.exam-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal), var(--soft-purple), var(--warm-coral));
}

.package-badge-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-blue));
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.badge-icon {
    font-size: 1.5rem;
}

.package-price-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--medium-gray);
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--navy-blue);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.price-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

.package-features-list h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.package-features-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-features-list li {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.package-features-list li:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.package-features-list li span {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.purchase-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-blue) 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
    margin-top: 2rem;
}

.purchase-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.4);
}

.purchase-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.purchase-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 1rem;
    font-style: italic;
}

.trust-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.trust-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.trust-card h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.trust-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--primary-teal);
}

/* Exam Actions (Pause & End Buttons) */
.exam-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pause-exam-btn {
    background: linear-gradient(135deg, var(--warning-orange) 0%, var(--bright-orange) 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pause-exam-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.pause-icon {
    font-size: 1.25rem;
}

.end-exam-btn {
    background: linear-gradient(135deg, var(--error-red) 0%, #dc2626 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.end-exam-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Responsive Pricing Page */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .exam-package-card {
        padding: 2rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .trust-section {
        grid-template-columns: 1fr;
    }
}

/* ==================== PAUSE FEATURE HIGHLIGHT SECTION ==================== */

.pause-feature-highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 50%, #fef3c7 100%);
    padding: 4rem 2rem;
    margin: 3rem 0;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.pause-feature-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--warning-orange), var(--bright-orange));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.25rem;
}

.feature-title {
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
}

.feature-subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.pause-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pause-feature-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.pause-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.15);
    border-color: var(--primary-teal);
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.pause-feature-card h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pause-feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1.05rem;
}

.how-it-works {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.how-it-works h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.step-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-teal);
    font-weight: 700;
    flex-shrink: 0;
}

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

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-blue));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.4);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button-large:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.inline-link-bold {
    color: var(--link-blue);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.inline-link-bold:hover {
    color: var(--link-hover);
}

/* Responsive Design for Pause Feature */
@media (max-width: 992px) {
    .pause-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media (max-width: 768px) {
    .pause-feature-highlight {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }
    
    .feature-title {
        font-size: 2rem;
    }
    
    .feature-subtitle {
        font-size: 1.2rem;
    }
    
    .pause-feature-card {
        padding: 2rem;
    }
    
    .how-it-works {
        padding: 2rem;
    }
    
    .cta-button-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}