/*
Theme Name: Solutions Connect
Theme URI: https://solutionsconnect.biz
Description: Portfolio landing page and blog engine for Solutions Connect. Steel Blue Deep palette with honey accents.
Version: 1.1
Author: Solutions Connect
Author URI: https://solutionsconnect.biz
License: GNU General Public License v2 or later
Text Domain: solutionsconnect
*/

/* ═══ CSS VARIABLES ═══ */
:root {
  --deep: #1F3F5E;
  --dark: #1A2F44;
  --steel: #36648B;
  --light: #7DAFCF;
  --ice: #F0F4F8;
  --honey: #CF8D00;
  --white: #FFFFFF;
  --text: #334155;
  --muted: #94A3B8;
  --border: #B8D0E5;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; letter-spacing: -0.02em; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ═══ NAVIGATION ═══ */
.site-nav {
  background: var(--deep);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--steel), var(--light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.site-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.site-logo-text .highlight { color: var(--honey); }

/* WordPress nav menu styling */
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links ul { list-style: none; display: flex; gap: 24px; align-items: center; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }

/* Footer nav menu styling */
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 4px; }
.footer-nav a { display: block; font-size: 13px; color: var(--light); }
.footer-nav a:hover { color: var(--white); }

/* ═══ HERO ═══ */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--deep) 30%, var(--steel) 100%);
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--light) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(125,175,207,0.12);
  border: 1px solid rgba(125,175,207,0.25);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--honey); }

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-block;
  background: var(--honey);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: #B87A00; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--steel);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: var(--steel); }

/* ═══ SECTIONS ═══ */
.section { padding: 80px 40px; }
.section-ice { background: var(--ice); }
.section-white { background: var(--white); }
.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--deep) 50%, var(--steel) 100%);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--light) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
  text-align: center;
}

/* ═══ WHAT WE DO CARDS ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--steel);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--light);
}

.feature-card-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* ═══ PRODUCT FEATURE ═══ */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--border);
  margin-bottom: 60px;
  box-shadow: 0 1px 3px rgba(31,63,94,0.04);
  transition: box-shadow 0.3s;
}

.product-feature:hover { box-shadow: 0 8px 32px rgba(31,63,94,0.1); }

.product-tag {
  display: inline-block;
  background: rgba(54,100,139,0.07);
  border: 1px solid rgba(54,100,139,0.15);
  border-radius: var(--radius-xs);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.product-feature h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-feature .product-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--steel);
  margin-bottom: 20px;
}

.product-feature .product-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.feature-tags span {
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.product-cta { display: flex; gap: 12px; align-items: center; }
.product-cta .note { font-size: 13px; color: var(--muted); }

/* ═══ DASHBOARD PREVIEW ═══ */
.dashboard-preview {
  background: var(--deep);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dashboard-frame {
  border: 2px solid var(--light);
  border-radius: 12px;
  padding: 8px;
  background: rgba(0,0,0,0.2);
}

.dashboard-panel {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.dashboard-panel:last-child { margin-bottom: 0; }

.dashboard-panel-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 10px;
}

.score-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.score-circle .number { font-size: 22px; font-weight: 800; color: var(--white); }
.score-circle .total { font-size: 8px; color: var(--light); }

.score-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 2px;
}

.score-bar-fill { height: 3px; border-radius: 2px; }

.phone-mockup {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 100px;
  border-radius: 10px;
  border: 2px solid var(--light);
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.phone-mockup span { font-size: 8px; font-weight: 700; }

/* ═══ COMING SOON ═══ */
.coming-soon-header {
  display: inline-block;
  padding: 16px 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dark) 0%, var(--deep) 100%);
  margin-bottom: 32px;
}

.coming-soon-header span {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 50%, var(--honey) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-soon-grid { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.coming-soon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coming-soon-card .icon { font-size: 20px; }
.coming-soon-card .name { font-size: 14px; font-weight: 700; color: var(--dark); }

/* ═══ STATS ═══ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 12px;
  border: 3px solid var(--steel);
  text-align: center;
}

.stat-card .number { font-size: 28px; font-weight: 800; color: var(--steel); margin-bottom: 4px; }
.stat-card .label { font-size: 13px; font-weight: 600; color: var(--steel); margin-bottom: 4px; }
.stat-card .sub { font-size: 11px; color: var(--light); }

/* ═══ BLOG ═══ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--steel);
  border-radius: var(--radius);
  border: 1px solid var(--light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card-category {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.blog-card h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.blog-card p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.5; flex: 1; margin-bottom: 16px; }
.blog-card .read-more { font-size: 13px; font-weight: 600; color: var(--honey); }
.blog-card .read-more:hover { color: #E8A000; }

/* ═══ BLOG LIST PAGE ═══ */
.blog-header { margin-bottom: 40px; }

.blog-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.blog-filter {
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.blog-filter:hover, .blog-filter.active {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}

/* ═══ SINGLE POST ═══ */
.single-post { max-width: 760px; margin: 0 auto; }

.single-post-header { margin-bottom: 32px; }

.single-post-category {
  display: inline-block;
  background: rgba(54,100,139,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.single-post-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.single-post-meta {
  font-size: 13px;
  color: var(--muted);
}

.single-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.single-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}

.single-post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}

.single-post-content p { margin-bottom: 16px; }

.single-post-content ul, .single-post-content ol {
  margin: 0 0 16px 24px;
}

.single-post-content li { margin-bottom: 6px; }

.single-post-content a { color: var(--honey); font-weight: 500; }
.single-post-content a:hover { color: #E8A000; }

.single-post-content img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.single-post-content code {
  background: var(--ice);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Monaco', 'Menlo', monospace;
}

.single-post-content pre {
  background: var(--dark);
  color: var(--light);
  padding: 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 16px 0;
}

.single-post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ═══ CTA SECTION ═══ */
.cta-section {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  margin: 0 auto 32px;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--dark);
  padding: 40px 40px 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand .site-logo { margin-bottom: 8px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); }

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.footer-link {
  display: block;
  font-size: 13px;
  color: var(--light);
  margin-bottom: 4px;
}

.footer-link:hover { color: var(--white); }

.footer-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero { padding: 60px 20px 50px; }
  .section { padding: 50px 20px; }
  .container { padding: 0 20px; }
  .site-nav { padding: 0 20px; }
  .product-feature { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .section-title { font-size: 28px; }
  .coming-soon-header span { font-size: 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .footer-content { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
