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

:root {
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-900: #0f172a;
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-green-400: #4ade80;
  --color-green-500: #22c55e;
  --color-green-600: #16a34a;
  --color-yellow-400: #facc15;
  --color-purple-100: #f3e8ff;
  --color-purple-700: #7c3aed;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-slate-900);
  background: #f5f7fc;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -220px;
  width: min(74vw, 1040px);
  height: 860px;
  border-bottom-left-radius: 72% 74%;
  border-top-left-radius: 34% 38%;
  background:
    radial-gradient(circle at 22% 36%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 72% 24%, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0) 68%),
    radial-gradient(circle at 60% 62%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 62%),
    linear-gradient(155deg, rgba(250, 252, 255, 0.92) 4%, rgba(245, 248, 255, 0.96) 42%, rgba(248, 244, 255, 0.95) 78%, rgba(255, 255, 255, 0.98) 100%);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  top: 72px;
  right: -460px;
  width: min(96vw, 1320px);
  height: 300px;
  border: 1.5px solid rgba(214, 223, 238, 0.9);
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 360px 360px;
  transform: rotate(-2.5deg);
  z-index: 0;
  pointer-events: none;
}

main,
footer {
  position: relative;
  z-index: 1;
}

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

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

nav {
  position: relative;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.9) 56%, rgba(249, 250, 255, 0.6) 78%, rgba(248, 242, 255, 0.46) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  z-index: 1000;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo img {
  height: 1.5rem;
  width: auto;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
  margin-left: 1.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .logo img {
    height: 2rem;
  }
}

.nav-links a {
  text-decoration: none;
  color: var(--color-slate-600);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-blue-600);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
}

/* Language Toggle */
.lang-toggle {
  background: var(--color-slate-100);
  padding: 0.25rem;
  border-radius: 0.5rem;
  display: flex;
  position: relative;
  margin-right: 0.5rem;
}

.lang-btn {
  position: relative;
  z-index: 10;
  padding: 0.375rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 0.375rem;
  transition: color 0.3s;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-slate-600);
}

.lang-btn.active {
  color: var(--color-blue-700);
}

.lang-btn:hover:not(.active) {
  color: var(--color-slate-900);
}

.lang-toggle-pill {
  position: absolute;
  top: 0.25rem;
  left: 4px;
  width: calc(50% - 6px);
  height: calc(100% - 0.5rem);
  background: white;
  border-radius: 0.375rem;
  transition: left 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .lang-toggle-pill {
    left: 4px;
    width: calc(50% - 6px);
  }
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
}

.btn-ghost {
  color: var(--color-slate-600);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--color-blue-600);
  background: var(--color-blue-50);
}

.btn-primary {
  background: var(--color-blue-600);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--color-blue-700);
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -130px;
  width: min(68vw, 900px);
  height: 760px;
  border-bottom-left-radius: 76% 72%;
  border-top-left-radius: 34% 40%;
  background:
    radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 80% 35%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 64%),
    linear-gradient(145deg, rgba(246, 248, 255, 0.74) 2%, rgba(241, 245, 255, 0.82) 42%, rgba(248, 242, 255, 0.8) 76%, rgba(255, 255, 255, 0.88) 100%);
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
  }
}

.hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.badge {
  display: none;
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15), 0 2px 4px rgba(37, 99, 235, 0.1);
}

@media (min-width: 768px) {
  .badge {
    display: inline-block;
  }
}

h1 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4.2rem;
  }
}

.text-highlight {
  color: var(--color-blue-600);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--color-slate-600);
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.25rem;
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  height: 3rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .btn-lg {
    width: auto;
  }
}

@media (min-width: 768px) {
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    height: 3.5rem;
  }
}

.btn-outline {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border: 2px solid var(--color-slate-200);
  color: var(--color-slate-700);
}

.btn-outline:hover {
  background: var(--color-slate-50);
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-slate-500);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .hero-features {
    justify-content: flex-start;
  }
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-green-500);
}

.hero-image {
  flex: 0.85;
  position: relative;
  max-width: 57%;
  margin-left: auto;
}

