/*
Theme Name: GoBistroLink
Theme URI: https://gobistrolink.com
Author: GoBistroLink
Author URI: https://gobistrolink.com
Description: Official theme for GoBistroLink SaaS Restaurant Platform
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: gobistrolink-theme
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: #1a1a1a; background: #fff; }
img { max-width: 100%; height: auto; }
a { color: #e8732c; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === VARIABLES === */
:root {
    --primary: #e8732c;
    --primary-dark: #c85a18;
    --secondary: #1a1a2e;
    --accent: #f7b731;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --success: #28a745;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.15);
    --container: 1200px;
}

/* === LAYOUT === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }

/* === HEADER === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5em; font-weight: 800; color: var(--secondary); }
.site-logo span { color: var(--primary); }
.site-logo img { height: 40px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 8px 16px; border-radius: 8px; font-weight: 500; color: var(--secondary); transition: all .2s; }
.site-nav a:hover { background: var(--gray-100); text-decoration: none; }
.site-nav .btn-nav { background: var(--primary); color: #fff; }
.site-nav .btn-nav:hover { background: var(--primary-dark); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5em; cursor: pointer; }
@media (max-width:768px) {
    .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .mobile-menu-toggle { display: block; }
}

/* === HERO === */
.hero { background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; max-width: 700px; }
.hero-tag { display: inline-block; background: rgba(232,115,44,.2); color: var(--primary); padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(232,115,44,.3); }
.hero h1 { font-size: clamp(2.2em, 5vw, 3.5em); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2em; opacity: .85; margin-bottom: 36px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 60px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2em; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: 13px; opacity: .7; margin-top: 4px; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: all .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 6px 20px rgba(232,115,44,.4); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: all .2s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.feature-icon { width: 52px; height: 52px; background: rgba(232,115,44,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5em; margin-bottom: 16px; }
.feature-title { font-size: 1.1em; font-weight: 700; margin-bottom: 8px; }
.feature-desc { color: var(--gray-600); font-size: .95em; line-height: 1.6; }

/* === HOW IT WORKS === */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 48px; }
.how-step { text-align: center; }
.how-number { width: 60px; height: 60px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5em; font-weight: 800; margin: 0 auto 16px; }
.how-title { font-size: 1.1em; font-weight: 700; margin-bottom: 8px; }
.how-desc { color: var(--gray-600); font-size: .9em; }

/* === SECTION TITLES === */
.section-title { font-size: clamp(1.8em, 3vw, 2.5em); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1em; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* === CTA === */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 2.5em; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 1.2em; opacity: .9; margin-bottom: 36px; }

/* === FOOTER === */
.site-footer { background: var(--secondary); color: #fff; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { opacity: .7; margin-top: 12px; font-size: .95em; line-height: 1.7; }
.footer-col h4 { font-size: .9em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .5; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .95em; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .9em; opacity: .6; }
@media (max-width:600px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* === CONTENT AREA === */
.content-area { padding: 60px 0; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-bottom: 16px; margin-top: 32px; }
.entry-content p { margin-bottom: 16px; }
