:root {
    --primary-color: #6d28d9;
    --secondary-color: #db2777;
    --accent-color: #06b6d4;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -100px;
    left: -100px;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    bottom: -100px;
    right: -100px;
    animation: float 12s infinite ease-in-out reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:not(.disabled):hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-secondary.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s;
}

.glass-header.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:not(.btn-primary):hover {
    color: #a78bfa;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    /* Optional: Use the generated abstract background if desired, or keep the orbs */
    /* background: url('../assets/images/hero_background_dark_abstract.png') no-repeat center center/cover; */
}

/* Add a pseudo-element for the hero background to ensure readability if using the image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/hero_background_dark_abstract.png') no-repeat center center/cover;
    opacity: 0.3;
    /* Low opacity to blend with dark bg */
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    width: 300px;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.screen-img {
    width: 100%;
    border-radius: 40px;
    border: 8px solid #1e293b;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Showcase Section */
.showcase {
    padding: 100px 0;
    overflow: hidden;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.showcase-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.showcase-image img {
    max-width: 100%;
    width: 350px;
    /* Adjust based on mockup */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s;
}

.hover-float:hover {
    transform: translateY(-20px);
}

/* Footer */
.glass-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 50px 0;
    margin-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* WeChat Tip Overlay */
.weixin-tip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: flex-start;
    justify-content: flex-end;
}

.weixin-tip-content {
    padding: 20px 40px;
    text-align: right;
    color: white;
    font-size: 1.2rem;
}

.weixin-tip p {
    margin-bottom: 10px;
}

.icon-dots {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0 5px;
    border-radius: 4px;
    margin: 0 5px;
}

.highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.arrow-guide {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-top: -10px;
    margin-right: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .showcase-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .showcase-image {
        justify-content: center;
    }

    .glass-header nav {
        display: none;
    }

    .logo {
        margin: 0 auto;
    }
}