/* Decorative blobs */
.hero-blob {
  display: none;
}

.hero-blob-mint {
  width: 200px;
  height: 200px;
  background: #a7f3d0;
  top: -50px;
  left: -80px;
}

.hero-blob-yellow {
  width: 180px;
  height: 180px;
  background: #fde68a;
  top: -30px;
  right: 50px;
}

.hero-blob-coral {
  width: 160px;
  height: 160px;
  background: #fca5a5;
  bottom: 50px;
  right: -60px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1.75rem;
  overflow: visible;
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.95);
  aspect-ratio: 1510 / 1030;
  z-index: 1;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: 2rem;
  background: radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0) 48%), radial-gradient(circle at 15% 78%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 48%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1.5rem;
  display: block;
  background: #ffffff;
}

/* Status badge */
.hero-status-badge {
  display: none;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.status-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
  stroke-width: 3;
}

.status-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.status-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-message {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  white-space: nowrap;
}

/* Features Section */
.features {
  padding: 1.5rem 0;
  background: transparent;
}

@media (min-width: 768px) {
  .features {
    padding: 3.5rem 0 2rem;
  }
}

@media (min-width: 1024px) {
  .features {
    padding: 5.5rem 0 3rem;
  }
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .section-header {
    margin: 0 auto 3rem;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin: 0 auto 4rem;
  }
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  h2 {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-slate-100);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .feature-card {
    width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .feature-card {
    width: calc(33.333% - 1rem);
  }
}

.feature-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(4) {
  display: none;
}

@media (min-width: 768px) {
  .feature-card:nth-child(4) {
    display: flex;
  }
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.icon-green { background: #dcfce7; color: #15803d; }
.icon-yellow { background: #fef3c7; color: #a16207; }
.icon-purple { background: #f3e8ff; color: #7c3aed; }
.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-sky { background: #e0f2fe; color: #0369a1; }

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--color-slate-600);
  line-height: 1.625;
  font-size: 0.875rem;
}

/* Showcase Section */
.showcase {
  padding: 1.5rem 0;
  background: linear-gradient(to bottom right, white, rgba(239, 246, 255, 0.3), rgba(243, 232, 255, 0.3));
}

@media (min-width: 768px) {
  .showcase {
    padding: 3.5rem 0;
  }
}

@media (min-width: 1024px) {
  .showcase {
    padding: 5.5rem 0;
  }
}

.showcase-box {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-slate-100);
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .showcase-box {
    padding: 3rem;
  }
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .showcase-content {
    flex-direction: row;
  }
}

.showcase-tabs {
  display: none;
}

@media (min-width: 1024px) {
  .showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 33.333%;
  }
}

.tab-button {
  text-align: left;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-button:hover {
  background: var(--color-slate-50);
}

.tab-button.active {
  background: var(--color-blue-50);
  border-color: var(--color-blue-600);
}

.tab-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tab-button.active .tab-title {
  color: var(--color-blue-700);
}

.tab-description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-slate-500);
}

.tab-button.active .tab-description {
  color: rgba(37, 99, 235, 0.8);
}

.showcase-image {
  flex: 1;
  position: relative;
  min-height: 500px;
  background: var(--color-slate-100);
  border-radius: 1rem;
  overflow: hidden;
  border: 8px solid var(--color-slate-50);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  padding: 2rem;
}

/* Mobile Carousel */
.mobile-carousel {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-carousel {
    display: none;
  }
}

.carousel-image-wrapper {
  position: relative;
  height: 480px;
  background: var(--color-slate-100);
  border-radius: 1rem;
  overflow: hidden;
  border: 8px solid var(--color-slate-50);
  margin-bottom: 1.5rem;
}

.carousel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.carousel-info {
  text-align: center;
  padding: 0 1rem;
  min-height: 180px;
}

.carousel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue-700);
  margin-bottom: 0.75rem;
}

.carousel-description {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-slate-600);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--color-slate-300);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  width: 2rem;
  height: 0.375rem;
  background: var(--color-blue-600);
}

