
/* Base Styles */
:root {
  --background: #0f172a;
  --foreground: #f8fafc;
  --primary: #3b82f6;
  --primary-foreground: #0f172a;
  --secondary: #1e293b;
  --secondary-foreground: #f8fafc;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --border: #1e293b;
  --border-focus: #3b82f6;
  --radius: 0.75rem;
  --gradient-start: #3b82f6;
  --gradient-end: #a855f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gradient-end);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hidden {
  display: none !important;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0;
}

.desktop-nav {
  display: none;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  color: var(--foreground);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: var(--secondary);
}

.nav-link .icon {
  margin-right: 0.5rem;
}

.get-started-btn {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.get-started-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: block;
  color: var(--foreground);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem 0;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link.mobile {
  display: flex;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.get-started-btn.mobile {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08), transparent 50%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.primary-btn {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: var(--secondary);
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--muted);
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background-color: var(--muted);
}

.trust-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.trust-badges p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.trust-badges span {
  color: var(--foreground);
  font-weight: 600;
}

.avatars {
  display: flex;
  margin-right: 0.5rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  font-weight: 600;
  margin-left: -0.5rem;
  border: 2px solid var(--background);
}

.avatar:first-child {
  margin-left: 0;
}

.hero-image {
  width: 100%;
  max-width: 32rem;
}

.image-card {
  background-color: var(--secondary);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.blur-bubble {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  filter: blur(64px);
}

.blur-bubble.top-left {
  top: -6rem;
  left: -6rem;
  background-color: rgba(59, 130, 246, 0.3);
}

.blur-bubble.bottom-right {
  bottom: -6rem;
  right: -6rem;
  background-color: rgba(168, 85, 247, 0.3);
}

.pattern-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 12px 12px;
}

.image-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.agent-image {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  /*border: 3px solid;*/
  border-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end)) 1;
}

.image-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.image-content p {
  color: var(--muted-foreground);
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 0;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5), var(--background));
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.portfolio-card {
  background-color: var(--secondary);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.portfolio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.portfolio-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.portfolio-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.portfolio-card li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-color: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  margin-right: 0.75rem;
  position: relative;
}

.check-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.portfolio-btn {
  display: block;
  width: 100%;
  background-color: var(--muted);
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.portfolio-btn:hover {
  background-color: var(--primary);
}

/* AI Tools Section */
.ai-tools {
  padding: 6rem 0;
  background-color: var(--background);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tool-card {
  background-color: var(--secondary);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.tool-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.tool-icon img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.tool-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.tool-card p {
  color: var(--muted-foreground);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5), var(--background));
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(to bottom right, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.contact-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.contact-form-container {
  width: 100%;
}

.form-card {
  background-color: var(--secondary);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-field input, .form-field textarea {
  width: 100%;
  background-color: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
}

.form-field input::placeholder, .form-field textarea::placeholder {
  color: var(--muted-foreground);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background-color: var(--secondary);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li button {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
  text-align: left;
}

.footer-col ul li button:hover {
  color: var(--foreground);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-details {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
  
  .footer-bottom p {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .navbar .logo h1 {
    font-size: 1.75rem;
  }
  
  .desktop-nav {
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .hero-buttons {
    align-items: flex-start;
  }
  
  .trust-badges {
    align-items: flex-start;
  }
  
  .contact-container {
    flex-direction: row;
  }
  
  .contact-info {
    flex: 1;
  }
  
  .contact-form-container {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
}
