/* Symbol Merge Page Specific Styles */

:root {
    --sm-bg-dark: #07111f;
    --sm-bg-dark-soft: #10233f;
    --sm-bg-light: #eef5ff;
    --sm-surface: #ffffff;
    --sm-surface-alt: #f7fbff;
    --sm-border: rgba(47, 109, 232, 0.14);
    --sm-text: #15263f;
    --sm-text-muted: #59708f;
    --sm-text-on-dark: #ffffff;
    --sm-text-on-dark-muted: #b8ccec;
    --sm-accent: #2f6de8;
    --sm-accent-strong: #1752c4;
    --sm-accent-soft: rgba(47, 109, 232, 0.12);
    --sm-shadow: 0 18px 48px rgba(9, 28, 58, 0.12);
}

/* ===========================
   App Hero Section
   =========================== */
.app-hero {
    background:
        radial-gradient(circle at top left, rgba(73, 142, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #07111f 0%, #0b1d34 55%, #12335f 100%);
    padding: 120px 0 88px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.app-hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}

.app-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.app-icon-large {
    flex-shrink: 0;
}

.app-icon-large img {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 22px 48px rgba(18, 51, 95, 0.45);
}

.app-details h1.app-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--sm-text-on-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 1.25rem;
    color: #8fb5f7;
    margin-bottom: 20px;
    font-weight: 500;
}

.app-description {
    font-size: 1.05rem;
    color: var(--sm-text-on-dark-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 580px;
}

.app-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #2f6de8, #4f8dff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(47, 109, 232, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-btn:hover {
    background: linear-gradient(135deg, #1752c4, #2f6de8);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(79, 141, 255, 0.46);
}

/* ===========================
   Shared Section Headings
   =========================== */
.features-section .section-title,
.how-to-play-section h2,
.app-info-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sm-text);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--sm-text-muted);
    font-size: 1.05rem;
    margin-bottom: 50px;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: 84px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: var(--sm-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--sm-border);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(16, 35, 63, 0.16);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 109, 232, 0.14), rgba(79, 141, 255, 0.24));
    color: var(--sm-accent);
    box-shadow: inset 0 0 0 1px rgba(47, 109, 232, 0.08);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sm-text);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--sm-text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ===========================
   How to Play Section
   =========================== */
.how-to-play-section {
    padding: 84px 0;
    background: #ffffff;
}

.how-to-play-section .section-subtitle {
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--sm-surface-alt);
    border-radius: 18px;
    border: 1px solid var(--sm-border);
    box-shadow: 0 12px 30px rgba(9, 28, 58, 0.06);
    position: relative;
}

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2f6de8, #4f8dff);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 22px rgba(47, 109, 232, 0.28);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sm-text);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--sm-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ===========================
   App Info Section
   =========================== */
.app-info-section {
    padding: 84px 0;
    background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
}

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.info-card {
    background: var(--sm-surface);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow);
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sm-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(47, 109, 232, 0.2);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    color: #48607f;
    padding: 7px 0;
    border-bottom: 1px solid rgba(21, 38, 63, 0.06);
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sm-accent);
    font-size: 0.85rem;
    font-weight: bold;
}

/* ===========================
   Bottom CTA strip (match HueStack horizontal buttons)
   =========================== */
.products-cta-strip.huestack-cta-strip > span {
    flex: 1 1 auto;
    min-width: 0;
}

.products-cta-strip.huestack-cta-strip .huestack-cta-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.products-cta-strip.huestack-cta-strip .huestack-cta-actions .btn {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .products-cta-strip.huestack-cta-strip .huestack-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .products-cta-strip.huestack-cta-strip .huestack-cta-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top right, rgba(79, 141, 255, 0.24), transparent 34%),
        linear-gradient(135deg, #07111f 0%, #0d2240 56%, #12335f 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sm-text-on-dark);
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 1.1rem;
    color: var(--sm-text-on-dark-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 24px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cta-features span {
    color: #9fc0ff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===========================
   Privacy Page
   =========================== */
.privacy-page {
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.privacy-content {
    padding: 120px 20px 88px;
}

.privacy-shell {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--sm-border);
    border-radius: 28px;
    box-shadow: var(--sm-shadow);
    padding: 32px 32px 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sm-accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--sm-accent-strong);
}

.privacy-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 0 8px;
    margin-bottom: 36px;
}

.privacy-header-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(18, 51, 95, 0.22);
    flex-shrink: 0;
}

.privacy-header-copy h1 {
    font-size: 2.45rem;
    font-weight: 700;
    color: var(--sm-text);
    margin-bottom: 12px;
}

.privacy-header-copy p {
    color: var(--sm-text-muted);
    font-size: 1rem;
}

.privacy-section {
    margin-bottom: 42px;
}

.privacy-section h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--sm-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(47, 109, 232, 0.16);
}

.privacy-section h3 {
    font-size: 1.18rem;
    font-weight: 600;
    color: #284261;
    margin-top: 28px;
    margin-bottom: 12px;
}

.privacy-section p,
.privacy-section ul,
.privacy-section ol {
    color: #4d6482;
    line-height: 1.8;
    font-size: 1rem;
}

.privacy-section p {
    margin-bottom: 15px;
}

.privacy-section ul,
.privacy-section ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.privacy-section li {
    margin-bottom: 10px;
}

.contact-info {
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    padding: 28px 30px;
    border-radius: 18px;
    margin-top: 20px;
    border: 1px solid rgba(47, 109, 232, 0.14);
    border-left: 4px solid var(--sm-accent);
}

.contact-info h3 {
    margin-top: 0;
    color: var(--sm-text);
}

.contact-info a {
    color: var(--sm-accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Nav Brand Link */
.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-brand a:hover {
    color: var(--sm-accent);
    transition: color 0.3s ease;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .app-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .app-hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .app-details h1.app-title {
        font-size: 2.5rem;
    }

    .app-description {
        max-width: none;
    }

    .app-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .app-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .privacy-content {
        padding: 100px 20px 60px;
    }

    .privacy-shell {
        padding: 24px 20px 8px;
        border-radius: 24px;
    }

    .privacy-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .privacy-header-copy h1 {
        font-size: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.45rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .app-details h1.app-title {
        font-size: 2rem;
    }

    .app-description {
        font-size: 0.98rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .privacy-header-icon {
        width: 76px;
        height: 76px;
    }
}
