/*
 * Escala tipográfica base:
 * - body: Inter, 16px, regular
 * - h1 hero: Sora, 700, clamp(2.9rem, 5vw, 5.1rem)
 * - h2: Sora, 700, clamp(2rem, 3vw, 3rem)
 * - h3 cards: Sora, 600, 1.5rem
 * - nav: Inter, 500, 0.95rem
 */

:root {
    --bg-base: #0b1117;
    --bg-panel: #101a22;
    --bg-panel-soft: rgba(17, 23, 31, 0.8);
    --bg-soft: #121f2a;
    --bg-card: rgba(16, 25, 34, 0.9);
    --bg-card-2: rgba(21, 31, 42, 0.88);
    --text-main: #f5f7fa;
    --text-soft: #b7c4d1;
    --text-soft-strong: #c9d3dd;
    --text-muted: #7f8ca6;
    --line: rgba(255, 255, 255, 0.08);
    --gold: #d7b46a;
    --gold-soft: rgba(215, 180, 106, 0.18);
    --green: #8ae6b5;
    --green-deep: #66d79a;
    --purple: #8b5cf6;
    --purple-soft: rgba(139, 92, 246, 0.14);
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 18px 42px rgba(2, 6, 23, 0.24);
    --shadow-card: 0 22px 48px rgba(2, 6, 23, 0.26), 0 10px 20px rgba(139, 92, 246, 0.08);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

body.light-mode {
    --bg-base: #e6e1d3;
    --bg-panel: #efece1;
    --bg-panel-soft: rgba(230, 225, 211, 0.8);
    --bg-soft: #f2f0e6;
    --bg-card: rgba(255, 253, 248, 0.92);
    --bg-card-2: rgba(242, 239, 230, 0.92);
    --text-main: #2b2115;
    --text-soft: #5c4a38;
    --text-soft-strong: #3f3222;
    --text-muted: #8a7a68;
    --line: rgba(43, 33, 21, 0.1);
    --gold: #995f34;
    --gold-soft: rgba(153, 95, 52, 0.16);
    --green: #2f9e63;
    --green-deep: #1f7a4d;
    --purple: #c96b78;
    --purple-soft: rgba(252, 172, 180, 0.22);
    --shadow: 0 24px 50px rgba(43, 33, 21, 0.14);
    --shadow-soft: 0 18px 42px rgba(43, 33, 21, 0.1);
    --shadow-card: 0 22px 48px rgba(43, 33, 21, 0.12), 0 10px 20px rgba(153, 95, 52, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 24%),
        radial-gradient(circle at 80% 10%, rgba(138, 230, 181, 0.12), transparent 18%),
        linear-gradient(180deg, #070b10 0%, #0b1117 100%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    isolation: isolate;
}

body.light-mode {
    background: var(--bg-base);
}

body::before {
    content: "";
    position: fixed;
    inset: -10% auto auto -12%;
    width: 38vw;
    height: 38vw;
    background: radial-gradient(circle, rgba(215, 180, 106, 0.26), transparent 62%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    display: block;
}

button,
a {
    font: inherit;
}

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

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 20px 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-panel-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft), inset 0 1px 0 var(--line);
    position: sticky;
    top: 18px;
    z-index: 20;
}

.brand-wrap {
    flex: 0 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(215, 180, 106, 0.12));
}

.footer-studio-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 18px rgba(215, 180, 106, 0.12));
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    white-space: nowrap;
}

.main-nav a {
    color: var(--text-soft-strong);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    opacity: 0.88;
}

.main-nav a:hover {
    color: var(--text-main);
}

.main-nav a.active {
    color: var(--gold);
    opacity: 1;
    position: relative;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    border-radius: 999px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    background: var(--bg-card-2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.toggle-icon {
    display: none;
    width: 20px;
    height: 20px;
}

body:not(.light-mode) .toggle-icon-sun {
    display: block;
}

body.light-mode .toggle-icon-moon {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.9rem 1.45rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(215, 180, 106, 0.1);
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f5f3ff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 8px;
}

body.light-mode .beta-badge {
    background: var(--purple-soft);
    border-color: var(--purple-soft);
    color: var(--purple);
}

.main-content {
    width: min(1180px, 100%);
    margin: 42px auto 0;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding-top: 12px;
}

.hero::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -12%;
    width: 48%;
    height: 72%;
    background: radial-gradient(circle, rgba(215, 180, 106, 0.28), rgba(215, 180, 106, 0.06) 30%, transparent 68%);
    filter: blur(52px);
    pointer-events: none;
    z-index: 0;
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--purple-soft);
    background: var(--bg-panel-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--purple);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 var(--line), var(--shadow-soft);
}

.eyebrow-small {
    letter-spacing: 0.12em;
}

