:root {
    --bg-dark: #050816;
    --bg-card: rgba(8, 28, 48, 0.96);
    --accent: #0bb5ff;
    --accent-soft: rgba(11, 181, 255, 0.15);
    --accent-strong: #0091d9;
    --text-main: #f5f7fb;
    --text-sub: #9aa6c5;
    --border-subtle: rgba(148, 163, 184, 0.35);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.65);
    --shadow-card: 0 18px 50px rgba(15, 23, 42, 0.7);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    padding: 0;
}

@media (min-width: 960px) {
    .hero {
        padding: 0;
    }
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 0;
    border: 7px solid #101010;
    background: #0b120e;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1040px) {
    .hero-inner {
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        border-radius: 0;
    }
}

.hero-topbar {
    position: absolute;
    inset: 0 0 auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    z-index: 20;
}

@media (min-width: 960px) {
    .hero-topbar {
        padding: 26px 38px;
    }
}

.hero-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.hero-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
}

.hero-brand-name {
    font-size: 30px;
}

.hero-brand-sunny {
    color: #facc15;
}

.hero-logo-mark {
    width: 18px;
    height: 18px;
    position: relative;
}

.hero-logo-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    transform: rotate(22deg);
}

.hero-logo-mark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.85);
}

.hero-logo-text {
    font-size: 14px;
}

.hero-nav {
    display: none;
    gap: 26px;
    align-items: center;
    color: rgba(248, 250, 252, 0.76);
    font-size: 12px;
}

.hero-nav a:hover {
    color: rgba(248, 250, 252, 0.95);
}

@media (min-width: 900px) {
    .hero-nav {
        display: inline-flex;
    }
}

.hero-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: rgba(248, 250, 252, 0.76);
    font-size: 12px;
}

.hero-top-link:hover {
    color: rgba(248, 250, 252, 0.95);
}

.hero-top-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(248, 250, 252, 0.18);
    color: rgba(248, 250, 252, 0.98);
    font-weight: 600;
    line-height: 1;
}

.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 640px;
}

.hero-main-left {
    padding: 12px 26px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

@media (min-width: 960px) {
    .hero-main-left {
        padding: 16px 54px 28px;
    }
}

.hero-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

@media (min-width: 960px) {
    .hero-title {
        font-size: 44px;
    }
}

.hero-subtitle {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.62);
    max-width: 360px;
}

.hero-store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f8fafc;
    color: #0b1220;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

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

.store-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.store-icon svg {
    width: 18px;
    height: 18px;
}

.store-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.1;
}

.store-label {
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.66);
}

.store-title {
    font-size: 13px;
    font-weight: 700;
}

.hero-stats {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 3px solid #0b120e;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.avatar + .avatar {
    margin-left: -10px;
}

.avatar-1 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.avatar-2 {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
}

.avatar-3 {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.hero-stats-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats-number {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.hero-stats-label {
    font-size: 11px;
    color: rgba(248, 250, 252, 0.62);
}

.hero-main-right {
    position: relative;
    overflow: visible;
}

.hero-accent-panel {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #34d9ff 0%, #25b8ff 100%);
    border-left: 2px solid rgba(16, 16, 16, 0.95);
    z-index: 1;
}

.hero-phone {
    position: absolute;
    bottom: 36px;
    border-radius: 44px;
    padding: 10px;
    background: #fff;
    border: 0;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
    z-index: 8;
    overflow: hidden;
}

.hero-phone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 74px;
    height: 20px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.hero-phone-inner {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #000;
}

.hero-phone-inner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-phone-left {
    width: 230px;
    height: 470px;
    left: -100px;
    transform: rotate(12deg);
}

.hero-phone-right {
    width: 270px;
    height: 540px;
    right: 30px;
    bottom: 22px;
}

@media (max-width: 900px) {
    .hero-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        min-height: 780px;
    }

    .hero-main-left {
        z-index: 10;
    }

    .hero-main-right {
        min-height: 420px;
    }

    .hero-phone-left {
        left: 42px;
        bottom: 16px;
        transform: rotate(8deg);
    }

    .hero-phone-right {
        right: 16px;
        bottom: 0;
    }
}

@media (max-width: 520px) {
    .hero-main {
        min-height: 0;
    }

    .hero-main-left {
        padding: 18px 18px 28px;
        gap: 14px;
        z-index: 10;
    }

    .hero-stats {
        position: relative;
    }

    .hero-brand {
        margin-bottom: 10px;
    }

    .hero-brand-name {
        font-size: 24px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.08;
    }

    .hero-subtitle {
        max-width: none;
        font-size: 13px;
    }

    .hero-store-row {
        margin-top: 8px;
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-main-right {
        min-height: 360px;
        overflow: hidden;
    }

    .hero-phone-left {
        width: 170px;
        height: 348px;
        left: 10px;
        bottom: -24px;
    }

    .hero-phone-right {
        width: 202px;
        height: 405px;
        right: 10px;
        bottom: -44px;
    }
}

main {
    flex: 1;
}

.screenshots {
    padding: 0;
    background: transparent;
}

@media (min-width: 960px) {
    .screenshots {
        padding: 0;
    }
}

.screenshots-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: #0b120e;
    padding: 32px 16px 40px;
}

@media (min-width: 960px) {
    .screenshots-inner {
        padding: 40px 40px 56px;
    }
}

.section-header {
    max-width: 1120px;
    margin: 0 auto 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-header h2 {
    font-size: 22px;
    margin: 0;
}

.section-header p {
    margin: 0;
    color: var(--text-sub);
    font-size: 14px;
}

.screenshots-scroller {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 14px 0 18px;
    position: relative;
}

.screenshots-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-nav {
    display: none;
}

@media (max-width: 768px) {
    .screenshots-nav {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .screenshots-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        background: rgba(2, 6, 23, 0.65);
        color: rgba(248, 250, 252, 0.95);
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
    }

    .screenshots-nav:hover {
        border-color: rgba(148, 163, 184, 0.7);
        background: rgba(2, 6, 23, 0.82);
    }

    .screenshots-nav:disabled {
        opacity: 0.35;
        cursor: default;
    }

    .screenshots-nav svg {
        width: 18px;
        height: 18px;
    }

    .screenshots-nav-prev {
        left: -22px;
    }

    .screenshots-nav-next {
        right: -22px;
    }
}

.screenshots-track::-webkit-scrollbar {
    height: 6px;
}

.screenshots-track::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
}

.screenshots-track::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.7);
    border-radius: 999px;
}

