html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --apple-bg: #ffffff;
    --apple-text: #1d1d1f;
    --apple-grey: #f5f5f7;
    --apple-blue: #0071e3;
    --apple-link: #06c;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', 'Inter', 'Anuphan', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    overflow-x: hidden;
    line-height: 1.47059;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

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

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1024px;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--apple-text);
    font-weight: 600;
    flex-shrink: 0;
}

.nav-logo img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.nav-logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--apple-text);
    font-size: 14px;
    opacity: 0.8;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-buy {
    background: var(--apple-blue);
    color: white;
    padding: 0 12px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 980px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    outline: none;
    cursor: pointer;
    line-height: 1;
}

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

.btn-lang {
    background: transparent;
    color: var(--apple-text);
    padding: 0 14px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    outline: none;
    cursor: pointer;
    line-height: 1;
    letter-spacing: 0.02em;
}

.btn-lang:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
    padding: 80px 20px 40px;
    text-align: center;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #1d1d1f 30%, #515154 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #1d1d1f;
}


.hero-image {
    width: 100%;
    max-width: 300px;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
}

/* --- Sections --- */
.section {
    padding: 60px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin-bottom: 40px;
}

.section-header span {
    color: #bf4800;
    font-weight: 600;
    font-size: 19px;
    display: block;
    margin-bottom: 10px;
}

.section h3 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--apple-text);
}

.section p {
    font-size: 24px;
    color: #86868b;
    line-height: 1.3;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.card {
    background: #f5f5f7;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: transform 0.4s;
}

.card:hover {
    transform: scale(1.02);
}

.card h4 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.card p {
    font-size: 21px;
    color: #1d1d1f;
    margin-bottom: 0;
}


/* --- Mini Features --- */
.mini-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin-top: 80px;
    text-align: left;
}

.mini-feature h5 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-feature p {
    font-size: 17px;
    color: #515154;
    line-height: 1.4;
}

/* --- Showcase Slider --- */
.showcase-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    width: 100vw;
    padding: 40px 100px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.showcase-slider::-webkit-scrollbar {
    display: none;
}

.showcase-item {
    flex: 0 0 300px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover {
    transform: scale(1.05) translateY(-10px);
}

.showcase-item img {
    width: 100%;
    display: block;
}

/* --- Big Callout (Apple-inspired Integration) --- */
.callout {
    background: #ffffff;
    color: var(--apple-text);
    padding: 60px 20px 80px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.callout h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.callout p {
    font-size: 24px;
    color: #86868b;
    max-width: 700px;
    margin: 0 auto 50px;
}

.btn-large {
    background: var(--apple-blue);
    color: white;
    padding: 18px 36px;
    border-radius: 980px;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-large:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.callout-image {
    margin-top: 60px;
    width: 100%;
    max-width: 350px;
    position: relative;
    line-height: 0;
}

.callout-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- FAQ Section --- */
.faq {
    max-width: 800px;
    width: 100%;
    padding: 20px 20px 80px;
    text-align: left;
}

.faq h3 {
    font-size: 40px;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid #d2d2d7;
    padding: 20px 0;
}

.faq-item h6 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 17px;
    color: #6e6e73;
}

/* --- Footer --- */
footer {
    background: #f5f5f7;
    padding: 60px 20px;
    font-size: 14px;
    color: #6e6e73;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    max-width: 1024px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d2d2d7;
}

.footer-col h6 {
    color: #1d1d1f;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1024px;
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .mini-features {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 56px;
    }

    .callout h2 {
        font-size: 56px;
    }

    .nav-links {
        gap: 15px;
    }
}

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

@media (max-width: 734px) {
    .mini-features {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .callout h2 {
        font-size: 40px;
    }

    .callout p {
        font-size: 19px;
    }

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

    .nav-logo span {
        font-size: 14px;
    }

    .btn-buy {
        font-size: 11px;
        padding: 4px 10px;
    }
}