/* CME Agent Marketing Site - Shared Styles */
/* Design System: Navy + Sand/Gold Palette */

:root {
    /* Navy Palette */
    --navy-900: #0D1321;
    --navy-700: #1D2A3F;
    --navy-600: #2A3A52;
    /* Sand/Gold Palette */
    --sand-500: #A68B5B;
    --sand-400: #D4C4B0;
    --sand-50: #FDFCFB;
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #C4A574 0%, #A68B5B 50%, #8B7349 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-900);
    color: var(--sand-50);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(13, 19, 33, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(166, 139, 91, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sand-500);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--sand-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--sand-500);
}

.nav-cta {
    background: var(--gold-gradient);
    color: var(--navy-900);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(166, 139, 91, 0.4);
}

/* Section Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section-header p {
    color: var(--sand-400);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Hero */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--sand-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Blocks */
.features-section {
    padding: 4rem 0;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(166, 139, 91, 0.1);
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(166, 139, 91, 0.1);
    color: var(--sand-500);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-badge.gold {
    background: var(--gold-gradient);
    color: var(--navy-900);
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: rgba(253, 252, 251, 0.8);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
}

.feature-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(253, 252, 251, 0.7);
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sand-500);
    font-weight: bold;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-card {
    width: 320px;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card.gold-gradient {
    background: var(--gold-gradient);
    color: var(--navy-900);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.state-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.progress-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.card-stats .stat {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.pill.complete {
    background: rgba(34, 197, 94, 0.3);
}

.pill.warning {
    background: rgba(239, 68, 68, 0.3);
}

.card-footer {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Course Match Card */
.course-match-card {
    background: var(--navy-700);
    border-radius: 16px;
    padding: 1.5rem;
    width: 320px;
    border: 1px solid rgba(166, 139, 91, 0.3);
}

.match-header {
    margin-bottom: 1.5rem;
}

.match-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gold-gradient);
    color: var(--navy-900);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.match-header h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.course-meta {
    color: var(--sand-400);
    font-size: 0.875rem;
}

.covered-label {
    color: var(--sand-400);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.state-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.state-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(166, 139, 91, 0.2);
    color: var(--sand-500);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Alert Card */
.alert-card {
    background: var(--navy-700);
    border-radius: 16px;
    padding: 1.5rem;
    width: 340px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: flex;
    gap: 1rem;
}

.alert-icon {
    font-size: 2rem;
}

.alert-content h4 {
    margin-bottom: 0.5rem;
}

.alert-content p {
    color: var(--sand-400);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

.action-text {
    font-size: 0.875rem;
    color: var(--sand-400);
}

.action-btn {
    padding: 0.5rem 1rem;
    background: var(--gold-gradient);
    color: var(--navy-900);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Scan Demo */
.scan-demo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.scan-before, .scan-after {
    background: var(--navy-700);
    border-radius: 12px;
    padding: 1.5rem;
}

.scan-before {
    text-align: center;
}

.cert-image {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.scan-arrow {
    font-size: 1.5rem;
    color: var(--sand-500);
}

.extracted-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
}

.data-row span {
    color: var(--sand-400);
}

/* Comparison Table */
.comparison-section {
    padding: 6rem 2rem;
    background: var(--navy-700);
}

.comparison-table {
    background: var(--navy-900);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(166, 139, 91, 0.2);
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.table-header {
    background: rgba(166, 139, 91, 0.1);
    font-weight: 600;
}

.table-header .col {
    padding: 1.25rem 1.5rem;
}

.table-row {
    border-top: 1px solid rgba(166, 139, 91, 0.1);
}

.table-row .col {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.col.cme-agent {
    background: rgba(166, 139, 91, 0.05);
}

.check {
    color: #22c55e;
    font-weight: bold;
    font-size: 1.25rem;
}

.x {
    color: #ef4444;
    font-size: 1.25rem;
}

.partial {
    color: var(--sand-400);
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0 6rem;
}

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

.pricing-card {
    background: var(--navy-700);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(166, 139, 91, 0.2);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--sand-500);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--navy-900);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(166, 139, 91, 0.2);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-header .price span {
    font-size: 1rem;
    color: var(--sand-400);
}

.pricing-header .price.gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-description {
    color: var(--sand-400);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(253, 252, 251, 0.8);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sand-500);
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pricing-cta.primary {
    background: var(--gold-gradient);
    color: var(--navy-900);
}

.pricing-cta.secondary {
    background: transparent;
    border: 2px solid var(--sand-500);
    color: var(--sand-500);
}

.pricing-cta:hover {
    transform: translateY(-2px);
}

/* About Page */
.about-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: rgba(253, 252, 251, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.about-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat p {
    color: var(--sand-400);
    margin-top: 0.25rem;
}

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

.value-card {
    background: var(--navy-700);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(166, 139, 91, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(166, 139, 91, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.value-card h3 {
    color: var(--sand-500);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: rgba(253, 252, 251, 0.7);
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: var(--gold-gradient);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--navy-700);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-dark {
    background: var(--navy-900);
    color: var(--sand-50);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 19, 33, 0.4);
}

/* Footer */
footer {
    padding: 4rem 2rem 2rem;
    background: var(--navy-900);
    border-top: 1px solid rgba(166, 139, 91, 0.2);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--sand-400);
    max-width: 300px;
}

.footer-column h4 {
    color: var(--sand-500);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--sand-400);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--sand-500);
}

.footer-column a[aria-disabled="true"] {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(166, 139, 91, 0.1);
    text-align: center;
    color: var(--sand-400);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .feature-block {
        grid-template-columns: 1fr;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .table-header, .table-row {
        min-width: 600px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 19, 33, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem 2rem 2rem;
        gap: 0;
        border-bottom: 1px solid rgba(166, 139, 91, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(166, 139, 91, 0.1);
    }

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

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--sand-500);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Hamburger hidden on desktop */
.hamburger {
    display: none;
}
