/*
Theme Name: Lamorank
Theme URI: https://lamorank.online
Author: Lamorank
Author URI: https://lamorank.online
Description: AI Search Optimization & GEO Agency theme for Lamorank. Premium, modern, high-converting design with full WordPress Customizer support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lamorank
Tags: business, portfolio, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — Edit colors, fonts, spacing here
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary:     #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-secondary:   #7C3AED;
  --color-navy:        #0F172A;
  --color-charcoal:    #1E293B;
  --color-mid:         #475569;
  --color-soft:        #94A3B8;

  /* Backgrounds */
  --color-bg:          #FFFFFF;
  --color-bg-gray:     #F8FAFC;
  --color-bg-card:     #FFFFFF;
  --color-border:      #E2E8F0;

  /* Typography */
  --font-display:      'Syne', sans-serif;
  --font-body:         'DM Sans', sans-serif;

  /* Layout */
  --container-max:     1200px;
  --container-pad:     clamp(1.25rem, 6vw, 5rem);
  --radius:            16px;
  --radius-lg:         24px;
  --radius-sm:         10px;

  /* Shadows */
  --shadow-sm:         0 2px 8px rgba(15,23,42,0.06);
  --shadow:            0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg:         0 12px 48px rgba(15,23,42,0.12);

  /* Transitions */
  --transition:        0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-charcoal);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-navy);
}

p { line-height: 1.7; }

ul, ol { padding-left: 1.25rem; }
.no-list { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.auto-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.auto-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-tag::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--color-primary); border-radius: 2px;
}

.section-headline {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem; color: var(--color-mid);
  max-width: 560px; line-height: 1.7;
  margin-bottom: 2.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer; border: none;
  transition: all var(--transition);
  line-height: 1;
}
.btn-primary {
  background: var(--color-primary); color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--color-primary-hover); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.btn-outline {
  background: transparent; color: var(--color-charcoal);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-lg { padding: 0.875rem 1.75rem; font-size: 0.95rem; border-radius: 10px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-hover-accent:hover { border-color: rgba(37,99,235,0.2); }
.card-hover-top { position: relative; overflow: hidden; }
.card-hover-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0; transition: opacity var(--transition);
}
.card-hover-top:hover::before { opacity: 1; }

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-primary {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--color-primary);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--color-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-white { background: var(--color-bg); }
.bg-gray { background: var(--color-bg-gray); }
.bg-dark {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0F2A5F 100%);
  color: #fff;
}
.bg-navy { background: var(--color-navy); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--color-charcoal); margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  background: var(--color-bg-gray);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem; color: var(--color-charcoal);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-control:focus {
  border-color: var(--color-primary);
  background: var(--color-bg);
}
.form-control.textarea { resize: vertical; min-height: 120px; }
.form-row { margin-bottom: 1.25rem; }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow); }
#site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.site-logo img { height: 36px; width: auto; }
.site-logo .text-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.35rem;
  color: var(--color-navy); text-decoration: none;
  letter-spacing: -0.02em;
}
.site-logo .text-logo span { color: var(--color-primary); }

#primary-navigation ul {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
#primary-navigation a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--color-mid); text-decoration: none;
  transition: color var(--transition);
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a { color: var(--color-navy); }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