/* Pricing Section */
.pricing {
  padding: 1.5rem 0;
  background: var(--color-slate-50);
}

@media (min-width: 768px) {
  .pricing {
    padding: 3.5rem 0;
  }
}

@media (min-width: 1024px) {
  .pricing {
    padding: 5.5rem 0;
  }
}

/* Pricing Toggles */
.pricing-toggles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.toggle-group {
  background: var(--color-slate-200);
  padding: 0.25rem;
  border-radius: 9999px;
  display: flex;
  position: relative;
}

.billing-toggle {
  min-width: 200px;
}

.currency-toggle {
  min-width: 104px;
}

.toggle-btn {
  position: relative;
  z-index: 10;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--color-slate-600);
}

.currency-toggle .toggle-btn {
  width: 3rem;
  padding: 0.5rem;
}

.toggle-btn:hover {
  color: var(--color-slate-900);
}

.toggle-btn.active {
  color: white;
}

.toggle-pill {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  background: var(--color-blue-600);
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.billing-toggle .toggle-pill {
  left: 0.25rem;
  width: calc(50% - 0.375rem);
}

.billing-toggle .toggle-pill.yearly {
  left: calc(50% + 0.125rem);
}

.currency-toggle .toggle-pill {
  left: 0.25rem;
  width: 2.75rem;
}

.currency-toggle .toggle-pill.usd {
  left: calc(50% + 0.125rem);
}

/* Save Badge */
.save-badge {
  position: absolute;
  bottom: -2.25rem;
  right: 1.5rem;
  transform: rotate(-6deg);
  z-index: 20;
}

.save-badge > span {
  display: block;
  background: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-slate-100);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-blue-600);
  white-space: nowrap;
}

.save-badge-arrow {
  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 0.75rem;
  height: 0.75rem;
  background: white;
  border-top: 1px solid var(--color-slate-100);
  border-left: 1px solid var(--color-slate-100);
}

.pricing-cards {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid var(--color-slate-200);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
  order: 2;
}

@media (min-width: 768px) {
  .pricing-card {
    order: 1;
  }
}

.pricing-card.premium {
  border: 2px solid var(--color-blue-600);
  background: linear-gradient(to bottom, rgba(239, 246, 255, 0.5), white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  order: 1;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .pricing-card.premium {
    order: 2;
    margin-top: 0;
  }
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 1rem;
  background: var(--color-blue-600);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .popular-badge {
    left: 50%;
    transform: translateX(-50%);
  }
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .plan-name {
    font-size: 1.5rem;
  }
}

.premium .plan-name {
  color: var(--color-blue-700);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-subtitle-yearly {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-green-600);
  margin-bottom: 0.5rem;
  display: none;
}

.plan-subtitle-yearly.visible {
  display: block;
}

@media (min-width: 768px) {
  .plan-price {
    font-size: 3rem;
  }
}

.plan-price-period {
  font-size: 1rem;
  color: var(--color-slate-500);
  font-weight: 500;
}

.plan-description {
  color: var(--color-slate-500);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--color-slate-700);
  font-weight: 500;
}

.plan-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  background: var(--color-slate-100);
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 0;
  font-weight: 700;
  color: var(--color-slate-400);
}

.premium .plan-features li::before {
  background: var(--color-blue-100);
  color: var(--color-blue-600);
}

.plan-cta {
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  height: 3rem;
  line-height: 1.5rem;
}

.plan-cta.free {
  color: var(--color-blue-600);
  text-decoration: underline;
}

.plan-cta.free:hover {
  color: var(--color-blue-700);
}

/* CTA Section */
.cta-section {
  padding: 3.5rem 0;
  background: white;
  border-top: 1px solid var(--color-slate-200);
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5.5rem 0;
  }
}

.cta-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3.75rem;
  }
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--color-slate-600);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-button {
  display: inline-block;
  height: 4rem;
  padding: 0 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.5rem;
  line-height: 4rem;
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
  transition: all 0.3s;
}

.cta-button:hover {
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-500);
}

