/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Author: Source Code Lab
Author URI: https://sourcecodelab.ai
Description: GeneratePress theme ka child theme for SCL.
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

:root {
  /* Enterprise Typography */
  --font-primary: 'Space Grotesk', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Source Code Lab Colors */
  --primary: #0459D7;
  --accent: #0EA5E9;
  --dark: #020420;
  --darker: #05002b;
  --footer-grad: linear-gradient(145deg, #020420 0%, #06113C 50%, #0459D7 150%);
  
  --bg-white: #ffffff;
  --bg-offwhite: #F8FAFC;
  --bg-lightest: #F1F5F9;
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --border-light: #E2E8F0;
  --border-strong: #CBD5E1;
  
  --gradient: linear-gradient(135deg, #0459D7 0%, #0EA5E9 100%);
  --gradient-hover: linear-gradient(135deg, #0EA5E9 0%, #0459D7 100%);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 20px 40px rgba(4, 89, 215, 0.12);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --maxw: 1440px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 500; }
a { color:inherit; text-decoration:none; transition: var(--transition); }

/* --- Global Professional Buttons --- */
.btn {
  font-family: var(--font-sans); font-size:15px; letter-spacing:0.02em;
  padding:16px 36px; border-radius: 8px; display:inline-flex; align-items:center; gap:12px;
  white-space:nowrap; transition:all .3s ease; font-weight: 600; cursor: pointer; border: none;
}
.btn:hover { transform:translateY(-3px); }
.btn-primary { background:var(--gradient); color:var(--bg-white); box-shadow: 0 8px 25px rgba(4,89,215,0.25); }
.btn-primary:hover { box-shadow:var(--hover-shadow); background:var(--gradient-hover); color:#fff; }
.btn-outline { border:2px solid var(--border-strong); color:var(--text-main); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-offwhite); }

/* --- Global Navigation --- */
.nav-container { position: fixed; top: 0; left: 0; right: 0; padding: 24px 40px; z-index: 1000; transition: padding 0.3s ease; }
.nav-container.scrolled { padding: 16px 40px; }
.nav-box {
  max-width: var(--maxw); margin: 0 auto; background: var(--footer-grad); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15); backdrop-filter: blur(10px);
}
.nav-links { display:flex; align-items:center; gap:40px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size:13px; color: rgba(255,255,255,0.7); text-transform: uppercase; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--bg-white); }
.nav-cta { font-size:12px; background: var(--gradient); color:var(--bg-white); padding:14px 30px; border-radius:8px; font-weight: 600; }

.mobile-menu { display:none; position:fixed; inset:0; background:var(--footer-grad); z-index:1100; padding:100px 40px 40px; flex-direction:column; gap:24px; }
.mobile-menu.open { display:flex; }
.mobile-menu a { font-size:24px; color:var(--bg-white); font-weight:500; text-transform: uppercase; }
.mobile-close { position:absolute; top:32px; right:40px; color:var(--bg-white); font-size:32px; cursor: pointer; }
.burger { display:none; flex-direction:column; gap:6px; padding:8px; background:none; border:none; cursor:pointer;}
.burger span { width:24px; height:2px; background:var(--bg-white); border-radius:2px; }

@media (max-width: 1024px) { .nav-links { display:none; } .burger { display:flex; } }
@media (max-width: 640px) { .nav-container { padding: 16px 20px; } .nav-box { padding: 12px 16px; } }

/* --- Global Footer --- */
footer { background: var(--footer-grad); color: var(--bg-white); padding:100px 0 40px; position: relative; overflow: hidden; }
.footer-top { display:flex; justify-content:space-between; gap:70px; flex-wrap:wrap; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand { max-width:440px; }
.footer-cols { display:flex; gap:100px; flex-wrap:wrap; }
.footer-col h5 { font-family:var(--font-mono); font-size:13px; color:var(--accent); margin-bottom:28px; text-transform:uppercase;}
.footer-col a { display:block; font-size:15.5px; color:rgba(255,255,255,0.7); margin-bottom:18px; }
.footer-col a:hover { color:var(--bg-white); transform: translateX(5px); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:40px; flex-wrap:wrap; gap:24px; }
.footer-social { display:flex; gap:30px; }