/* ===== CSS Variables ===== */
:root {
    --brand-dark: #272035;
    --brand-gold: #FADC6D;
    --brand-olive: #6E7353;
    --brand-orange: #FF8A65;
    --brand-amber: #FFB74D;
    
    --bg-dark: #1a1625;
    --bg-darker: #0f0d16;
    --bg-card: #2a2438;
    --bg-card-light: rgba(42, 36, 56, 0.75);
    
    --text-primary: #ffffff;
    --text-secondary: #b8b4c8;
    --text-muted: #8a8596;
    
    --border-color: #3d3650;
    --border-light: rgba(255, 138, 101, 0.25);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 25px 70px rgba(255, 138, 101, 0.5);
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bouncy: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --gradient-primary: linear-gradient(135deg, #FF8A65 0%, #FADC6D 50%, #FFB74D 100%);
    --gradient-bg: linear-gradient(165deg, #1a1625 0%, #2d1b3d 50%, #1a1625 100%);
}

/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

button {
    font-family: inherit;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 22, 37, 0.92);
    backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(15, 13, 22, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.04);
}

.cta-nav {
    background: var(--gradient-primary);
    color: var(--brand-dark);
    box-shadow: 0 10px 30px rgba(250, 220, 109, 0.25);
}

.cta-nav:hover,
.cta-nav:focus-visible {
    color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(250, 220, 109, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 999px;
    transition: all var(--transition-base);
}

/* ===== Common Components ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 138, 101, 0.3);
    background: linear-gradient(135deg, rgba(255, 138, 101, 0.18) 0%, rgba(255, 183, 77, 0.12) 100%);
    color: var(--brand-amber);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255, 138, 101, 0.15);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-top: 1.25rem;
}

.section-subtitle {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--brand-dark);
    box-shadow: 0 14px 36px rgba(250, 220, 109, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(255, 138, 101, 0.5);
}

.btn-secondary {
    color: var(--brand-gold);
    border: 2px solid rgba(250, 220, 109, 0.5);
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(250, 220, 109, 0.08);
    transform: translateY(-3px);
}

/* ===== Floating Shapes ===== */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
    animation: float 24s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    right: 8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 138, 101, 0.18) 0%, transparent 70%);
}

.shape-2 {
    bottom: 14%;
    left: -6%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(250, 220, 109, 0.14) 0%, transparent 70%);
    animation-direction: reverse;
}

.shape-3,
.shape-4,
.shape-5,
.shape-6,
.shape-7,
.shape-8,
.shape-9,
.shape-10 {
    background: radial-gradient(circle, rgba(110, 115, 83, 0.12) 0%, transparent 70%);
}

.shape-3 { top: 42%; right: 28%; width: 240px; height: 240px; }
.shape-4 { top: 16%; left: -4%; width: 320px; height: 320px; }
.shape-5 { top: 12%; right: -3%; width: 300px; height: 300px; }
.shape-6 { bottom: 8%; left: 10%; width: 260px; height: 260px; animation-direction: reverse; }
.shape-7 { top: 20%; right: 12%; width: 280px; height: 280px; }
.shape-8 { top: 12%; left: 6%; width: 320px; height: 320px; }
.shape-9 { bottom: 8%; right: -4%; width: 380px; height: 380px; animation-direction: reverse; }
.shape-10 { top: 15%; left: 50%; width: 260px; height: 260px; }

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    padding-top: 120px;
}

.hero-content {
    max-width: 820px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-top: 1.5rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ===== Trinity ===== */
.trinity-section {
    background: var(--bg-darker);
}

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

.trinity-card,
.story-card,
.info-card {
    background: linear-gradient(135deg, rgba(255, 138, 101, 0.12) 0%, rgba(255, 183, 77, 0.06) 100%);
    border: 2px solid rgba(255, 138, 101, 0.22);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.45s var(--transition-bouncy);
    position: relative;
    overflow: hidden;
}

.trinity-card::before,
.story-card::before,
.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.07) 45%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 0.9s ease;
}

.trinity-card:hover,
.story-card:hover,
.info-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 138, 101, 0.5);
    box-shadow: var(--shadow-glow);
}

.trinity-card:hover::before,
.story-card:hover::before,
.info-card:hover::before {
    transform: translateX(110%);
}

.trinity-icon,
.value-icon,
.story-avatar,
.info-icon,
.feature-icon-small {
    background: var(--gradient-primary);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 138, 101, 0.5), inset 0 -3px 10px rgba(0, 0, 0, 0.18);
}

.trinity-icon,
.value-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.5s var(--transition-bouncy);
}

.trinity-card:hover .trinity-icon,
.value-block:hover .value-icon,
.story-card:hover .story-avatar,
.info-card:hover .info-icon {
    transform: rotate(360deg) scale(1.08);
}

.trinity-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1.5rem;
}

.trinity-subtitle {
    color: var(--brand-gold);
    margin-top: 0.45rem;
    font-weight: 700;
}

