/* Intelligent Agent Partners - Consistent Design System */

:root {
  /* Brand Colors - Blue & Orange */
  --primary-blue: #2563eb;
  --soft-blue: #3b82f6;
  --light-blue: #93c5fd;
  --blue-bg: #f0f9ff;
  --blue-bg-alt: #e0f2fe;
  
  --primary-orange: #ea580c;
  --soft-orange: #f97316;
  --light-orange: #fed7aa;
  --orange-bg: #fff7ed;
  --orange-accent: #ffedd5;
  
  /* Neutrals */
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --background: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;
  
  /* Gradients */
  --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--soft-blue) 100%);
  --gradient-orange: linear-gradient(135deg, var(--primary-orange) 0%, var(--soft-orange) 100%);
  --gradient-bg: linear-gradient(135deg, var(--blue-bg) 0%, var(--orange-bg) 100%);
  --gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 50%, #f0f9ff 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--gradient-soft);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: var(--gradient-blue);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') 0 0/50px 50px;
  pointer-events: none;
}

.site-header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.site-header .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Card Styles */
.card {
  background: var(--background);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
}

.card-blue {
  border-top: 4px solid var(--primary-blue);
}

.card-orange {
  border-top: 4px solid var(--primary-orange);
}

.card-feature {
  background: linear-gradient(135deg, var(--blue-bg) 0%, white 100%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--gradient-orange);
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

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

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

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Testimonials */
.testimonial {
  background: var(--gradient-blue);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.4rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 30px;
}

.testimonial cite {
  font-weight: 600;
  opacity: 0.9;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-blue { color: var(--primary-blue); }
.text-orange { color: var(--primary-orange); }
.bg-blue { background: var(--blue-bg); }
.bg-orange { background: var(--orange-bg); }

/* Responsive */
@media (max-width: 768px) {
  .site-header h1 { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 60px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading States */
.loading {
  display: none;
  color: var(--text-light);
  font-size: 14px;
  margin-top: 10px;
}

/* Success/Error States */
.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 12px;
  border-radius: 8px;
}

.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 12px;
  border-radius: 8px;
}

/* Navigation Header */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.nav-cta {
    background: var(--gradient-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.05);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--primary-orange);
}

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

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.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);
}