.screenshot-item {
    flex: 0 0 76%;
    max-width: 360px;
    scroll-snap-align: center;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 0;
    background: #020617;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

@media (min-width: 768px) {
    .screenshot-item {
        flex-basis: 27%;
        max-width: 280px;
    }
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshots-track img {
    cursor: zoom-in;
}

.site-footer {
    background: transparent;
    padding: 0;
}

@media (min-width: 960px) {
    .site-footer {
        padding: 0;
    }
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: #0b120e;
    padding: 20px 16px 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-sub);
}

@media (min-width: 960px) {
    .footer-inner {
        padding: 20px 40px 28px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-row img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.footer-logo-row span {
    font-weight: 600;
    color: var(--text-main);
}

.footer-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-sub);
    transition: color 0.16s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 640px) {
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        order: 3;
        width: 100%;
        gap: 14px;
    }

    .footer-meta {
        order: 2;
        width: 100%;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    padding: 18px;
    padding: calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right))
        calc(18px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
    z-index: 50;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    width: min(640px, 100%);
    border-radius: 22px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.14), transparent 55%),
        rgba(2, 6, 23, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    max-height: min(760px, calc(100vh - 48px));
    max-height: min(760px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.modal-title {
    font-size: 16px;
    margin: 0;
    color: var(--text-main);
}

.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.65);
    color: var(--text-main);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    border-color: rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.9);
}

.modal-body {
    padding: 14px 16px 16px;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.65;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-body p {
    margin: 0 0 10px;
}

@media (max-width: 520px) {
    .modal {
        width: 100%;
        border-radius: 18px;
    }

    .modal-header {
        padding: 14px 14px 8px;
    }

    .modal-body {
        padding: 12px 14px 14px;
    }

    .modal-close {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 20px;
    }

    .overlay-preview {
        padding: 14px;
        padding: calc(14px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right))
            calc(14px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left));
    }

    .overlay-preview .modal-header {
        top: calc(12px + env(safe-area-inset-top));
        right: calc(12px + env(safe-area-inset-right));
    }
}

.modal-lead {
    color: rgba(226, 232, 240, 0.92);
}

.modal-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.modal-section-title {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.92);
}

.modal-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-list li {
    margin: 0;
    position: relative;
    padding-left: 16px;
}

.modal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.9);
    transform: translateY(-50%);
}

.modal-k {
    color: rgba(248, 250, 252, 0.96);
    font-weight: 650;
}

.modal-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.35);
    color: rgba(226, 232, 240, 0.85);
}

.modal-note-title {
    color: rgba(248, 250, 252, 0.96);
    font-weight: 750;
}

.modal-link {
    color: var(--accent);
}

.modal-link:hover {
    color: #7dd3fc;
}

.modal-preview-image {
    max-width: min(96vw, 1200px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    width: auto;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: contain;
}

.overlay-preview {
    padding: 24px;
    padding: calc(24px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right))
        calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
}

.modal-preview {
    width: auto;
    max-height: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.overlay-preview .modal-header {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    right: calc(18px + env(safe-area-inset-right));
    padding: 0;
    border: 0;
}

.overlay-preview .modal-title {
    display: none;
}

.overlay-preview .modal-body {
    padding: 0;
    overflow: visible;
} 
