/**
 * Toazeo Landing Page Styles
 * 
 * Main stylesheet for the Toazeo landing page with modern design system,
 * responsive layout, and accessibility features.
 */

:root {
  /* Color Palette */
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #0ea5e9;
  --btn: #0284c7;
  --border: #e2e8f0;

  /* Typography Scale */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 28px;
  --font-size-4xl: 32px;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
}

* {
  box-sizing: border-box;
}

/* Text Rendering Optimization */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
textarea {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography System */
h1 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  margin: 0 0 16px 0;
}

h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin: 0 0 20px 0;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  margin: 0 0 16px 0;
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  margin: 0 0 12px 0;
}

p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  margin: 0 0 16px 0;
  color: var(--text);
}

body {
  margin: 0;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  transition: all 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
}

header {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.shop-header {
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px;
  margin: 20px auto;
  text-align: center;
  transition: all 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: visible;
  max-width: 1040px;
  width: calc(100% - 32px);
  z-index: 100;
}

.shop-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-header:hover::before {
  opacity: 1;
}

.shop-header:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.shop-header h1 {
  margin: 0 0 16px;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--accent);
  transition: color 0.3s ease;
}

.shop-header p {
  margin: 0 0 20px;
  color: var(--text);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  transition: color 0.3s ease;
  font-weight: var(--font-weight-normal);
}

/* Toggle Arrow Styles */
.toggle-arrow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 70;
}

.toggle-arrow:hover {
  background: var(--btn);
  border-color: var(--btn);
  transform: translateX(-50%) scale(1.05);
}

.toggle-arrow svg {
  width: 20px;
  height: 20px;
  color: white;
  transition: transform 0.2s ease;
}

.toggle-arrow.rotated svg {
  transform: rotate(180deg);
}

/* Quick Actions Container */
.quick-actions-container {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  margin: 0;
  position: relative;
  z-index: 50;
}

.quick-actions-container.hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
}

.quick-actions-container.show {
  max-height: 500px;
  opacity: 1;
  margin: 26px auto;
  overflow: visible;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.quick-action-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.quick-action-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  z-index: 60;
  position: relative;
}

.quick-action-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 2px solid rgba(14, 165, 233, 0.2);
}

.quick-action-card:hover .quick-action-icon {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--accent);
  transform: scale(1.05);
}

.quick-action-icon svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
}

.quick-action-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
}

.quick-action-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  max-width: 1040px;
  margin: 40px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  color: var(--accent);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.subtitle {
  color: var(--muted);
  margin-top: 20px;
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.2s forwards;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.stats-highlight {
  color: var(--accent);
  font-weight: 600;
}

.cta {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.4s forwards;
  justify-content: flex-start;
}

.btn {
  background: linear-gradient(135deg, var(--btn) 0%, var(--accent) 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: none;
}

.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  transition: all 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card:hover::before {
  opacity: 1;
}

.features {
  max-width: 1040px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease 0.6s forwards;
}

.section-title {
  max-width: 1040px;
  margin: 0 auto 20px;
  padding: 0 20px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.8s forwards;
  text-align: center;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--btn));
  border-radius: 2px;
}

.feature {
  opacity: 0;
  animation: fadeIn 0.6s ease 1s forwards;
}

.feature:nth-child(2) {
  animation-delay: 1.2s;
}

.feature:nth-child(3) {
  animation-delay: 1.4s;
}

.feature h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.3;
}

.feature-icon {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.1) 0%,
    rgba(2, 132, 199, 0.1) 100%
  );
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(14, 165, 233, 0.2);
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.15) 0%,
    rgba(2, 132, 199, 0.15) 100%
  );
  border-color: var(--accent);
  transform: scale(1.05);
}

.feature p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  transition: color 0.3s ease;
  font-weight: 400;
}

.feature p strong {
  color: var(--accent);
  font-weight: 600;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: rgba(14, 165, 233, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
  border: 2px solid rgba(14, 165, 233, 0.2);
}

.feature:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(14, 165, 233, 0.18);
  border-color: var(--accent);
}

.feature-icon svg {
  transition: transform 0.3s ease;
  width: 28px;
  height: 28px;
}

.feature:hover .feature-icon svg {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .feature h3 {
    font-size: 20px;
  }

  .feature p {
    font-size: 15px;
  }

  .card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }
}

.content {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 2.1s forwards;
}

.content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.more-section {
  border: 2px solid rgba(14, 165, 233, 0.2);
  border-radius: 24px;
  padding: 40px;
  margin: 20px 0;
  background: rgba(14, 165, 233, 0.02);
  transition: all 0.2s ease;
  text-align: center;
}

