/* ============================================
   SoftD.xyz — Game Development Studio
   Main Stylesheet
   ============================================ */

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

:root {
  --bg: #080810;
  --bg2: #0f0f1a;
  --bg3: #16162a;
  --bg4: #1c1c32;
  --primary: #00e676;
  --primary-dark: #00b359;
  --secondary: #2979ff;
  --accent: #ff6d00;
  --danger: #ff5252;
  --text: #e8e8f0;
  --text2: #9898b8;
  --border: #1e1e35;
  --radius: 10px;
  --header-h: 68px;
  --tr: 0.25s ease;
  --shadow: 0 2px 20px rgba(0,0,0,0.5);
  --glow: 0 0 24px rgba(0,230,118,0.18);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

a { color: var(--primary); text-decoration: none; transition: color var(--tr); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .badge { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.section-head h2 span { color: var(--primary); }
.section-head p { color: var(--text2); max-width: 580px; margin: 0 auto; font-size: 1.02rem; }
.badge { display: inline-block; background: rgba(0,230,118,0.1); color: var(--primary); padding: 4px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.badge-blue { background: rgba(41,121,255,0.1); color: var(--secondary); }
.badge-orange { background: rgba(255,109,0,0.1); color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 8px; font-size: 0.93rem; font-weight: 700; transition: all var(--tr); text-decoration: none; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: #fff; color: #000; transform: translateY(-2px); box-shadow: var(--glow); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #000; transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #1565ff; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

.card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all var(--tr); }
.card:hover { border-color: rgba(0,230,118,0.4); transform: translateY(-4px); box-shadow: var(--glow); }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text2); }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ---- Header ---- */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,8,16,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 900; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #000; font-weight: 900; font-size: 1rem; flex-shrink: 0; }
.logo span { color: var(--primary); }

#nav-links { display: flex; align-items: center; gap: 2px; }
#nav-links li a { padding: 7px 13px; border-radius: 7px; font-size: 0.88rem; font-weight: 500; color: var(--text2); transition: all var(--tr); }
#nav-links li a:hover, #nav-links li a.active { color: #fff; background: rgba(255,255,255,0.07); }
#nav-links li a.nav-cta { background: var(--primary); color: #000 !important; padding: 8px 18px; font-weight: 700; margin-left: 6px; }
#nav-links li a.nav-cta:hover { background: #fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: all var(--tr); }

#mobile-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 999; overflow-y: auto; padding: 12px 0; }
#mobile-nav.open { display: block; }
#mobile-nav-links li a { display: block; padding: 15px 22px; font-size: 1rem; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 500; }
#mobile-nav-links li a:hover { color: var(--primary); background: rgba(0,230,118,0.04); }

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(ellipse 900px 600px at 20% 50%, rgba(0,230,118,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(41,121,255,0.06) 0%, transparent 65%),
    var(--bg);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-center { text-align: center; }
.hero-content-center { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 22px; }
.hero h1 .hl { color: var(--primary); }
.hero h1 .hl2 { color: var(--secondary); }
.hero-desc { font-size: 1.1rem; color: var(--text2); margin-bottom: 36px; max-width: 580px; line-height: 1.75; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; justify-content: center; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.hero-stat h3 { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.hero-stat p { font-size: 0.82rem; color: var(--text2); margin-top: 4px; }

.hero-visual { position: relative; z-index: 1; }
.game-showcase { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 60px rgba(0,0,0,0.5); }
.game-screen { aspect-ratio: 4/3; background: linear-gradient(135deg, #0a1628 0%, #1a0a28 50%, #0a1628 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.game-screen-content { text-align: center; }
.game-screen-icon { font-size: 4rem; margin-bottom: 10px; display: block; }
.game-screen-label { font-size: 0.8rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 2px; }
.game-orb { position: absolute; border-radius: 50%; filter: blur(40px); }
.orb-1 { width: 200px; height: 200px; background: rgba(0,230,118,0.15); top: -60px; left: -60px; }
.orb-2 { width: 150px; height: 150px; background: rgba(41,121,255,0.15); bottom: -40px; right: -40px; }
.game-info { padding: 18px 20px; }
.game-info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.game-title { font-weight: 700; font-size: 0.95rem; }
.game-rating { color: #ffd700; font-size: 0.82rem; }
.tech-stack { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-tag { background: var(--bg3); color: var(--text2); padding: 3px 9px; border-radius: 4px; font-size: 0.73rem; border: 1px solid var(--border); }
.floating-badge { position: absolute; background: var(--primary); color: #000; padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; box-shadow: var(--glow); }
.fb-1 { top: -12px; right: 20px; }
.fb-2 { bottom: 80px; left: -10px; background: var(--secondary); color: #fff; box-shadow: 0 0 20px rgba(41,121,255,0.3); }

/* ---- Clients / Trusted ---- */
.trusted { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center; }
.trusted-label { font-size: 0.82rem; color: var(--text2); white-space: nowrap; text-transform: uppercase; letter-spacing: 1px; }
.trusted-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trusted-logo { font-size: 0.88rem; font-weight: 700; color: var(--text2); opacity: 0.5; transition: opacity var(--tr); white-space: nowrap; }
.trusted-logo:hover { opacity: 1; color: var(--primary); }

/* ---- Features ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all var(--tr); }
.feature-card:hover { border-color: rgba(0,230,118,0.35); transform: translateY(-3px); box-shadow: var(--glow); }
.feature-icon { width: 52px; height: 52px; background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text2); font-size: 0.88rem; line-height: 1.7; }

/* ---- Packages ---- */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.pkg-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 32px; transition: all var(--tr); position: relative; overflow: hidden; }
.pkg-card.featured { border-color: var(--primary); background: linear-gradient(160deg, rgba(0,230,118,0.04), var(--bg2)); }
.pkg-popular-ribbon { position: absolute; top: 16px; right: -30px; background: var(--primary); color: #000; font-size: 0.72rem; font-weight: 800; padding: 5px 44px; transform: rotate(45deg); text-transform: uppercase; letter-spacing: 0.5px; }
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 12px 48px rgba(0,0,0,0.4); border-color: var(--primary); }
.pkg-badge { display: inline-block; background: rgba(0,230,118,0.1); color: var(--primary); font-size: 0.74rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.pkg-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.pkg-price { font-size: 2.4rem; font-weight: 900; color: var(--primary); margin: 14px 0; line-height: 1; }
.pkg-price sub { font-size: 1rem; font-weight: 400; color: var(--text2); }
.pkg-price span { font-size: 0.88rem; font-weight: 400; color: var(--text2); }
.pkg-desc { color: var(--text2); font-size: 0.88rem; line-height: 1.65; margin-bottom: 20px; }
.pkg-features { margin-bottom: 26px; }
.pkg-features li { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 0.86rem; border-bottom: 1px solid var(--border); }
.pkg-features li:last-child { border: none; }
.pkg-features li::before { content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; line-height: 1.5; }
.pkg-delivery { font-size: 0.8rem; color: var(--text2); margin-bottom: 18px; }
.pkg-delivery strong { color: var(--primary); }

/* ---- Process ---- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; position: relative; }
.process-step { text-align: center; padding: 30px 18px; position: relative; }
.step-num { width: 58px; height: 58px; border: 2px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; color: var(--primary); background: rgba(0,230,118,0.06); margin: 0 auto 20px; }
.step-icon { font-size: 1.5rem; margin-bottom: 6px; }
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--text2); font-size: 0.86rem; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color var(--tr); }
.testimonial-card:hover { border-color: rgba(0,230,118,0.3); }
.t-stars { color: #ffd700; margin-bottom: 14px; font-size: 0.92rem; }
.t-text { color: var(--text2); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.t-text::before { content: '"'; }
.t-text::after { content: '"'; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.92rem; color: #000; flex-shrink: 0; }
.t-name { font-weight: 700; font-size: 0.88rem; }
.t-role { color: var(--text2); font-size: 0.78rem; margin-top: 2px; }

/* ---- Blog / Guides ---- */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.content-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--tr); }
.content-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.content-thumb { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; background: linear-gradient(135deg, var(--bg3), var(--bg4)); }
.content-cat { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #000; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; }
.content-body { padding: 20px; }
.content-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.content-body p { color: var(--text2); font-size: 0.85rem; line-height: 1.65; }
.content-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 0.78rem; color: var(--text2); }
.content-meta a { color: var(--primary); font-weight: 600; font-size: 0.82rem; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.team-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all var(--tr); }
.team-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 900; color: #000; margin: 0 auto 16px; }
.team-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; }
.team-card p { color: var(--text2); font-size: 0.82rem; line-height: 1.55; }

/* ---- Portfolio ---- */
.portfolio-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-btn { padding: 7px 18px; border-radius: 20px; font-size: 0.84rem; font-weight: 600; background: var(--bg2); border: 1px solid var(--border); color: var(--text2); cursor: pointer; transition: all var(--tr); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; cursor: pointer; }
.portfolio-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; background: linear-gradient(135deg, var(--bg2), var(--bg3)); transition: transform 0.4s; }
.portfolio-item:hover .portfolio-bg { transform: scale(1.06); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.88); opacity: 0; transition: opacity var(--tr); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.portfolio-overlay p { color: var(--text2); font-size: 0.83rem; margin-bottom: 14px; }
.portfolio-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.portfolio-tag { background: rgba(0,230,118,0.12); color: var(--primary); padding: 2px 9px; border-radius: 4px; font-size: 0.72rem; font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; }
.faq-q { padding: 18px 22px; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--primary); flex-shrink: 0; transition: transform var(--tr); line-height: 1; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--text2); font-size: 0.9rem; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ---- CTA Section ---- */
.cta-wrap { background: linear-gradient(135deg, rgba(0,230,118,0.07), rgba(41,121,255,0.07)); border: 1px solid rgba(0,230,118,0.15); border-radius: 18px; padding: 72px 40px; text-align: center; }
.cta-wrap h2 { font-size: clamp(1.8rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-wrap p { color: var(--text2); max-width: 480px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact-info-block h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.contact-info-block p { color: var(--text2); line-height: 1.75; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.c-icon { width: 46px; height: 46px; background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.c-info h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text2); margin-bottom: 3px; }
.c-info p { color: var(--text); font-weight: 600; font-size: 0.92rem; margin: 0; }

/* ---- Forms ---- */
.form-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text2); margin-bottom: 7px; }
.form-group label span { color: var(--danger); }
.form-control { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text); font-size: 0.92rem; transition: border-color var(--tr); outline: none; font-family: inherit; }
.form-control:focus { border-color: var(--primary); }
.form-control::placeholder { color: var(--text2); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control option { background: var(--bg2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Order ---- */
.order-layout { display: grid; grid-template-columns: 1.5fr 380px; gap: 40px; align-items: start; }
.order-summary-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 28px; position: sticky; top: 90px; }
.order-summary-card h3 { font-size: 1.1rem; font-weight: 800; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.summary-row:last-child { border: none; }
.summary-row .label { color: var(--text2); }
.summary-row .value { font-weight: 600; color: var(--text); }
.summary-total { font-size: 1.05rem; font-weight: 800; }
.summary-total .value { color: var(--primary); font-size: 1.2rem; }
.order-note { background: rgba(0,230,118,0.06); border: 1px solid rgba(0,230,118,0.15); border-radius: 8px; padding: 12px 16px; font-size: 0.82rem; color: var(--text2); margin-top: 16px; }

/* ---- Page Hero (inner pages) ---- */
.page-hero { padding: 70px 0 52px; text-align: center; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 50% 100%, rgba(0,230,118,0.04), transparent 65%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 14px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.83rem; color: var(--text2); }
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }

/* ---- Policy ---- */
.policy-wrap { max-width: 800px; margin: 0 auto; }
.policy-wrap .last-updated { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 18px; font-size: 0.84rem; color: var(--text2); margin-bottom: 32px; }
.policy-wrap h2 { font-size: 1.4rem; font-weight: 700; margin: 36px 0 12px; color: var(--primary); }
.policy-wrap p { color: var(--text2); line-height: 1.82; margin-bottom: 14px; font-size: 0.93rem; }
.policy-wrap ul { padding-left: 20px; margin-bottom: 14px; list-style: disc; }
.policy-wrap ul li { color: var(--text2); margin-bottom: 8px; font-size: 0.91rem; line-height: 1.65; }

/* ---- Services ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.service-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all var(--tr); }
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--glow); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text2); font-size: 0.87rem; line-height: 1.68; margin-bottom: 16px; }
.service-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.service-tag { background: var(--bg3); color: var(--text2); padding: 3px 9px; border-radius: 4px; font-size: 0.73rem; border: 1px solid var(--border); }

/* ---- Alert / Toast ---- */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 0.88rem; }
.alert-success { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.25); color: #00e676; }
.alert-error { background: rgba(255,82,82,0.1); border: 1px solid rgba(255,82,82,0.25); color: var(--danger); }
.toast-msg { position: fixed; bottom: 24px; right: 24px; background: var(--bg2); border: 1px solid var(--primary); border-radius: 10px; padding: 14px 20px; font-size: 0.88rem; z-index: 9999; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; max-width: 320px; box-shadow: var(--glow); }
.toast-msg.show { transform: translateY(0); opacity: 1; }

/* ---- Footer ---- */
#site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { }
.footer-brand p { color: var(--text2); font-size: 0.86rem; line-height: 1.75; margin-top: 14px; max-width: 250px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: var(--text2); font-size: 0.86rem; transition: color var(--tr); }
.footer-col li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.82rem; color: var(--text2); }
.social-links { display: flex; gap: 8px; }
.social-link { width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: var(--text2); transition: all var(--tr); }
.social-link:hover { background: var(--primary); color: #000; border-color: var(--primary); }

/* ---- Admin ---- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--bg2); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.admin-sidebar .logo { padding: 20px 20px 20px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.admin-nav li a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: var(--text2); font-size: 0.88rem; font-weight: 500; transition: all var(--tr); border-left: 3px solid transparent; }
.admin-nav li a:hover, .admin-nav li a.active { color: var(--text); background: rgba(0,230,118,0.05); border-left-color: var(--primary); }
.admin-main { padding: 30px; background: var(--bg); overflow-y: auto; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-topbar h1 { font-size: 1.5rem; font-weight: 800; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.stat-card h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text2); }
.stat-card .num { font-size: 2rem; font-weight: 900; color: var(--primary); margin: 8px 0 4px; }
.stat-card p { font-size: 0.76rem; color: var(--text2); }
.admin-section { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 22px; }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.admin-section-head h2 { font-size: 1rem; font-weight: 700; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--bg3); padding: 11px 14px; text-align: left; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text2); }
.admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
.admin-table tr:last-child td { border: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.nav-editor-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.nav-editor-row .num { width: 24px; flex-shrink: 0; text-align: center; font-size: 0.82rem; color: var(--text2); }
.nav-editor-row input[type=text] { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; color: var(--text); font-size: 0.86rem; outline: none; font-family: inherit; }
.nav-editor-row input[type=text]:focus { border-color: var(--primary); }
.nav-editor-row label { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--text2); white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.btn-sm { padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--tr); font-family: inherit; }
.btn-sm-primary { background: var(--primary); color: #000; }
.btn-sm-primary:hover { background: #fff; }
.btn-sm-danger { background: rgba(255,82,82,0.1); color: var(--danger); border: 1px solid rgba(255,82,82,0.2); }
.btn-sm-danger:hover { background: rgba(255,82,82,0.2); }
.btn-sm-secondary { background: rgba(41,121,255,0.1); color: var(--secondary); border: 1px solid rgba(41,121,255,0.2); }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 700; text-transform: uppercase; }
.s-pending { background: rgba(255,193,7,0.1); color: #ffc107; }
.s-active { background: rgba(0,230,118,0.1); color: var(--primary); }
.s-completed { background: rgba(41,121,255,0.1); color: var(--secondary); }
.s-cancelled { background: rgba(255,82,82,0.1); color: var(--danger); }
.admin-login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.login-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 44px 40px; width: 100%; max-width: 400px; }
.login-card h2 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.login-card .sub { text-align: center; color: var(--text2); font-size: 0.88rem; margin-bottom: 28px; }
.error-msg { color: var(--danger); font-size: 0.84rem; margin-top: 8px; }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 30px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text2); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--text); }

/* ---- Values / Stats Section ---- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.value-card { text-align: center; padding: 28px 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--text2); font-size: 0.84rem; }
.big-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.big-stat { text-align: center; padding: 28px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.big-stat .num { font-size: 2.4rem; font-weight: 900; color: var(--primary); }
.big-stat p { color: var(--text2); font-size: 0.84rem; margin-top: 4px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 58px; }
  #nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-wrap { padding: 48px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 50px 0 36px; }
  .hero { padding: 60px 0; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .packages-grid { grid-template-columns: 1fr; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 22px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
