/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
    --glass-bg-opacity: 0.15;
    --glass-blur: 20px;
    --glass-border-opacity: 0.25;
    --glass-border-width: 1px;

    --color-primary: #e040fb;
    --color-secondary: #7c4dff;
    --color-accent: #ff80ab;
    --color-blue: #60a5fa;

    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);

    --gradient-brand: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-title: linear-gradient(135deg, #ff6ec7, #a78bfa, #60a5fa);
    --gradient-bg: linear-gradient(135deg, #0f0c29, #302b63, #24243e);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --max-width: 1200px;
    --navbar-height: 68px;
}

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

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

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =============================================
   Glass - 增强动态毛玻璃效果（多层流动质感）
   ============================================= */

/* 边框流光旋转角度（现代浏览器支持动画） */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.glass {
    background-color: rgba(255, 255, 255, var(--glass-bg-opacity));
    /* 斜向流动光带：周期性扫过玻璃表面，产生"活"的高光 */
    background-image: linear-gradient(115deg,
        transparent 0%,
        transparent 32%,
        rgba(255, 255, 255, 0.045) 42%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0.045) 58%,
        transparent 68%,
        transparent 100%);
    background-size: 260% 260%;
    background-repeat: no-repeat;
    backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
    border: var(--glass-border-width) solid rgba(255, 255, 255, var(--glass-border-opacity));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.16),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s ease,
                backdrop-filter 0.5s ease,
                background-color 0.5s ease;
    animation: glassSheen 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

/* 扫光：高光带从右上扫向左下 */
@keyframes glassSheen {
    0%        { background-position: 140% 0%; }
    38%, 100% { background-position: -80% 100%; }
}

/* 旋转的边框流光环：光沿边缘缓慢巡游 */
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--glass-border-width);
    background: conic-gradient(from var(--border-angle, 0deg),
        transparent 0deg,
        rgba(255, 110, 199, 0.65) 40deg,
        rgba(255, 255, 255, 0.85) 70deg,
        rgba(167, 139, 250, 0.55) 110deg,
        transparent 150deg,
        transparent 200deg,
        rgba(96, 165, 250, 0.55) 250deg,
        rgba(255, 255, 255, 0.7) 280deg,
        transparent 320deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderSpin 8s linear infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0.55;
}

@keyframes borderSpin {
    to { --border-angle: 360deg; }
}

/* 玻璃内部多层流动光晕（极光漂移 + 呼吸 + 色相流转） */
.glass::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse 38% 28% at 22% 26%, rgba(255, 110, 199, 0.085) 0%, transparent 62%),
        radial-gradient(ellipse 34% 24% at 76% 72%, rgba(96, 165, 250, 0.075) 0%, transparent 62%),
        radial-gradient(ellipse 28% 22% at 52% 46%, rgba(167, 139, 250, 0.05) 0%, transparent 68%);
    pointer-events: none;
    animation: glassDrift 16s ease-in-out infinite,
               glassBreathe 7s ease-in-out infinite,
               glassHue 26s linear infinite;
    z-index: 0;
    mix-blend-mode: screen;
}

@keyframes glassDrift {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(7%, -4%) rotate(2deg) scale(1.05); }
    50% { transform: translate(-4%, 7%) rotate(-2deg) scale(0.97); }
    75% { transform: translate(-7%, -5%) rotate(1deg) scale(1.03); }
}

@keyframes glassBreathe {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

@keyframes glassHue {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* 各玻璃元素错开动画节奏，避免整齐划一的死板感 */
.hero-content.glass       { animation-delay: -0.5s; }
.feature-card.glass       { animation-delay: -2s; }
.feature-card.glass::before { animation-delay: -1.2s; }
.feature-card.glass::after  { animation-delay: -3s, -1s, -8s; }
.about-card.glass         { animation-delay: -4.5s; }
.about-card.glass::after  { animation-delay: -5s, -2.5s, -15s; }
.contact-card.glass       { animation-delay: -6.5s; }
.contact-card.glass::after { animation-delay: -7s, -4s, -20s; }
.notice-item.glass        { animation-delay: -3s; }
.footer.glass             { animation-delay: -8s; }

/* 顶栏：通栏玻璃仅保留底边一条流动光线 */
.navbar.glass::before {
    inset: auto 0 0 0;
    padding: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 110, 199, 0.45) 25%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(96, 165, 250, 0.45) 75%,
        transparent 100%);
    background-size: 220% 100%;
    -webkit-mask: none;
    mask: none;
    opacity: 0.8;
    animation: navbarLine 7s ease-in-out infinite;
}

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

