/* CSS Variables */
:root {
  --background: oklch(0.98 0 0);
  --foreground: oklch(0.2 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0 0);
  --primary: oklch(0.45 0.15 260);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.35 0 0);
  --secondary-foreground: oklch(1 0 0);
  --muted: oklch(0.96 0 0);
  --muted-foreground: oklch(0.5 0 0);
  --accent: oklch(0.55 0.18 265);
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.9 0 0);
  --radius: 0.75rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

/* Navigation */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: oklch(from var(--background) l c h / 0.95);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
}

.nav-logo-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
  color: var(--primary-foreground);
}

.nav-logo-text {
  display: none;
}

@media (min-width: 640px) {
  .nav-logo-text {
    display: inline;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.nav-link:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.nav-contacts {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nav-contacts {
    display: flex;
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--primary);
}

.nav-menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--foreground);
  background: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.nav-menu-toggle:hover {
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .nav-menu-toggle {
    display: none;
  }
}

.menu-icon-close {
  display: none;
}

.nav-menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.nav-menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile.active {
  display: block;
}

@media (max-width: 767px) {
  .nav-mobile {
    display: none;
  }
  
  .nav-mobile.active {
    display: block;
  }
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.nav-link-mobile:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.nav-mobile-contacts {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  outline: none;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn svg {
  pointer-events: none;
  flex-shrink: 0;
}

.btn-default {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-default:hover {
  background-color: oklch(from var(--primary) l c h / 0.9);
}

.btn-outline {
  border: 1px solid var(--border);
  background-color: var(--background);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

.btn-white {
  background-color: white;
  color: var(--primary);
}

.btn-white:hover {
  background-color: oklch(from white l c h / 0.9);
}

/* Card */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Main */
.main-container {
  min-height: 100vh;
  background-color: var(--background);
}

/* Section */
.section {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
}

.section-muted {
  background-color: oklch(from var(--muted) l c h / 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.05), var(--background), oklch(from var(--accent) l c h / 0.05));
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(128, 128, 128, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
  }
}

.hero-main-card {
  background: linear-gradient(to bottom right, var(--primary), var(--primary), var(--accent));
  color: var(--primary-foreground);
  border: 2px solid #d1d5db;
  padding: 2rem;
  grid-column: span 1;
  grid-row: span 1;
  transition: box-shadow 0.3s;
}

.hero-main-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .hero-main-card {
    grid-column: span 7;
    grid-row: span 2;
    padding: 3rem;
  }
}

.hero-main-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.hero-main-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.stats-card {
  padding: 0;
  border: 2px solid #d1d5db;
  overflow: hidden;
  grid-column: span 1;
  transition: box-shadow 0.3s;
}

.stats-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .stats-card {
    grid-column: span 5;
  }
}

.stats-image {
  position: relative;
  height: 8rem;
}

.stats-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.stats-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats-title {
  font-size: 2rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .stats-title {
    font-size: 1.875rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stats-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stats-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.pain-point-card {
  background: linear-gradient(to bottom right, oklch(from var(--destructive) l c h / 0.05), oklch(from var(--destructive) l c h / 0.1));
  border-color: oklch(from var(--destructive) l c h / 0.2);
  grid-column: span 1;
  transition: border-color 0.3s;
}

.pain-point-card:hover {
  border-color: oklch(from var(--destructive) l c h / 0.4);
}

@media (min-width: 1024px) {
  .pain-point-card {
    grid-column: span 5;
  }
}

.pain-point-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pain-point-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: oklch(from var(--destructive) l c h / 0.1);
  color: var(--destructive);
}

.pain-point-text h3 {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.pain-point-text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.process-card {
  border: 2px solid #d1d5db;
  grid-column: span 1;
  transition: box-shadow 0.3s;
}

.process-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .process-card {
    grid-column: span 7;
    grid-row: span 1;
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.process-icon {
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.process-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.process-step-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Problems Grid */
.problems-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .problems-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
  }
}

.problem-card-large {
  padding: 0;
  border: 2px solid #d1d5db;
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
  transition: box-shadow 0.3s;
}

.problem-card-large:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .problem-card-large {
    grid-column: span 4;
    grid-row: span 2;
  }
}

.problem-image {
  position: relative;
  height: 12rem;
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .problem-content {
    padding: 2.5rem;
  }
}

.problem-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.problem-icon-large {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: oklch(from var(--primary) l c h / 0.1);
  color: var(--primary);
}

.problem-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .problem-header h3 {
    font-size: 1.875rem;
  }
}

.problem-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.problem-card {
  background: linear-gradient(to bottom right, oklch(from var(--destructive) l c h / 0.05), oklch(from var(--destructive) l c h / 0.1));
  border-color: oklch(from var(--destructive) l c h / 0.2);
  grid-column: span 1;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: oklch(from var(--destructive) l c h / 0.4);
}

@media (min-width: 1024px) {
  .problem-card {
    grid-column: span 2;
  }
}

.problem-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.problem-icon-small {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: oklch(from var(--destructive) l c h / 0.1);
  color: var(--destructive);
}

.problem-card-inner h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .problem-card-inner h4 {
    font-size: 1.25rem;
  }
}

.problem-card-inner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.solution-cta {
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.05), var(--background));
  border: 2px solid oklch(from var(--primary) l c h / 0.2);
  grid-column: span 1;
  transition: box-shadow 0.3s;
}

.solution-cta:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .solution-cta {
    grid-column: span 4;
    grid-row: span 1;
  }
}

