:root {
  --color-primary: #2563eb;
  --color-secondary: #10b981;
  --color-accent: #f59e0b;
  --color-dark: #0f172a;
  --color-light: #f8fafc;
  --color-text: #1f2937;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-primary);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

/* Use Case Specific Styles */
.use-case {
  background: white;
  min-height: 100vh;
}

.hero-case {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  color: white;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-case::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-case .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: white;
}

.hero-case h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.lead {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 800px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat .label {
  font-size: 0.875rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-challenge,
.case-solution,
.case-implementation,
.case-results,
.case-benefits,
.case-features,
.case-process,
.case-roi,
.case-details,
.case-metrics,
.case-technical,
.case-testimonial {
  border-bottom: 1px solid #e5e7eb;
}

.case-challenge:last-child,
.case-solution:last-child,
.case-implementation:last-child,
.case-results:last-child,
.case-benefits:last-child,
.case-features:last-child,
.case-process:last-child,
.case-roi:last-child,
.case-details:last-child,
.case-metrics:last-child,
.case-technical:last-child,
.case-testimonial:last-child {
  border-bottom: none;
}

.case-challenge h2,
.case-solution h2,
.case-implementation h2,
.case-results h2,
.case-benefits h2,
.case-features h2,
.case-process h2,
.case-roi h2,
.case-details h2,
.case-metrics h2,
.case-technical h2,
.case-testimonial h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.case-challenge h2::after,
.case-solution h2::after,
.case-results h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.result-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.result-card h3 {
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.result-card p {
  margin: 0;
  line-height: 1.6;
}

.pain-point {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #7f1d1d;
  position: relative;
}

.pain-point::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: #ef4444;
  opacity: 0.3;
}

.testimonial {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left: 4px solid var(--color-secondary);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: var(--color-secondary);
  opacity: 0.3;
}

.testimonial p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-secondary);
}

.main-testimonial {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  color: white;
  padding: 3rem;
  margin: 3rem 0;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.main-testimonial::before {
  content: '"';
  font-size: 6rem;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.2;
}

.main-testimonial p {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.main-testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 1.125rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.timeline-item h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.phase {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.phase:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.phase h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.features-grid,
.detail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature,
.detail {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.feature:hover,
.detail:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature h3,
.detail h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.metrics-table th {
  background: var(--color-primary);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.metrics-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.metrics-table tr:nth-child(even) {
  background: #f8fafc;
}

.metrics-table tr:hover {
  background: #f1f5f9;
}

.roi-calculation {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #fbbf24;
  margin-top: 2rem;
}

.roi-calculation h3 {
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.roi-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  border-top: 2px solid var(--color-primary);
  padding-top: 0.5rem;
  margin-top: 1rem;
}

.financial-impact {
  background: #f0fdf4;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-secondary);
  margin-top: 2rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feedback {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  position: relative;
}

.feedback::before {
  content: '"';
  font-size: 2rem;
  position: absolute;
  top: -5px;
  left: 10px;
  color: var(--color-primary);
  opacity: 0.3;
}

.feedback p {
  font-style: italic;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.feedback cite {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
}

.implementation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.step h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .case-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-case {
    padding: 3rem 0 4rem;
  }

  .results-grid,
  .features-grid,
  .detail-cards,
  .phases,
  .benefits-list,
  .feedback-grid,
  .implementation-steps,
  .features-list {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: -33px;
  }
}

/* Card links styling */
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.card-link:hover {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
  transform: translateX(4px);
}

.use-cases-extra {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.use-cases-extra h3 {
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
}

.use-cases-simple {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.use-cases-simple h3 {
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.card-simple {
  position: relative;
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 2px solid #fbbf24;
  transition: all 0.3s ease;
}

.card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.2);
}

.complexity-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-simple h4 {
  margin-top: 0.5rem;
  color: var(--color-dark);
}

.card-simple .card-link {
  color: #92400e;
  font-weight: 700;
}

.card-simple .card-link:hover {
  color: var(--color-accent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.section-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0 auto;
  max-width: 640px;
  color: #475569;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.btn.primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

.btn.secondary {
  background: var(--color-secondary);
  color: white;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn.secondary:hover,
.btn.secondary:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.25);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--color-dark);
}

.btn.ghost:hover,
.btn.ghost:focus {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-footer img {
  height: 50px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.main-nav a {
  color: #1e293b;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  background: var(--color-dark);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-nav.open {
  display: flex;
}

.hero {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
}

.hero-content {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 520px;
  color: #334155;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--color-dark);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-card li {
  padding-left: 1.75rem;
  position: relative;
  color: #1f2937;
}

.hero-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: white;
  border-radius: 14px;
  padding: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--color-dark);
}

.card p {
  margin-bottom: 0;
  color: #475569;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.timeline li {
  background: white;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.35rem;
  row-gap: 0.35rem;
  align-items: start;
}

.step-number {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  grid-row: 1;
  align-self: start;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.25);
}

.timeline li h3 {
  margin: 0;
}

.timeline li p {
  margin: 0;
  color: #475569;
}

.timeline li > *:not(.step-number) {
  grid-column: 2;
}

.pricing .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.5rem 0 1rem;
}

.faq-details {
  max-width: 720px;
  margin: 0 auto;
}

.faq-items {
  display: grid;
  gap: 1rem;
}

.faq-items details {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.1rem 1.3rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.faq-items summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-dark);
  list-style: none;
}

.faq-items summary::-webkit-details-marker {
  display: none;
}

.faq-items details[open] summary {
  color: var(--color-primary);
}

.faq-items p {
  margin: 0.75rem 0 0;
  color: #475569;
}

.legal {
  background: white;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  text-align: left;
}

.legal-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  color: #334155;
}

.legal-list li h3 {
  margin: 0 0 0.35rem;
  color: var(--color-dark);
  font-size: 1.15rem;
}

.legal-list li p {
  margin: 0;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.35rem;
  color: #475569;
}

.legal-contact {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: #1f2937;
}

.legal-contact a {
  color: var(--color-primary);
}

.mockup-overview__hero {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.mockup-overview__hero .pill {
  margin-bottom: 1rem;
}

.mockup-overview__hero h1 {
  margin-bottom: 0.5rem;
}

.mockup-overview__hero p {
  margin: 0;
  max-width: 720px;
  color: #334155;
}

.mockup-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.mockup-link-card {
  display: grid;
  gap: 0.5rem;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mockup-link-card h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--color-dark);
}

.mockup-link-card p {
  margin: 0;
  color: #475569;
}

.mockup-link-card__hint {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.mockup-link-card:hover,
.mockup-link-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.portal-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  background: #f8fafc;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.portal-sidebar {
  background: #f1f5f9;
  padding: 2.25rem 1.5rem;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-sidebar__nav {
  display: grid;
  gap: 0.75rem;
}

.portal-sidebar__link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border: 1px solid transparent;
}

.portal-sidebar__link:hover,
.portal-sidebar__link:focus {
  color: var(--color-primary);
  border-color: rgba(37, 99, 235, 0.3);
}

.portal-sidebar__link--active {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: inset 2px 0 0 var(--color-primary);
}

.portal-main {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

.portal-topbar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 2rem;
  background: white;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

.portal-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.portal-topnav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1 1 auto;
}

.portal-topnav__link {
  position: relative;
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  padding-bottom: 0.35rem;
}

.portal-topnav__link:hover,
.portal-topnav__link:focus {
  color: var(--color-primary);
}

.portal-topnav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

.portal-topnav__link--active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary);
}

.portal-primary {
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.portal-primary--ghost {
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-primary);
  box-shadow: none;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
  opacity: 0.65;
  cursor: not-allowed;
}

.portal-content {
  padding: 2rem 2rem 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.portal-card {
  background: white;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.portal-card__header h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--color-dark);
}

.portal-card__header p {
  margin: 0.35rem 0 0;
  color: #64748b;
}

.portal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.portal-kpi {
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.portal-kpi__header h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.portal-kpi__meta {
  font-size: 0.85rem;
  color: #64748b;
}

.portal-kpi__value {
  margin: 0;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

.portal-kpi__value--alert {
  color: #2563eb;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.portal-table th {
  text-align: left;
  padding: 0.8rem;
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-weight: 600;
}

.portal-table td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

.portal-table tr:last-child td {
  border-bottom: none;
}

.portal-search {
  display: flex;
}

.portal-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  color: #1f2937;
}

.portal-steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portal-step {
  border: 1px dashed rgba(37, 99, 235, 0.35);
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.04);
  padding: 1.2rem 1.4rem;
  display: grid;
  gap: 0.6rem;
}

.portal-step--highlight {
  background: rgba(37, 99, 235, 0.12);
}

.portal-step h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.portal-step p {
  margin: 0;
  color: #475569;
}

.portal-step__note {
  font-size: 0.85rem;
  color: #2563eb;
}

.portal-step__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portal-step__preview {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: white;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #1f2937;
}

.portal-kanban {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portal-kanban__column {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.portal-kanban__column h3 {
  margin: 0;
  font-size: 1rem;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-ticket {
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.portal-ticket h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.portal-ticket p {
  margin: 0;
  color: #475569;
}

.portal-ticket span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
}

.portal-ticket--done {
  border-color: rgba(16, 185, 129, 0.35);
}

.portal-table--products td:nth-child(3),
.portal-table--products td:nth-child(6) {
  font-weight: 600;
}

.portal-table--products td:nth-child(3) {
  color: var(--color-primary);
}

.portal-content--home {
  gap: 1.5rem;
}

.portal-card--activity {
  padding-top: 1.4rem;
}

.portal-card--activity table td:nth-child(1) {
  font-weight: 500;
}

.portal-table--inbox td:last-child {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1.5rem;
  }

  .portal-sidebar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .portal-sidebar__link {
    box-shadow: none;
  }
}

@media (max-width: 700px) {
  .portal-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .portal-topnav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .portal-primary {
    align-self: flex-end;
  }
}

.mockup-panel {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mockup-panel__header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--color-dark);
}

.mockup-panel__subtitle {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.95rem;
}

.mockup-kpi-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.mockup-kpi-card {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  padding: 1.2rem 1.35rem;
  display: grid;
  gap: 0.35rem;
}

.mockup-kpi__label {
  font-weight: 600;
  color: #1e293b;
}

.mockup-kpi__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.mockup-kpi__trend {
  font-size: 0.9rem;
  color: #475569;
}

.mockup-kpi__trend--up {
  color: var(--color-secondary);
}

.mockup-kpi__trend--down {
  color: #f97316;
}

.mockup-kpi__trend--flat {
  color: #64748b;
}

.mockup-inbox__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.mockup-inbox__list li {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: rgba(15, 23, 42, 0.02);
  display: grid;
  gap: 0.55rem;
}

.mockup-inbox__meta {
  display: flex;
  justify-content: space-between;
  color: #475569;
  font-size: 0.9rem;
}

.mockup-inbox__sender {
  font-weight: 600;
  color: #0f172a;
}

.mockup-inbox__subject {
  margin: 0;
  color: #1f2937;
}

.mockup-inbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mockup-chip {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: white;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.mockup-chip--approve {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--color-secondary);
}

.mockup-chip--suggest {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--color-primary);
}

.mockup-offers__flow {
  display: grid;
  gap: 1.25rem;
}

.mockup-offers__stage {
  border: 1px dashed rgba(37, 99, 235, 0.35);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  background: rgba(37, 99, 235, 0.04);
  display: grid;
  gap: 0.5rem;
}

.mockup-offers__stage h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: var(--color-primary);
}

.mockup-offers__preview {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: white;
  padding: 1rem;
  color: #1f2937;
  line-height: 1.5;
}

.mockup-offers__preview p {
  margin: 0 0 0.5rem;
}

.mockup-offers__preview p:last-child {
  margin-bottom: 0;
}

.mockup-offers__stage--preview {
  background: rgba(37, 99, 235, 0.12);
}

.mockup-offers__cta {
  align-self: flex-start;
  cursor: default;
  opacity: 0.6;
}

.mockup-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mockup-kanban__column {
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.mockup-kanban__column h3 {
  margin: 0;
  font-size: 1rem;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-card {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.mockup-card h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-dark);
}

.mockup-card p {
  margin: 0;
  color: #475569;
}

.mockup-card--success {
  border-color: rgba(16, 185, 129, 0.35);
}

.mockup-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
}

.mockup-pricelist {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mockup-pricelist th {
  text-align: left;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-weight: 600;
}

.mockup-pricelist td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

.mockup-pricelist tr:last-child td {
  border-bottom: none;
}

.mockup-pricelist td:nth-child(3) {
  font-weight: 600;
  color: var(--color-primary);
}

.mockup-screen__intro {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.mockup-backlink {
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mockup-backlink:hover,
.mockup-backlink:focus {
  text-decoration: underline;
}

.mockup-screen__intro .pill {
  justify-self: flex-start;
}

.mockup-screen__intro p {
  margin: 0;
  max-width: 720px;
  color: #334155;
}

.mockup-screen__body {
  background: rgba(15, 23, 42, 0.02);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.cta {
  background: var(--color-dark);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-copy {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-copy .btn {
  align-self: flex-start;
}

.cta-widget {
  flex: 1 1 360px;
  min-height: 700px;
  width: 100%;
  background: rgba(15, 23, 42, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.cta-widget .calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta p {
  margin: 0;
  color: rgba(248, 250, 252, 0.85);
}

/* Modal (Calendly) */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.modal-dialog {
  position: relative;
  background: #fff;
  width: min(960px, 96vw);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-close {
  appearance: none;
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
}

.modal-close:hover,
.modal-close:focus {
  color: var(--color-primary);
}

.modal-body {
  padding: 0;
}

.calendly-embed .calendly-inline-widget {
  min-width: 320px;
  width: 100%;
  border: 0;
}

.site-footer {
  background: white;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  margin: 0.35rem 0 0;
  color: #64748b;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 500;
}

.footer-links a {
  color: var(--color-primary);
}

.footer-meta a {
  color: var(--color-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Cookie Consent */
.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--color-dark);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent__inner {
  width: min(1080px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.5rem;
}

.cookie-consent p {
  margin: 0;
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.95rem;
}

.cookie-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent .btn {
  padding: 0.55rem 1rem;
}

@media (max-width: 600px) {
  .cookie-consent__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .cookie-consent__actions {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mockup-kanban {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 1.5rem;
  }

  .timeline li {
    padding-left: 2.75rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-widget {
    min-height: 600px;
  }

  .modal-dialog {
    width: calc(100vw - 1.5rem);
    max-height: 92vh;
    border-radius: 12px;
  }

  .mockup-overview__hero,
  .mockup-screen__intro {
    text-align: left;
  }

  .mockup-overview__hero .pill,
  .mockup-screen__intro .pill {
    margin-bottom: 0.75rem;
  }

  .mockup-overview__grid {
    gap: 1.25rem;
  }

  .mockup-panel {
    padding: 1.25rem;
  }

  .mockup-inbox__list li {
    padding: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
