/* style.css */
/* =========================================
   DESIGN TOKENS (N26 Style System)
   ========================================= */
:root {
    --color-bg: #FAFAFA;
    --color-text-main: #1A1A1A;
    --color-text-sub: #666666;
    --color-primary: #48B99E;
    --color-primary-hover: #3AA38A;
    --radius-btn: 50px;
    --radius-card: 24px;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { border-bottom: 2px solid var(--color-text-main); padding-bottom: 2px; }

nav ul {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 15px;
}

nav a:hover { color: var(--color-primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-login {
    font-weight: 500;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f7a07d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: -50px;
}

h1 {
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #111;
}

.hero-sub {
    font-size: 20px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background-color: white;
    color: var(--color-text-main);
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: inline-block;
}

.hero-btn:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* =========================================
   FEATURE SECTION
   ========================================= */
.features {
    padding: 100px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-text h2 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.feature-text p {
    font-size: 18px;
    color: var(--color-text-sub);
    margin-bottom: 32px;
    line-height: 1.6;
}

.link-arrow {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow:hover { gap: 12px; }

.phone-mockup {
    background: #E0F2F1;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 280px;
    height: 560px;
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 8px solid #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ui-header { height: 60px; border-bottom: 1px solid #eee; display: flex; align-items: center; padding: 0 20px; font-weight: bold;}
.ui-balance { padding: 30px 20px; }
.ui-balance span { display: block; font-size: 12px; color: #999; }
.ui-balance strong { font-size: 32px; color: #333; }
.ui-list { flex: 1; background: #f9f9f9; padding: 20px; }
.ui-item { background: white; padding: 15px; border-radius: 12px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.02);}
.ui-icon { width: 30px; height: 30px; background: #eee; border-radius: 50%; }

/* =========================================
   CTA SECTION (新增独立区块)
   ========================================= */
.cta-section {
    max-width: 2920px;
    max-height: 1772px;
    margin: 400px auto 0;
    height: 900px;
    width: calc(100% - 96px);
    border-radius: var(--radius-card);
    background-image: url('./img/SNT.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-card);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.cta-btn {
    background: white;
    color: var(--color-text-main);
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    border-top: 1px solid #eee;
    padding: 60px 48px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    color: var(--color-text-sub);
    font-size: 14px;
}

@media (max-width: 768px) {
    header { padding: 20px; }
    nav ul { display: none; }
    .hero h1 { font-size: 42px; }
    .feature-grid { grid-template-columns: 1fr; gap: 40px; }
    .features { padding: 60px 20px; }
    .cta-section {
        width: calc(100% - 40px);
        margin: 40px auto 0;
        padding: 60px 20px;
    }
    .cta-content h2 {
        font-size: 32px;
    }
    .cta-content p {
        font-size: 16px;
    }
    footer {
        padding: 40px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}