/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--esh-nav-height);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--esh-white);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--esh-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--esh-white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: var(--esh-font);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--esh-transition);
}

.btn-primary {
    background: var(--esh-primary);
    color: var(--esh-white);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    background: var(--esh-primary-dark);
    color: var(--esh-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--esh-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--esh-primary);
    color: var(--esh-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Announcement bar */
.announcement {
    background: linear-gradient(90deg, var(--esh-primary-dark), var(--esh-primary));
    color: white;
    text-align: center;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: var(--esh-nav-height);
}

.announcement strong {
    font-weight: 700;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--esh-dark) 0%, #134e4a 40%, var(--esh-dark-soft) 100%);
    color: var(--esh-white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--esh-primary);
    color: #6ee7b7;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff 0%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-mock {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--esh-radius-xl);
    padding: 24px;
    box-shadow: var(--esh-shadow-xl);
}

.mock-dashboard {
    background: var(--esh-white);
    border-radius: var(--esh-radius-lg);
    overflow: hidden;
}

.mock-dash-header {
    background: var(--esh-dark);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.mock-dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--esh-gray-400);
}

.mock-dash-dot:first-child { background: #ef4444; }
.mock-dash-dot:nth-child(2) { background: #f59e0b; }
.mock-dash-dot:nth-child(3) { background: #10b981; }

.mock-dash-body {
    padding: 20px;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mock-stat {
    background: var(--esh-gray-50);
    border-radius: var(--esh-radius-md);
    padding: 12px;
    text-align: center;
}

.mock-stat-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--esh-primary);
}

.mock-stat-label {
    font-size: 0.65rem;
    color: var(--esh-gray-500);
}

.mock-chart {
    height: 80px;
    background: linear-gradient(180deg, var(--esh-primary-light), transparent);
    border-radius: var(--esh-radius-md);
    position: relative;
}

.mock-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 60%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60'%3E%3Cpath d='M0 50 L30 35 L60 40 L90 20 L120 25 L150 10 L180 15 L200 5' fill='none' stroke='%2310b981' stroke-width='2'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
}

/* Stats strip */
.stats-strip {
    background: var(--esh-white);
    border-bottom: 1px solid var(--esh-gray-200);
    padding: 32px 0;
}

.stats-strip .container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.strip-stat {
    text-align: center;
}

.strip-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--esh-primary);
    line-height: 1;
}

.strip-stat-label {
    font-size: 0.85rem;
    color: var(--esh-gray-600);
    margin-top: 4px;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--esh-white);
    border: 1px solid var(--esh-gray-200);
    border-radius: var(--esh-radius-xl);
    padding: 28px;
    transition: var(--esh-transition);
    border-right: 4px solid transparent;
}

.feature-card:hover {
    border-right-color: var(--esh-primary);
    box-shadow: var(--esh-shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--esh-primary-light);
    border-radius: var(--esh-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--esh-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--esh-gray-600);
    line-height: 1.7;
}

/* Spotlight v1.5 */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.spotlight-card {
    background: var(--esh-white);
    border-radius: var(--esh-radius-xl);
    overflow: hidden;
    box-shadow: var(--esh-shadow-md);
    border: 1px solid var(--esh-gray-200);
}

.spotlight-card-header {
    background: linear-gradient(135deg, var(--esh-primary-light), #f0f9ff);
    padding: 24px 28px;
    border-bottom: 1px solid var(--esh-gray-200);
}

.spotlight-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--esh-dark);
    margin-bottom: 6px;
}

.spotlight-card-header p {
    font-size: 0.85rem;
    color: var(--esh-gray-600);
}

.spotlight-card-body {
    padding: 24px 28px;
}

.spotlight-mock {
    background: var(--esh-gray-50);
    border-radius: var(--esh-radius-md);
    padding: 20px;
    min-height: 120px;
}

.spotlight-mock-paywall {
    border: 2px dashed var(--esh-primary);
    border-radius: var(--esh-radius-md);
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, #ecfdf5, #fff);
}

.spotlight-mock-tree {
    font-size: 0.85rem;
}

.tree-item {
    padding: 6px 0;
    padding-right: 20px;
    border-right: 2px solid var(--esh-primary-light);
    margin-right: 8px;
}

.tree-item.checked::before {
    content: '✓ ';
    color: var(--esh-primary);
    font-weight: 700;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--esh-white);
    border-radius: var(--esh-radius-xl);
    box-shadow: var(--esh-shadow-md);
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: var(--esh-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--esh-dark);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--esh-gray-600);
}

/* Shortcodes tabs */
.shortcodes-wrap {
    background: var(--esh-white);
    border-radius: var(--esh-radius-xl);
    box-shadow: var(--esh-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--esh-gray-200);
}

