﻿/* ============================================================================
   saylo AI page styles
   ============================================================================ */

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

html {
    scroll-padding-top: 84px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: #080706;
    color: #fff7e8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

ul {
    list-style: none;
}

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

button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.sa-container {
    width: min(100% - 3rem, 1200px);
    margin-inline: auto;
}

.sa-section {
    position: relative;
    padding: 6.5rem 0;
}

.sa-section-header {
    max-width: 680px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.sa-section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.32rem 0.75rem;
    border: 1px solid rgba(255, 204, 126, 0.28);
    border-radius: 999px;
    color: #ffcc7e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.sa-section-title {
    max-width: 760px;
    margin-inline: auto;
    color: #fff7e8;
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1.2;
}

.sa-section-subtitle {
    margin-top: 0.75rem;
    margin-inline: auto;
    color: #b9a98c;
    font-size: 1rem;
}

.sa-gradient-text {
    color: #ffcc7e;
}

.sa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.78rem 1.35rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.sa-button:hover {
    transform: translateY(-2px);
}

.sa-button-primary {
    border: 1px solid #ffcc7e;
    background: #ffcc7e;
    color: #080706;
}

.sa-button-outline,
.sa-button-light-outline {
    border: 1px solid rgba(255, 204, 126, 0.36);
    background: transparent;
    color: #fff7e8;
}

.sa-button-outline:hover,
.sa-button-light-outline:hover {
    border-color: #ffcc7e;
    background: rgba(255, 204, 126, 0.08);
}

.sa-button-light {
    background: #fff7e8;
    color: #080706;
}

.sa-button-small {
    min-height: 40px;
    padding: 0.62rem 1rem;
    font-size: 0.86rem;
}

.sa-button-mobile-download {
    display: none;
}

.sa-reveal {
    opacity: 1;
    transform: none;
}

.sa-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    width: 100%;
    height: 78px;
    border-bottom: 1px solid rgba(255, 204, 126, 0.16);
    background: rgba(8, 7, 6, 0.96);
}

.sa-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.sa-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
}

.sa-brand-logo {
    width: auto;
    height: 40px;
    border-radius: 10px;
}

.sa-brand-text {
    color: #fff7e8;
    font-size: 1.08rem;
}

.sa-brand-icon,
.sa-brand-accent {
    color: #ffcc7e;
}

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

.sa-nav-list {
    display: flex;
    align-items: center;
    gap: 1.55rem;
}

.sa-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #c8b899;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.sa-nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -21px;
    left: 0;
    height: 1px;
    background: #ffcc7e;
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sa-nav-link:hover {
    color: #fff7e8;
}

.sa-nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.sa-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sa-intro {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: calc(78px + 4.5rem) 0 5.5rem;
    background: linear-gradient(135deg, #080706 0%, #100e0b 54%, #17130d 100%);
}

.sa-intro::before {
    content: "";
    position: absolute;
    inset: 78px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 126, 0.38), transparent);
}

.sa-intro-background,
.sa-intro-glow {
    display: none;
}

.sa-intro-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 4rem;
    align-items: center;
}

.sa-intro-content {
    max-width: 700px;
}

.sa-intro-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.15rem;
    padding: 0.36rem 0.78rem;
    border: 1px solid rgba(255, 204, 126, 0.32);
    border-radius: 999px;
    background: rgba(255, 204, 126, 0.06);
    color: #ffcc7e;
    font-size: 0.82rem;
    font-weight: 700;
}

.sa-intro-title {
    margin-bottom: 1.35rem;
    color: #fff7e8;
    font-size: 4.25rem;
    font-weight: 850;
    line-height: 1.05;
}

.sa-intro-copy {
    max-width: 580px;
    color: #d8c7aa;
    font-size: 1.06rem;
    line-height: 1.9;
}

.sa-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.sa-intro-visual {
    position: relative;
    min-height: 620px;
}

.sa-device-stack {
    position: relative;
    width: min(100%, 440px);
    height: 610px;
    margin-left: auto;
}

.sa-device-card {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 126, 0.28);
    border-radius: 30px;
    background: #0f0d0a;
}

.sa-device-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-device-card-front {
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 295px;
    aspect-ratio: 9 / 16;
}

.sa-device-card-back {
    top: 0;
    left: 0;
    z-index: 1;
    width: 248px;
    aspect-ratio: 9 / 16;
    opacity: 0.72;
    transform: rotate(-5deg);
}

.sa-intro-note {
    position: absolute;
    right: 0;
    bottom: 1.1rem;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(100%, 390px);
    margin-left: auto;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 204, 126, 0.24);
    border-radius: 999px;
    background: rgba(8, 7, 6, 0.9);
    color: #e7d6b7;
    font-size: 0.88rem;
}

.sa-intro-note i {
    color: #ffcc7e;
    font-size: 1.15rem;
}

.sa-preview {
    background: #0d0b08;
}

.sa-preview .sa-section-header {
    max-width: none;
}

.sa-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: start;
}

