/* Global Variables */
:root {
  /* Colors */
  --color-primary: #DC2626;
  /* Red 600 */
  --color-secondary: #EF4444;
  /* Red 500 */
  --color-cta: #B91C1C;
  /* Red 700 */
  --color-background: #FEF2F2;
  /* Red 50 (Very light red/white tint) */
  --color-text: #000000;
  /* Pure Black */
  --color-muted: #333333;
  /* Dark Gray */
  --color-light: #FFFFFF;
  --color-danger: #EF4444;
  --color-success: #10B981;

  /* Space Variables */
  --space-xs: 0.25rem;
  /* 4px */
  --space-sm: 0.5rem;
  /* 8px */
  --space-md: 1rem;
  /* 16px */
  --space-lg: 1.5rem;
  /* 24px */
  --space-xl: 2rem;
  /* 32px */
  --space-2xl: 3rem;
  /* 48px */
  --space-3xl: 4rem;
  /* 64px */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.highlight {
  color: var(--color-cta);
}

.muted {
  color: var(--color-muted);
}

.text-white {
  color: var(--color-light);
}

.text-cta {
  color: var(--color-cta);
}

.text-danger {
  color: var(--color-danger);
}

.text-success {
  color: var(--color-success);
}

.text-blue-100 {
  color: #DBEAFE;
}

.text-blue-200 {
  color: #BFDBFE;
}

.text-blue-300 {
  color: #93C5FD;
}

.text-sm {
  font-size: 0.875rem;
}

/* Spacing Utilities */
.mt-3 {
  margin-top: var(--space-md);
}

.mt-4 {
  margin-top: var(--space-lg);
}

.mt-6 {
  margin-top: var(--space-xl);
}

.mt-8 {
  margin-top: var(--space-2xl);
}

.mb-2 {
  margin-bottom: var(--space-sm);
}

.mb-4 {
  margin-bottom: var(--space-lg);
}

.mb-6 {
  margin-bottom: var(--space-xl);
}

.w-full {
  width: 100%;
}

.w-3-4 {
  width: 75%;
}

.w-1-2 {
  width: 50%;
}

/* Backgrounds */
.bg-light {
  background-color: #F8FAFC;
}

.bg-primary {
  background-color: var(--color-primary);
}

.services-bg {
  background-color: var(--color-background);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

/* Button Components */
.btn-primary,
.btn-secondary,
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--color-cta);
  color: var(--color-light);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #EA580C;
  /* darker orange */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  background-color: var(--color-primary);
  color: var(--color-light);
}

.btn-primary.lg,
.btn-secondary.lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.input:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

/* Input Components */
.input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--color-text);
}

.input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

/* Card Components */
.card {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.nav-links {
  display: none;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 600;
  color: var(--color-muted);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.desktop-cta {
  display: none;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  display: block;
}

.mobile-menu {
  display: none;
  background-color: var(--color-light);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-weight: 600;
  font-size: 1.125rem;
  padding: var(--space-sm) 0;
  color: var(--color-text);
  border-bottom: 1px solid #E2E8F0;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .desktop-cta {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  padding-top: calc(80px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero.bg-pattern {
  background-color: var(--color-background);
  background-image:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.08), transparent 50%),
    radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.08), transparent 50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background-color: #E0E7FF;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  border-top: 1px solid #E2E8F0;
  padding-top: var(--space-xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Lexend', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 500;
}

/* Tech Dashboard Concept (Hero Image replacement) */
.hero-image {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-effect {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.tech-card-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tech-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  position: absolute;
  width: 250px;
  border: 1px solid #E2E8F0;
}

.floating-1 {
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.floating-2 {
  bottom: 10%;
  right: 10%;
  animation: float 5s ease-in-out infinite reverse;
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid #F1F5F9;
}

.tech-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  margin-right: 4px;
}

.tech-dots span:nth-child(1) {
  background: #EF4444;
}

.tech-dots span:nth-child(2) {
  background: #F59E0B;
}

.tech-dots span:nth-child(3) {
  background: #10B981;
}

.tech-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.tech-status.success {
  background: #D1FAE5;
  color: #065F46;
}

.tech-status.danger {
  background: #FEE2E2;
  color: #991B1B;
}

.tech-line {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  margin-bottom: 8px;
}

.tech-chart {
  height: 40px;
  background: linear-gradient(90deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 4px;
  margin-top: var(--space-md);
  position: relative;
  overflow: hidden;
}

.tech-chart::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .floating-1 {
    left: 20%;
    width: 300px;
  }

  .floating-2 {
    right: 0;
    width: 280px;
  }
}

/* Trusted By Section */
.trusted-by {
  padding: var(--space-xl) 0;
  background-color: white;
  border-bottom: 1px solid #E2E8F0;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 1;
}

.brand-item {
  font-family: 'Lexend', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.brand-item:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  display: block;
  font-family: 'Lexend', sans-serif;
  color: var(--color-cta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.125rem;
}

/* Service Cards */
.cards-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--color-light);
  cursor: pointer;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--color-background);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
}

.service-card:hover .icon-wrapper {
  background: var(--color-primary);
  color: var(--color-light);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-primary);
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
}

.link-action svg {
  transition: transform var(--transition-fast);
}

.service-card:hover .link-action svg {
  transform: translateX(4px);
}

/* Trust Section */
.trust-layout {
  max-width: 800px;
  margin: 0 auto;
}

.trust-content h2 {
  font-size: 2.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.check-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Testimonials */
.cards-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.quote {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-top: 1px solid #E2E8F0;
  padding-top: var(--space-md);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: 'Lexend', sans-serif;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--color-text);
}

.author-info span {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-md);
  border-bottom: 1px solid #E2E8F0;
}

.pricing-table th {
  font-family: 'Lexend', sans-serif;
  color: var(--color-primary);
  background-color: var(--color-background);
  font-weight: 600;
}

.pricing-table td {
  color: var(--color-text);
  font-size: 1.05rem;
}

.pricing-table tbody tr:hover {
  background-color: #F8FAFC;
}

.pricing-table .text-right {
  text-align: right;
  font-weight: 600;
  color: var(--color-cta);
}

/* Contact & FAQ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 400px;
  }
}

.accordion-item {
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: var(--space-sm);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast);
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-header .icon {
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-header {
  color: var(--color-primary);
}

.accordion-item.active .icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.accordion-content p {
  padding-bottom: var(--space-md);
  color: var(--color-muted);
}

/* Footer */
.footer {
  background-color: #0F172A;
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: white;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
  /* subtle interaction */
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: #94A3B8;
}

.contact-info svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}