/* Swipe Girls — light dating/crash theme */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f8fafc;
    color: #0b1120;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; margin: 12px 0; }
li { margin-bottom: 6px; }

:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --card-bg: #ffffff;
    --card-border: #eef2f6;
    --muted: #64748b;
    --radius: 24px;
    --nav-offset: 72px;
    --max-width: 1120px;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: inherit;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo img {
    height: 44px;
    width: auto;
    border-radius: 12px;
}
.logo-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: -0.02em;
}
.nav-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-header {
    padding: 10px 18px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.btn-play {
    background: var(--blue);
    color: #fff;
}
.btn-play:hover { background: var(--blue-dark); text-decoration: none; color: #fff; }
.btn-demo-header {
    background: #fce7f3;
    color: var(--pink-dark);
}
.btn-demo-header:hover { background: #fbcfe8; }

.lang-switcher {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 14px 0 4px;
}
.lang-switcher a {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--card-border);
    transition: 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--pink-dark);
    border-color: #fbcfe8;
    background: #fdf2f8;
    text-decoration: none;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: calc(var(--nav-offset) + 32px) 24px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.hero-content { flex: 1 1 300px; }
.hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 1.1rem;
    color: #334155;
    max-width: 540px;
    margin-bottom: 8px;
}
.hero-image {
    flex: 1 1 280px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef2f6;
    min-height: 220px;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}
.hero-btn-play {
    background: var(--blue);
    color: #fff;
}
.hero-btn-play:hover { background: var(--blue-dark); transform: scale(1.02); text-decoration: none; color: #fff; }
.hero-btn-demo {
    background: #e2e8f0;
    color: #1e293b;
}
.hero-btn-demo:hover { background: #cbd5e1; }

.rating-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.stars {
    display: flex;
    gap: 4px;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.stars span {
    color: #cbd5e1;
    transition: 0.15s;
    user-select: none;
}
.stars span.active,
.stars span.hover { color: #fbbf24; }
.rating-text { font-size: 14px; color: var(--muted); }
.rating-aggregate { font-size: 14px; font-weight: 600; color: #334155; }

.breadcrumbs {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.5; }

.toc {
    background: #f1f5f9;
    padding: 20px 28px;
    border-radius: 20px;
    margin-bottom: 32px;
}
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 8px;
}
.toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc ul li a {
    color: #1e293b;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}
.toc ul li a:hover {
    border-bottom-color: var(--blue);
    text-decoration: none;
}
.toc.collapsed ul { display: none; }

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 24px -8px rgba(0,0,0,0.06);
}
.card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    padding-top: 0;
    border-top: none;
}
.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 24px 0 10px;
}
.card p { margin-bottom: 12px; color: #334155; }

.badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e4f8a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 40px;
    vertical-align: middle;
}

.table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}
.block-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.block-table th {
    background: #f1f5f9;
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
}
.block-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--card-border);
}
.block-table tr:nth-child(even) td { background: #fafbfc; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.stat-item {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}
.stat-item .number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pink-dark);
}
.stat-item .label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

.screenshot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}
.screenshot-row img {
    flex: 1 1 200px;
    max-width: 32%;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 16px 0;
}
.pros-box, .cons-box {
    padding: 20px;
    border-radius: 16px;
}
.pros-box { background: #ecfdf5; border: 1px solid #a7f3d0; }
.cons-box { background: #fef2f2; border: 1px solid #fecaca; }
.pros-box h4 { color: #059669; margin-bottom: 10px; }
.cons-box h4 { color: #dc2626; margin-bottom: 10px; }

.btn-inline {
    display: inline-block;
    padding: 12px 24px;
    background: var(--pink);
    color: #fff;
    border-radius: 60px;
    font-weight: 600;
    margin-top: 8px;
}
.btn-inline:hover { background: var(--pink-dark); text-decoration: none; color: #fff; }

.faq-item { border-bottom: 1px solid var(--card-border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}
.faq-question .toggle {
    font-size: 1.4rem;
    color: var(--pink);
    user-select: none;
}
.faq-answer {
    margin-top: 10px;
    color: #334155;
    display: none;
}
.faq-answer.open { display: block; }

.demo-embed-cta {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #fdf2f8, #eff6ff);
    border: 1px solid #fbcfe8;
    border-radius: var(--radius);
    margin: 24px 0;
}
.demo-embed-cta h2 { margin-bottom: 12px; }

.demo-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    max-height: 640px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #0b1120;
    margin: 20px 0;
    box-shadow: 0 24px 48px -12px rgba(0,0,0,0.15);
}
.demo-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,17,32,0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal-box {
    position: relative;
    width: min(96vw, 900px);
    height: min(90vh, 700px);
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.modal-box iframe { width: 100%; height: 100%; border: none; }
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-family: inherit;
}

.footer {
    margin-top: 48px;
    padding: 32px 24px;
    border-top: 1px solid var(--card-border);
    text-align: center;
    background: #fff;
}
.footer .brand { font-weight: 700; color: var(--pink); margin-bottom: 8px; }
.footer .dev-link { font-size: 14px; margin: 8px 0; }
.footer .copy { font-size: 13px; color: var(--muted); margin-top: 12px; }
.footer .disclaimer {
    font-size: 12px;
    color: var(--muted);
    max-width: 680px;
    margin: 10px auto 0;
    line-height: 1.6;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.footer-nav a { font-size: 14px; font-weight: 500; color: #334155; }
.footer-nav a.active { color: var(--pink-dark); font-weight: 600; }

blockquote {
    border-left: 4px solid var(--pink);
    padding: 12px 20px;
    margin: 16px 0;
    background: #fdf2f8;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #334155;
}

@media (max-width: 768px) {
    :root { --nav-offset: 120px; }
    header { flex-wrap: wrap; justify-content: center; }
    .nav-buttons { width: 100%; justify-content: center; }
    .hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-offset) + 16px); }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .rating-block { justify-content: center; }
    .pros-cons { grid-template-columns: 1fr; }
    .screenshot-row img { max-width: 100%; flex: 1 1 100%; }
    .card { padding: 20px 16px; }
}