.more-section:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.05);
  transform: translateY(-2px);
}

.more-section h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--text);
}

.more-section p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.more-section p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--accent);
}

.showcase {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 18px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.showcase:hover {
  transform: scale(1.01);
}

/* Modern Plans */
.plans-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  opacity: 0;
  animation: fadeIn 0.6s ease 1.6s forwards;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
  overflow: hidden;
  width: 100%;
}

.plan-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.plan-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(14, 165, 233, 0.02) 100%
  );
}

.plan-card.featured::before {
  opacity: 1;
  background: var(--gradient-accent);
}

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

.plan-card:hover::before {
  opacity: 1;
}

.plan-name {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--btn) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.2;
}

.plan-price {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--btn) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1;
}

.plan-price .currency {
  font-size: 24px;
  vertical-align: top;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  padding: 10px 0;
  color: var(--muted);
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.plan-cta {
  width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--accent) 0%, var(--btn) 100%);
  color: white;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: auto;
  font-size: 16px;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.plan-cta:hover {
  transform: translateY(-2px);
}

.plan-card.featured .plan-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--btn) 100%);
}

.gallery-footer {
  background: white;
  padding: 20px 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 60px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.gallery-footer .footer-content p {
  margin: 8px 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  color: var(--muted) !important;
}

.gallery-footer .footer-content a {
  color: var(--muted);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  /* Apply margin-top to title when quick actions are toggled on tablet */
  .quick-actions-container.show ~ .hero .title {
    margin-top: 80px;
  }

  /* Header Tablet */
  .shop-header {
    padding: 28px 24px;
    margin: 20px auto;
    width: calc(100% - 40px);
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .subtitle {
    text-align: center;
  }
}

/* Tablet-specific styles for better subtitle centering */
@media (min-width: 769px) and (max-width: 1024px) {
  .subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
  }

  .hero {
    text-align: center;
  }
}

@media (max-width: 900px) {
  /* Header Mobile */
  header {
    padding: 16px 20px;
  }

  .shop-header {
    padding: 24px 20px;
    margin: 20px auto;
    width: calc(100% - 32px);
  }

  .shop-header h1 {
    font-size: 28px;
  }

  .shop-header p {
    font-size: 16px;
  }

  .quick-actions-container.expanded {
    margin: 26px auto;
    max-height: 600px;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand img {
    height: 50px;
  }

  .nav a {
    font-size: 14px;
    margin-left: 12px;
  }

  /* Hero Section Mobile */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    margin: 40px auto 32px;
  }

  .showcase {
    display: none;
  }

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

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

  .plan-card.featured {
    transform: none;
  }

  .cta {
    justify-content: center;
  }

  /* Footer Mobile */
  .gallery-footer {
    padding: 16px 20px;
  }

  .gallery-footer .footer-content {
    max-width: 100%;
  }

  /* Mobile Typography */
  .title {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.1;
  }

  .subtitle {
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1.5;
    text-align: center;
  }

  .feature h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  .plan-name {
    font-size: 24px;
  }

  .plan-price {
    font-size: 44px;
  }
}

/* Floating animation for showcase */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.showcase {
  animation: float 3s ease-in-out infinite;
  position: relative;
}

.showcase::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--btn));
  border-radius: 50%;
  opacity: 0.1;
  animation: pulse 2s ease-in-out infinite;
}

.showcase::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--btn));
  border-radius: 50%;
  opacity: 0.08;
  animation: pulse 2s ease-in-out infinite 1s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Enhanced Shop Finder Section */
.shop-finder-section {
  max-width: 1040px;
  margin: 40px auto 60px;
  padding: 0 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.shop-finder-container {
  text-align: center;
}

.shop-finder-header {
  margin-bottom: 40px;
}

.shop-finder-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), #0284c7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.2s ease;
}

.shop-finder-icon:hover {
  transform: scale(1.05);
}

.shop-finder-icon svg {
  color: white;
  width: 32px;
  height: 32px;
}

