/* ── Tips & Tricks Page ─────────────────────────── */
.tips {
    position: relative;
    z-index: 1;
    padding: 72px 0 48px;
}

.tips-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.tips-header {
    margin-bottom: 36px;
}

.tips-header h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 8px;
}

.tips-header p {
    font-size: 15px;
    color: #fff;
    line-height: 1.65;
    max-width: 560px;
}

/* ── Tip Sections ──────────────────────────────── */
.tip-section {
    margin-bottom: 32px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass);
    overflow: hidden;
}

.tip-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.tip-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tip-section-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.tip-section-body {
    padding: 20px;
}

.tip-section-body p {
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 14px;
}

.tip-section-body p:last-child {
    margin-bottom: 0;
}

/* ── Code / Info Blocks ────────────────────────── */
.tip-block {
    margin-bottom: 14px;
}

.tip-block:last-child {
    margin-bottom: 0;
}

.tip-block-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}

.tip-block-content {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.65;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}

.tip-block-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.tip-block-content pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

/* ── Checklist ─────────────────────────────────── */
.tip-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-checklist li {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.tip-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 3px;
}

/* ── Idea Cards Grid ───────────────────────────── */
.tip-ideas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.tip-idea {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    line-height: 1.45;
}

.tip-idea strong {
    color: #fff;
    font-weight: 600;
}

/* ── Bonus Section ─────────────────────────────── */
.tips-bonus {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
}

.tips-bonus h2 {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    margin-bottom: 6px;
}

.tips-bonus > p {
    font-size: 14px;
    color: #fff;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 520px;
}

/* ── CTA ───────────────────────────────────────── */
.tips-cta {
    text-align: center;
    margin-top: 40px;
    padding: 28px 20px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass);
}

.tips-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
}

.tips-cta a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.tips-cta a:hover {
    opacity: 0.85;
}

.app-store-badge {
    height: 44px;
    width: auto;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 820px) {
    .tip-ideas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tips { padding: 60px 0 32px; }
    .tips-header { margin-bottom: 24px; }
    .tip-section-header { padding: 14px 16px; }
    .tip-section-body { padding: 16px; }
    .tip-section-icon { width: 28px; height: 28px; border-radius: 6px; }
    .tip-section-header h2 { font-size: 15px; }
}
