/* ========== 浩卡联盟 - 全局样式 ========== */
/* 文件名: css/style.css */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08080f;
    --bg-card: rgba(12,12,28,0.75);
    --bg-card-hover: rgba(18,18,40,0.85);
    --primary: #00d4ff;
    --secondary: #9d4eff;
    --accent: #ff8c00;
    --gold: #ffd700;
    --text: #e0e0f0;
    --text-dim: #8a8ab0;
    --border: rgba(0,212,255,0.15);
    --border-glow: rgba(0,212,255,0.4);
    --font-zh: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-zh);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

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

/* ---- Particle Canvas ---- */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Scanline Grid Overlay ---- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* ---- Desktop Header ---- */
.desktop-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 64px;
    background: rgba(8,8,15,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: var(--transition);
}
.desktop-header.scrolled {
    background: rgba(8,8,15,0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 12px rgba(0,212,255,0.4);
}

.logo-wrap svg {
    width: 36px; height: 36px;
    filter: drop-shadow(0 0 6px rgba(0,212,255,0.5));
}

.desktop-nav {
    display: flex;
    gap: 4px;
}
.desktop-nav a {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    transition: var(--transition);
}
.desktop-nav a:hover {
    color: var(--primary);
    background: rgba(0,212,255,0.06);
}
.desktop-nav a.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0,212,255,0.4);
}
.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0,212,255,0.6);
    animation: navGlow 2s ease-in-out infinite alternate;
}

@keyframes navGlow {
    from { opacity: 0.6; box-shadow: 0 0 4px rgba(0,212,255,0.4); }
    to { opacity: 1; box-shadow: 0 0 12px rgba(0,212,255,0.8); }
}

/* ---- Mobile Bottom Nav ---- */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: 60px;
    background: rgba(8,8,15,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,212,255,0.2);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
    z-index: 1000;
}
.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    box-shadow: 0 0 10px rgba(0,212,255,0.5);
}
.mobile-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 8px;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    border-radius: 10px;
    color: var(--text-dim);
    font-size: 11px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.mobile-nav-item svg {
    width: 22px; height: 22px;
    transition: var(--transition);
}
.mobile-nav-item.active {
    color: var(--primary);
}
.mobile-nav-item.active svg {
    filter: drop-shadow(0 0 6px rgba(0,212,255,0.6));
}
.mobile-nav-item .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,212,255,0.25);
    transform: scale(0);
    animation: rippleEffect 0.5s ease-out;
    pointer-events: none;
}
@keyframes rippleEffect {
    to { transform: scale(4); opacity: 0; }
}

/* ---- Main Content ---- */
main {
    position: relative;
    z-index: 2;
    padding-top: 64px;
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, rgba(157,78,255,0.05) 40%, transparent 70%);
    animation: heroPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    border: 1px solid rgba(0,212,255,0.08);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
    pointer-events: none;
}
.hero-ring::before {
    content: '';
    position: absolute;
    top: 10%; left: 10%;
    width: 80%; height: 80%;
    border: 1px solid rgba(157,78,255,0.06);
    border-radius: 50%;
    animation: ringRotate 15s linear infinite reverse;
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    z-index: 3;
}

.hero-sub {
    font-size: clamp(14px, 2.5vw, 20px);
    color: var(--text-dim);
    margin-bottom: 40px;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
}

/* ---- Glass Card ---- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0.3;
}
.glass-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(0,212,255,0.1), 0 0 20px rgba(0,212,255,0.05);
}

/* ---- Entrance Cards Grid ---- */
.entrance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}
.entrance-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}
.entrance-card svg {
    width: 48px; height: 48px;
    transition: var(--transition);
}
.entrance-card:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0,212,255,0.5));
}
.entrance-card h3 {
    font-size: 17px;
    color: var(--primary);
}
.entrance-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ---- Info Capsules ---- */
.info-capsules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}
.capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(12,12,28,0.7);
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.capsule:hover {
    border-color: var(--border-glow);
    background: rgba(12,12,28,0.9);
}
.capsule.gold {
    border-color: rgba(255,215,0,0.3);
    color: var(--gold);
    animation: goldPulse 2s ease-in-out infinite;
}
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(255,215,0,0.15); }
    50% { box-shadow: 0 0 16px rgba(255,215,0,0.35); }
}
.capsule-label {
    color: var(--text-dim);
    font-size: 12px;
}

