/* Sogou Vibrant Style */
:root {
    --sg-primary: #ff5c00;
    --sg-primary-hover: #ff7a33;
    --sg-gradient: linear-gradient(135deg, #ff5c00 0%, #ff8e33 100%);
    --sg-text: #2d2d2d;
    --sg-text-light: #7a7a7a;
    --sg-bg: #fffbf7;
    --sg-white: #ffffff;
    --sg-shadow: 0 10px 30px rgba(255, 92, 0, 0.15);
    --sg-radius: 24px;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--sg-bg);
    color: var(--sg-text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.sg-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    height: 72px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.nav-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sg-logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--sg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex; align-items: center; gap: 8px;
}

.nav-menu { display: flex; gap: 40px; }
.nav-link { font-weight: 500; color: var(--sg-text); position: relative; }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--sg-primary); transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.nav-btn {
    background: var(--sg-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 92, 0, 0.2);
}
.nav-btn:hover { background: var(--sg-primary-hover); transform: translateY(-1px); }

/* Hero Section */
.sg-hero {
    padding: 100px 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text { max-width: 500px; }
.hero-badge {
    display: inline-block;
    background: #ffebe0;
    color: var(--sg-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(to right, #2d2d2d, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 18px;
    color: var(--sg-text-light);
    margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 16px; }
.btn-lg {
    padding: 14px 36px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.btn-primary {
    background: var(--sg-gradient);
    color: white;
    box-shadow: var(--sg-shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(255, 92, 0, 0.25); }
.btn-outline {
    background: white;
    color: var(--sg-text);
    border: 1px solid #eee;
}
.btn-outline:hover { border-color: var(--sg-primary); color: var(--sg-primary); }

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

/* Typing Animation Visual */
.typing-box {
    background: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    z-index: 2;
}

.chat-bubble {
    background: #f0f0f0;
    padding: 15px 20px;
    border-radius: 16px 16px 16px 4px;
    margin-bottom: 20px;
    font-size: 16px;
    width: fit-content;
}

.chat-bubble.me {
    background: var(--sg-primary);
    color: white;
    border-radius: 16px 16px 4px 16px;
    margin-left: auto;
    position: relative;
}

.input-bar {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: var(--sg-primary);
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink { 50% { opacity: 0; } }

/* Floating Elements */
.float-icon {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    font-size: 32px;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}
.fi-1 { top: 10%; left: 10%; animation-delay: 0s; }
.fi-2 { bottom: 15%; left: 5%; animation-delay: 2s; }
.fi-3 { top: 20%; right: 5%; animation-delay: 1.5s; }
.fi-4 { bottom: 20%; right: 10%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features */
.sg-features { padding: 80px 0; }
.sec-title { text-align: center; font-size: 36px; font-weight: 800; margin-bottom: 60px; }

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feat-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--sg-radius);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #ffebe0;
}

.fc-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--sg-primary);
}

.fc-h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.fc-p { color: var(--sg-text-light); }

/* Download Section */
.sg-dl-sec {
    background: white;
    padding: 80px 0;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.02);
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.dl-item {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.dl-item:hover {
    background: #fff5f0;
    transform: scale(1.05);
}

.dl-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.dl-name { font-weight: 700; font-size: 18px; margin-bottom: 5px; display: block; }
.dl-ver { font-size: 12px; color: #999; }

/* Footer */
.sg-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.ft-logo { font-size: 24px; font-weight: 800; margin-bottom: 20px; color: white; }
.ft-p { color: #888; font-size: 14px; line-height: 1.8; }
.ft-links { display: flex; gap: 30px; margin-top: 30px; }
.ft-links a { color: #ccc; font-size: 14px; }
.ft-links a:hover { color: var(--sg-primary); }
.ft-copy { margin-top: 50px; border-top: 1px solid #333; padding-top: 30px; text-align: center; color: #555; font-size: 12px; }