/* Footer */
footer {
  background: var(--color-slate-100);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-slate-300);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr auto auto auto auto auto;
    gap: 1.5rem;
  }
}

.footer-brand {
  max-width: 280px;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
    margin-right: 2rem;
  }
}

.footer-logo {
  height: 1.5rem;
  margin-bottom: 1.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .footer-logo {
    height: 2rem;
  }
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-slate-600);
}

.footer-section h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-slate-900);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-slate-600);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-blue-600);
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  color: var(--color-slate-500);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    text-align: left;
  }
}

/* Comparison Section */
.comparison {
  padding: 1.5rem 0;
  background: linear-gradient(to bottom right, white 30%, rgba(239, 246, 255, 0.6) 60%, rgba(243, 232, 255, 0.6));
}

@media (min-width: 768px) {
  .comparison {
    padding: 3.5rem 0;
  }
}

@media (min-width: 1024px) {
  .comparison {
    padding: 5.5rem 0;
  }
}

.comparison-table-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: white;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table thead {
  background: white;
}

.comparison-table th {
  padding: 1.5rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-400);
  border-bottom: 1px solid var(--color-slate-200);
}

@media (min-width: 768px) {
  .comparison-table th {
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
  }
}

.comparison-table th.feature-col {
  text-align: left;
  padding-left: 1.5rem;
  width: 35%;
  min-width: 200px;
  position: sticky;
  left: 0;
  z-index: 50;
  background: white;
  box-shadow: 4px 0 6px -2px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .comparison-table th.feature-col {
    width: 25%;
    padding-left: 2rem;
  }
}

.comparison-table th.tickkl-col {
  background: rgba(239, 246, 255, 0.5);
  min-width: 140px;
}

.comparison-table th.competitor-col {
  font-weight: 700;
  color: var(--color-slate-600);
  font-size: 0.875rem;
  min-width: 140px;
}

@media (min-width: 768px) {
  .comparison-table th.competitor-col {
    font-size: 1.125rem;
  }
}

.tickkl-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tickkl-logo {
  height: 1.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .tickkl-logo {
    height: 2rem;
  }
}

.smart-badge {
  background: var(--color-blue-100);
  color: var(--color-blue-700);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .smart-badge {
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
  }
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-slate-200);
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.5);
}

.comparison-table tbody tr.price-row {
  background: rgba(248, 250, 252, 1);
  border-top: 2px solid var(--color-slate-200);
}

.comparison-table td {
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-slate-900);
}

@media (min-width: 768px) {
  .comparison-table td {
    padding: 1.25rem 1rem;
    font-size: 0.875rem;
  }
}

.comparison-table td.feature-col {
  text-align: left;
  padding-left: 1.5rem;
  font-weight: 500;
  position: sticky;
  left: 0;
  z-index: 50;
  background: white;
  box-shadow: 4px 0 6px -2px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .comparison-table td.feature-col {
    padding-left: 2rem;
  }
}

.comparison-table tbody tr:nth-child(even) td.feature-col {
  background: rgba(248, 250, 252, 0.5);
}

.comparison-table tbody tr.price-row td.feature-col {
  background: rgba(248, 250, 252, 1);
}

.comparison-table td.tickkl-col {
  background: rgba(239, 246, 255, 0.3);
}

.comparison-table tbody tr.price-row td.tickkl-col {
  background: rgba(239, 246, 255, 0.6);
}

.comparison-table .check-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

@media (min-width: 768px) {
  .comparison-table .check-icon {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.3rem;
  }
}

.comparison-table .check-icon.competitor {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  box-shadow: 0 2px 8px rgba(51, 65, 85, 0.25);
}

.comparison-table .cross-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-slate-300);
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .comparison-table .cross-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.comparison-table .text-note {
  font-size: 0.625rem;
  color: var(--color-slate-500);
  font-weight: 500;
  display: block;
}

@media (min-width: 768px) {
  .comparison-table .text-note {
    font-size: 0.75rem;
  }
}

/* Integrations Section */
.integrations {
  padding: 1.5rem 0;
  background: rgba(248, 250, 252, 0.5);
}