/* ---- Copy Toast ---- */
.copy-toast {
    position: fixed;
    z-index: 9999;
    padding: 10px 20px;
    background: rgba(0,212,255,0.15);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 10px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}
.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Advantages ---- */
.advantages {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.section-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 40px;
    color: #fff;
}
.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.adv-card {
    text-align: center;
    padding: 28px 16px;
}
.adv-card svg {
    width: 40px; height: 40px;
    margin-bottom: 14px;
    transition: var(--transition);
}
.adv-card:hover svg {
    transform: translateY(-4px);
    filter: drop-shadow(0 0 8px rgba(0,212,255,0.4));
}
.adv-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--primary);
}
.adv-card p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ---- Friend Links ---- */
.friend-links {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}
.friend-links h4 {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.friend-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.friend-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(12,12,28,0.6);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
    transition: var(--transition);
}
.friend-tag:hover {
    border-color: var(--border-glow);
    color: var(--primary);
    background: rgba(0,212,255,0.06);
}

/* ---- Footer ---- */
.site-footer {
    padding: 40px 20px 90px;
    text-align: center;
    border-top: 1px solid rgba(0,212,255,0.08);
    position: relative;
    z-index: 3;
}
.site-footer p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 2;
}

/* ---- Glow Button ---- */
.glow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
    -webkit-tap-highlight-color: transparent;
}
.glow-btn::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(255,255,255,0.15), transparent 30%);
    animation: btnShine 3s linear infinite;
}
@keyframes btnShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}
.glow-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: rippleEffect 0.5s ease-out;
    pointer-events: none;
}

/* ---- Breathing Ring ---- */
.breathing-ring {
    position: relative;
}
.breathing-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    z-index: -1;
    animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

/* ---- Page Header ---- */
.page-header {
    padding: 100px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 3;
}
.page-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
}
.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%; right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: 3px;
    animation: lineGlow 2s ease-in-out infinite alternate;
}
@keyframes lineGlow {
    from { box-shadow: 0 0 4px rgba(0,212,255,0.3); }
    to { box-shadow: 0 0 12px rgba(0,212,255,0.7); }
}
.page-header p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ---- News Grid ---- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
    position: relative;
    z-index: 3;
}
.news-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}
.news-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.news-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(157,78,255,0.1));
}
.news-thumb .geo-art {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.news-thumb .geo-art svg {
    width: 60%; height: 60%;
    opacity: 0.4;
}
.news-date-badge {
    position: absolute;
    top: 10px; right: 10px;
    padding: 4px 10px;
    background: rgba(0,212,255,0.15);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--primary);
}
.news-card h3 {
    font-size: 16px;
    margin: 16px 0 8px;
    color: #fff;
    line-height: 1.4;
}
.news-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
    flex: 1;
}
.news-card .read-more {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.news-card .read-more:hover {
    color: var(--gold);
}

/* ---- News Sidebar ---- */
.news-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding: 0 20px 60px;
}
.news-main { flex: 1; }
.news-sidebar {
    width: 260px;
    flex-shrink: 0;
}
.sidebar-block {
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-block h4 {
    font-size: 14px;
    margin-bottom: 14px;
    color: var(--primary);
    letter-spacing: 1px;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.1);
    font-size: 12px;
    color: var(--text-dim);
    transition: var(--transition);
}
.tag-cloud a:hover {
    background: rgba(0,212,255,0.12);
    border-color: var(--border-glow);
    color: var(--primary);
}