.hero h1 {
    margin-top: 24px;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(2.9rem, 5vw, 5.1rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.96;
    background: linear-gradient(90deg, #f7d98d 0%, #d7b46a 38%, #f1dfad 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    max-width: 700px;
    text-shadow: 0 12px 42px rgba(215, 180, 106, 0.16);
}

.lead {
    margin-top: 22px;
    max-width: 620px;
    color: var(--text-soft-strong);
    font-size: 1.08rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-download {
    border: 1px solid rgba(139, 92, 246, 0.8);
    color: #f5f3ff;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 18px 30px rgba(124, 58, 237, 0.34);
    min-width: 220px;
    padding-block: 1.05rem;
    font-size: 1.04rem;
}

.btn-secondary {
    border: 1px solid var(--line);
    color: var(--text-main);
    background: transparent;
}

.btn-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.social-proof {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-panel-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.72rem 0.95rem;
    color: var(--text-soft-strong);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 var(--line);
}

.rating-pill .icon {
    color: var(--gold);
    font-size: 1rem;
}

.users-pill {
    padding-right: 1.05rem;
}

.avatars {
    display: flex;
    align-items: center;
    margin-right: 6px;
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    border: 2px solid var(--bg-base);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-one { background: #d4b17a; color: #111827; }
.avatar-two { background: #9ae6b4; color: #111827; }
.avatar-three { background: #d7c9ff; color: #111827; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
}

.visual-frame::before {
    content: "";
    position: absolute;
    inset: auto auto -12% -12%;
    width: 52%;
    height: 52%;
    background: radial-gradient(circle, rgba(154, 230, 180, 0.18), transparent 60%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

.visual-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 620px;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

.floating-tag {
    position: absolute;
    right: 24px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.feature-section {
    margin-top: 64px;
}

.section-header-center {
    margin: 0 auto 30px;
    text-align: center;
    align-items: center;
}

.section-header-center h2 {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
}

.feature-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-card), inset 0 1px 0 var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: inset 0 1px 0 var(--line), var(--shadow-soft);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    border: 1px solid var(--gold-soft);
}

.feature-card h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-soft-strong);
    line-height: 1.8;
    font-size: 0.98rem;
    opacity: 0.92;
}

.feature-plus {
    border: 1px solid var(--gold);
    background: var(--gold-soft);
    color: var(--gold);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    margin: auto 0;
    font-size: 2.25rem;
    font-weight: 300;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--gold-soft);
}

.steps-section {
    margin-top: 56px;
    padding: 32px 0 8px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.06em;
    line-height: 1.08;
    max-width: 640px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px 22px 24px;
    box-shadow: var(--shadow-soft), inset 0 1px 0 var(--line);
    overflow: hidden;
}

.step-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.95), rgba(215, 180, 106, 0.65));
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--purple-soft);
    border: 1px solid var(--purple-soft);
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-soft-strong);
    line-height: 1.8;
    font-size: 0.96rem;
    opacity: 0.92;
}

.metrics-strip {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 28px;
    border: 1px solid var(--gold-soft);
    border-radius: 24px;
    background: var(--bg-card-2);
    box-shadow: var(--shadow-soft), inset 0 1px 0 var(--line);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 16px;
}

.metric-item strong {
    font-size: clamp(2rem, 2.7vw, 3rem);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: var(--text-main);
}

.metric-item span {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: none;
}

.site-footer {
    max-width: 1200px;
    margin: 52px auto 0;
    border-top: 1px solid var(--line);
    padding: 28px 24px 34px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.footer-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: var(--text-soft);
    font-size: 0.92rem;
    text-align: right;
}

.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-meta p {
    margin: 0;
    text-align: right;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px 24px 12px;
}

.content-section h2,
.content-section h3 {
    text-align: center;
    margin-bottom: 18px;
}

.content-section p,
.content-section li {
    text-align: justify;
    line-height: 1.8;
}

.content-section ul {
    padding-left: 1.5rem;
}

.legal-content h3 {
    text-align: left;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
    text-align: left;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

@media (max-width: 980px) {
    .topbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
    }

    .hero-copy {
        align-items: center;
        text-align: center;
    }

    .hero h1,
    .lead {
        max-width: 100%;
    }

    .feature-bar,
    .step-grid,
    .metrics-strip {
        grid-template-columns: 1fr;
    }

    .feature-plus {
        width: 64px;
        height: 64px;
        margin: 0 auto;
    }

    .section-header {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .topbar {
        padding: 16px 18px;
        gap: 12px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .social-proof {
        justify-content: center;
    }

    .pill {
        width: 100%;
        justify-content: center;
    }

    .visual-frame img {
        height: 420px;
    }

    .btn-download {
        width: 100%;
    }

    .metrics-strip {
        padding: 18px 14px;
    }

    .metric-item {
        padding: 12px 10px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
