/* OctoPanther — octopanther.com
   Visual language mirrors the Octopus Questions app:
   deep night-blue gradient, coral accent, rounded cards. */

:root {
    --deep-blue: #17244d;
    --deep-blue-dark: #0d1229;
    --coral: #fa7366;
    --coral-bright: #ff8a7d;
    --ocean: #0d858f;
    --lavender: #8c7ade;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.75);
    --text-faint: rgba(255, 255, 255, 0.55);
    --card-surface: rgba(255, 255, 255, 0.07);
    --card-border: rgba(255, 255, 255, 0.14);
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--deep-blue-dark) 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: var(--coral-bright);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */

header {
    padding: 28px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wordmark {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.wordmark:hover {
    text-decoration: none;
}

.wordmark .octo {
    color: var(--coral);
}

nav a {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 22px;
}

/* ---------- Hero ---------- */

.hero {
    text-align: center;
    padding: 56px 0 40px;
}

/* Fanned deck cards, echoing the app's paywall header */
.card-fan {
    position: relative;
    height: 190px;
    margin-bottom: 40px;
}

.fan-card {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 118px;
    height: 150px;
    margin-left: -59px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 6px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.fan-card .icon {
    font-size: 1.6rem;
}

.fan-card.left {
    transform: translateX(-94px) rotate(-10deg);
}

.fan-card.right {
    transform: translateX(94px) rotate(9deg);
}

.fan-card.center {
    transform: translateY(-8px);
    z-index: 2;
}

.card-fan:hover .fan-card.left {
    transform: translateX(-92px) rotate(-13deg);
}

.card-fan:hover .fan-card.right {
    transform: translateX(92px) rotate(12deg);
}

.card-fan:hover .fan-card.center {
    transform: translateY(-16px);
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    max-width: 640px;
    margin: 0 auto 18px;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 32px;
}

.store-badge {
    display: inline-block;
    background: var(--coral);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 36px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(250, 115, 102, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(250, 115, 102, 0.45);
}

.store-note {
    display: block;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-faint);
}

/* ---------- Packs ---------- */

.packs {
    padding: 48px 0;
    text-align: center;
}

.packs h2,
.features h2,
.support h2 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.packs .section-sub,
.features .section-sub {
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto 32px;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.chip-warmup     { background: linear-gradient(135deg, #ffb86b, #fa7a61); }
.chip-couples    { background: linear-gradient(135deg, #f26b85, #b8479e); }
.chip-friends    { background: linear-gradient(135deg, #33a6ad, #1f6b9e); }
.chip-party      { background: linear-gradient(135deg, #9e61eb, #5940bf); }
.chip-girlsnight { background: linear-gradient(135deg, #f570a8, #b34db8); }
.chip-roadtrip   { background: linear-gradient(135deg, #47ad8c, #1f7a85); }
.chip-deeptalks  { background: linear-gradient(135deg, #40529e, #1f2961); }
.chip-afterdark  { background: linear-gradient(135deg, #8c295c, #2e1447); }

/* ---------- Features ---------- */

.features {
    padding: 48px 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.feature {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: left;
}

.feature .emoji {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
}

.feature h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* ---------- Support ---------- */

.support {
    padding: 48px 0 64px;
    text-align: center;
}

.support p {
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 20px;
}

.support-email {
    display: inline-block;
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 600;
    color: var(--text);
}

/* ---------- Legal pages ---------- */

.legal {
    padding: 24px 0 72px;
}

.legal .container {
    max-width: 720px;
}

.legal h1 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.legal .effective {
    color: var(--text-faint);
    font-size: 0.9rem;
    margin-bottom: 36px;
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 34px 0 10px;
}

.legal p,
.legal li {
    color: var(--text-dim);
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 22px;
    margin-bottom: 12px;
}

.legal strong {
    color: var(--text);
}

/* ---------- Footer ---------- */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0 44px;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

footer .copyright {
    color: var(--text-faint);
    font-size: 0.9rem;
}

footer nav a {
    color: var(--text-faint);
    font-size: 0.9rem;
    margin: 0 0 0 18px;
}

@media (max-width: 560px) {
    footer .container {
        flex-direction: column;
    }

    footer nav a {
        margin: 0 9px;
    }
}
