/* Base styles for Modern SaaS/Support theme */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --primary: #4f46e5; /* Vibrant Indigo */
  --primary-light: #6366f1;
  --primary-dark: #4338ca;
  --accent: #14b8a6; /* Bright Teal */
  --accent-light: #2dd4bf;
  --dark: #0f172a; /* Deep Slate */
  --gray-dark: #334155;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --surface: #ffffff;
  --background: #f8fafc;

  /* Shadows & Effects */
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.15);
  --shadow-accent: 0 8px 20px rgba(20, 184, 166, 0.25);

  /* Radii */
  --rad-sm: 8px;
  --rad-md: 16px;
  --rad-lg: 24px;
  --rad-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
.outfit {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray);
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-primary {
  color: var(--primary);
}
.text-accent {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--rad-pill);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-color: var(--gray-light);
  color: var(--dark);
}

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

.btn-link {
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 600;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  border: none;
}

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

.btn-link i {
  transition: transform 0.2s;
}

.btn-link:hover i {
  transform: translateX(4px);
}

.btn-block {
  width: 100%;
}

/* Navigation */
.navbar {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.logo span {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 70, 229, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(20, 184, 166, 0.08) 0%,
      transparent 40%
    );
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+CjxjaXJjbGUgY3g9IjEiIGN5PSIxIiByPSIxIiBmaWxsPSJyZ2JhKDAsIDAsIDAsIDAuMDUpIi8+Cjwvc3ZnPg==")
    repeat;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-radius: var(--rad-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Visual (Abstract Dashboard/Floating Cards) */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: 30px;
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-main {
  width: 380px;
  top: 50px;
  right: 20px;
  z-index: 2;
  transform: rotateY(-10deg) rotateX(5deg);
}

.card-secondary {
  width: 250px;
  bottom: 20px;
  left: -20px;
  z-index: 3;
  padding: 20px;
  transform: translateZ(50px);
  animation: float 6s ease-in-out infinite;
}

.card-tertiary {
  width: 200px;
  top: 0;
  right: -40px;
  z-index: 1;
  padding: 15px;
  background: white;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateZ(50px);
  }
  50% {
    transform: translateY(-15px) translateZ(50px);
  }
  100% {
    transform: translateY(0px) translateZ(50px);
  }
}

/* Visual Micro-components */
.v-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.v-title {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}
.v-icon {
  width: 36px;
  height: 36px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-chart-bar {
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.v-chart-fill {
  height: 100%;
  border-radius: 4px;
}
.fill-primary {
  background: var(--primary);
  width: 75%;
}
.fill-accent {
  background: var(--accent);
  width: 90%;
}
.v-stat {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 5px;
}
.v-label {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

/* Bento Box Grid (Stats + Features) */
.bento-section {
  padding: 100px 0;
  background: var(--surface);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 24px;
  margin-top: 50px;
}

.bento-item {
  background: var(--background);
  border-radius: var(--rad-lg);
  padding: 35px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.3);
}

.bento-large-h {
  grid-column: span 2;
}
.bento-large-v {
  grid-row: span 2;
}

/* Bento specific contents */
.bento-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  background: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.bento-item h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.bento-item p {
  color: var(--gray);
  font-size: 1rem;
}

.bento-stat-num {
  font-family: "Outfit", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  margin-top: auto;
}

.bento-featured {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: none;
}
.bento-featured h3,
.bento-featured .bento-stat-num {
  color: white;
}
.bento-featured p {
  color: rgba(255, 255, 255, 0.8);
}
.bento-featured .bento-icon {
  color: var(--primary);
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}
.feature-list li i {
  color: var(--accent);
  margin-right: 12px;
  font-size: 1.1rem;
}

/* Trusted / About */
.trusted-section {
  padding: 100px 0;
  background: var(--background);
}

.trusted-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trusted-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.trusted-content p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.founder-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.founder-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--rad-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.founder-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gray-light), #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gray);
}

.founder-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.founder-info p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* Contact / Lead Gen form */
.contact-section {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(79, 70, 229, 0.03) 0%,
    transparent 70%
  );
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: var(--rad-lg);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 50px;
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 24px;
}

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

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: var(--background);
  border: 1px solid var(--gray-light);
  border-radius: var(--rad-md);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

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

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Footer */
footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: white;
  color: var(--primary);
}

.footer-brand p {
  max-width: 400px;
  line-height: 1.6;
}

.footer-heading {
  color: white;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}

.social-links-container {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-email-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.contact-email-pill .icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.contact-email-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.contact-email-pill:hover .icon-circle {
  background: rgba(255, 255, 255, 0.2);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 1.25rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Success Message */
.success-state {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.success-state h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.success-state p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
    perspective: none;
  }
  .card-main {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    width: 100%;
    max-width: 400px;
  }
  .card-secondary,
  .card-tertiary {
    display: none;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large-h,
  .bento-large-v {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .form-wrapper {
    padding: 30px 20px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
