:root {
    --primary-color: #007aff;
    --primary-dark: #005fca;
    --text-color: #2c3e50;
    --text-muted: #667085;
    --background-color: #ffffff;
    --secondary-background: #f8f9fa;
    --surface-tint: #f4f7fb;
    --border-color: #e7edf4;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-button: 0 2px 8px rgba(15, 23, 42, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: pan-x pan-y;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background:
        radial-gradient(circle at top left, rgba(0, 122, 255, 0.08), transparent 20%),
        linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
    touch-action: pan-x pan-y;
}

nav,
main,
.footer-content {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

nav {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.footer-logo {
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.9px;
    text-decoration: none;
}

.nav-cta {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nav-cta:hover {
    color: var(--primary-color);
}

.btn {
    padding: 12px 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-primary {
    background: #1f2937;
    color: #fff;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: #111827;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.btn-large {
    padding: 15px 26px;
    font-size: 16px;
}

main {
    padding: 10px 0 0;
}

section {
    margin-bottom: 72px;
}

.hero {
    padding: 36px 0 12px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.tagline {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.08);
    border: 1px solid rgba(0, 122, 255, 0.12);
}

.tagline-text,
.section-label {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    max-width: 10ch;
}

.subtitle,
.section-intro p,
.product-copy p,
.cta p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 14px;
}

.hero-cta-note {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual .demo-indicator {
    margin-bottom: 14px;
    text-align: center;
}

.hero-visual .demo-hint {
    color: var(--text-muted);
    font-size: 14px;
}

.demo-map-container {
    width: 100%;
    height: 500px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(231, 237, 244, 0.9);
    background: #fff;
}

#demoMap {
    width: 100%;
    height: 100%;
    touch-action: none;
}

.demo-username-container,
.demo-logo-container {
    position: absolute;
    top: 20px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
}

.demo-username-container {
    left: 20px;
}

.demo-logo-container {
    right: 20px;
}

.demo-logo-container .logo {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
}

.demo-username-container .username {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-button-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.demo-button-container .floating-button {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-color);
    box-shadow: var(--shadow-button);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.demo-button-container .floating-button:hover {
    transform: translateY(-1px);
    background: #fff;
    color: var(--primary-color);
}

.demo-pin-modal,
.demo-pins-list-modal {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform 0.3s ease-out;
    transform: translateY(100%);
}

.demo-pin-modal.show,
.demo-pins-list-modal.show {
    display: block;
    transform: translateY(0);
}

.demo-pin-modal-content,
.demo-pins-list-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px 24px 0 0;
    padding: 20px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    max-height: 70%;
    overflow-y: auto;
}

.demo-pin-modal-header,
.demo-pins-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.demo-close-button {
    background: #f3f6fa;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 22px;
    color: #667085;
    cursor: pointer;
}

.demo-pin-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.demo-pin-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.demo-social-links {
    display: flex;
    gap: 12px;
}

.demo-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.demo-social-link:hover {
    background: var(--primary-color);
    color: white;
}

.demo-pins-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-pin-item {
    display: block;
    width: 100%;
    border: none;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.demo-pin-item:hover {
    transform: translateY(-1px);
    background: #f1f4f8;
}

.demo-pin-item-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.demo-pin-item-description {
    font-size: 14px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 28px 0 0;
    border-top: 1px solid var(--border-color);
}

.proof-strip .proof-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.proof-strip strong {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.proof-strip span {
    color: var(--text-muted);
}

.section-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-intro.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-intro h2,
.product-copy h2,
.premium-strip h2,
.cta h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 10px 0 14px;
}

.how-it-works {
    padding: 8px 0 0;
}

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

.step {
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.step .step-number {
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    color: var(--primary-color);
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: 0.06em;
    box-shadow: none;
    transform: none;
    font-family: "Outfit", sans-serif;
}

.step h3,
.example h3 {
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.step p,
.example p {
    color: var(--text-muted);
    font-size: 16px;
}

.product-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 48px;
    align-items: center;
}

.product-list,
.premium-list {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 14px;
}

.product-list li,
.premium-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-color);
    font-size: 16px;
}

.product-list li::before,
.premium-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.product-visual img {
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: min(100%, 520px);
    max-height: 420px;
    object-fit: contain;
}

.creator-examples {
    padding-top: 6px;
}

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

.example img {
    width: 100%;
    display: block;
    margin-bottom: 18px;
}

.premium-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta {
    text-align: center;
    padding: 16px 0 8px;
}

.cta p {
    margin-bottom: 28px;
}

footer {
    background: #f5f7fa;
    padding: 38px 0;
    margin-top: 56px;
}

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

.footer-logo {
    font-size: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .hero-layout,
    .product-story,
    .premium-strip,
    .steps-grid,
    .examples-grid,
    .proof-strip {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        max-width: none;
        font-size: 48px;
    }

    .hero-copy .cta-buttons {
        justify-content: center;
    }

    .hero-copy .hero-cta-note,
    .hero-visual .demo-indicator {
        text-align: center;
    }

    .section-intro.centered,
    .section-intro,
    .product-copy {
        text-align: center;
        max-width: none;
    }

    .product-list,
    .premium-list {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    nav,
    main,
    .footer-content {
        width: min(1200px, calc(100% - 32px));
    }

    nav,
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    section {
        margin-bottom: 56px;
    }

    .hero {
        padding-top: 24px;
    }

    .hero h1,
    .section-intro h2,
    .product-copy h2,
    .premium-strip h2,
    .cta h2 {
        font-size: 34px;
    }

    .subtitle,
    .section-intro p,
    .product-copy p,
    .cta p {
        font-size: 17px;
    }

    .demo-map-container {
        height: 430px;
        border-radius: 24px;
    }

    .demo-username-container,
    .demo-logo-container {
        top: 14px;
        padding: 10px 12px;
    }

    .demo-username-container {
        left: 14px;
    }

    .demo-logo-container {
        right: 14px;
    }

    .demo-button-container {
        bottom: 14px;
        right: 14px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