.sa-preview-item:nth-child(2),
.sa-preview-item:nth-child(4) {
    padding-top: 2.25rem;
}

.sa-preview-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border: 1px solid rgba(255, 204, 126, 0.18);
    border-radius: 22px;
    background: #11100e;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.sa-preview-media:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 204, 126, 0.42);
}

.sa-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-preview-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.88));
}

.sa-preview-caption {
    display: inline-flex;
    color: #fff7e8;
    font-size: 0.92rem;
    font-weight: 700;
}

.sa-features {
    background: #050505;
}

.sa-feature-header,
.sa-review-header,
.sa-faq-header {
    margin: 0 auto 4.2rem;
    max-width: none;
}

.sa-advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.85rem;
}

.sa-advantage-card {
    min-height: 250px;
    padding: 2.4rem 1.9rem 2.1rem;
    border: 1px solid rgba(242, 191, 99, 0.16);
    border-radius: 14px;
    background: #1a1a19;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.sa-advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 191, 99, 0.34);
    background: #20201f;
}

.sa-advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1.75rem;
    border-radius: 10px;
    background: rgba(242, 191, 99, 0.1);
    color: #f2bf63;
    font-size: 1.35rem;
}

.sa-advantage-card h3 {
    margin-bottom: 1.1rem;
    color: #fff8eb;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.sa-advantage-card p {
    max-width: 300px;
    color: #9a9a9a;
    font-size: 0.92rem;
    line-height: 1.9;
}

.sa-reviews {
    border-top: 1px solid rgba(242, 191, 99, 0.08);
    background: #050505;
}

.sa-feature-header .sa-section-kicker,
.sa-review-header .sa-section-kicker,
.sa-faq-header .sa-section-kicker {
    margin-bottom: 1.15rem;
    border: 0;
    padding: 0;
    color: #f2bf63;
    background: none;
    font-size: 0.86rem;
}

.sa-feature-header .sa-section-title,
.sa-review-header .sa-section-title,
.sa-faq-header .sa-section-title {
    max-width: none;
    font-size: 2.65rem;
    font-weight: 700;
    letter-spacing: 0;
}

.sa-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.85rem;
}

.sa-review-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 2.35rem 2.4rem;
    border: 1px solid rgba(242, 191, 99, 0.16);
    border-radius: 14px;
    background: #1a1a19;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.sa-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 191, 99, 0.34);
    background: #20201f;
}

.sa-review-person {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.85rem;
}

.sa-review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: rgba(242, 191, 99, 0.1);
    color: #f2bf63;
    font-size: 1.35rem;
}

.sa-review-person h3 {
    margin-bottom: 0.28rem;
    color: #fff8eb;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.25;
}

.sa-review-stars {
    display: block;
    color: #f2bf63;
    font-size: 0.9rem;
    letter-spacing: 0;
    line-height: 1;
}

.sa-review-card p {
    margin-bottom: 1.65rem;
    color: #b2b2b2;
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.9;
}

.sa-review-card time {
    margin-top: auto;
    color: #8f8f8f;
    font-size: 0.86rem;
    letter-spacing: 0;
}

.sa-faq {
    background: #1a1a19;
}

.sa-faq-layout {
    display: grid;
    gap: 4rem;
}

.sa-faq-header {
    margin-bottom: 0;
}

.sa-faq-list {
    display: grid;
    width: min(100%, 800px);
    gap: 1.05rem;
    margin-inline: auto;
}

.sa-faq-item {
    overflow: hidden;
    border: 1px solid rgba(242, 191, 99, 0.08);
    border-radius: 10px;
    background: #050505;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.sa-faq-item:hover,
.sa-faq-item.sa-active {
    border-color: rgba(242, 191, 99, 0.2);
    background: #070707;
}

.sa-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    min-height: 74px;
    padding: 1.35rem 1.8rem;
    color: #fff7e8;
    font-size: 0.96rem;
    font-weight: 800;
    text-align: left;
}

.sa-faq-icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: #f2bf63;
    font-size: 1.85rem;
    transition: transform 0.25s ease;
}

.sa-faq-item.sa-active .sa-faq-icon {
    transform: rotate(90deg);
}

.sa-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.8rem;
    transition: max-height 0.32s ease, padding 0.32s ease;
}

.sa-faq-item.sa-active .sa-faq-answer {
    max-height: 320px;
    padding: 0 1.8rem 1.35rem;
}

.sa-faq-answer p {
    max-width: 660px;
    color: #a6a6a6;
    font-size: 0.9rem;
    line-height: 1.85;
}

.sa-faq-answer a {
    color: #f2bf63;
}

.sa-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 204, 126, 0.12);
    background: #11100e;
}