.trinity-desc {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.trinity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.tag,
.metric {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Value Section ===== */
.value-section {
    background: linear-gradient(165deg, #1a1625 0%, #23172f 50%, #1a1625 100%);
}

.value-block {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.value-block:last-child {
    margin-bottom: 0;
}

.value-block-reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.value-title {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: 900;
}

.value-subtitle {
    color: var(--brand-gold);
    font-size: 1.08rem;
    margin-top: 0.6rem;
}

.value-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.value-feature-item:hover {
    transform: translateX(10px);
    border-color: rgba(255, 138, 101, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    font-size: 1.15rem;
    transition: transform var(--transition-base);
}

.value-feature-item:hover .feature-icon-small {
    transform: scale(1.08);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
}

.feature-text p {
    color: var(--text-secondary);
    margin-top: 0.3rem;
    font-size: 0.95rem;
}

.value-image-wrapper {
    position: relative;
}

.value-image-placeholder {
    min-height: 340px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 138, 101, 0.18) 0%, rgba(255, 183, 77, 0.10) 100%);
    border: 2px solid rgba(255, 138, 101, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.value-image-placeholder i {
    font-size: 4rem;
    color: var(--brand-gold);
}

.value-image-placeholder p {
    font-size: 1.3rem;
    font-weight: 700;
}

/* ===== Stories ===== */
.stories-section {
    background: var(--bg-darker);
}

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

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    font-size: 2rem;
    position: relative;
    flex-shrink: 0;
}

.avatar-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 138, 101, 0.28) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 2.5s ease-in-out infinite;
}

.story-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
}

.story-role {
    color: var(--brand-gold);
    font-size: 0.95rem;
}

.story-quote {
    margin-top: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.story-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.metric {
    color: var(--text-primary);
}

/* ===== Join ===== */
.join-section {
    background: linear-gradient(165deg, #1a1625 0%, #2d1b3d 50%, #1a1625 100%);
}

.join-card {
    position: relative;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 138, 101, 0.95) 0%, rgba(255, 183, 77, 0.92) 100%);
    padding: 3.2rem;
    box-shadow: 0 30px 80px rgba(255, 138, 101, 0.35);
    overflow: hidden;
}

.join-card::before,
.join-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    filter: blur(10px);
}

.join-card::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -30px;
}

.join-card::after {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: -40px;
}

.join-card-header {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--brand-dark);
    margin-bottom: 2.5rem;
}

.join-card-header h3 {
    font-size: 2rem;
    font-weight: 900;
}

.join-card-header p {
    margin-top: 0.8rem;
    font-size: 1.05rem;
    opacity: 0.9;
}

.join-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}

.join-qr-section {
    text-align: center;
}

.qr-wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 1rem;
    border-radius: 26px;
    border: 3px solid rgba(255,255,255,0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.45s var(--transition-bouncy);
}

.qr-wrapper:hover {
    transform: translateY(-10px) scale(1.03);
}

.qr-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
}

.qr-glow {
    position: absolute;
    inset: -18px;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 2.5s ease-in-out infinite;
}

.qr-label {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(39, 32, 53, 0.12);
    color: var(--brand-dark);
    font-weight: 700;
}

.qr-name {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.join-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--brand-dark);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.info-card:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.info-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(39, 32, 53, 0.12);
    box-shadow: none;
}

.info-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
}

.info-content p {
    margin-top: 0.55rem;
    color: rgba(39, 32, 53, 0.92);
}

.qq-number {
    font-family: 'Courier New', monospace;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qq-number:hover {
    transform: scale(1.03);
}

.copy-hint {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.85rem;
    color: rgba(39, 32, 53, 0.72);
}

.join-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(39, 32, 53, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-text {
    font-size: 0.95rem;
    color: rgba(39, 32, 53, 0.95);
}

.join-note {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: rgba(39, 32, 53, 0.12);
    color: var(--brand-dark);
    font-weight: 600;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #272035 0%, #0f0d16 100%);
}

.cta-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 900;
}

.cta-subtitle {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}

.cta-note {
    margin-top: 1rem;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-links li,
.footer-links a {
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-logo {
    margin-top: 1.25rem;
}

.footer-logo-img {
    height: 34px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--brand-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: var(--text-muted);
}

/* ===== Join Warning Card ===== */
.info-card-warning {
    background: rgba(255, 138, 101, 0.22) !important;
    border-color: rgba(255, 138, 101, 0.35) !important;
}

.info-card-warning .info-icon {
    background: rgba(255, 138, 101, 0.3) !important;
    color: var(--brand-dark) !important;
}

.qq-admin-number {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--brand-dark);
    cursor: pointer;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    display: inline-block;
}

.qq-admin-number:hover {
    transform: scale(1.03);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.2rem;
    border-radius: 16px;
    background: rgba(15, 13, 22, 0.95);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    transform: translateY(24px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 1200;
}

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

.toast i {
    color: #4ade80;
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    transition-delay: var(--delay, 0s);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section-title,
    .cta-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.9rem;
    }

    .value-block,
    .value-block-reverse,
    .join-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .join-content {
        gap: 1.5rem;
    }

    .join-qr-section {
        max-width: 320px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    section {
        padding: 4.5rem 0;
    }

    .nav-menu {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: rgba(15, 13, 22, 0.98);
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-title,
    .cta-title {
        font-size: 1.9rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trinity-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .join-card {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .join-card-header h3 {
        font-size: 1.6rem;
    }

    .qq-number {
        font-size: 1.5rem;
    }

    .value-image-placeholder {
        min-height: 240px;
    }

    .toast {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .section-title,
    .cta-title {
        font-size: 1.65rem;
    }

    .trinity-card,
    .story-card,
    .info-card {
        padding: 1.35rem;
    }

    .join-note {
        align-items: flex-start;
    }

    .step {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
