/* 
 * WPS Office Official Clone Style
 * Style: Clean, Productivity, Red Accent, Flat Design
 */

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

:root {
    --wps-red: #F24636;
    --wps-red-hover: #D93425;
    --wps-dark: #333333;
    --wps-text: #666666;
    --wps-bg-light: #F7F7F7;
    --wps-border: #EEEEEE;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--wps-dark);
    line-height: 1.6;
    background-color: white;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--wps-bg-light); }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 32px; font-weight: 500;
    border-radius: 4px; font-size: 16px; cursor: pointer; transition: 0.3s;
    text-align: center; border: 1px solid transparent;
}
.btn-primary {
    background: var(--wps-red); color: white;
}
.btn-primary:hover {
    background: var(--wps-red-hover);
}
.btn-outline {
    background: transparent; border-color: var(--wps-dark); color: var(--wps-dark);
}
.btn-outline:hover {
    border-color: var(--wps-red); color: var(--wps-red);
}
.btn-lg {
    padding: 16px 48px; font-size: 18px;
}

/* Navbar */
.navbar {
    height: 70px; border-bottom: 1px solid var(--wps-border);
    position: sticky; top: 0; background: rgba(255,255,255,0.98); z-index: 1000;
}
.navbar .container {
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    font-size: 28px; font-weight: 700; color: var(--wps-red);
    display: flex; align-items: center; gap: 8px; letter-spacing: -1px;
}
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; color: var(--wps-dark); font-size: 15px; }
.nav-link:hover { color: var(--wps-red); }

/* Hero */
.hero {
    padding: 120px 0 80px; text-align: center;
    background: linear-gradient(180deg, white 0%, #FFF5F5 100%);
}
.hero-title {
    font-size: 56px; line-height: 1.1; margin-bottom: 24px; color: var(--wps-dark);
}
.hero-sub {
    font-size: 20px; color: var(--wps-text); max-width: 700px; margin: 0 auto 40px;
}

/* Feature Cards (4-in-1) */
.feature-tabs {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 40px;
}
.tab-item {
    padding: 10px 30px; border-radius: 20px; cursor: pointer; font-weight: 500;
    color: var(--wps-text); transition: 0.3s;
}
.tab-item.active, .tab-item:hover {
    background: #FFF0EF; color: var(--wps-red);
}
.product-showcase {
    background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden; margin-top: 40px; border: 1px solid var(--wps-border);
}

/* Icons Grid */
.icon-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px;
}
.icon-card {
    text-align: center; padding: 30px; border-radius: 8px; transition: 0.3s;
}
.icon-card:hover { background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.icon-img {
    width: 60px; height: 60px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: white; border-radius: 12px;
}

/* Download Section */
.dl-section {
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative; color: white; padding: 100px 0; text-align: center;
}
.dl-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(242, 70, 54, 0.9);
}
.dl-content { position: relative; z-index: 1; }

/* Footer */
.footer {
    background: #F9F9F9; padding: 60px 0 30px; font-size: 14px;
}
.footer-cols {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-bottom: 40px;
}
.footer h4 { margin-bottom: 20px; font-size: 16px; color: #333; }
.footer a { display: block; margin-bottom: 10px; color: #666; }
.footer a:hover { color: var(--wps-red); }
.footer-bottom {
    border-top: 1px solid #EEE; padding-top: 30px; text-align: center; color: #999;
}
