/* 
 * WPS AI Official Theme (Blue/White Mode)
 * Style: Clean, Professional, Official Blue/White
 * Layout: Creative Bento Grid
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-page: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    
    /* Blue Theme Colors */
    --accent-primary: #0078D6;  /* Main Blue */
    --accent-light: #E8F0FE;    /* Light Blue Background */
    --accent-hover: #0063B1;    /* Darker Blue for hover */
    
    --accent-green: #34A853;
    --accent-orange: #F9AB00;
    --border-color: #E5E5E5;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.text-gradient-ai {
    color: var(--accent-primary); /* Fallback */
    background: linear-gradient(135deg, #0078D6 0%, #4185F4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 32px; font-weight: 600; border-radius: 4px;
    font-size: 16px; cursor: pointer; transition: 0.3s;
}
.btn-primary {
    background: var(--accent-primary); color: white;
}
.btn-primary:hover {
    background: var(--accent-hover); transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 214, 0.3);
}
.btn-glow {
    background: white; border: 1px solid var(--accent-primary); color: var(--accent-primary);
}
.btn-glow:hover {
    background: var(--accent-light);
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    padding: 15px 0; z-index: 1000;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 40px; }
.nav-link { color: var(--text-main); font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--accent-primary); }

/* Hero */
.hero {
    min-height: 90vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: 100px;
    background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 100%);
}
.hero-tag {
    display: inline-block; padding: 6px 16px; border-radius: 50px;
    background: var(--accent-light); color: var(--accent-primary);
    font-size: 13px; font-weight: 600; margin-bottom: 30px; letter-spacing: 1px;
}
.hero h1 {
    font-size: 72px; letter-spacing: -2px; line-height: 1.1; margin-bottom: 30px; font-weight: 800; color: #1A1A1A;
}
.hero p {
    font-size: 20px; color: var(--text-muted); max-width: 700px; margin: 0 auto 50px;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,120,214,0.2);
    z-index: 2;
}

/* Item Sizes */
.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-item.wide {
    grid-column: span 2;
}
.bento-item.tall {
    grid-row: span 2;
}

/* Item Styles */
.bento-item.dark {
    background: #003366; /* Deep Blue for dark items */
    color: white;
    border: none;
}
.bento-item.dark .b-desc {
    color: rgba(255,255,255,0.7);
}
.bento-item.blue-bg {
    background: linear-gradient(135deg, #E8F0FE 0%, #FFFFFF 100%);
    border-color: #D2E3FC;
}
.bento-item.primary-bg { /* Replaces red-bg */
    background: linear-gradient(135deg, #E6F2FF 0%, #FFFFFF 100%);
    border-color: #CCE4FF;
}

/* Content */
.b-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.bento-item.dark .b-icon {
    background: rgba(255,255,255,0.1);
    color: white;
}

.b-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.large .b-title {
    font-size: 36px;
}

.b-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Floating Visuals */
.float-visual {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 60%;
    transition: 0.4s;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.bento-item:hover .float-visual {
    transform: scale(1.05) rotate(-2deg);
}

/* AI Chat Demo */
.chat-demo {
    max-width: 800px; margin: 0 auto;
    background: white; border-radius: 16px;
    padding: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #EEE;
}
.chat-message {
    margin-bottom: 20px; padding: 20px; border-radius: 12px; font-size: 16px;
}
.msg-user {
    background: #F5F5F7; color: #333; text-align: right; margin-left: auto; max-width: 80%;
}
.msg-ai {
    background: #E8F0FE; color: #333; border: 1px solid #D2E3FC;
    max-width: 90%; display: flex; gap: 20px;
}
.cursor {
    display: inline-block; width: 2px; height: 18px; background: var(--accent-primary);
    animation: blink 1s infinite; vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

/* Footer */
.footer {
    background: #F9FAFB; border-top: 1px solid var(--border-color); padding: 80px 0; margin-top: 100px;
}
.footer-col h4 { margin-bottom: 20px; color: #1A1A1A; font-weight: 700; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 12px; font-size: 14px; }
.footer-col a:hover { color: var(--accent-primary); }

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-item { grid-column: auto !important; grid-row: auto !important; min-height: 300px; }
    .hero h1 { font-size: 42px; }
}