.shortcode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 16px 16px 0;
    background: var(--esh-gray-50);
    border-bottom: 1px solid var(--esh-gray-200);
}

.shortcode-tab {
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-family: var(--esh-font);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--esh-gray-600);
    cursor: pointer;
    border-radius: var(--esh-radius-md) var(--esh-radius-md) 0 0;
    transition: var(--esh-transition);
}

.shortcode-tab.active {
    background: var(--esh-white);
    color: var(--esh-primary-dark);
    font-weight: 600;
}

.shortcode-panel {
    display: none;
    padding: 28px;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.shortcode-panel.active {
    display: grid;
}

.shortcode-code {
    background: var(--esh-dark);
    color: #a7f3d0;
    padding: 20px;
    border-radius: var(--esh-radius-md);
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
}

.shortcode-preview {
    background: var(--esh-gray-50);
    border-radius: var(--esh-radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.preview-badge {
    background: var(--esh-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.preview-plans {
    display: flex;
    gap: 12px;
}

.preview-plan {
    background: white;
    border: 2px solid var(--esh-gray-200);
    border-radius: var(--esh-radius-md);
    padding: 16px;
    text-align: center;
    min-width: 100px;
}

.preview-plan.featured {
    border-color: var(--esh-primary);
    transform: scale(1.05);
}

/* Admin mock */
.admin-mock {
    background: var(--esh-white);
    border-radius: var(--esh-radius-xl);
    box-shadow: var(--esh-shadow-xl);
    overflow: hidden;
    border: 1px solid var(--esh-gray-200);
}

.admin-mock-sidebar {
    background: var(--esh-dark);
    padding: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-mock-menu {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: var(--esh-radius-sm);
}

.admin-mock-menu.active {
    background: var(--esh-primary);
    color: white;
}

.admin-mock-content {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.admin-stat-card {
    background: var(--esh-gray-50);
    border-radius: var(--esh-radius-md);
    padding: 16px;
    text-align: center;
}

.admin-stat-card .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--esh-primary);
}

.admin-stat-card .label {
    font-size: 0.75rem;
    color: var(--esh-gray-500);
}

/* Integrations */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integration-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--esh-radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--esh-transition);
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--esh-primary);
}

.integration-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.integration-card h4 {
    font-size: 0.95rem;
    color: var(--esh-white);
    margin-bottom: 6px;
}

.integration-card p {
    font-size: 0.8rem;
    color: var(--esh-gray-400);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--esh-gray-200);
}

.timeline-item {
    position: relative;
    padding-right: 56px;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: 14px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--esh-primary);
    border: 3px solid var(--esh-white);
    box-shadow: var(--esh-shadow-sm);
}

.timeline-item:first-child::before {
    width: 18px;
    height: 18px;
    right: 12px;
    background: var(--esh-primary);
    box-shadow: 0 0 0 4px var(--esh-primary-light);
}

.timeline-version {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--esh-primary);
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 1rem;
    color: var(--esh-dark);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.85rem;
    color: var(--esh-gray-600);
}

.timeline-list {
    margin: 8px 0 0;
    padding-right: 18px;
    list-style: disc;
}

.timeline-list li {
    font-size: 0.85rem;
    color: var(--esh-gray-600);
    line-height: 1.7;
    margin-bottom: 4px;
}

/* Comparison */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--esh-white);
    border-radius: var(--esh-radius-xl);
    overflow: hidden;
    box-shadow: var(--esh-shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: right;
    border-bottom: 1px solid var(--esh-gray-200);
}

.comparison-table th {
    background: var(--esh-dark);
    color: var(--esh-white);
    font-weight: 600;
}

.comparison-table th:first-child {
    background: var(--esh-gray-700);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .yes {
    color: var(--esh-primary);
    font-weight: 700;
}

.comparison-table .no {
    color: var(--esh-gray-400);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--esh-gray-200);
    border-radius: var(--esh-radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--esh-white);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--esh-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--esh-dark);
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--esh-transition);
}

.faq-question:hover {
    background: var(--esh-gray-50);
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--esh-primary);
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--esh-gray-600);
    line-height: 1.8;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--esh-dark) 0%, #134e4a 100%);
    color: var(--esh-white);
    text-align: center;
    padding: 80px 0;
}

.footer-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-cta p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--esh-primary);
}

.footer-copy {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

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

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

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-mock {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--esh-nav-height);
        right: 0;
        left: 0;
        background: var(--esh-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .features-grid,
    .spotlight-grid,
    .steps,
    .shortcode-panel.active {
        grid-template-columns: 1fr;
    }

    .mock-stats,
    .admin-mock-content {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
}