/* hover：玻璃实时加深模糊、提亮、外发光（深度玻璃感） */
.feature-card.glass:hover,
.contact-card.glass:hover,
.about-card.glass:hover,
.notice-item.glass:hover,
.footer.glass:hover {
    background-color: rgba(255, 255, 255, calc(var(--glass-bg-opacity) * 1.35));
    backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(2.1) brightness(1.05);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(2.1) brightness(1.05);
    border-color: rgba(255, 255, 255, calc(var(--glass-border-opacity) * 1.4));
    box-shadow:
        0 18px 52px rgba(0, 0, 0, 0.22),
        0 0 70px rgba(224, 64, 251, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.feature-card.glass:hover::before,
.about-card.glass:hover::before,
.contact-card.glass:hover::before { opacity: 0.9; }

/* 触屏/动效减弱场景：关闭持续动画，保留静态玻璃 */
@media (prefers-reduced-motion: reduce) {
    .glass, .glass::before, .glass::after { animation: none !important; }
}

/* 确保 glass 内容在伪元素之上 */
.navbar-inner, .hero-content, .feature-card, .about-card,
.contact-card, .footer, .notice-item, .notice-main {
    position: relative;
    z-index: 1;
}

/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    height: var(--navbar-height);
    transition: box-shadow 0.4s ease, background 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, calc(var(--glass-bg-opacity) * 1.5));
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.navbar-brand:hover { opacity: 0.85; }

.navbar-center-links {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

.btn-back {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition-base);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.btn-back:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* =============================================
   Hero Particles - 浮动光斑
   ============================================= */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.particle-1 {
    width: 500px; height: 500px;
    background: #e040fb;
    top: -150px; left: -150px;
    animation: floatP1 22s ease-in-out infinite;
}
.particle-2 {
    width: 400px; height: 400px;
    background: #7c4dff;
    bottom: -120px; right: -120px;
    animation: floatP2 26s ease-in-out infinite;
}
.particle-3 {
    width: 350px; height: 350px;
    background: #60a5fa;
    top: 30%; right: 20%;
    opacity: 0.2;
    animation: floatP3 20s ease-in-out infinite;
}

@keyframes floatP1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(120px, 80px) scale(1.1); }
    50% { transform: translate(60px, 160px) scale(0.95); }
    75% { transform: translate(-40px, 100px) scale(1.05); }
}
@keyframes floatP2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-100px, -60px) scale(1.08); }
    50% { transform: translate(-50px, -140px) scale(0.92); }
    75% { transform: translate(60px, -80px) scale(1.04); }
}
@keyframes floatP3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 60px) scale(1.15); }
    66% { transform: translate(80px, -40px) scale(0.9); }
}

/* =============================================
   Hero
   ============================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: calc(var(--navbar-height) + 40px) 32px 100px;
    position: relative;
    flex-direction: column;
}

.hero-content {
    max-width: 680px;
    padding: 64px 56px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 呼吸光晕 */
.hero-content::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 120%; height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(224, 64, 251, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes breathe {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes heroIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-accent);
    padding: 6px 20px;
    border: 1px solid rgba(224, 64, 251, 0.3);
    border-radius: 999px;
    margin-bottom: 28px;
    text-transform: uppercase;
    background: rgba(224, 64, 251, 0.06);
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(56px, 10vw, 96px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ff6ec7 0%, #e040fb 30%, #a78bfa 60%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 17px);
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.5px;
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    position: relative;
    z-index: 1;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    position: relative;
    z-index: 1;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 36px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.hero-btn.primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 24px rgba(224, 64, 251, 0.35);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(224, 64, 251, 0.5);
}

.hero-btn.ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn.ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

/* =============================================
   Scroll Hint
   ============================================= */
.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    width: 24px; height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.35);
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.35; }
    40% { transform: rotate(45deg) translateY(8px); opacity: 0.7; }
    60% { transform: rotate(45deg) translateY(4px); opacity: 0.5; }
}

/* =============================================
   Section Common
   ============================================= */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 32px 120px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 400px;
    margin: 0 auto;
}

/* =============================================
   Feature Cards
   ============================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1400px;
}

.feature-card {
    padding: 32px 28px 24px;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px);
    transform-style: preserve-3d;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow var(--transition-slow),
                border-color var(--transition-slow);
}

/* 出现后启用 3D 倾斜跟随（--rx/--ry 由 JS 注入） */
.feature-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s ease-out,
                box-shadow var(--transition-slow),
                border-color var(--transition-slow);
}