.shop-finder-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shop-finder-subtitle {
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.shop-finder-card {
  background: white;
  border: 2px solid rgba(14, 165, 233, 0.1);
  border-radius: 24px;
  padding: 32px 24px;
  transition: all 0.2s ease;
  max-width: 600px;
  margin: 0 auto;
}

.shop-finder-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.shop-finder-description {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 32px;
  font-weight: 500;
}

.shop-finder-form {
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.shop-phone-input {
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  min-width: 320px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.shop-phone-input:focus {
  outline: none;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.visit-shop-btn {
  background: var(--accent);
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
  min-height: 56px;
}

.visit-shop-btn:hover {
  background: var(--btn);
  transform: translateY(-1px);
}

.visit-shop-btn svg {
  transition: transform 0.2s ease;
}

.visit-shop-btn:hover svg {
  transform: translateX(4px);
}

.shop-finder-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateX(4px);
}

.feature-item .feature-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item .feature-icon svg {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.feature-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.feature-item code {
  background: rgba(14, 165, 233, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--accent);
}

/* Mobile responsiveness for landing page sections */
@media (max-width: 768px) {
  /* Apply margin-top to title when quick actions are toggled */
  .quick-actions-container.show ~ .hero .title {
    margin-top: 60px;
  }

  /* Header Mobile */
  .shop-header {
    padding: 20px 16px;
    margin: 20px auto;
    width: calc(100% - 24px);
  }

  .shop-header h1 {
    font-size: 24px;
  }

  .shop-header p {
    font-size: 15px;
  }

  /* Toggle Arrow Mobile */
  .toggle-arrow {
    width: 32px;
    height: 32px;
    bottom: -16px;
  }

  .toggle-arrow svg {
    width: 18px;
    height: 18px;
  }

  .quick-actions-container.expanded {
    margin: 26px auto;
    max-height: 700px;
  }

  .quick-action-card {
    padding: 20px 16px;
    margin: 0 10px;
  }

  .quick-action-icon {
    width: 50px;
    height: 50px;
  }

  .quick-action-icon svg {
    width: 20px;
    height: 20px;
  }

  .quick-action-card h3 {
    font-size: 16px;
  }

  .quick-action-card p {
    font-size: 13px;
  }

  /* Hero Section Mobile */
  .hero {
    margin: 32px auto 24px;
    padding: 0 20px;
    gap: 20px;
  }

  .title {
    font-size: 28px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 16px;
    text-align: center;
  }

  /* Get Started Card Mobile */
  .card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
  }

  .card > div:first-child {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .card > div:last-child > div {
    font-size: 14px;
    gap: 6px;
  }

  .card > div:last-child > div > span:first-child {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  /* Features Section Mobile */
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
    margin: 24px auto 60px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature p {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Plans Section Mobile */
  .plans-section {
    margin: 0 auto 60px;
    padding: 0 20px;
  }

  .plan-card {
    padding: 24px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .plan-name {
    font-size: 20px;
  }

  .plan-price {
    font-size: 36px;
  }

  .plan-price .currency {
    font-size: 20px;
  }

  .plan-features li {
    font-size: 13px;
    padding: 6px 0;
    padding-left: 20px;
  }

  .plan-cta {
    padding: 14px;
    font-size: 14px;
  }

  /* More Section Mobile */
  .more-section {
    padding: 30px 20px;
    margin: 20px;
  }

  .more-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .more-section p {
    font-size: 15px;
  }

  /* Section Titles Mobile */
  .section-title {
    font-size: 12px;
    padding: 0 20px;
    margin-bottom: 4px;
  }

  /* Content Section Mobile */
  .content {
    margin: 0 auto 60px;
    padding: 0 20px;
  }

  .content h3 {
    font-size: 18px;
  }

  .content p {
    font-size: 13px;
  }

  /* Shop Finder Mobile Styles */
  .shop-finder-section {
    margin: 40px auto 60px;
    padding: 0 16px;
  }

  .shop-finder-header {
    margin-bottom: 24px;
  }

  .shop-finder-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .shop-finder-icon svg {
    width: 24px;
    height: 24px;
  }

  .shop-finder-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .shop-finder-subtitle {
    font-size: 16px;
  }

  .shop-finder-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .shop-finder-description {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .shop-phone-input {
    min-width: auto;
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
  }

  .visit-shop-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 16px;
  }

  .shop-finder-features {
    max-width: 100%;
    gap: 12px;
  }

  .feature-item {
    padding: 12px 16px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .feature-item .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-item .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-item span {
    font-size: 14px;
    text-align: center;
  }

  .feature-item code {
    font-size: 11px;
    padding: 1px 4px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  /* Header Extra Small */
  .shop-header {
    padding: 16px 12px;
    margin: 20px auto;
    width: calc(100% - 16px);
  }

  .shop-header h1 {
    font-size: 22px;
  }

  .shop-header p {
    font-size: 14px;
  }

  .quick-actions-container.expanded {
    margin: 26px auto;
    max-height: 800px;
  }

  .quick-action-card {
    padding: 16px 12px;
    margin: 0 10px;
  }

  .quick-action-icon {
    width: 45px;
    height: 45px;
  }

  .quick-action-icon svg {
    width: 18px;
    height: 18px;
  }

  .quick-action-card h3 {
    font-size: 15px;
  }

  .quick-action-card p {
    font-size: 12px;
  }

  /* Hero Section Extra Small */
  .hero {
    margin: 24px auto 20px;
    padding: 0 16px;
    gap: 16px;
  }

  .title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 15px;
    text-align: center;
  }

  .card {
    padding: 14px;
    margin-top: 12px;
  }

  .card > div:first-child {
    font-size: 15px;
  }

  .card > div:last-child > div {
    font-size: 13px;
  }

  /* Features Extra Small */
  .features {
    padding: 0 16px;
    margin: 20px auto 50px;
  }

  .feature h3 {
    font-size: 15px;
  }

  .feature p {
    font-size: 12px;
  }

  /* Shop Finder Extra Small */
  .shop-finder-section {
    margin: 32px auto 48px;
    padding: 0 12px;
  }

  .shop-finder-header h2 {
    font-size: 22px;
  }

  .shop-finder-subtitle {
    font-size: 15px;
  }

  .shop-finder-card {
    padding: 20px 16px;
  }

  .shop-finder-description {
    font-size: 15px;
  }

  .shop-phone-input {
    padding: 12px 14px;
    font-size: 16px;
  }

  .visit-shop-btn {
    padding: 14px 18px;
    font-size: 15px;
    min-height: 52px;
  }

  .feature-item {
    padding: 10px 12px;
  }

  .feature-item span {
    font-size: 13px;
  }

  /* Plans Extra Small */
  .plans-section {
    padding: 0 16px;
    margin: 0 auto 50px;
  }

  .plan-card {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .plan-name {
    font-size: 18px;
  }

  .plan-price {
    font-size: 32px;
  }

  .plan-cta {
    padding: 12px;
    font-size: 13px;
  }
}

/* Enhanced Mobile Typography & Accessibility */
@media (max-width: 768px) {
  /* Mobile Typography Scale */
  :root {
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 28px;
  }

  /* Mobile Header Adjustments */
  .shop-header h1 {
    font-size: var(--font-size-3xl);
    margin: 0 0 12px 0;
  }

  .shop-header p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin: 0 0 16px 0;
  }

  /* Mobile Feature Cards */
  .feature h3 {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-tight);
    margin: 0 0 12px 0;
  }

  .feature p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin: 0 0 16px 0;
  }

  /* Mobile Plan Cards */
  .plan-name {
    font-size: var(--font-size-lg);
  }

  .plan-price {
    font-size: var(--font-size-2xl);
  }

  .plan-features li {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
  }

  /* Mobile Button Text */
  .plan-cta,
  .action-btn,
  button {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
  }

  /* Mobile Section Titles */
  .section-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
  }

  /* Mobile Quick Actions */
  .quick-action-card h3 {
    font-size: var(--font-size-lg);
    margin: 0 0 12px 0;
  }

  .quick-action-card p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
  }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text: #000000;
    --muted: #333333;
    --border: #000000;
  }
}

/* Ensure footer is always visible */
.gallery-footer {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* GSAP animation classes */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-down,
.reveal-fade {
  opacity: 0;
  will-change: transform, opacity;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Enhanced hover effects - Reduced duration and movement */
.quick-action-card,
.feature.card,
.plan-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-card:hover,
.feature.card:hover,
.plan-card:hover {
  transform: translateY(-4px);
}

/* Loading animation for images - Reduced duration */
.lazy-image {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Enhanced button animations - Reduced duration */
.visit-shop-btn,
.plan-cta {
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.visit-shop-btn::before,
.plan-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.3s ease;
}

.visit-shop-btn:hover::before,
.plan-cta:hover::before {
  left: 100%;
}

/* Floating animation for icons - Reduced movement and duration */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.feature-icon svg,
.quick-action-icon svg {
  animation: float 4s ease-in-out infinite;
}

.feature-icon svg:nth-child(2) {
  animation-delay: 1.5s;
}

.feature-icon svg:nth-child(3) {
  animation-delay: 3s;
}

/* Progress bar animation - Reduced duration */
.progress-bar {
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced toggle animation - Reduced duration */
.toggle-arrow {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-arrow.rotated {
  transform: rotate(180deg);
}

/* Smooth section transitions - Reduced duration */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
