/* ============================================== 
   NOW FOUNDED - SHARED STYLESHEET
   Premium B2B Agency Website
   Design Philosophy: Dark-accented, clean, minimal, conversion-focused
   ============================================== */

/* ============================================== 
   IMPORTS & VARIABLES
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand Colors */
  --primary-dark: #0D1117;
  --blue-accent: #4361EE;
  --blue-hover: #2D4ED8;
  --bg-light: #F8F9FC;
  --text-main: #1A1A2E;
  --text-muted: #6B7280;
  --blue-light-bg: #EEF1FF;
  --white: #FFFFFF;
  --border: #E2E5F0;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding-desktop: 100px;
  --section-padding-mobile: 60px;
  --container-max-width: 1140px;
  --card-gap: 24px;
  --button-padding: 16px 32px;
  
  /* Transitions */
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================== 
   GLOBAL STYLES
   ============================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-accent);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-hover);
}

/* Text Selection */
::selection {
  background-color: var(--blue-accent);
  color: var(--white);
}

/* ============================================== 
   TYPOGRAPHY
   ============================================== */

h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}

small {
  font-size: 14px;
  color: var(--text-muted);
}

.label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-accent);
}

.muted {
  color: var(--text-muted);
}

/* ============================================== 
   LAYOUT & CONTAINERS
   ============================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-padding-desktop) 0;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: var(--white);
}

.section-blue-light {
  background-color: var(--blue-light-bg);
}

/* ============================================== 
   BUTTONS
   ============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--button-padding);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--blue-accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-dark);
  transform: scale(1.04);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--text-main);
  color: var(--white);
  transform: scale(1.04);
}

/* ============================================== 
   HEADER & NAVIGATION
   ============================================== */

header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.logo-small {
  font-size: 12px;
  color: var(--blue-accent);
  font-weight: 600;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-smooth);
}

nav a:hover {
  color: var(--blue-accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  padding: 100px 24px;
  gap: 30px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

/* ============================================== 
   FOOTER
   ============================================== */

footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color var(--transition-smooth);
}

.footer-section a:hover {
  color: var(--blue-accent);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ============================================== 
   HERO SECTIONS
   ============================================== */

.hero {
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
}

.hero h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero .subheadline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-trust {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================== 
   BADGES & PILLS
   ============================================== */

.badge {
  display: inline-block;
  background-color: var(--blue-light-bg);
  color: var(--blue-accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* ============================================== 
   STAT BOXES
   ============================================== */

.stat-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--card-gap);
  margin-top: 60px;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--blue-accent);
  padding: 30px;
  border-radius: 6px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-box .number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-accent);
  margin-bottom: 10px;
}

.stat-box .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================== 
   CARDS
   ============================================== */

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  transition: all var(--transition-smooth);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card-dark {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.card h3 {
  margin-bottom: 15px;
}

.card p {
  margin-bottom: 15px;
}

.card-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

/* ============================================== 
   GRID LAYOUTS
   ============================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--card-gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
}

.grid-30 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* ============================================== 
   ANIMATIONS
   ============================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-section {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================== 
   FORMS
   ============================================== */

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
  transition: border-color var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

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

/* ============================================== 
   UTILITY CLASSES
   ============================================== */

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

.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--text-muted);
}

.text-blue {
  color: var(--blue-accent);
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

.max-w-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.max-w-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================== 
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  section {
    padding: var(--section-padding-mobile) 0;
  }

  .hero {
    padding: 80px 24px;
    min-height: auto;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-30 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .stat-boxes {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .card {
    padding: 20px;
  }

  .hero {
    padding: 60px 16px;
  }
}
