/* ========================================
   LANDING PAGE SPECIFIC STYLES
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -300px;
    left: 10%;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-light);
    bottom: -200px;
    right: 10%;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-demo {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-icon {
    color: var(--success);
    font-size: 1.25rem;
}

/* ========================================
   QUICK START SECTION - FIXED
   ======================================== */
.quick-start {
    padding: 4rem 0;
    background: var(--bg);
}

.quickstart-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.quickstart-step {
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 1rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.quickstart-step h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.quickstart-step a {
    margin-top: 1rem;
}

.code-block-compact {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block-compact pre {
    margin: 0;
    color: var(--success);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========================================
   INSTALLATION TABS - FIXED
   ======================================== */
.installation-tabs {
    margin-top: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.tab-btn:hover {
    background: rgba(168, 85, 247, 0.05);
}

.tab-btn.active {
    color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
    border-bottom: 2px solid var(--accent);
    margin-bottom: -1px;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane .code-block {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.tab-pane .code-block code {
    color: var(--success);
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.installation-tabs a {
    margin-top: 1rem;
}

/* ========================================
   STYLES SHOWCASE
   ======================================== */
.styles-showcase {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

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

.style-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.style-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.style-preview {
    padding: 1.5rem 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.style-info {
    padding: 1rem 1.5rem;
    text-align: center;
}

.style-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-size: 1.1rem;
}

.style-info code {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--bg);
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison {
    background: var(--bg);
    padding: 6rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: var(--text-muted);
}

.comparison-table th.highlight {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.comparison-table td.highlight {
    background: rgba(168, 85, 247, 0.05);
    color: var(--text);
    font-weight: 500;
}

/* ========================================
   USE CASES
   ======================================== */
.use-cases {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

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

.use-case-card {
    padding: 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.use-case-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.use-case-card li {
    padding: 0.25rem 0 0.25rem 1.5rem;
    position: relative;
}

.use-case-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ========================================
   INTEGRATION SECTION
   ======================================== */
.integration {
    background: var(--bg);
    padding: 6rem 0;
}

.integration-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.logo-item i {
    font-size: 3rem;
    color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(168, 85, 247, 0.05));
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border: 2px solid var(--accent);
    border-radius: 1.5rem;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-stats .stat i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ============================================
   THEME DETECTION SECTION
   ============================================ */
.theme-detection {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.theme-demo-card {
    padding: 2.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.theme-demo-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.theme-preview {
    text-align: center;
}

.theme-preview h4 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: var(--text);
}

.theme-preview p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.theme-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.theme-feature:hover {
    border-color: var(--accent);
}

.theme-feature i {
    color: var(--accent);
    font-size: 1.2rem;
}

.theme-feature span {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .theme-demo-grid {
        grid-template-columns: 1fr;
    }

    .theme-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .use-case-grid {
        grid-template-columns: 1fr;
    }
}