/* ---- Modal ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: rgba(12,12,28,0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: var(--border-glow);
}
.modal-content h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary);
}
.modal-content p {
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.8;
}
.modal-content .modal-meta {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

/* ---- Agent Page ---- */
.agent-hero {
    padding: 100px 20px 50px;
    text-align: center;
    position: relative;
    z-index: 3;
}
.agent-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}
.agent-hero p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 30px;
}
.agent-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.agent-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}
.agent-info .capsule {
    font-size: 15px;
}

/* Particle Border */
.particle-border {
    position: relative;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 300%;
    animation: particleBorder 3s ease infinite;
}
.particle-border .capsule {
    background: var(--bg);
    border: none;
    border-radius: 50px;
}
@keyframes particleBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Steps */
.steps-wrap {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}
.steps-line {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.steps-line::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.step-num {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}
.step-item:hover .step-num {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0,212,255,0.3);
}
.step-item h4 {
    font-size: 14px;
    color: #fff;
}
.step-item p {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    max-width: 160px;
}

/* ---- App Page ---- */
.app-showcase {
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}
.phone-mockup {
    width: 280px;
    height: 560px;
    border-radius: 36px;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
    border: 3px solid rgba(0,212,255,0.15);
    position: relative;
    padding: 12px;
    box-shadow:
        0 0 40px rgba(0,212,255,0.1),
        inset 0 0 20px rgba(0,212,255,0.03);
    margin-bottom: 40px;
}
.phone-mockup::before,
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0,212,255,0.08);
    pointer-events: none;
}
.phone-mockup::before { width: 380px; height: 380px; animation: ringRotate 25s linear infinite; }
.phone-mockup::after { width: 460px; height: 460px; animation: ringRotate 30s linear infinite reverse; }
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 26px;
    background: var(--bg);
    border: 1px solid rgba(0,212,255,0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.phone-screen .app-card {
    width: 85%;
    padding: 16px;
    border-radius: 12px;
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.1);
    text-align: center;
    animation: cardFloat 3s ease-in-out infinite;
}
.phone-screen .app-card:nth-child(2) { animation-delay: 0.5s; }
.phone-screen .app-card:nth-child(3) { animation-delay: 1s; }
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.phone-screen .app-card h5 {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 4px;
}
.phone-screen .app-card p {
    font-size: 11px;
    color: var(--text-dim);
}
.app-version {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 24px;
}
.app-version .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    margin-left: 6px;
    animation: dotBlink 1.5s ease-in-out infinite;
}
@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.app-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.app-feat {
    text-align: center;
    padding: 24px 16px;
}
.app-feat svg {
    width: 36px; height: 36px;
    margin-bottom: 12px;
}
.app-feat h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--primary);
}
.app-feat p {
    font-size: 12px;
    color: var(--text-dim);
}

/* ---- Shop Page ---- */
.shop-container {
    position: relative;
    z-index: 3;
    padding: 0;
    height: calc(100vh - 64px);
    min-height: 850px;
}
.shop-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.shop-loader {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.6s, visibility 0.6s;
}
.shop-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-ring {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    animation: loaderSpin 1s linear infinite;
    margin-bottom: 20px;
}
@keyframes loaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.shop-back {
    position: fixed;
    top: 80px; left: 20px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(12,12,28,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.shop-back:hover {
    border-color: var(--border-glow);
    color: var(--primary);
}
.seo-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* ---- Fade In Animation ---- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .news-layout { flex-direction: column; }
    .news-sidebar { width: 100%; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .desktop-header { display: none; }
    .mobile-nav { display: block; }
    main { padding-top: 0; padding-bottom: 70px; }
    .hero { min-height: auto; padding: 60px 16px 40px; }
    .entrance-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .app-features { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .steps-line { flex-direction: column; gap: 30px; }
    .steps-line::before { display: none; }
    .step-item { flex-direction: row; text-align: left; gap: 16px; }
    .phone-mockup { width: 240px; height: 480px; }
    .shop-container { height: calc(100vh - 60px); min-height: 600px; }
    .site-footer { padding-bottom: 90px; }
    .agent-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .adv-grid { grid-template-columns: 1fr; }
    .app-features { grid-template-columns: 1fr; }
    .info-capsules { flex-direction: column; align-items: center; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.4); }
