/*
Theme Name: 360 Security Advisor
Theme URI: https://360securityadvisor.com
Author: 360 Security Advisor LLC
Description: Custom one-page theme for 360 Security Advisor — Fractional Cybersecurity Leader for Series A-C Technology Companies.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: 360-security-advisor
*/

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

:root {
  --navy: #0f2d6c;
  --teal: #34a8ad;
  --charcoal: #2f343e;
  --light-gray: #e1e3e9;
  --bg: #ffffff;
  --bg-light: #f7f8fa;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-gray);
}

.site-logo svg { height: 44px; width: auto; }
.site-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

/* All nav links share the same base style */
.nav-links a,
.nav-links a.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.02em;
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.nav-cta:hover {
  color: var(--teal);
  background: none;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 60px 100px;
  background: linear-gradient(135deg, #f7f9fd 0%, #eef3fb 60%, #e8f6f6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,168,173,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 5%;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,45,108,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 28px;
}

.hero h1 em { font-style: normal; color: var(--teal); }

.hero-sub {
  font-size: 18px;
  color: var(--charcoal);
  opacity: 0.85;
  max-width: 660px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.hero-sub strong { color: var(--navy); font-weight: 600; }

/* ─────────────────────────────────────────
   BUTTONS — body only, NOT nav
───────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--teal); transform: translateY(-1px); color: #fff; }

.btn-submit {
  background: var(--teal);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover { background: #2b9099; transform: translateY(-1px); }

/* ─────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--charcoal);
  opacity: 0.8;
  max-width: 600px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about {
  padding: 100px 60px;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(52,168,173,0.13);
}

.about-card-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.about-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.about-body {
  font-size: 16px;
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.75;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  background: #eef3fb;
  border: 1px solid #d0daf0;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services {
  background: var(--bg-light);
  padding: 100px 60px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 48px 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 36px rgba(15, 45, 108, 0.09);
  transform: translateY(-2px);
}

.service-card:hover::after { opacity: 1; }

.service-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(52, 168, 173, 0.1);
  border: 1px solid rgba(52, 168, 173, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #eef3fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.framework-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}

.badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: #eef3fb;
  border: 1px solid #d0daf0;
  padding: 4px 12px;
  border-radius: 4px;
}

.service-intro {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.72;
  margin-bottom: 28px;
  opacity: 0.82;
}

.outcome-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.5;
  margin-bottom: 14px;
  align-self: flex-start;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
  align-self: stretch;
}

.service-bullets li {
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.service-bullets li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--navy);
  opacity: 0.5;
  font-style: italic;
  align-self: stretch;
  text-align: center;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  padding: 100px 60px;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-label { color: rgba(255, 255, 255, 0.45); }
.contact-inner .section-title { color: #fff; margin-bottom: 14px; }
.contact-inner .section-sub { color: rgba(255, 255, 255, 0.65); margin: 0 auto 48px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}

.form-group select option { background: #0f2d6c; color: #fff; }

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.form-success {
  display: none;
  background: rgba(52, 168, 173, 0.12);
  border: 1px solid rgba(52, 168, 173, 0.3);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}

.form-success h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.form-success p { font-size: 16px; color: rgba(255, 255, 255, 0.75); }

.wpcf7-not-valid-tip { color: #ff6b6b; font-size: 12px; margin-top: 4px; }
.wpcf7-response-output { display: none !important; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--teal); }

.li-icon { width: 15px; height: 15px; fill: currentColor; }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────── */
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; }
  .nav-links { gap: 20px; }

  .hero { padding: 120px 24px 80px; }

  .about { padding: 70px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .services { padding: 70px 24px; }
  .services-grid { grid-template-columns: 1fr; }

  .contact-section { padding: 70px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .site-footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE
───────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links .nav-link-about,
  .nav-links .nav-link-services { display: none; }

  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }

  .hero .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }

  .service-card { padding: 36px 24px 32px; }
}
