/* ==========================================================================
   Lori R. Taylor - Styles
   Design: Refined Corporate Elegance
   Font: DM Sans
   ========================================================================== */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #0D1117;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0D1117;
}

@media (min-width: 768px) {
  .logo { font-size: 1.25rem; }
}

.btn-connect {
  display: inline-block;
  background: #0D1117;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}

.btn-connect:hover {
  background: #1a1f26;
}

.btn-connect:active {
  transform: scale(0.97);
}

.btn-connect-lg {
  padding: 0.875rem 2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 0.875rem; }
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0D1117;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-heading { font-size: 3.25rem; }
}

@media (min-width: 768px) {
  .hero-heading { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero-heading { font-size: 5.5rem; }
}

.hero-text {
  font-size: 1rem;
  color: #6b7280;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-text { font-size: 1.125rem; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 4rem 0;
  background: #ffffff;
}

@media (min-width: 768px) {
  .about { padding: 6rem 0; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0D1117;
  line-height: 1.15;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .about-heading { font-size: 2.5rem; }
}

@media (min-width: 768px) {
  .about-heading { font-size: 3rem; }
}

.about-text {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.about-text-bold {
  color: #0D1117;
  font-weight: 600;
}

.about-stats {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-stats { gap: 4rem; }
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0D1117;
}

@media (min-width: 768px) {
  .stat-number { font-size: 1.875rem; }
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Three Pillars Section
   ========================================================================== */
.pillars {
  padding: 4rem 0;
  background: #f8f8f8;
}

@media (min-width: 768px) {
  .pillars { padding: 6rem 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 4rem; }
}

.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0D1117;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-heading { font-size: 2.25rem; }
}

.section-subheading {
  color: #6b7280;
  font-size: 1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.3s ease;
}

.pillar-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pillar-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-image img {
  transform: scale(1.05);
}

.pillar-content {
  padding: 1.25rem 1.5rem;
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0D1117;
  margin-bottom: 0.25rem;
}

.pillar-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients {
  padding: 4rem 0;
  background: #ffffff;
}

@media (min-width: 768px) {
  .clients { padding: 6rem 0; }
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1rem;
  }
}

.client-name {
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

@media (min-width: 768px) {
  .client-name { font-size: 1rem; }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
  padding: 4rem 0;
  background: #0D1117;
}

@media (min-width: 768px) {
  .testimonials { padding: 6rem 0; }
}

.testimonials-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.testimonials-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .testimonials-heading { font-size: 2.25rem; }
}

.star-icon {
  opacity: 0.6;
  flex-shrink: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: #161b22;
  border: 1px solid #2d333b;
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .testimonial-card { padding: 2rem; }
}

.quote-mark {
  color: #6b7280;
  font-size: 1.875rem;
  font-family: serif;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.author-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
}

.author-title {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.125rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
  padding: 5rem 0;
  background: #ffffff;
  text-align: center;
}

@media (min-width: 768px) {
  .cta { padding: 7rem 0; }
}

.cta-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0D1117;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cta-heading { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .cta-heading { font-size: 3rem; }
}

.cta-text {
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0D1117;
  color: #ffffff;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer { padding: 4rem 0; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.footer-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: left;
}

.footer-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #161b22;
  border: 1px solid #2d333b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  transition: background-color 0.2s ease;
}

.social-icon:hover {
  background: #1f2937;
}

.footer-email {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #2d333b;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: #6b7280;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #d1d5db;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations (immediate on load) */
.hero-content .hero-subtitle,
.hero-content .hero-heading,
.hero-content .hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-content .hero-subtitle { animation-delay: 0.1s; }
.hero-content .hero-heading { animation-delay: 0.2s; }
.hero-content .hero-text { animation-delay: 0.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-content .hero-subtitle,
  .hero-content .hero-heading,
  .hero-content .hero-text {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
