/* -------------------------------------------------------
   WES COCKRUM — MODERN TECH FOUNDER UI SYSTEM v1.3
   Navy Light Variant + Component Refinements
   Inspired by Vercel × Linear × Stripe
------------------------------------------------------- */

/* -------------------------------------------------------
   1. Core Variables
------------------------------------------------------- */
:root {
  /* Updated navy system — lighter, more blue, less black */
  --navy: #11243F;            /* Dark navy base */
  --navy-light: #1A3554;      /* Elevated surfaces */
  --navy-lighter: #24476C;    /* Hover surfaces */

  --white: #FFFFFF;
  --ivory: #F7F8FA;

  --text-dark: #11243F;
  --text-medium: #2A3C52;
  --text-light: #6B7C91;

  --accent: #4C8BF5;          /* Modern founder blue */
  --accent-hover: #3A6FD1;

  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);

  --radius: 10px;
  --radius-lg: 18px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  /* Premium shadow system */
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* -------------------------------------------------------
   2. Base Reset
------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--ivory);
  color: var(--text-dark);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------
   3. Typography
------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

h1 { font-size: 3.6rem; margin-bottom: 1rem; line-height: 1.15; }
h2 { font-size: 2.4rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }

p.lead {
  font-size: 1.35rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-medium);
}

/* -------------------------------------------------------
   4. Layout
------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.padd-section {
  padding: 140px 0;
}

@media (max-width: 900px) {
  .padd-section {
    padding: 100px 0;
  }
}

.bg-faded {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* -------------------------------------------------------
   5. Header (Premium, Floating)
------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

/* -------------------------------------------------------
   6. Navigation (Modern Underline Hover)
------------------------------------------------------- */
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

/* -------------------------------------------------------
   7. Buttons (Tactile, Premium)
------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--ivory);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* -------------------------------------------------------
   8. Grid System
------------------------------------------------------- */
.grid-2, .grid-3 {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------
   9. Cards (Depth, Motion, Premium)
------------------------------------------------------- */
article {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

article:hover {
  background: var(--ivory);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* -------------------------------------------------------
   10. Footer
------------------------------------------------------- */
.site-footer {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left p {
  color: var(--text-light);
}

/* -------------------------------------------------------
   11. Forms (Modern Focus Ring)
------------------------------------------------------- */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(76,139,245,0.15);
  outline: none;
}

/* -------------------------------------------------------
   12. Motion
------------------------------------------------------- */
section {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
