/* ============================================
   Your Tools — Premium Design Language
   简洁 · 大气 · 高级感 · 色彩
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-bg: #faf8f6;
    --color-white: #ffffff;
    --color-dark: #1a1a2e;
    --color-dark-soft: #2d2d44;
    --color-text: #1a1a2e;
    --color-text-secondary: #6b6b80;
    --color-text-light: #9a9ab0;
    --color-accent: #F63F90;
    --color-accent-hover: #e02d7a;
    --color-accent-soft: rgba(246, 63, 144, 0.08);
    --color-accent-glow: rgba(246, 63, 144, 0.25);
    --color-border: #e8e6e4;
    --color-section-alt: #f5f3f0;
    --nav-height: 72px;
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --content-max: 1100px;
    --content-narrow: 820px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-round: 9999px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

/* Eye badge */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    padding: 6px 16px;
    background: var(--color-accent-soft);
    border-radius: var(--radius-round);
}

.section-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

section {
    padding: 120px 24px;
}

.section-inner {
    max-width: var(--content-max);
    margin: 0 auto;
}

/* ============================================
   Navigation — Floating Capsule
   ============================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    padding: 0 24px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    max-width: var(--content-max);
    width: calc(100% - 48px);
    border-radius: var(--radius-round);
    /* Dark glass over hero */
    background: rgba(20, 20, 40, 0.55);
    backdrop-filter: saturate(180%) blur(32px);
    -webkit-backdrop-filter: saturate(180%) blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, top 0.4s ease;
}

/* Scroll state — light glass */
nav.solid {
    top: 10px;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

/* --- Default: white text (over dark hero) --- */
nav .logo-text,
nav .nav-links > a,
nav .language-btn {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.4s ease;
}

nav .nav-links > a:hover,
nav .language-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

nav .language-btn .arrow {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Scrolled: dark text (over light content) --- */
nav.solid .logo-text,
nav.solid .nav-links > a,
nav.solid .language-btn {
    color: var(--color-dark);
}

nav.solid .nav-links > a:hover,
nav.solid .language-btn:hover {
    color: var(--color-dark);
    background: rgba(0, 0, 0, 0.04);
}

nav.solid .language-btn .arrow {
    color: var(--color-text-light);
}

nav.solid .language-btn.active .arrow {
    color: var(--color-accent);
}

/* Hamburger colors follow same logic */
nav .menu-toggle span { background: rgba(255, 255, 255, 0.9); transition: background 0.4s ease; }
nav.solid .menu-toggle span { background: var(--color-dark); }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 8px;
}

.logo-image {
    width: 36px;
    height: 36px;
    background: url('../images/yourtools-logo.jpg') center/cover no-repeat;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    opacity: 0;
    transition: opacity 0.35s ease;
    white-space: nowrap;
}

.logo-text.visible { opacity: 1; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-round);
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: -0.005em;
    white-space: nowrap;
}

.nav-links > a:hover {
    color: var(--color-dark);
    background: rgba(0, 0, 0, 0.04);
}

/* Language Selector — inside capsule */
.language-selector {
    position: relative;
    margin-left: 4px;
}

.language-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 10px 16px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    letter-spacing: -0.005em;
}

.language-btn:hover {
    color: var(--color-dark);
    background: rgba(0, 0, 0, 0.04);
}

.language-btn .arrow {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 0.3s ease;
    opacity: 0.4;
}

.language-btn.active .arrow {
    transform: rotate(-135deg);
    margin-top: 2px;
    opacity: 1;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    min-width: 170px;
    display: none;
    z-index: 101;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
    border: 1px solid var(--color-border);
}

.language-dropdown.show { display: block; animation: dropFade 0.2s ease both; }
@keyframes dropFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.language-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.language-dropdown a:hover { background: var(--color-accent-soft); color: var(--color-dark); }
.language-dropdown a.active { color: var(--color-accent); font-weight: 600; }

/* Right padding for the capsule */
.nav-links > :last-child {
    padding-right: 8px;
}

