/*
Theme Name: Agentsia Landing
Description: A modern WordPress theme based on the Agentsia Next.js landing page design
Author: Your Name
Version: 1.0
Text Domain: agentsia
*/

/* Import CSS Custom Properties and base styles */
:root {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --radius: 0.625rem;
}

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

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

/* Container */
.container {
  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;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

.text-gradient-blue {
  background: linear-gradient(to right, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-outline:hover {
  background-color: var(--accent);
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

/* Glow effects */
.glow-blue {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Header styles */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(var(--background), 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 4px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Hero section */
.hero-section {
  padding: 6rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

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

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0 auto 2.5rem;
  max-width: 42rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Trusted by section */
.trusted-by {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.trusted-companies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.company-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.company-item:hover {
  opacity: 1;
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.company-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--muted);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.company-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 4px;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Landing Template Styles
   ============================================ */

/* Landing Hero Section */
.landing-hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #fafafa 0%, #f0f4f8 50%, #e8f0f7 100%);
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

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

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3b82f6;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.landing-badge svg {
  color: #3b82f6;
}

.landing-hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .landing-hero-title {
    font-size: 4rem;
  }
}

.landing-gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.landing-hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .landing-hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.landing-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 40rem;
  margin: 0 auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.landing-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.landing-stat-label {
  display: block;
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

/* Landing Buttons */
.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.landing-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.landing-btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.landing-btn-secondary:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.landing-btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #e5e7eb;
}

.landing-btn-outline:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.landing-btn-lg {
  padding: 1.125rem 2rem;
  font-size: 1rem;
}

/* Landing Features Section */
.landing-features {
  padding: 6rem 0;
  background: white;
}

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

.landing-section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #eff6ff;
  color: #3b82f6;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.landing-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .landing-section-title {
    font-size: 3rem;
  }
}

.landing-section-description {
  font-size: 1.125rem;
  color: #666;
  max-width: 36rem;
  margin: 0 auto;
}

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

.landing-feature-card {
  padding: 2rem;
  background: #fafafa;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.landing-feature-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.landing-feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  color: #3b82f6;
}

.landing-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.landing-feature-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666;
}

/* Landing How It Works Section */
.landing-how-it-works {
  padding: 6rem 0;
  background: #fafafa;
}

.landing-steps {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .landing-steps {
    flex-direction: row;
    align-items: flex-start;
  }
}

.landing-step {
  flex: 1;
  position: relative;
  text-align: center;
}

.landing-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.landing-step-content {
  padding: 0 1rem;
}

.landing-step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.landing-step-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666;
}

.landing-step-connector {
  display: none;
}

@media (min-width: 768px) {
  .landing-step-connector {
    display: block;
    position: absolute;
    top: 2rem;
    left: calc(100% + 1rem);
    width: calc(100% - 2rem);
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, transparent);
  }

  .landing-step:last-child .landing-step-connector {
    display: none;
  }
}

/* Landing Testimonials Section */
.landing-testimonials {
  padding: 6rem 0;
  background: white;
}

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

.landing-testimonial-card {
  padding: 2rem;
  background: #fafafa;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.landing-testimonial-content {
  flex: 1;
}

.landing-testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  font-style: italic;
}

.landing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.landing-testimonial-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9375rem;
}

.landing-testimonial-role {
  font-size: 0.875rem;
  color: #666;
}

/* Landing CTA Section */
.landing-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.landing-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.landing-cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.landing-cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.landing-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .landing-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.landing-cta .landing-btn-primary {
  background: white;
  color: #3b82f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.landing-cta .landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.landing-cta .landing-btn-outline {
  border-color: white;
  color: white;
}

.landing-cta .landing-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Landing Page Content */
.landing-page-content {
  padding: 4rem 0;
  background: white;
}

.landing-page-content article {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .landing-hero {
    padding: 4rem 0 3rem;
  }

  .landing-hero-title {
    font-size: 2rem;
  }

  .landing-hero-description {
    font-size: 1.0625rem;
  }

  .landing-section-title {
    font-size: 2rem;
  }

  .landing-features,
  .landing-how-it-works,
  .landing-testimonials,
  .landing-cta {
    padding: 4rem 0;
  }
}