/*
Theme Name: Superbuy Spreadsheet
Theme URI: https://superbuy-spreadsheet.online
Author: Superbuy Spreadsheet
Author URI: https://superbuy-spreadsheet.online
Description: A clean SEO-optimized theme for Superbuy Spreadsheet website with modern e-commerce design.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: superbuy-spreadsheet
Tags: white, orange, seo, e-commerce, blog
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #1a1a1a; background-color: #ffffff; font-size: 15px; }
a { color: #1e5fa8; text-decoration: none; }
a:hover { color: #E67E22; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.topbar { background-color: #0f1b2d; color: #ffffff; padding: 10px 0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 20px; }
.topbar a { color: #ffffff; }
.topbar a:hover { color: #E67E22; }

/* Navigation — dark navy */
.navbar { background-color: #0f1b2d; padding: 18px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.nav-brand h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.nav-brand a { color: #E67E22; text-decoration: none; }
.nav-brand a:hover { color: #ffb87a; }
.nav-links { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: #ffffff; font-size: 14px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: all 0.2s ease; }
.nav-links a:hover { color: #E67E22; border-bottom-color: #E67E22; }
.nav-menu { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.category-dropdown { padding: 9px 14px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; background-color: rgba(255,255,255,0.1); color: #ffffff; font-size: 13px; cursor: pointer; }
.category-dropdown option { color: #333; background-color: #ffffff; }
.category-dropdown:hover { border-color: #E67E22; }

/* Buttons */
.btn { display: inline-block; padding: 10px 22px; border-radius: 4px; font-weight: 600; font-size: 14px; transition: all 0.25s ease; cursor: pointer; border: none; text-align: center; }
.btn-primary { background-color: #E67E22; color: #ffffff; }
.btn-primary:hover { background-color: #D35400; color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(230,126,34,0.4); }
.btn-secondary { background-color: transparent; color: #ffffff; border: 1px solid #ffffff; }
.btn-secondary:hover { background-color: #ffffff; color: #E67E22; }
.btn-dark { background-color: #0f1b2d; color: #ffffff; }
.btn-dark:hover { background-color: #1e3a5f; color: #ffffff; }
.btn-blue { background-color: #1e5fa8; color: #ffffff; }
.btn-blue:hover { background-color: #164b87; color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,95,168,0.4); }
.btn-large { padding: 14px 32px; font-size: 15px; }

/* Hero — dark blue gradient with dot pattern */
.hero { position: relative; padding: 100px 0 120px; overflow: hidden; background: linear-gradient(135deg, #0f1b2d 0%, #1e5fa8 55%, #3178c6 100%); color: #ffffff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.15) 1.5px, transparent 1.5px); background-size: 28px 28px; opacity: 0.6; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(230,126,34,0.25), transparent 55%), radial-gradient(circle at 15% 75%, rgba(30,95,168,0.4), transparent 60%); pointer-events: none; }
.hero > .container { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.hero-content h2 { font-size: 52px; color: #ffffff; margin-bottom: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; text-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.hero-content .highlight { color: #ffc78a; }
.hero-subtitle { font-size: 18px; color: #ffffff; margin-bottom: 28px; line-height: 1.6; opacity: 0.95; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { background: rgba(255,255,255,0.97); border-radius: 14px; padding: 40px 30px; text-align: center; box-shadow: 0 25px 60px rgba(0,0,0,0.25); color: #1a1a1a; }
.hero-visual-icon { font-size: 68px; margin-bottom: 15px; }
.hero-visual h3 { font-size: 22px; margin-bottom: 8px; color: #0f1b2d; }
.hero-visual p { color: #666; font-size: 14px; }

/* Section base */
section { padding: 70px 0; }
.section-title { font-size: 32px; color: #0f1b2d; text-align: center; margin-bottom: 15px; font-weight: 800; letter-spacing: -0.4px; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 45px; font-size: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-light { background-color: #f6f9fc; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.stat-item { padding: 30px 20px; }
.stat-number { font-size: 52px; font-weight: 800; color: #E67E22; line-height: 1; margin-bottom: 8px; letter-spacing: -1px; }
.stat-label { font-size: 15px; color: #555; font-weight: 500; }

/* Category grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card { background: #ffffff; border: 1px solid #e5eaf2; border-radius: 10px; padding: 30px 20px; text-align: center; text-decoration: none; transition: all 0.25s ease; color: inherit; }
.category-card:hover { border-color: #E67E22; transform: translateY(-4px); box-shadow: 0 10px 25px rgba(15,27,45,0.08); color: inherit; }
.category-icon { font-size: 44px; margin-bottom: 12px; }
.category-card h3 { font-size: 17px; margin-bottom: 6px; color: #0f1b2d; font-weight: 700; }
.category-card p { font-size: 13px; color: #777; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.feature-card { background: #ffffff; padding: 35px 28px; border-radius: 10px; border: 1px solid #e5eaf2; transition: all 0.25s ease; }
.feature-card:hover { box-shadow: 0 10px 25px rgba(15,27,45,0.08); border-color: #E67E22; }
.feature-icon { width: 54px; height: 54px; background: #fff2e0; color: #E67E22; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: #0f1b2d; font-weight: 700; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* Steps */
.steps-list { max-width: 850px; margin: 0 auto; }
.step-item { display: flex; gap: 22px; padding: 25px 0; border-bottom: 1px solid #e5eaf2; }
.step-item:last-child { border-bottom: none; }
.step-number { width: 42px; height: 42px; background: #E67E22; color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.step-content h3 { font-size: 19px; margin-bottom: 8px; color: #0f1b2d; font-weight: 700; }
.step-content p { color: #666; font-size: 15px; }

/* Tips */
.tips-list { max-width: 800px; margin: 0 auto; }
.tip-row { display: flex; gap: 15px; padding: 15px 0; align-items: flex-start; }
.tip-check { color: #E67E22; font-weight: 800; font-size: 20px; flex-shrink: 0; margin-top: -2px; }
.tip-row p { color: #444; font-size: 15px; line-height: 1.7; }
.tip-row strong { color: #0f1b2d; }

/* Articles */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.article-card { background: #ffffff; border: 1px solid #e5eaf2; border-radius: 10px; padding: 28px; text-decoration: none; color: inherit; transition: all 0.25s ease; display: block; }
.article-card:hover { border-color: #E67E22; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(15,27,45,0.08); color: inherit; }
.article-card .article-tag { display: inline-block; background: #fff2e0; color: #E67E22; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.article-card h3 { font-size: 18px; margin-bottom: 10px; color: #0f1b2d; font-weight: 700; line-height: 1.4; }
.article-card p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.read-more { color: #E67E22; font-weight: 600; font-size: 14px; }

/* CTA */
.cta { background: linear-gradient(135deg, #0f1b2d 0%, #1e5fa8 100%); color: #ffffff; text-align: center; padding: 65px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(230,126,34,0.15), transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1), transparent 40%); pointer-events: none; }
.cta > .container { position: relative; z-index: 2; }
.cta h2 { font-size: 34px; margin-bottom: 12px; font-weight: 800; }
.cta p { font-size: 17px; margin-bottom: 26px; opacity: 0.95; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #E67E22; color: #ffffff; }
.cta .btn-primary:hover { background: #D35400; color: #ffffff; }
.cta .btn-secondary { background: transparent; color: #ffffff; border-color: #ffffff; }
.cta .btn-secondary:hover { background: #ffffff; color: #0f1b2d; }

/* Article header */
.article-header { background: linear-gradient(135deg, #0f1b2d 0%, #1e5fa8 100%); padding: 60px 0 50px; text-align: center; color: #ffffff; position: relative; overflow: hidden; }
.article-header::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.12) 1.5px, transparent 1.5px); background-size: 28px 28px; opacity: 0.6; pointer-events: none; }
.article-header > .container { position: relative; z-index: 2; }
.article-header h1 { font-size: 40px; color: #ffffff; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.5px; }
.article-header .hero-subtitle { max-width: 720px; margin: 0 auto; color: #ffffff; opacity: 0.9; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 15px; }
.breadcrumb a { color: #ffc78a; }
.breadcrumb a:hover { color: #ffffff; }

/* Article body */
.article-content { padding: 55px 0; background: #ffffff; }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body h2 { font-size: 28px; color: #0f1b2d; margin: 35px 0 18px; font-weight: 800; letter-spacing: -0.3px; }
.article-body h3 { font-size: 21px; color: #E67E22; margin: 28px 0 12px; font-weight: 700; }
.article-body p { font-size: 16px; color: #444; line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 18px 0 18px 28px; color: #444; line-height: 1.8; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #0f1b2d; }
.article-body a { color: #1e5fa8; text-decoration: underline; }
.article-body a:hover { color: #E67E22; }

/* Intro block */
.page-intro { padding: 60px 0; text-align: center; background: #ffffff; }
.page-intro p { max-width: 820px; margin: 0 auto 15px; font-size: 16px; color: #555; line-height: 1.8; }

/* Footer */
.footer { background: #0f1b2d; color: #b3c1d1; padding: 55px 0 25px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 35px; margin-bottom: 35px; }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; color: #E67E22; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #b3c1d1; font-size: 14px; }
.footer-col ul li a:hover { color: #E67E22; }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid #1e3a5f; color: #7a8a9c; font-size: 13px; }

/* WordPress core */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* Responsive */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h2 { font-size: 36px; }
    .hero { padding: 60px 0 70px; }
    .nav-links { width: 100%; justify-content: center; gap: 15px; margin-top: 8px; }
    .nav-menu { width: 100%; justify-content: center; margin-top: 8px; }
}
@media (max-width: 600px) {
    .section-title { font-size: 24px; }
    .article-header h1 { font-size: 26px; }
    .stat-number { font-size: 36px; }
    .hero-content h2 { font-size: 28px; }
}