.solution-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.solution-cta-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .solution-cta-content h3 {
    font-size: 1.875rem;
  }
}

.solution-cta-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Audience Grid */
.audience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
  }
}

.audience-card-large {
  padding: 0;
  border: 2px solid #d1d5db;
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
  transition: all 0.3s;
}

.audience-card-large:hover {
  border-color: oklch(from var(--primary) l c h / 0.5);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .audience-card-large {
    grid-column: span 3;
    grid-row: span 2;
  }
}

.audience-image {
  position: relative;
  height: 16rem;
}

.audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.audience-icon-large {
  display: flex;
  height: 5rem;
  width: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.audience-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
}

.audience-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.audience-card {
  border: 2px solid #d1d5db;
  grid-column: span 1;
  transition: all 0.3s;
}

.audience-card:hover {
  border-color: oklch(from var(--primary) l c h / 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .audience-card {
    grid-column: span 3;
  }
}

.audience-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}

.audience-icon {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.audience-card-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .audience-card-inner h3 {
    font-size: 1.875rem;
  }
}

.audience-card-inner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-top: 0.5rem;
}

/* Results Grid */
.results-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
  }
}

.result-card-large {
  padding: 0;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.05), oklch(from var(--accent) l c h / 0.05), var(--background));
  border: 2px solid #d1d5db;
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
  transition: all 0.3s;
}

.result-card-large:hover {
  border-color: oklch(from var(--primary) l c h / 0.5);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .result-card-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.result-image {
  position: relative;
  height: 14rem;
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-icon-large {
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.result-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.result-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.result-card {
  border: 2px solid #d1d5db;
  grid-column: span 1;
  transition: all 0.3s;
}

.result-card:hover {
  border-color: oklch(from var(--primary) l c h / 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .result-card {
    grid-column: span 2;
  }
}

.result-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.result-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.result-card-inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .result-card-inner h3 {
    font-size: 1.5rem;
  }
}

.result-card-inner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.result-card-small {
  border: 2px solid #d1d5db;
  grid-column: span 1;
  transition: all 0.3s;
}

.result-card-small:hover {
  border-color: oklch(from var(--primary) l c h / 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.result-card-inner-small {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  justify-content: space-between;
}

.result-icon-small {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.result-card-inner-small h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .result-card-inner-small h3 {
    font-size: 1.25rem;
  }
}

.result-card-inner-small p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Gradient Lines */
.gradient-line {
  height: 0.25rem;
  width: 6rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.gradient-line-small {
  height: 0.25rem;
  width: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.gradient-line-inline {
  height: 0.25rem;
  width: 4rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin-top: 0.5rem;
}

/* Format Grid */
.format-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.format-card {
  padding: 0;
  border: 2px solid #d1d5db;
  overflow: hidden;
  transition: all 0.3s;
}

.format-card:hover {
  border-color: oklch(from var(--primary) l c h / 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.format-image {
  position: relative;
  height: 12rem;
}

.format-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.format-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.format-icon {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.1), oklch(from var(--accent) l c h / 0.1));
  color: var(--primary);
}

.format-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .format-header h3 {
    font-size: 1.875rem;
  }
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.format-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.format-list svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.format-list span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.guarantee-card {
  background: linear-gradient(to bottom right, oklch(from var(--primary) l c h / 0.05), oklch(from var(--accent) l c h / 0.05), var(--background));
  border: 2px solid oklch(from var(--primary) l c h / 0.1);
  grid-column: span 1;
  transition: box-shadow 0.3s;
}

.guarantee-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .guarantee-card {
    grid-column: span 5;
  }
}

.guarantee-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.guarantee-icon {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: oklch(from var(--primary) l c h / 0.1);
  color: var(--primary);
}

.guarantee-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.guarantee-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-top: 0.5rem;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.faq-card {
  border: 2px solid #d1d5db;
  grid-column: span 1;
  transition: all 0.3s;
}

.faq-card:hover {
  border-color: oklch(from var(--primary) l c h / 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.faq-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: oklch(from var(--primary) l c h / 0.1);
  color: var(--primary);
}

.faq-card-inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .faq-card-inner h3 {
    font-size: 1.5rem;
  }
}

.faq-card-inner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-top: 0.5rem;
}

/* CTA Card */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 0.25rem;
  background: linear-gradient(to bottom right, var(--primary), var(--primary), var(--accent));
}

.cta-inner {
  position: relative;
  background-color: var(--card);
  border-radius: calc(1.5rem - 4px);
  padding: 3rem;
}

@media (min-width: 1024px) {
  .cta-inner {
    padding: 4rem;
  }
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background-color: oklch(from var(--primary) l c h / 0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.cta-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .cta-content h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.cta-button {
  font-size: 1.25rem;
  padding: 2rem 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
}

.cta-button:hover {
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cta-feature svg {
  color: var(--primary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background-color: oklch(from var(--muted) l c h / 0.3);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 4rem 0;
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
  color: var(--primary-foreground);
}

.footer-logo-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 20rem;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.footer-contacts,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary);
}

.vk-icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Utility Classes */
.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm\:inline {
    display: inline;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Modal Window */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  background-color: var(--card);
  border-radius: 1rem;
  border: 1px solid #d1d5db;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: var(--background);
  color: var(--foreground);
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(from var(--primary) l c h / 0.1);
}

.form-group input::placeholder {
  color: var(--muted-foreground);
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* Phone input mask styling */
.form-group input[type="tel"] {
  font-family: monospace;
}