/* Fix overflow and spacing issues */
body, html {
  overflow-x: hidden;
  max-width: 100%;
}

.nexdesk-home-wrap {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.nexdesk-home-wrap > * {
  max-width: 100%;
}
/* ============================================
   NEXDESK HOME - COMPLETE CSS
   ============================================ */

/* CSS Variables */
:root {
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-purple-500: #a855f7;
  --color-purple-600: #9333ea;
  --color-green-500: #22c55e;
  --color-yellow-500: #eab308;
  
  --color-bg: #ffffff;
  --color-text: #171717;
  --color-text-muted: #737373;
  --color-border: #e5e5e5;
  --color-card: #fafafa;
  --color-secondary: #f5f5f5;
  
  --radius: 0.5rem;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Reset & Base */
.nexdesk-home-wrap {
  width: 100%;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.nexdesk-home-wrap * {
  box-sizing: border-box;
}

/* Container */
.nx-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nx-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nx-container {
    padding: 0 2rem;
  }
}
/* Add this to your nexdesk-home.css - fix SVG icon sizes */

/* Icon size utilities */
.nx-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nx-icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.nx-icon-lg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* Make sure ALL SVGs inside these classes are sized correctly */
.nx-icon svg,
.nx-icon-sm svg,
.nx-icon-lg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nx-check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.nx-check-icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.nx-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 8rem;
}

.nx-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.05) 0%, 
    rgba(168, 85, 247, 0.05) 50%, 
    rgba(59, 130, 246, 0.05) 100%
  );
}

.nx-hero-content {
  position: relative;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.nx-badge svg {
  color: var(--color-blue-600);
}

.nx-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .nx-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .nx-hero h1 {
    font-size: 3.75rem;
  }
}

.nx-gradient-text {
  background: linear-gradient(to right, var(--color-blue-500), var(--color-purple-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nx-hero p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .nx-hero p {
    font-size: 1.25rem;
  }
}

/* Buttons */
.nx-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .nx-btn-group {
    flex-direction: row;
  }
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}

.nx-btn-primary {
  background: linear-gradient(to right, var(--color-blue-500), var(--color-purple-600));
  color: white;
}

.nx-btn-primary:hover {
  background: linear-gradient(to right, var(--color-blue-600), var(--color-purple-600));
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.nx-btn-outline {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
}

.nx-btn-outline:hover {
  background: var(--color-secondary);
}

/* Hero Preview */
.nx-hero-preview {
  max-width: 80rem;
  margin: 0 auto;
}

.nx-preview-box {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  background: var(--color-card);
}

.nx-preview-grid {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .nx-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nx-preview-card {
  background: var(--color-secondary);
  border-radius: 0.75rem;
  padding: 1rem;
}

.nx-preview-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nx-preview-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-preview-icon.blue {
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-blue-600);
}

.nx-preview-icon.purple {
  background: rgba(168, 85, 247, 0.2);
  color: var(--color-purple-600);
}

.nx-preview-title {
  font-weight: 500;
  font-size: 0.875rem;
}

.nx-preview-message {
  background: var(--color-bg);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.nx-preview-label {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.nx-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nx-preview-tag {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
}

.nx-preview-ticket {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg);
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.nx-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

.nx-status-dot.green {
  background: var(--color-green-500);
}

.nx-status-dot.yellow {
  background: var(--color-yellow-500);
}

.nx-status-dot.blue {
  background: var(--color-blue-500);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.nx-features {
  padding: 5rem 0;
  background: rgba(250, 250, 250, 0.5);
}

.nx-section-header {
  text-center;
  margin-bottom: 4rem;
}

.nx-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .nx-section-title {
    font-size: 2.25rem;
  }
}

.nx-section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 48rem;
  margin: 0 auto;
}

.nx-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nx-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nx-feature-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}

.nx-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.nx-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  color: var(--color-blue-600);
  margin-bottom: 1rem;
}

.nx-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.nx-feature-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.nx-pricing {
  padding: 5rem 0;
}

.nx-pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .nx-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nx-price-card {
  position: relative;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.nx-price-card.popular {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 1px var(--color-blue-500);
}

.nx-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.nx-popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24; /* Changed to amber/yellow */
  color: #18181b; /* Changed to dark text */
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  white-space: nowrap;
}

.nx-price-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.nx-price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.nx-price-currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.nx-price-value {
  font-size: 3rem;
  font-weight: 700;
}

.nx-price-period {
  color: var(--color-text-muted);
}

.nx-price-range {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.nx-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.nx-price-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.nx-check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-green-500);
}

/* ============================================
   HOW IT WORKS SECTION - HORIZONTAL TIMELINE
   ============================================ */

.nx-how-it-works {
  padding: 5rem 0;
  background: rgba(250, 250, 250, 0.5);
}

.nx-steps {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
}

/* Horizontal layout for steps */
.nx-steps-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  margin-bottom: 3rem;
}

/* Progress line connecting steps */
.nx-steps-horizontal::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--color-blue-500), var(--color-purple-600));
  z-index: 0;
}

.nx-step-horizontal {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nx-step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-purple-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.nx-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.nx-step-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
  .nx-steps-horizontal {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nx-steps-horizontal::before {
    display: none;
  }
  
  .nx-step-horizontal {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }
  
  .nx-step-number {
    flex-shrink: 0;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */

.nx-cta {
  padding: 5rem 0;
  text-align: center;
}

.nx-cta-box {
  max-width: 48rem;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(168, 85, 247, 0.05));
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 3rem 2rem;
}

.nx-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nx-cta p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
/* ============================================
   SUPPORT STYLES SECTION
   ============================================ */

.nx-support-styles {
  padding: 5rem 0;
}

.nx-styles-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .nx-styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nx-style-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.nx-style-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.nx-style-icon.brand {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-blue-600);
}

.nx-style-icon.mod {
  background: rgba(168, 85, 247, 0.1);
  color: var(--color-purple-600);
}

.nx-style-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nx-style-desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.nx-style-example {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.nx-example-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.nx-example-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.nx-example-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.nx-example-avatar.brand {
  background: var(--color-blue-500);
}

.nx-example-avatar.mod {
  background: var(--color-purple-600);
}

.nx-style-best {
  text-align: left;
}

.nx-best-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.nx-style-best ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-style-best li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.nx-style-best li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-blue-500);
  font-weight: 700;
}
/* ============================================
   UTILITIES
   ============================================ */

.nx-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.nx-icon-sm {
  width: 1rem;
  height: 1rem;
}

.nx-icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsive text */
@media (max-width: 640px) {
  .nx-hero h1 {
    font-size: 2rem;
  }
  
  .nx-section-title {
    font-size: 1.5rem;
  }
}