.card-image {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 18px;
    transition: opacity 0.3s, transform 0.3s;
}

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

/* Card hover glow - 跟随鼠标的光斑聚光 */
.card-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%),
            rgba(224, 64, 251, 0.20) 0%,
            rgba(124, 77, 255, 0.10) 42%,
            transparent 72%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover .card-glow { opacity: 1; }

.feature-card:hover {
    transform: translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 12px 40px rgba(224, 64, 251, 0.15),
        0 0 80px rgba(124, 77, 255, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(224, 64, 251, 0.12), rgba(124, 77, 255, 0.08));
    border: 1px solid rgba(224, 64, 251, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-accent);
    filter: drop-shadow(0 2px 8px rgba(224, 64, 251, 0.2));
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(224, 64, 251, 0.2), rgba(124, 77, 255, 0.15));
    border-color: rgba(224, 64, 251, 0.3);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.feature-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    margin-top: 20px;
    align-self: flex-end;
    transform: translateX(8px);
    opacity: 0;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--color-primary);
    background: rgba(224, 64, 251, 0.1);
}

/* =============================================
   About Section
   ============================================= */
.about-section { padding-bottom: 80px; }

.about-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 420px;
    margin: 0 auto 40px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
    min-width: 100px;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(224, 64, 251, 0.2);
    transform: translateY(-3px);
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    padding: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 32px 32px;
}

.footer p {
    margin: 0;
    letter-spacing: 0.5px;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar-inner { padding: 0 20px; }
    .navbar-center-links { display: none; }
    .navbar-brand { font-size: 20px; letter-spacing: 2px; }
    .hero { padding: calc(var(--navbar-height) + 24px) 20px 80px; min-height: auto; }
    .hero-content { padding: 44px 28px; }
    .hero-title { letter-spacing: -2px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-btn { width: 100%; max-width: 260px; }
    .section { padding: 80px 20px 100px; }
    .section-header { margin-bottom: 48px; }
    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 20px 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
    .feature-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0; flex-shrink: 0; }
    .feature-icon svg { width: 24px; height: 24px; }
    .feature-title { font-size: 16px; flex: 1; }
    .feature-desc { max-width: none; width: 100%; order: 3; margin-top: 4px; }
    .feature-arrow { margin-top: 0; transform: translateX(6px); opacity: 0.6; }
    .feature-card:hover .feature-arrow { transform: translateX(0); }
    .about-card { padding: 40px 28px; }
    .about-stats { gap: 16px; }
    .stat { padding: 16px 24px; min-width: 80px; }
    .stat-num { font-size: 26px; }
    .scroll-hint { bottom: 24px; }
    .footer { margin: 0 16px 16px; }
}

@media (max-width: 480px) {
    .navbar-brand { font-size: 18px; letter-spacing: 1px; }
    .btn-back { font-size: 12px; padding: 6px 14px; }
    .hero-content { padding: 36px 20px; }
    .hero-badge { font-size: 10px; letter-spacing: 3px; padding: 5px 14px; }
    .hero-subtitle { font-size: 13px; }
    .section-title { font-size: 24px; }
    .section-tag { font-size: 10px; letter-spacing: 3px; }
    .about-stats { gap: 12px; }
    .stat { padding: 14px 20px; min-width: 70px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .contact-card { padding: 24px 20px; }
}

/* =============================================
   Notice Bar
   ============================================= */
.notice-bar {
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notice-item {
    border-radius: 14px;
    overflow: hidden;
}

.notice-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.notice-main:hover { background: rgba(255, 255, 255, 0.05); }

.notice-badge {
    background: linear-gradient(135deg, #f472b6, #c084fc);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.notice-title {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    flex: 1;
}

.notice-toggle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    transition: transform 0.3s;
}

.notice-detail {
    max-height: 3.6em;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.notice-detail.open { max-height: 500px; }
.notice-detail p { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.8; }

/* =============================================
   Contact Form
   ============================================= */
.contact-section { padding-bottom: 40px; }

.contact-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group { margin-bottom: 0; }

.contact-form .form-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.35);
    box-shadow:
        0 0 0 3px rgba(224, 64, 251, 0.12),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-type-wrap {
    display: flex;
    gap: 8px;
}

.contact-type-wrap .form-select {
    width: 90px;
    flex-shrink: 0;
}

.contact-type-wrap .form-input { flex: 1; }

.form-actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

#contactResult { color: #22c55e; }
#contactResult.error { color: #ef4444; }

@media (max-width: 640px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
    .notice-item { flex-direction: column; align-items: flex-start; }
    .about-stats { gap: 24px; }
}