/* Mobile menu */
.menu-toggle { display: none; cursor: pointer; padding: 10px; border-radius: 50%; transition: background 0.2s ease; }
.menu-toggle:hover { background: rgba(0,0,0,0.04); }
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-dark);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ============================================
   Hero — Side by Side Layout (Apple-style)
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 40px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0f0c29 0%, #1a0a2e 30%, #2a1040 55%, #3d1a56 75%, #F63F90 140%);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: var(--content-max);
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Overlay patterns for texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(246, 63, 144, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(160, 80, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 60%, rgba(100, 40, 200, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(246, 63, 144, 0.12);
    top: -10%;
    right: -5%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(120, 60, 255, 0.1);
    bottom: -5%;
    left: -5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.05); }
    66% { transform: translate(20px, -30px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.08); }
    66% { transform: translate(-20px, 30px) scale(0.92); }
}

/* --- Left: Text --- */
.hero-content {
    flex: 1;
    max-width: 540px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    padding: 6px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-round);
    backdrop-filter: blur(10px);
}

.hero-label span {
    width: 6px;
    height: 6px;
    background: #34c759;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.04;
    margin-bottom: 20px;
}

.hero-content .highlight {
    background: linear-gradient(135deg, #ff6b9d, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 34px;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-round);
    transition: all 0.4s var(--ease-out);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(246, 63, 144, 0.35);
}

.cta-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(246, 63, 144, 0.45);
}

.cta-button:active { transform: scale(0.97); }

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 34px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-round);
    transition: all 0.4s var(--ease-out);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.cta-secondary:active { transform: scale(0.97); }

/* --- Right: App Mockup --- */
.hero-image {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.hero-image img {
    max-height: 75vh;
    width: auto;
    border-radius: var(--radius-lg);
    box-shadow: none;
    -webkit-mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
}

/* ============================================
   Features Section — Refined Cards
   ============================================ */
.features {
    background: var(--color-bg);
    text-align: center;
    padding-top: 140px;
}

.features .section-subtitle {
    margin-bottom: 72px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: left;
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Hover glow — each card gets its own accent color */
.feature-card:nth-child(1):hover { box-shadow: 0 16px 48px rgba(255, 105, 180, 0.15); }
.feature-card:nth-child(2):hover { box-shadow: 0 16px 48px rgba(246, 63, 144, 0.12); }
.feature-card:nth-child(3):hover { box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12); }
.feature-card:nth-child(4):hover { box-shadow: 0 16px 48px rgba(59, 130, 246, 0.12); }
.feature-card:nth-child(5):hover { box-shadow: 0 16px 48px rgba(16, 185, 129, 0.12); }
.feature-card:nth-child(6):hover { box-shadow: 0 16px 48px rgba(245, 158, 11, 0.12); }
.feature-card:nth-child(7):hover { box-shadow: 0 16px 48px rgba(239, 68, 68, 0.12); }
.feature-card:nth-child(8):hover { box-shadow: 0 16px 48px rgba(236, 72, 153, 0.12); }
.feature-card:nth-child(9):hover { box-shadow: 0 16px 48px rgba(20, 184, 166, 0.12); }
.feature-card:nth-child(10):hover { box-shadow: 0 16px 48px rgba(249, 115, 22, 0.12); }
.feature-card:nth-child(11):hover { box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12); }
.feature-card:nth-child(12):hover { box-shadow: 0 16px 48px rgba(168, 85, 247, 0.12); }
.feature-card:nth-child(13):hover { box-shadow: 0 16px 48px rgba(132, 204, 22, 0.12); }

