:root {
    --primary: #e63946;
    --secondary: #ffb703;
    --accent: #1d3557;
    --dark: #1d2129;
    --light: #f8f9fa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --green: #16a34a;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    background: #fff;
    color: var(--dark);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

h1,
h2,
h3,
p,
blockquote {
    margin-top: 0;
}

[hidden] {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding-right: 16px;
    padding-left: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    background: rgb(255 255 255 / 95%);
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.menu-links {
    display: grid;
    gap: 0;
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.menu-links > a:not(.button) {
    padding: 9px 0;
    transition: color 0.2s ease;
}

.menu-links > a:not(.button):active {
    color: var(--primary);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-primary {
    background: var(--primary);
    color: #fff;
}

.button-primary:active {
    background: #cf3340;
    transform: scale(0.98);
}

.button-secondary {
    border: 1px solid var(--gray-300);
    background: #fff;
    color: var(--dark);
}

.button-secondary:active {
    border-color: var(--primary);
    color: var(--primary);
}

.button-large {
    width: 100%;
    min-height: 56px;
    padding: 16px 32px;
    font-size: 18px;
}

.button-disabled {
    cursor: default;
}

.hero {
    overflow: hidden;
    padding-top: 128px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgb(230 57 70 / 5%), rgb(255 183 3 / 5%));
}

.hero h1 {
    margin-bottom: 24px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    margin-bottom: 32px;
    color: var(--gray-600);
    font-size: 18px;
}

.hero-actions {
    display: grid;
    gap: 16px;
}

.creator-note {
    margin: 20px 0 0;
    color: var(--primary);
}

.user-proof {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.avatar-stack {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.avatar-stack > * {
    width: 40px;
    height: 40px;
    margin-left: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
}

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

.avatar-stack img {
    object-fit: cover;
}

.avatar-stack span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    font-size: 12px;
    font-weight: 500;
}

.rating-summary {
    min-width: 0;
}

.rating-summary > div {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    white-space: nowrap;
}

.stars {
    color: var(--secondary);
    line-height: 1;
}

.rating-summary .stars {
    font-size: 13px;
}

.rating-summary .stars > span {
    opacity: 0.5;
}

.rating-number {
    margin-left: 8px;
    color: var(--gray-600);
    font-size: 14px;
}

.rating-summary p {
    margin-bottom: 0;
    color: var(--gray-500);
    font-size: 12px;
    white-space: nowrap;
}

.hero-media {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.industries {
    padding: 48px 0;
    background: var(--light);
}

.eyebrow {
    margin-bottom: 32px;
    color: var(--gray-500);
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0.7;
}

.industry-list span {
    color: var(--gray-400);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.section {
    padding: 80px 0;
}

.section-heading {
    margin: 0 auto 64px;
    text-align: center;
}

.section-heading h2,
.contact h2 {
    margin-bottom: 16px;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 18px;
}

.feature-panel {
    padding: 32px;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 24px;
    background: linear-gradient(135deg, rgb(230 57 70 / 5%), rgb(255 183 3 / 5%));
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
}

.feature-list {
    display: grid;
    gap: 32px;
}

.feature-item {
    text-align: center;
}

.feature-icon,
.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 16px;
    font-size: 38px;
}

.feature-icon::before,
.advantage-icon::before {
    line-height: 1;
}

.icon-message {
    background: rgb(230 57 70 / 10%);
}

.icon-message::before {
    content: "💬";
}

.icon-users {
    background: rgb(255 183 3 / 10%);
}

.icon-users::before {
    content: "👥";
}

.icon-search {
    background: rgb(29 53 87 / 10%);
}

.icon-search::before {
    content: "🔍";
}

.icon-channel {
    background: rgb(168 85 247 / 10%);
}

.icon-channel::before {
    content: "📢";
}

.icon-assistant {
    background: rgb(249 115 22 / 10%);
}

.icon-assistant::before {
    content: "🚀";
}

.icon-chart {
    background: rgb(34 197 94 / 10%);
}

.icon-chart::before {
    content: "📊";
}

.feature-item h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.feature-item p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 14px;
}

.feature-result {
    display: flex;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgb(255 255 255 / 20%);
}

.feature-result > span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #10b981;
    font-weight: 700;
}

.feature-result h3 {
    margin-bottom: 2px;
    font-size: 16px;
}

.feature-result p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 14px;
}

.advantages {
    background: linear-gradient(135deg, rgb(230 57 70 / 5%), rgb(255 183 3 / 5%));
}

.advantage-list {
    display: grid;
    gap: 32px;
    margin-bottom: 48px;
}

.advantage-card {
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.advantage-card:nth-child(1) {
    background: linear-gradient(135deg, rgb(230 57 70 / 5%), rgb(230 57 70 / 10%));
}

.advantage-card:nth-child(2) {
    background: linear-gradient(135deg, rgb(255 183 3 / 5%), rgb(255 183 3 / 10%));
}

.advantage-card:nth-child(3) {
    background: linear-gradient(135deg, rgb(29 53 87 / 5%), rgb(29 53 87 / 10%));
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 12px;
    font-size: 28px;
}

.advantage-card:nth-child(1) .advantage-icon {
    background: rgb(230 57 70 / 20%);
}

.advantage-card:nth-child(2) .advantage-icon {
    background: rgb(255 183 3 / 20%);
}

.advantage-card:nth-child(3) .advantage-icon {
    background: rgb(29 53 87 / 20%);
}

.icon-shield::before {
    content: "🛡️";
}

.icon-bolt::before {
    content: "⚡";
}

.icon-rocket::before {
    content: "🚀";
}

.advantage-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.advantage-card p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 14px;
}

.satisfaction {
    padding: 32px;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, var(--gray-50));
    text-align: center;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
}

.satisfaction-value {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 30px;
    font-weight: 700;
}

.satisfaction-value span {
    margin-right: 8px;
    font-size: 18px;
}

.satisfaction p {
    margin-bottom: 2px;
    color: var(--gray-600);
    font-size: 18px;
    font-weight: 500;
}

.satisfaction small {
    color: var(--gray-500);
    font-size: 14px;
}

.about .section-heading p {
    max-width: 768px;
}

.about-copy p {
    margin-bottom: 24px;
    color: var(--gray-600);
    font-size: 18px;
}

.about-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.stats-grid > div {
    display: grid;
    min-width: 0;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.stats-grid > div:nth-child(1) {
    background: linear-gradient(135deg, rgb(230 57 70 / 5%), rgb(230 57 70 / 10%));
}

.stats-grid > div:nth-child(2) {
    background: linear-gradient(135deg, rgb(255 183 3 / 5%), rgb(255 183 3 / 10%));
}

.stats-grid > div:nth-child(3) {
    background: linear-gradient(135deg, rgb(29 53 87 / 5%), rgb(29 53 87 / 10%));
}

.stats-grid > div:nth-child(4) {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.stats-grid strong {
    font-size: 30px;
    overflow-wrap: anywhere;
}

.stats-grid > div:nth-child(1) strong {
    color: var(--primary);
}

.stats-grid > div:nth-child(2) strong {
    color: var(--secondary);
}

.stats-grid > div:nth-child(3) strong {
    color: var(--accent);
}

.stats-grid > div:nth-child(4) strong {
    color: var(--green);
}

.stats-grid span {
    color: var(--gray-600);
}

.downloads {
    background: var(--dark);
    color: #fff;
}

.section-heading-light p {
    color: var(--gray-300);
}

.download-list {
    display: grid;
    gap: 32px;
}

.download-card {
    padding: 32px;
    border-radius: 16px;
    background: rgb(255 255 255 / 5%);
    text-align: center;
    backdrop-filter: blur(8px);
}

.platform-icon {
    display: flex;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(230 57 70 / 20%);
}

.platform-icon img {
    width: 32px;
    height: 32px;
}

.download-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.download-card p {
    margin-bottom: 24px;
    color: var(--gray-300);
    font-size: 14px;
}

.download-card .button {
    min-height: 48px;
}

.qr-panel {
    margin-top: 64px;
    padding: 32px;
    border-radius: 16px;
    background: rgb(255 255 255 / 5%);
}

.qr-panel h3 {
    margin-bottom: 16px;
    font-size: 24px;
}

.qr-panel p {
    margin-bottom: 24px;
    color: var(--gray-300);
}

.qr-code {
    width: fit-content;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
}

.qr-code img {
    width: 192px;
    height: 192px;
    border-radius: 12px;
}

.testimonials {
    background: var(--light);
}

.testimonial-list {
    display: grid;
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.testimonial-card .stars {
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    margin-bottom: 24px;
    color: var(--gray-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    margin-right: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h3 {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.testimonial-author cite {
    display: block;
    margin-bottom: 2px;
    font-style: normal;
    font-weight: 700;
}

.testimonial-author span {
    display: block;
    color: var(--gray-500);
    font-size: 14px;
}

.contact h2 {
    margin-bottom: 24px;
}

.contact-intro {
    margin-bottom: 32px;
    color: var(--gray-600);
    font-size: 18px;
}

.contact-list {
    display: grid;
    gap: 24px;
    margin: 0;
    font-style: normal;
}

.contact-list > div {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    width: 40px;
    height: 40px;
    margin-right: 16px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(230 57 70 / 10%);
    color: var(--primary);
}

.contact-list p {
    margin-bottom: 0;
}

.contact-list strong {
    display: block;
    margin-bottom: 4px;
}

.contact-list p > span,
.contact-list p > a {
    display: block;
    color: var(--gray-600);
    overflow-wrap: anywhere;
}

.newsletter {
    padding: 64px 0;
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.newsletter > .container > p {
    margin-bottom: 32px;
    color: rgb(255 255 255 / 80%);
    font-size: 18px;
}

.newsletter-form {
    display: grid;
    gap: 16px;
    max-width: 576px;
    margin: 0 auto;
}

.email-field {
    position: relative;
}

.email-field > span {
    position: absolute;
    top: 50%;
    left: 16px;
    color: rgb(255 255 255 / 60%);
    transform: translateY(-50%);
}

.email-field input {
    width: 100%;
    min-height: 56px;
    padding: 16px 24px 16px 48px;
    border: 0;
    border-radius: 999px;
    outline: 0;
    background: rgb(255 255 255 / 10%);
    color: #fff;
}

.email-field input::placeholder {
    color: rgb(255 255 255 / 60%);
}

.email-field input:focus {
    box-shadow: 0 0 0 2px #fff;
}

.newsletter-button {
    min-height: 56px;
    padding: 16px 32px;
    background: var(--dark);
    color: #fff;
}

.newsletter small {
    display: block;
    margin-top: 16px;
    color: rgb(255 255 255 / 60%);
    font-size: 14px;
}

.site-footer {
    padding: 64px 0 32px;
    background: var(--dark);
    color: #fff;
}

.footer-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 48px;
}

.brand-light {
    margin-bottom: 24px;
    color: #fff;
}

.brand-light img {
    background: #fff;
}

.footer-brand p {
    margin-bottom: 0;
    color: var(--gray-400);
}

.footer-nav {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.footer-nav h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.footer-nav a {
    color: var(--gray-400);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    margin-bottom: 16px;
    color: var(--gray-500);
    font-size: 14px;
}

.footer-bottom p a {
    display: inline;
}

.footer-bottom p img {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: -3px;
}

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

.footer-bottom nav a {
    color: var(--gray-500);
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    display: flex;
    width: 48px;
    height: 48px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 20%);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 400px) {
    .rating-summary .stars {
        font-size: 14px;
    }

    .rating-number {
        font-size: 16px;
    }

    .rating-summary p {
        font-size: 14px;
    }
}

@media (min-width: 640px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .hero-actions,
    .newsletter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter-button {
        width: max-content;
    }
}

@media (hover: hover) {
    .menu-links > a:not(.button):hover,
    .about-copy a:hover,
    .footer-nav a:hover,
    .footer-bottom a:hover {
        color: var(--primary);
    }

    .button-primary:hover {
        background: #cf3340;
        transform: scale(1.02);
    }

    .button-secondary:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .newsletter-button:hover {
        background: #11151b;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}
