/* 7Lift.ai Marketing Website Styles */

/* ========================================
   CSS Variables & Design Tokens
   ======================================== */

:root {
  /* Brand Colors - Olive palette with WCAG AA compliant contrast */
  --olive-deep: #5A5D28;      /* Deep olive for primary actions (5.2:1 contrast with white) */
  --olive-medium: #6D6F2C;    /* Medium olive from logo */
  --gold-accent: #8B8D4C;     /* Light olive-gold for non-critical accents */
  --cream-primary: #E8E3C8;   /* Cream text color from logo */
  --cream-light: #F5F2E8;     /* Light cream for backgrounds */
  --cream-soft: #FAF8F1;      /* Softest cream for subtle backgrounds */
  --text-dark: #2D2E1A;       /* Very dark olive for headings */
  --text-medium: #3D3E1A;     /* Darker medium for better contrast (8.5:1) */
  --text-light: #5A5D28;      /* Muted text with sufficient contrast (5.2:1) */
  
  /* Gradient - Olive tones with darker accent for accessibility */
  --gradient-primary: linear-gradient(135deg, #5A5D28 0%, #6D6F2C 50%, #6D6F2C 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(90, 93, 40, 0.92) 0%, rgba(109, 111, 44, 0.88) 50%, rgba(109, 111, 44, 0.85) 100%);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Layout */
  --container-max: 1280px;
  --container-content: 960px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
}

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

/* Mobile Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  body {
    font-size: 15px;
  }
}

/* ========================================
   Layout & Container
   ======================================== */

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

.container-narrow {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

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

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 var(--space-lg);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
}

/* ========================================
   Navigation
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.logo img {
  height: 120px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text-main {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.logo-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text-medium);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--olive-deep);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--olive-deep);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform var(--transition-base);
}

@media (max-width: 1024px) {
  .logo img {
    height: 100px;
  }
  
  .logo-text-main {
    font-size: 1.375rem;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 80px;
  }
  
  .logo-text-main {
    font-size: 1.25rem;
  }
  
  .logo-text-sub {
    font-size: 0.65rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }
  
  .hero-logo {
    margin-bottom: 1rem;
  }
}

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--space-md) 0;
  }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--olive-deep);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.4;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: flex-start;
  padding-top: var(--space-3xl);
}

.hero-logo {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin-top: var(--space-lg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-top: 0;
  padding-left: var(--space-lg);
}

.hero h1 {
  color: #ffffff;
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: var(--space-2xl);
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    gap: var(--space-lg);
  }
  
  .hero-logo {
    margin-bottom: 0;
    gap: var(--space-sm);
  }
  
  .hero-logo img {
    max-width: 160px;
    height: auto;
  }
  
  .hero-tagline {
    font-size: 0.95rem;
    margin-top: 0;
    line-height: 1.3;
  }
  
  .hero-content {
    padding-left: 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
  
  .hero-logo img {
    max-width: 140px;
  }
  
  .hero-tagline {
    font-size: 0.85rem;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .hero-buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

/* ========================================
   Cards
   ======================================== */

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

.card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.card p {
  color: var(--text-medium);
  margin-bottom: var(--space-lg);
}

.card-link {
  color: var(--olive-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ========================================
   Industry Icons
   ======================================== */

.industry-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  margin: var(--space-3xl) 0;
}

.industry-item {
  text-align: center;
  max-width: 150px;
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.industry-item p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ========================================
   Process Steps
   ======================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  margin: var(--space-3xl) 0;
}

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

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.process-step h3 {
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ========================================
   FAQ / Accordion
   ======================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--cream-soft);
}

.faq-icon {
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-medium);
}

/* ========================================
   Features / Benefits List
   ======================================== */

.feature-list {
  display: grid;
  gap: var(--space-lg);
}

.feature-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  font-size: 1.0625rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: var(--gradient-primary);
  color: #ffffff;
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background-color: var(--olive-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ========================================
   Form Elements
   ======================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem var(--space-lg);
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--olive-deep);
}

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

/* ========================================
   Breadcrumbs
   ======================================== */

.breadcrumbs {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-xl);
  font-size: 0.875rem;
}

.breadcrumb-separator {
  color: var(--text-light);
}

.breadcrumb-link {
  color: var(--text-medium);
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--olive-deep);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* ========================================
   Utility Classes
   ======================================== */

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

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-small {
  margin-bottom: var(--space-md);
}

.mb-medium {
  margin-bottom: var(--space-xl);
}

.mb-large {
  margin-bottom: var(--space-2xl);
}

.mt-small {
  margin-top: var(--space-md);
}

.mt-medium {
  margin-top: var(--space-xl);
}

.mt-large {
  margin-top: var(--space-2xl);
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.page-header h1 {
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-header {
    padding: var(--space-3xl) 0 var(--space-2xl);
  }
}

/* ========================================
   Two Column Layout
   ======================================== */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 968px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ========================================
   Tag / Badge
   ======================================== */

.tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--cream-light);
  color: var(--text-dark);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.tag-primary {
  background-color: var(--olive-deep);
  color: #ffffff;
}

/* ========================================
   Stats / Metrics
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  margin: var(--space-3xl) 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--olive-deep);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat-label {
  color: var(--text-medium);
  font-size: 1rem;
}