/* Small color dot before title */
.feature-card:nth-child(1) h3::before { background: #ff69b4; }
.feature-card:nth-child(2) h3::before { background: #F63F90; }
.feature-card:nth-child(3) h3::before { background: #8b5cf6; }
.feature-card:nth-child(4) h3::before { background: #3b82f6; }
.feature-card:nth-child(5) h3::before { background: #10b981; }
.feature-card:nth-child(6) h3::before { background: #f59e0b; }
.feature-card:nth-child(7) h3::before { background: #ef4444; }
.feature-card:nth-child(8) h3::before { background: #ec4899; }
.feature-card:nth-child(9) h3::before { background: #14b8a6; }
.feature-card:nth-child(10) h3::before { background: #f97316; }
.feature-card:nth-child(11) h3::before { background: #6366f1; }
.feature-card:nth-child(12) h3::before { background: #a855f7; }
.feature-card:nth-child(13) h3::before { background: #84cc16; }

/* Title dot */
.feature-card h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Image — square, edge-to-edge */
.feature-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f9f9fa;
    padding: 0;
}

/* Text area */
.feature-text {
    padding: 20px 24px 26px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    background: var(--color-white);
    text-align: center;
    position: relative;
}

/* Frosted glass overlay — subscriptions not live yet */
.pricing-grid {
    position: relative;
}
.pricing-mask {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.pricing-mask-inner {
    text-align: center;
    padding: 44px 64px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing-mask-inner h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pricing-mask-inner p {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin: 0;
}

.pricing .section-subtitle {
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--content-max);
    margin: 0 auto;
    position: relative;
}

/* Free banner — bold and centered */
.pricing-free-banner {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 8px;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F63F90, #ff6b9d);
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius-round);
    box-shadow: 0 4px 20px rgba(246, 63, 144, 0.3);
}

.free-badge h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.free-badge p {
    font-size: 14px;
    opacity: 0.8;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.pricing-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.5s var(--ease-out);
    border: 1px solid var(--color-border);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pricing-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.03em;
    line-height: 1;
}

.price .period {
    font-size: 16px;
    color: var(--color-text-light);
}

.benefits {
    list-style: none;
    text-align: center;
    margin: 20px 0 28px;
}

.benefits li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.benefits li::before { content: '✓ '; color: var(--color-accent); font-weight: 700; }

.subscribe-button {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: var(--color-accent);
    border-radius: var(--radius-round);
    transition: all 0.35s var(--ease-out);
    border: none;
    cursor: pointer;
}

.subscribe-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(246, 63, 144, 0.3);
}

.subscribe-button:active { transform: scale(0.97); }

/* Popular card */
.pricing-card.popular {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: white;
    position: relative;
    transform: scale(1.03);
}

.pricing-card.popular h3 { color: var(--color-accent); }
.pricing-card.popular .price .amount { color: white; }
.pricing-card.popular .price .period { color: rgba(255,255,255,0.5); }
.pricing-card.popular .benefits li { color: rgba(255,255,255,0.7); }
.pricing-card.popular .benefits li::before { color: var(--color-accent); }

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F63F90, #ff6b9d);
    color: white;
    padding: 5px 20px;
    border-radius: var(--radius-round);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pricing-card.popular .subscribe-button {
    background: var(--color-accent);
    box-shadow: 0 4px 20px rgba(246, 63, 144, 0.35);
}

.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }

/* ============================================
   Download Section
   ============================================ */
.download {
    background: var(--color-bg);
    text-align: center;
}

.download .section-subtitle {
    margin-bottom: 48px;
}

.download .section-title {
    color: transparent !important;
    margin-bottom: 56px;
    background: linear-gradient(135deg, #F63F90 0%, #a855f7 50%, #3b82f6 100%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 52px;
    background: var(--color-dark);
    color: white;
    border-radius: var(--radius-round);
    transition: all 0.4s var(--ease-out);
    font-size: 18px;
    font-weight: 600;
}

.store-button:hover {
    background: #2d2d44;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.store-button:active { transform: scale(0.97); }
.store-button img { height: 26px; width: auto; }

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 48px 24px;
    font-size: 13px;
}

.footer-links {
    max-width: var(--content-max);
    margin: 0 auto;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links-row a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.footer-links-row a:hover {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-info p { line-height: 1.7; }

.footer-info p a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}
.footer-info p a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.social-links { display: flex; gap: 8px; }

.social-links a {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-round);
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-links { text-align: center; padding-bottom: 28px; margin-bottom: 28px; }
    .footer-links-row { justify-content: center; }
}

/* ============================================
   Wechat Modal
   ============================================ */
.wechat-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 200;
}
.wechat-modal.show { display: block; }

.modal-content {
    position: absolute;
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    width: 270px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Arrow pointing down at the button */
.modal-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.modal-content img { width: 180px; height: 180px; margin: 0 auto 16px; border-radius: var(--radius-sm); }
.modal-content p { font-size: 14px; color: var(--color-dark); margin-bottom: 16px; }

.close-modal {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius-round);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}
.close-modal:hover { background: var(--color-accent-hover); transform: scale(1.04); }

/* ============================================
   Animations — Smooth & Elegant
   ============================================ */
.hero-content { animation: heroIn 1s var(--ease-out) 0.15s both; }
.hero-image { animation: heroIn 1s var(--ease-out) 0.5s both; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 48px; }
    .hero-content h1 { font-size: 52px; }
    .hero-inner { gap: 48px; }
    .feature-image { aspect-ratio: 4 / 3; }
}

@media (max-width: 768px) {
    :root { --nav-height: 52px; }

    section { padding: 80px 20px; }

    /* Mobile nav — full-width, always light */
    nav {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        max-width: none;
        width: 100%;
        min-width: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    nav.solid { top: 0; border-radius: 0; }
    /* Force dark text on mobile (always over light bg) */
    nav .nav-links > a,
    nav .language-btn,
    nav .logo-text { color: var(--color-dark) !important; }
    nav .nav-links > a:hover { background: rgba(0,0,0,0.04) !important; color: var(--color-dark) !important; }
    nav .menu-toggle span { background: var(--color-dark) !important; }
    nav .language-btn .arrow { color: var(--color-text-light) !important; }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 8px 16px 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        opacity: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    }
    .nav-links.show { max-height: 500px; opacity: 1; }
    .nav-links a { width: 100%; padding: 14px 20px; font-size: 15px; color: var(--color-text-secondary); border-radius: var(--radius-sm); }
    .nav-links a:hover { background: rgba(0,0,0,0.04); }
    .menu-toggle { display: block; }

    .language-selector { width: 100%; margin: 0; }
    .language-btn { width: 100%; justify-content: flex-start; padding: 14px 20px; font-size: 15px; color: var(--color-text-secondary); }
    .language-dropdown { position: static; background: transparent; box-shadow: none; border: none; padding: 0; }
    .language-dropdown a { padding: 11px 28px; font-size: 14px; }
    .nav-links > :last-child { padding-right: 0; }

    /* Mobile hero — stack vertically */
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-inner { flex-direction: column; gap: 32px; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-content p { max-width: 100%; font-size: 17px; }
    .hero-content h1 { font-size: 40px; }
    .hero-actions { justify-content: center; }
    .cta-button, .cta-secondary { font-size: 14px; padding: 12px 24px; }
    .hero-image img { max-height: 70vh; width: auto; max-width: 100%; }
    .hero-image { padding-top: 20px; max-width: 100%; }

    /* Mobile features */
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .feature-text { padding: 16px 18px 22px; }
    .feature-card h3 { font-size: 15px; }
    .section-title { font-size: 36px; }
    .section-subtitle { font-size: 17px; }

    /* Mobile pricing */
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-6px); }
    .free-badge { flex-direction: column; gap: 8px; padding: 16px 24px; }
    .free-badge p { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 8px; }
    .price .amount { font-size: 40px; }

    /* Mobile footer */
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 34px; }
    .section-title { font-size: 30px; }
    .hero { padding: 90px 16px 48px; }
    .hero-inner { gap: 24px; }
    .hero-image img { max-height: 60vh; width: auto; max-width: 100%; }
    .feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-image { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .fade-in { opacity: 1; transform: none; }
}
