/* ===== iLander Subpage Styles ===== */

/* Hero */
.sb-hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(14, 165, 233, 0.1) 50%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.sb-hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.sb-hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sb-hero-content {
    max-width: 600px;
    flex: 1;
}

.sb-hero-video {
    flex-shrink: 0;
}

.sb-device-frame {
    width: 280px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 6px solid #1a1a1a;
    background: #000;
}

.sb-device-frame video,
.sb-device-frame img {
    width: 100%;
    display: block;
}

.sb-app-icon {
    margin-bottom: 20px;
}

.sb-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #38bdf8, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sb-tagline {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.sb-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light-gray);
    margin-bottom: 28px;
}

.sb-rating {
    color: #fbbf24;
    font-weight: 600;
}

.sb-separator {
    opacity: 0.4;
}

.sb-download-btn {
    font-size: 0.95rem;
    padding: 14px 28px;
    gap: 10px;
    display: inline-flex;
}

.sb-legal-links {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-legal-links a {
    color: var(--text-light-gray);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.sb-legal-links a:hover {
    color: var(--text-white);
}

/* Sections */
.sb-section {
    padding: 80px 0;
}

.sb-section--alt {
    background: var(--bg-secondary);
}

/* Feature Rows — alternating screenshot + text */
.sb-feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sb-feature-row--reverse {
    flex-direction: row-reverse;
}

.sb-feature-text {
    flex: 1;
}

.sb-feature-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.sb-feature-text p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.sb-feature-screenshot {
    flex-shrink: 0;
}

.sb-screenshot-frame {
    width: 260px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    border: 5px solid #1a1a1a;
    background: #000;
}

.sb-screenshot-frame img {
    width: 100%;
    display: block;
}

.sb-section--highlight {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    text-align: center;
}

.sb-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.sb-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.sb-section-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.sb-section--highlight .sb-section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* CTA Row */
.sb-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* App Details Grid */
.sb-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.sb-detail {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.sb-detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.sb-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Legal Pages */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.legal-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text-light-gray);
}

.legal-content p {
    color: var(--text-gray);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.legal-content ul {
    color: var(--text-gray);
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: #fbbf24;
}

/* Responsive */
@media (max-width: 768px) {
    .sb-hero-split {
        flex-direction: column;
        text-align: center;
    }

    .sb-hero-content {
        max-width: 100%;
    }

    .sb-device-frame {
        width: 220px;
        margin: 0 auto;
    }

    .sb-title {
        font-size: 2.2rem;
    }

    .sb-feature-row,
    .sb-feature-row--reverse {
        flex-direction: column;
        text-align: center;
    }

    .sb-screenshot-frame {
        width: 220px;
        margin: 0 auto;
    }

    .sb-feature-text h2 {
        font-size: 1.5rem;
    }

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

    .sb-section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .sb-title {
        font-size: 1.8rem;
    }

    .sb-details-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .sb-download-btn {
        width: 100%;
        justify-content: center;
    }
}
