/* activation.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #f8fafc;
    --secondary: #f59e0b;
    --accent: #f59e0b;
    --accent-alt: #d97706;
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --glow: 0 0 20px rgba(245, 158, 11, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--primary);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.03), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(217, 119, 6, 0.03), transparent 30%);
    z-index: -2;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.logo-accent {
    color: var(--accent);
    position: relative;
}

/* 修改STAR·NUCLEUS底下的黑色线条为点状动画效果 */
.logo-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    background-size: 200% 100%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.logo:hover .logo-accent::after {
    transform: scaleX(1);
    transform-origin: left;
    animation: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.nav-link:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text);
    position: relative;
}

.hero-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;

    width: 100%;
    height: 4px;
    background: rgba(245, 158, 11, 0.3);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    margin: 80px 0;
    position: relative;
}

.divider-icon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.section-description {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Activation Section */
.activation-section {
    padding: 100px 0;
    background: var(--primary);
}

.activation-container {
    max-width: 900px;
    margin: 0 auto;
}

.success-message {
    text-align: center;
    margin-bottom: 60px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent);
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.success-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.guide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text);
    text-align: center;
}

.import-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.import-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.import-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.import-header {
    text-align: center;
    margin-bottom: 30px;
}

.import-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 2rem;
    transition: all 0.4s ease;
}

.import-card:hover .import-icon {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.import-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.import-steps {
    margin-bottom: 30px;
}

.import-steps ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.import-steps li {
    counter-increment: step-counter;
    padding: 15px 20px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.05rem;
    position: relative;
    padding-left: 50px;
}

.import-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.copy-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    padding: 16px 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--glow);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.copy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.copy-button:hover::before {
    left: 100%;
}

.copy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.config-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin-bottom: 40px;
    text-align: center;
}

.config-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.config-url {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    word-break: break-all;
    padding: 20px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.copy-url-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--glow);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.copy-url-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.copy-url-button:hover::before {
    left: 100%;
}

.copy-url-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.manual-import {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.manual-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

.manual-text {
    flex: 1;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.manual-text strong {
    font-weight: 700;
    color: var(--accent);
}

/* Tips Section */
.tips-section {
    padding: 100px 0;
    background: var(--secondary);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.05));
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tip-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.tip-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s ease;
}

.tip-card:hover .tip-icon {
    transform: scale(1.1) rotate(10deg);
}

.tip-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.tip-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Support Section */
.support-section {
    padding: 100px 0;
    background: var(--primary);
}

.support-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.support-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.support-description {
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.support-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.contact-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.contact-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.back-button:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Footer */
footer {
    background: var(--secondary);
    background: rgba(245, 158, 11, 0.05);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    position: relative;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 20px;
}

.footer-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.footer-link a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-link-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.footer-link a:hover .footer-link-icon {
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
}

.copyright {
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.4s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .import-methods {
        grid-template-columns: 1fr;
    }
    .tips-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .support-contacts {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 140px 0 80px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.3rem;
    }
    .nav-links {
        display: none;
    }
    .tips-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .success-title {
        font-size: 2rem;
    }
    .guide-title {
        font-size: 1.8rem;
    }
    .import-steps li {
        font-size: 1rem;
        padding-left: 45px;
    }
    .import-steps li::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}