.sa-footer-main {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.sa-footer-brand .sa-brand {
    margin-bottom: 1rem;
}

.sa-brand-footer .sa-brand-logo {
    height: 44px;
}

.sa-footer-copy {
    max-width: 360px;
    color: #9f9383;
    font-size: 0.9rem;
}

.sa-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.sa-footer-column h4 {
    margin-bottom: 0.85rem;
    color: #fff7e8;
    font-size: 0.95rem;
}

.sa-footer-column ul {
    display: grid;
    gap: 0.45rem;
}

.sa-footer-column a {
    color: #9f9383;
    font-size: 0.86rem;
    transition: color 0.25s ease;
}

.sa-footer-column a:hover {
    color: #ffcc7e;
}

.sa-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 204, 126, 0.1);
    color: #746957;
    font-size: 0.8rem;
}

.sa-legal-section {
    min-height: 100vh;
    background: #080706;
}

.sa-legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: #d8c7aa;
}

.sa-legal-title {
    margin-bottom: 0.5rem;
    color: #ffcc7e;
    font-size: 2.2rem;
    font-weight: 800;
}

.sa-legal-updated {
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 204, 126, 0.14);
    color: #9f9383;
    font-size: 0.9rem;
}

.sa-legal-subtitle {
    margin: 2.4rem 0 0.8rem;
    color: #fff7e8;
    font-size: 1.2rem;
}

.sa-legal-content p,
.sa-legal-list li {
    margin-bottom: 0.8rem;
    font-size: 0.94rem;
}

.sa-legal-list strong,
.sa-legal-link {
    color: #ffcc7e;
}

.sa-comment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.sa-comment-card {
    padding: 1rem;
    border: 1px solid rgba(255, 204, 126, 0.14);
    border-radius: 14px;
    background: #11100e;
}

.sa-comment-icon {
    margin-bottom: 0.8rem;
    color: #ffcc7e;
}

.sa-comment-text,
.sa-comment-role {
    color: #b9a98c;
    font-size: 0.9rem;
}

.sa-comment-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
}

.sa-comment-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #080706;
    font-weight: 800;
}

.sa-comment-name {
    color: #fff7e8;
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .sa-section {
        padding: 5rem 0;
    }

    .sa-intro-layout,
    .sa-faq-layout,
    .sa-footer-main {
        grid-template-columns: 1fr;
    }

    .sa-advantage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sa-intro {
        padding-top: calc(78px + 3rem);
    }

    .sa-intro-title {
        font-size: 3.2rem;
    }

    .sa-intro-visual {
        min-height: 560px;
    }

    .sa-device-stack,
    .sa-intro-note {
        margin-inline: auto;
    }

    .sa-preview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sa-comment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sa-container {
        width: min(100% - 2rem, 1200px);
    }

    .sa-header,
    .sa-nav-container {
        height: 72px;
    }

    .sa-nav {
        display: none;
    }

    .sa-nav-actions .sa-button-small {
        display: none;
    }

    .sa-button-mobile-download {
        display: inline-flex;
        min-height: 40px;
        padding: 0.62rem 0.95rem;
        font-size: 0.82rem;
    }

    .sa-brand-logo {
        height: 34px;
    }

    .sa-section {
        padding: 4rem 0;
    }

    .sa-section-header {
        margin: 0 auto 2rem;
    }

    .sa-section-title {
        font-size: 1.8rem;
    }

    .sa-intro {
        min-height: auto;
        padding: calc(72px + 2.4rem) 0 3.2rem;
    }

    .sa-intro-layout {
        gap: 2.5rem;
    }

    .sa-intro-title {
        font-size: 2.35rem;
    }

    .sa-intro-copy {
        font-size: 0.98rem;
    }

    .sa-intro-actions {
        flex-direction: column;
    }

    .sa-intro-actions .sa-button {
        width: 100%;
    }

    .sa-intro-visual {
        min-height: 430px;
    }

    .sa-device-stack {
        width: 320px;
        max-width: 100%;
        height: 430px;
    }

    .sa-device-card-front {
        width: 215px;
    }

    .sa-device-card-back {
        width: 180px;
    }

    .sa-intro-note {
        position: relative;
        bottom: auto;
        margin-top: 0.8rem;
        border-radius: 14px;
    }

    .sa-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sa-preview-item:nth-child(2),
    .sa-preview-item:nth-child(4) {
        padding-top: 0;
    }

    .sa-advantage-grid,
    .sa-review-grid {
        grid-template-columns: 1fr;
    }

    .sa-feature-header {
        margin-bottom: 2.2rem;
    }

    .sa-feature-header .sa-section-title {
        font-size: 1.95rem;
    }

    .sa-advantage-card {
        min-height: auto;
        padding: 1.55rem 1.25rem;
    }

    .sa-advantage-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 1.25rem;
    }

    .sa-review-card {
        min-height: auto;
    }

    .sa-faq-question {
        min-height: 64px;
        padding: 0.95rem 1rem;
        font-size: 0.92rem;
    }

    .sa-footer-links,
    .sa-comment-grid {
        grid-template-columns: 1fr;
    }

    .sa-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .sa-footer-links,
    .sa-intro::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .sa-intro-title {
        font-size: 1.95rem;
    }

    .sa-section-title {
        font-size: 1.55rem;
    }

    .sa-preview-grid {
        gap: 0.7rem;
    }
}