/* Mobile toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-charcoal); border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
#mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--color-bg); border-bottom: 1px solid var(--color-border);
  padding: 1.5rem var(--container-pad); z-index: 999;
  box-shadow: var(--shadow-lg);
}
#mobile-menu.open { display: block; }
#mobile-menu ul { list-style: none; margin: 0; padding: 0; }
#mobile-menu ul li { border-bottom: 1px solid var(--color-border); }
#mobile-menu ul li a {
  display: block; padding: 0.85rem 0;
  font-size: 1rem; font-weight: 500;
  color: var(--color-charcoal); text-decoration: none;
}
#mobile-menu .mobile-cta { margin-top: 1.25rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 148px 0 100px;
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% -10%, rgba(37,99,235,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 100% 60%, rgba(139,92,246,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(37,99,235,0.05) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-title { font-size: clamp(2.6rem, 5.5vw, 4.2rem); margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.1rem; color: var(--color-mid); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 1; margin-top: 4rem; }

/* Hero Dashboard Widget */
.dashboard-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-width: 860px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.dash-stat {
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: 12px; padding: 1.2rem; text-align: center;
}
.dash-stat-label { font-size: 0.72rem; font-weight: 600; color: var(--color-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.dash-stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--color-navy); }
.dash-stat-sub { font-size: 0.72rem; color: var(--color-primary); font-weight: 600; margin-top: 0.2rem; }
.dash-chart { grid-column: 1 / -1; background: var(--color-bg-gray); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.2rem; }
.dash-chart-label { font-size: 0.78rem; font-weight: 600; color: var(--color-mid); margin-bottom: 1rem; }
.bar-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.bar-name { font-size: 0.75rem; color: var(--color-mid); width: 90px; text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: var(--color-border); border-radius: 100px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 100px; transition: width 1.2s ease; }
.bar-fill.chatgpt  { background: linear-gradient(90deg,#2563EB,#3B82F6); width: 0; }
.bar-fill.claude   { background: linear-gradient(90deg,#7C3AED,#A78BFA); width: 0; }
.bar-fill.gemini   { background: linear-gradient(90deg,#059669,#34D399); width: 0; }
.bar-fill.perplexity{ background: linear-gradient(90deg,#D97706,#FCD34D); width: 0; }
.bar-fill.google   { background: linear-gradient(90deg,#DC2626,#F87171); width: 0; }
.bar-fill.animate.chatgpt   { width: 82%; }
.bar-fill.animate.claude    { width: 74%; }
.bar-fill.animate.gemini    { width: 68%; }
.bar-fill.animate.perplexity{ width: 61%; }
.bar-fill.animate.google    { width: 55%; }
.bar-pct { font-size: 0.72rem; font-weight: 700; color: var(--color-charcoal); width: 32px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-label { text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--color-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.platforms { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem; }
.platform-pill {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: 100px; padding: 0.5rem 1.1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--color-charcoal);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  text-decoration: none;
}
.platform-pill:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-card { background: var(--color-bg-gray); }
.problem-icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}
.problem-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.problem-card p { font-size: 0.875rem; color: var(--color-mid); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.service-card { display: flex; flex-direction: column; }
.service-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}
.service-num { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--color-primary); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card > p { font-size: 0.875rem; color: var(--color-mid); margin-bottom: 1.25rem; }
.service-features { list-style: none; padding: 0; margin-bottom: 1.5rem; flex: 1; }
.service-features li { font-size: 0.85rem; color: var(--color-charcoal); display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.3rem 0; }
.service-features li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.service-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--color-navy); margin-bottom: 1rem; }
.service-price span { font-size: 0.85rem; font-weight: 500; color: var(--color-mid); font-family: var(--font-body); }
.service-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--color-primary); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ============================================================
   CASE STUDIES / RESULTS
   ============================================================ */
.result-card { overflow: hidden; }
.result-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1E293B 100%);
  color: #fff; padding: 1.5rem;
}
.result-header-label { font-size: 0.72rem; font-weight: 700; color: var(--color-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.result-header h3 { font-size: 1rem; color: #fff; }
.result-body { padding: 1.5rem; }
.result-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.result-side { padding: 1rem; border-radius: 10px; }
.result-before { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); }
.result-after  { background: rgba(34,197,94,0.06);  border: 1px solid rgba(34,197,94,0.15); }
.result-side-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.result-before .result-side-label { color: #EF4444; }
.result-after  .result-side-label { color: #16A34A; }
.result-side p { font-size: 0.82rem; color: var(--color-mid); line-height: 1.5; }
.result-metric { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); }
.result-metric:last-child { border-bottom: none; }
.result-metric-name { font-size: 0.8rem; color: var(--color-mid); }
.result-metric-val { font-size: 0.85rem; font-weight: 700; color: #16A34A; }

/* ============================================================
   PRICING
   ============================================================ */
.price-card { position: relative; overflow: hidden; }
.price-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}
.popular-badge {
  position: absolute; top: 0; right: 0;
  background: var(--color-primary); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 0 20px 0 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.price-name { font-size: 0.78rem; font-weight: 700; color: var(--color-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.price-amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--color-navy); line-height: 1; margin-bottom: 0.25rem; }
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; }
.price-period { font-size: 0.8rem; color: var(--color-soft); margin-bottom: 1.5rem; }
.price-divider { height: 1px; background: var(--color-border); margin: 1.5rem 0; }
.price-features { list-style: none; padding: 0; margin-bottom: 1.75rem; }
.price-features li { font-size: 0.85rem; color: var(--color-charcoal); display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.35rem 0; }
.price-features li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.retainer-card {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1E293B 100%);
  border-radius: var(--radius-lg); padding: 2.5rem;
  color: #fff; text-align: center; margin-top: 2rem;
}
.retainer-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.5rem; }
.retainer-card > p { color: var(--color-soft); font-size: 0.9rem; margin-bottom: 1.5rem; }
.retainer-price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; margin-bottom: 0.25rem; }
.retainer-price sup { font-size: 1.3rem; }
.retainer-period { color: var(--color-soft); font-size: 0.85rem; margin-bottom: 2rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.stat-item { text-align: center; }
.stat-item-val { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--color-navy); line-height: 1; margin-bottom: 0.3rem; }
.stat-item-val span { color: var(--color-primary); }
.stat-item-label { font-size: 0.82rem; color: var(--color-mid); }
.testi-card { background: var(--color-bg-gray); }
.stars { color: #FBBF24; font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.testi-quote { font-size: 0.9rem; color: var(--color-charcoal); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; color: #fff; flex-shrink: 0; }
.testi-name { font-size: 0.85rem; font-weight: 700; color: var(--color-navy); }
.testi-role { font-size: 0.75rem; color: var(--color-soft); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-visual {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1E3A5F 100%);
  border-radius: var(--radius-lg); padding: 3rem; color: #fff;
}
.about-visual-tag { font-size: 0.72rem; font-weight: 700; color: var(--color-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.about-visual h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
.about-visual > p { color: rgba(255,255,255,0.65); font-size: 0.875rem; line-height: 1.7; }
.expertise-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.expertise-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.expertise-list li::before { content: '→'; color: #3B82F6; font-weight: 700; }
.expertise-list li:last-child { border-bottom: none; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card { overflow: hidden; }
.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--color-navy) 0%, #1E3A5F 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; position: relative; overflow: hidden;
}
.blog-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(37,99,235,0.4),rgba(124,58,237,0.3)); }
.blog-thumb .thumb-emoji { position: relative; z-index: 1; }
.blog-body { padding: 1.5rem; }
.blog-category { font-size: 0.7rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p { font-size: 0.82rem; color: var(--color-mid); line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { font-size: 0.75rem; color: var(--color-soft); }

/* Post single */
.single-post-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: start; }
.post-header { margin-bottom: 2rem; }
.post-header h1 { font-size: clamp(1.8rem,3vw,2.5rem); }
.post-meta { font-size: 0.82rem; color: var(--color-soft); margin-top: 0.5rem; }
.post-content { font-size: 1rem; line-height: 1.8; color: var(--color-charcoal); }
.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin-bottom: 1.25rem; }
.post-sidebar { position: sticky; top: 90px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-form-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; background: var(--color-bg-card);
  border: 1px solid var(--color-border); border-radius: 14px; margin-bottom: 1rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: rgba(37,99,235,0.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); margin-bottom: 0.2rem; }
.contact-detail p { font-size: 0.82rem; color: var(--color-mid); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0F2A5F 100%);
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 65%);
}
.cta-strip::after {
  content: ''; position: absolute; bottom: -30%; right: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 65%);
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.cta-strip .btn-primary { background: #fff; color: var(--color-primary); }
.cta-strip .btn-primary:hover { background: #F0F7FF; color: var(--color-primary-hover); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-navy); color: rgba(255,255,255,0.6);
  padding: 4rem 0 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 0.75rem; max-width: 260px; color: rgba(255,255,255,0.5); }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.footer-logo span { color: #3B82F6; }
.footer-logo img { height: 32px; width: auto; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--color-primary); color: #fff; }

/* ============================================================
   PAGE TEMPLATES: PAGE HERO
   ============================================================ */
.page-hero { padding: 140px 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; color: var(--color-mid); max-width: 580px; margin: 0 auto; }

/* ============================================================
   WOOCOMMERCE (basic compat)
   ============================================================ */
.woocommerce-message, .woocommerce-info { padding: 1rem; border-left: 4px solid var(--color-primary); background: rgba(37,99,235,0.05); border-radius: 0 8px 8px 0; margin-bottom: 1rem; }

/* ============================================================
   WORDPRESS BLOCK EDITOR (Gutenberg) alignment
   ============================================================ */
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-block-quote { border-left: 4px solid var(--color-primary); padding-left: 1.5rem; color: var(--color-mid); font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #primary-navigation, .header-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .grid-2, .single-post-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { margin-bottom: 0; }
  .dashboard-card { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .hero-section { padding: 120px 0 64px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .dashboard-card { grid-template-columns: 1fr; }
  .result-ba { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