@media (min-width: 768px) {
  .integrations {
    padding: 3.5rem 0;
  }
}

@media (min-width: 1024px) {
  .integrations {
    padding: 5.5rem 0;
  }
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
  }
  
  .integration-card,
  .integration-card-link {
    width: 100%;
    max-width: 100%;
  }
}

.integration-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.integration-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-slate-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
}

.integration-card:hover,
.integration-card-link:hover .integration-card {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue-100);
  transform: translateY(-0.25rem);
}

.integration-icon {
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 0.75rem;
}

.integration-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.integration-icon img[src*="jira"] {
  transform: scale(0.5) translate(0, 0);
  transform-origin: center center;
}

.integration-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.75rem;
}

.integration-description {
  color: var(--color-slate-600);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
  padding: 1.5rem 0;
  background: white;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 5.5rem 0;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-slate-50);
  padding: 2rem;
  border-radius: 1.5rem;
  position: relative;
  border: 1px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  background: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--color-slate-100);
}

.testimonial-quote-mark {
  position: absolute;
  top: -1.5rem;
  right: 2rem;
  font-size: 4rem;
  color: var(--color-blue-100);
  font-family: serif;
  line-height: 1;
  user-select: none;
  transition: color 0.3s;
}

.testimonial-card:hover .testimonial-quote-mark {
  color: rgba(147, 197, 253, 0.5);
}

.testimonial-quote {
  font-size: 1.125rem;
  color: var(--color-slate-700);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  font-weight: 500;
}

/* Utility Classes */
.hidden-mobile {
  display: none;
}

@media (min-width: 1024px) {
  .hidden-mobile {
    display: block;
  }
}

.hidden-desktop {
  display: block;
}

@media (min-width: 1024px) {
  .hidden-desktop {
    display: none;
  }
}

/* Mobile Polish */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  nav .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .nav-actions {
    gap: 0.375rem;
  }

  .lang-toggle {
    margin-right: 0.25rem;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-actions .btn-primary {
    padding: 0.5rem 0.7rem;
    font-size: 0.68rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 2.25rem;
  }

  body::before,
  .hero::before {
    opacity: 0.75;
    right: -320px;
  }

  body::after {
    right: -760px;
    top: 74px;
    opacity: 0.72;
  }

  .hero-content {
    gap: 2.25rem;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: fit-content;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .showcase-box {
    padding: 1.25rem;
    border-radius: 1.25rem;
    margin-top: 1.5rem;
  }

  .carousel-image-wrapper {
    height: 320px;
  }

  .carousel-info {
    min-height: 140px;
    padding: 0 0.5rem;
  }

  .pricing-toggles {
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .billing-toggle {
    min-width: 172px;
  }

  .currency-toggle {
    min-width: 94px;
  }

  .toggle-btn {
    font-size: 0.8125rem;
    padding: 0.45rem 1rem;
  }

  .currency-toggle .toggle-btn {
    width: 2.7rem;
    padding: 0.45rem;
  }

  .save-badge {
    right: 0.75rem;
    bottom: -2rem;
  }

  .pricing-cards {
    margin-top: 2.5rem;
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .plan-price {
    font-size: 2rem;
    flex-wrap: wrap;
  }

  .plan-price-period {
    font-size: 0.875rem;
  }

  .plan-description {
    margin-bottom: 1.25rem;
  }

  .plan-features {
    margin-bottom: 1.25rem;
  }

  .comparison-table-wrapper {
    margin-top: 1.75rem;
    border-radius: 1rem;
  }

  .comparison-table {
    min-width: 560px;
  }

  .comparison-table th.feature-col,
  .comparison-table td.feature-col {
    padding-left: 1rem;
  }

  .integrations-grid {
    gap: 1rem;
  }

  .integration-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .testimonials-grid {
    gap: 1.25rem;
  }

  .testimonial-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .cta-title {
    font-size: 1.875rem;
  }

  .cta-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
    height: 3.25rem;
    line-height: 3.25rem;
    padding: 0 1rem;
    font-size: 1rem;
  }

  footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}
