:root {
    --primary-color: #3B82F6;
    --secondary-color: #1E293B;
    --accent-color: #10B981;
    --bg-color: #F8FAFC;
    --text-color: #334155;
    --heading-color: #0F172A;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Inter', system-ui, -apple-system, sans-serif; */
    font-family: "Sarasa Term SC", "Helvetica Neue", Ubuntu, Helvetica, "Source Han Serif", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "WenQuanYi Zen Hei", "Apple LiGothic Medium", "ST Heiti", "WenQuanYi Zen Hei Sharp", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--heading-color);
}

.logo img {
    height: 32px;
    width: 32px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .github-link {
    color: var(--heading-color);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #dbeafe 0%, transparent 40%),
        radial-gradient(circle at bottom left, #dcfce7 0%, transparent 40%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748B;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--heading-color);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.tech-stack-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: #94A3B8;
    font-size: 1.5rem;
}

/* Browser Mockup */
.hero-image {
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.browser-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transform: rotateX(2deg) translateY(10px);
    transition: transform 0.5s ease;
}

.browser-mockup:hover {
    transform: rotateX(0deg) translateY(0);
}

.browser-header {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.red {
    background-color: #ef4444;
}

.yellow {
    background-color: #f59e0b;
}

.green {
    background-color: #22c55e;
}

.url-bar {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    flex-grow: 1;
    margin-left: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: #64748B;
    padding: 4px 0;
    max-width: 400px;
    margin-right: auto;
}

.browser-mockup img {
    display: block;
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748B;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 30px;
    border-radius: 16px;
    background: #F8FAFC;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
    transform: translateY(-5px);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.bg-blue {
    background: #DBEAFE;
    color: #2563EB;
}

.bg-green {
    background: #D1FAE5;
    color: #059669;
}

.bg-purple {
    background: #E9D5FF;
    color: #7C3AED;
}

.bg-orange {
    background: #FFEDD5;
    color: #EA580C;
}

.bg-cyan {
    background: #CFFAFE;
    color: #0891B2;
}

.bg-red {
    background: #FEE2E2;
    color: #DC2626;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.feature-card p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: #94A3B8;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.code-preview {
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    color: #10B981;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline-white {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-white:hover {
    background: white;
    color: #0F172A;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--heading-color);
    opacity: 0.8;
}

.footer-logo img {
    height: 24px;
    width: 24px;
    filter: grayscale(100%);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.9rem;
}

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

.copyright {
    color: #94A3B8;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

    .btn {
        justify-content: center;
    }
}